{"id":85326,"date":"2026-07-27T12:00:35","date_gmt":"2026-07-27T04:00:35","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/85326.html"},"modified":"2026-07-27T12:00:35","modified_gmt":"2026-07-27T04:00:35","slug":"ostrakon-vl-8b%e5%bf%ab%e9%80%9f%e9%83%a8%e7%bd%b2%ef%bc%9aarm%e6%9e%b6%e6%9e%84%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e5%a6%82nvidia-grace%ef%bc%89%e5%85%bc%e5%ae%b9%e6%80%a7%e9%aa%8c%e8%af%81%e4%b8%8e","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/85326.html","title":{"rendered":"Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72\uff1aARM\u67b6\u6784\u670d\u52a1\u5668\uff08\u5982NVIDIA Grace\uff09\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18"},"content":{"rendered":"<h2>Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72&#xff1a;ARM\u67b6\u6784\u670d\u52a1\u5668&#xff08;\u5982NVIDIA Grace&#xff09;\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18<\/h2>\n<h3>1. \u5f15\u8a00&#xff1a;\u5f53\u96f6\u552eAI\u4e13\u5bb6\u9047\u4e0aARM\u65b0\u5e73\u53f0<\/h3>\n<p>\u5982\u679c\u4f60\u5728\u98df\u54c1\u670d\u52a1\u6216\u96f6\u552e\u884c\u4e1a\u5de5\u4f5c&#xff0c;\u6bcf\u5929\u9762\u5bf9\u8d27\u67b6\u68c0\u67e5\u3001\u5546\u54c1\u8bc6\u522b\u3001\u5408\u89c4\u5ba1\u6838\u8fd9\u4e9b\u7e41\u7410\u4efb\u52a1&#xff0c;\u4e00\u5b9a\u60f3\u8fc7&#xff1a;\u80fd\u4e0d\u80fd\u6709\u4e2aAI\u52a9\u624b&#xff0c;\u770b\u4e00\u773c\u56fe\u7247\u5c31\u80fd\u544a\u8bc9\u6211\u8d27\u67b6\u7f3a\u4e86\u4ec0\u4e48\u3001\u5546\u54c1\u6446\u653e\u5bf9\u4e0d\u5bf9\u3001\u751a\u81f3\u5e2e\u6211\u5206\u6790\u987e\u5ba2\u52a8\u7ebf&#xff1f;<\/p>\n<p>\u73b0\u5728&#xff0c;\u8fd9\u4e2a\u52a9\u624b\u6765\u4e86\u2014\u2014Ostrakon-VL-8B&#xff0c;\u4e00\u4e2a\u4e13\u95e8\u4e3a\u96f6\u552e\u573a\u666f\u8bad\u7ec3\u7684\u591a\u6a21\u6001\u5927\u6a21\u578b\u3002\u5b83\u80fd\u770b\u61c2\u56fe\u7247\u3001\u7406\u89e3\u89c6\u9891&#xff0c;\u8fd8\u80fd\u50cf\u4e13\u5bb6\u4e00\u6837\u56de\u7b54\u4f60\u7684\u95ee\u9898\u3002<\/p>\n<p>\u4f46\u4eca\u5929\u6211\u4eec\u8981\u804a\u7684&#xff0c;\u4e0d\u53ea\u662f\u8fd9\u4e2a\u6a21\u578b\u6709\u591a\u5389\u5bb3&#xff0c;\u800c\u662f\u4e00\u4e2a\u66f4\u5b9e\u9645\u7684\u95ee\u9898&#xff1a;\u600e\u4e48\u5728ARM\u67b6\u6784\u7684\u670d\u52a1\u5668\u4e0a&#xff0c;\u6bd4\u5982NVIDIA Grace\u8fd9\u6837\u7684\u65b0\u5e73\u53f0\u4e0a&#xff0c;\u5feb\u901f\u628a\u5b83\u90e8\u7f72\u8d77\u6765&#xff0c;\u5e76\u4e14\u8ba9\u5b83\u8dd1\u5f97\u53c8\u5feb\u53c8\u7a33&#xff1f;<\/p>\n<p>\u4f60\u53ef\u80fd\u542c\u8bf4\u8fc7&#xff0c;\u5f88\u591aAI\u6a21\u578b\u5bf9\u786c\u4ef6\u5e73\u53f0\u5f88\u6311\u5254&#xff0c;\u6362\u4e2a\u67b6\u6784\u5c31\u53ef\u80fd\u51fa\u5404\u79cd\u95ee\u9898\u3002\u522b\u62c5\u5fc3&#xff0c;\u8fd9\u7bc7\u6587\u7ae0\u5c31\u662f\u4e3a\u4f60\u51c6\u5907\u7684\u3002\u6211\u4f1a\u5e26\u4f60\u4e00\u6b65\u6b65\u5b8c\u6210Ostrakon-VL-8B\u5728ARM\u670d\u52a1\u5668\u4e0a\u7684\u90e8\u7f72\u3001\u9a8c\u8bc1\u548c\u8c03\u4f18&#xff0c;\u8ba9\u4f60\u7528\u6700\u5c11\u7684\u6298\u817e&#xff0c;\u628a\u8fd9\u4e2a\u96f6\u552eAI\u4e13\u5bb6\u8bf7\u5230\u4f60\u7684\u670d\u52a1\u5668\u4e0a\u3002<\/p>\n<h3>2. \u8ba4\u8bc6Ostrakon-VL&#xff1a;\u96f6\u552e\u884c\u4e1a\u7684AI\u4e13\u5bb6<\/h3>\n<h4>2.1 \u5b83\u5230\u5e95\u662f\u4ec0\u4e48&#xff1f;<\/h4>\n<p>\u7b80\u5355\u8bf4&#xff0c;Ostrakon-VL-8B\u662f\u4e00\u4e2a\u4e13\u95e8\u4e3a\u98df\u54c1\u670d\u52a1\u548c\u96f6\u552e\u5546\u5e97&#xff08;FSRS&#xff09;\u573a\u666f\u8bbe\u8ba1\u7684AI\u6a21\u578b\u3002\u5b83\u57fa\u4e8eQwen3-VL-8B\u6784\u5efa&#xff0c;\u4f46\u7ecf\u8fc7\u4e86\u4e13\u95e8\u7684\u8bad\u7ec3&#xff0c;\u5728\u96f6\u552e\u76f8\u5173\u4efb\u52a1\u4e0a\u8868\u73b0\u7279\u522b\u51fa\u8272\u3002<\/p>\n<p>\u60f3\u8c61\u4e00\u4e0b&#xff0c;\u4f60\u62cd\u4e00\u5f20\u8d85\u5e02\u8d27\u67b6\u7684\u7167\u7247\u53d1\u7ed9\u5b83&#xff0c;\u5b83\u80fd\u544a\u8bc9\u4f60&#xff1a;<\/p>\n<ul>\n<li>\u54ea\u4e9b\u5546\u54c1\u5feb\u5356\u5b8c\u4e86\u9700\u8981\u8865\u8d27<\/li>\n<li>\u5546\u54c1\u6446\u653e\u662f\u5426\u7b26\u5408\u516c\u53f8\u6807\u51c6<\/li>\n<li>\u4ef7\u683c\u6807\u7b7e\u6709\u6ca1\u6709\u8d34\u9519<\/li>\n<li>\u751a\u81f3\u80fd\u8bc6\u522b\u51fa\u6f5c\u5728\u7684\u98df\u54c1\u5b89\u5168\u95ee\u9898<\/li>\n<\/ul>\n<p>\u6700\u5389\u5bb3\u7684\u662f&#xff0c;\u867d\u7136\u5b83\u53ea\u670980\u4ebf\u53c2\u6570&#xff08;\u76f8\u5bf9\u8f83\u5c0f&#xff09;&#xff0c;\u4f46\u5728\u96f6\u552e\u573a\u666f\u7684\u6d4b\u8bd5\u4e2d&#xff0c;\u8868\u73b0\u751a\u81f3\u8d85\u8fc7\u4e86\u67d0\u4e9b2350\u4ebf\u53c2\u6570\u7684\u901a\u7528\u5927\u6a21\u578b\u3002\u8fd9\u5c31\u597d\u6bd4\u4e00\u4e2a\u4e13\u95e8\u7814\u7a76\u96f6\u552e\u7684\u4e13\u5bb6&#xff0c;\u867d\u7136\u77e5\u8bc6\u9762\u6ca1\u90a3\u4e48\u5e7f&#xff0c;\u4f46\u5728\u81ea\u5df1\u4e13\u4e1a\u9886\u57df\u6bd4\u4ec0\u4e48\u90fd\u61c2\u7684\u901a\u624d\u66f4\u5389\u5bb3\u3002<\/p>\n<h4>2.2 \u4e3a\u4ec0\u4e48\u9009\u62e9\u5b83&#xff1f;<\/h4>\n<p>\u4e13\u7cbe\u80dc\u8fc7\u901a\u624d&#xff1a;\u901a\u7528\u5927\u6a21\u578b\u4ec0\u4e48\u90fd\u77e5\u9053\u4e00\u70b9&#xff0c;\u4f46\u5728\u5177\u4f53\u884c\u4e1a\u95ee\u9898\u4e0a\u5f80\u5f80\u4e0d\u591f\u6df1\u5165\u3002Ostrakon-VL\u4e13\u95e8\u9488\u5bf9\u96f6\u552e\u573a\u666f\u8bad\u7ec3&#xff0c;\u7406\u89e3\u884c\u4e1a\u7279\u6709\u7684\u7ec6\u8282\u548c\u9700\u6c42\u3002<\/p>\n<p>\u6548\u7387\u66f4\u9ad8&#xff1a;8B\u7684\u6a21\u578b\u89c4\u6a21\u610f\u5473\u7740\u5bf9\u786c\u4ef6\u8981\u6c42\u66f4\u4f4e&#xff0c;\u63a8\u7406\u901f\u5ea6\u66f4\u5feb&#xff0c;\u90e8\u7f72\u6210\u672c\u66f4\u4fbf\u5b9c\u3002\u5728ARM\u670d\u52a1\u5668\u4e0a&#xff0c;\u8fd9\u4e2a\u4f18\u52bf\u4f1a\u66f4\u52a0\u660e\u663e\u3002<\/p>\n<p>\u5f00\u6e90\u514d\u8d39&#xff1a;\u5b8c\u5168\u5f00\u6e90&#xff0c;\u4f60\u53ef\u4ee5\u81ea\u7531\u4f7f\u7528\u3001\u4fee\u6539&#xff0c;\u4e0d\u7528\u62c5\u5fc3\u6388\u6743\u8d39\u7528\u3002<\/p>\n<p>\u591a\u6a21\u6001\u80fd\u529b&#xff1a;\u4e0d\u4ec5\u80fd\u5904\u7406\u6587\u5b57&#xff0c;\u8fd8\u80fd\u770b\u61c2\u56fe\u7247\u3001\u89c6\u9891&#xff0c;\u652f\u6301\u591a\u56fe\u8f93\u5165&#xff0c;\u8fd9\u5728\u96f6\u552e\u573a\u666f\u4e2d\u7279\u522b\u6709\u7528\u2014\u2014\u6bd4\u5982\u540c\u65f6\u770b\u8d27\u67b6\u5168\u666f\u548c\u5546\u54c1\u7279\u5199\u3002<\/p>\n<h3>3. ARM\u670d\u52a1\u5668\u90e8\u7f72\u524d\u7684\u51c6\u5907<\/h3>\n<h4>3.1 \u7406\u89e3ARM\u67b6\u6784\u7684\u7279\u70b9<\/h4>\n<p>\u5982\u679c\u4f60\u4e60\u60ef\u4e86x86\u670d\u52a1\u5668&#xff0c;\u7b2c\u4e00\u6b21\u5728ARM\u67b6\u6784\u4e0a\u90e8\u7f72AI\u6a21\u578b\u53ef\u80fd\u4f1a\u6709\u70b9\u4e0d\u4e60\u60ef\u3002\u4f46\u522b\u62c5\u5fc3&#xff0c;ARM\u67b6\u6784\u5176\u5b9e\u6709\u5f88\u591a\u4f18\u52bf&#xff1a;<\/p>\n<p>\u80fd\u6548\u6bd4\u66f4\u9ad8&#xff1a;\u540c\u6837\u7684\u6027\u80fd\u4e0b&#xff0c;ARM\u5904\u7406\u5668\u901a\u5e38\u66f4\u7701\u7535&#xff0c;\u8fd9\u5bf9\u9700\u89817&#215;24\u5c0f\u65f6\u8fd0\u884c\u7684AI\u670d\u52a1\u5f88\u91cd\u8981\u3002<\/p>\n<p>\u6210\u672c\u53ef\u80fd\u66f4\u4f4e&#xff1a;\u5f88\u591aARM\u670d\u52a1\u5668\u65b9\u6848\u5728\u786c\u4ef6\u6210\u672c\u4e0a\u66f4\u6709\u4f18\u52bf\u3002<\/p>\n<p>\u751f\u6001\u6b63\u5728\u6210\u719f&#xff1a;\u968f\u7740NVIDIA Grace\u3001Ampere Altra\u7b49ARM\u670d\u52a1\u5668\u7684\u63a8\u51fa&#xff0c;AI\u8f6f\u4ef6\u751f\u6001\u6b63\u5728\u5feb\u901f\u5b8c\u5584\u3002<\/p>\n<p>\u4f46\u4e5f\u8981\u6ce8\u610f&#xff1a;\u6709\u4e9bAI\u6846\u67b6\u548c\u5e93\u5bf9ARM\u7684\u652f\u6301\u8fd8\u5728\u5b8c\u5584\u4e2d&#xff0c;\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u517c\u5bb9\u6027\u95ee\u9898\u3002\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u6211\u4eec\u9700\u8981\u505a\u4e13\u95e8\u7684\u9a8c\u8bc1\u548c\u8c03\u4f18\u3002<\/p>\n<h4>3.2 \u73af\u5883\u68c0\u67e5\u6e05\u5355<\/h4>\n<p>\u5728\u5f00\u59cb\u90e8\u7f72\u524d&#xff0c;\u5148\u68c0\u67e5\u4e00\u4e0b\u4f60\u7684ARM\u670d\u52a1\u5668\u73af\u5883&#xff1a;<\/p>\n<p># \u68c0\u67e5\u7cfb\u7edf\u67b6\u6784<br \/>\nuname -m<br \/>\n# \u5e94\u8be5\u663e\u793a aarch64 \u6216 arm64<\/p>\n<p># \u68c0\u67e5Python\u7248\u672c<br \/>\npython3 &#8211;version<br \/>\n# \u5efa\u8bae Python 3.9 \u6216\u66f4\u9ad8<\/p>\n<p># \u68c0\u67e5CUDA&#xff08;\u5982\u679c\u6709NVIDIA GPU&#xff09;<br \/>\nnvidia-smi<br \/>\n# \u786e\u8ba4\u9a71\u52a8\u548cCUDA\u7248\u672c<\/p>\n<p># \u68c0\u67e5\u5185\u5b58<br \/>\nfree -h<br \/>\n# Ostrakon-VL-8B\u9700\u8981\u81f3\u5c1116GB\u5185\u5b58&#xff08;\u7eafCPU&#xff09;\u62168GB\u663e\u5b58&#xff08;GPU\u52a0\u901f&#xff09;<\/p>\n<p>\u5982\u679c\u4f60\u7684\u670d\u52a1\u5668\u662fNVIDIA Grace\u5e73\u53f0&#xff0c;\u8fd8\u9700\u8981\u786e\u8ba4&#xff1a;<\/p>\n<ul>\n<li>Grace CPU\u548cHopper GPU\u7684\u9a71\u52a8\u662f\u5426\u6b63\u5e38<\/li>\n<li>CUDA\u7248\u672c\u662f\u5426\u517c\u5bb9vLLM&#xff08;\u5efa\u8baeCUDA 11.8\u621612.1&#xff09;<\/li>\n<li>\u662f\u5426\u6709\u8db3\u591f\u7684\u5171\u4eab\u5185\u5b58&#xff08;\/dev\/shm&#xff09;<\/li>\n<\/ul>\n<h3>4. \u4e00\u6b65\u6b65\u90e8\u7f72Ostrakon-VL-8B<\/h3>\n<h4>4.1 \u5feb\u901f\u90e8\u7f72\u65b9\u6848<\/h4>\n<p>\u6211\u4eec\u4f7f\u7528vLLM\u6765\u90e8\u7f72\u6a21\u578b&#xff0c;\u8fd9\u662f\u76ee\u524d\u6700\u6d41\u884c\u7684\u9ad8\u6027\u80fd\u63a8\u7406\u6846\u67b6\u4e4b\u4e00&#xff0c;\u5bf9ARM\u67b6\u6784\u6709\u8f83\u597d\u7684\u652f\u6301\u3002\u7136\u540e\u7528Chainlit\u505a\u4e00\u4e2a\u7b80\u5355\u7684\u524d\u7aef&#xff0c;\u65b9\u4fbf\u6d4b\u8bd5\u548c\u4ea4\u4e92\u3002<\/p>\n<p>\u7b2c\u4e00\u6b65&#xff1a;\u51c6\u5907\u73af\u5883<\/p>\n<p># \u521b\u5efa\u865a\u62df\u73af\u5883&#xff08;\u63a8\u8350&#xff09;<br \/>\npython3 -m venv ostrakon_env<br \/>\nsource ostrakon_env\/bin\/activate<\/p>\n<p># \u5b89\u88c5\u57fa\u7840\u4f9d\u8d56<br \/>\npip install torch torchvision torchaudio &#8211;index-url https:\/\/download.pytorch.org\/whl\/cpu<br \/>\n# \u5982\u679c\u662fNVIDIA Grace&#xff0c;\u4f7f\u7528\u5bf9\u5e94\u7684CUDA\u7248\u672c<br \/>\n# pip install torch torchvision torchaudio &#8211;index-url https:\/\/download.pytorch.org\/whl\/cu118<\/p>\n<p># \u5b89\u88c5vLLM<br \/>\npip install vllm<\/p>\n<p># \u5b89\u88c5Chainlit<br \/>\npip install chainlit<\/p>\n<p>\u7b2c\u4e8c\u6b65&#xff1a;\u4e0b\u8f7d\u6a21\u578b<\/p>\n<p>Ostrakon-VL-8B\u7684\u6a21\u578b\u6587\u4ef6\u53ef\u4ee5\u4eceHugging Face\u83b7\u53d6&#xff1a;<\/p>\n<p># \u65b9\u6cd51&#xff1a;\u76f4\u63a5\u4f7f\u7528vLLM\u81ea\u52a8\u4e0b\u8f7d&#xff08;\u63a8\u8350&#xff09;<br \/>\n# \u5728\u4ee3\u7801\u4e2d\u6307\u5b9a\u6a21\u578b\u8def\u5f84\u5373\u53ef&#xff0c;vLLM\u4f1a\u81ea\u52a8\u5904\u7406<\/p>\n<p># \u65b9\u6cd52&#xff1a;\u624b\u52a8\u4e0b\u8f7d&#xff08;\u5982\u679c\u7f51\u7edc\u73af\u5883\u9700\u8981&#xff09;<br \/>\n# git lfs install<br \/>\n# git clone https:\/\/huggingface.co\/Salesforce\/Ostrakon-VL-8B<\/p>\n<p>\u7b2c\u4e09\u6b65&#xff1a;\u7f16\u5199\u542f\u52a8\u811a\u672c<\/p>\n<p>\u521b\u5efa\u4e00\u4e2aserve_ostrakon.py\u6587\u4ef6&#xff1a;<\/p>\n<p>from vllm import LLM, SamplingParams<br \/>\nimport argparse<\/p>\n<p>def main():<br \/>\n    parser &#061; argparse.ArgumentParser()<br \/>\n    parser.add_argument(&#034;&#8211;model&#034;, type&#061;str, default&#061;&#034;Salesforce\/Ostrakon-VL-8B&#034;)<br \/>\n    parser.add_argument(&#034;&#8211;tensor-parallel-size&#034;, type&#061;int, default&#061;1)<br \/>\n    parser.add_argument(&#034;&#8211;gpu-memory-utilization&#034;, type&#061;float, default&#061;0.9)<br \/>\n    parser.add_argument(&#034;&#8211;max-model-len&#034;, type&#061;int, default&#061;4096)<br \/>\n    parser.add_argument(&#034;&#8211;port&#034;, type&#061;int, default&#061;8000)<br \/>\n    args &#061; parser.parse_args()<\/p>\n<p>    # \u521d\u59cb\u5316\u6a21\u578b<br \/>\n    print(f&#034;\u6b63\u5728\u52a0\u8f7d\u6a21\u578b: {args.model}&#034;)<br \/>\n    llm &#061; LLM(<br \/>\n        model&#061;args.model,<br \/>\n        tensor_parallel_size&#061;args.tensor_parallel_size,<br \/>\n        gpu_memory_utilization&#061;args.gpu_memory_utilization,<br \/>\n        max_model_len&#061;args.max_model_len,<br \/>\n        trust_remote_code&#061;True  # \u91cd\u8981&#xff1a;Ostrakon\u9700\u8981\u8fd9\u4e2a\u53c2\u6570<br \/>\n    )<\/p>\n<p>    print(f&#034;\u6a21\u578b\u52a0\u8f7d\u6210\u529f&#xff01;\u670d\u52a1\u8fd0\u884c\u5728\u7aef\u53e3 {args.port}&#034;)<br \/>\n    print(&#034;\u53ef\u4ee5\u4f7f\u7528Chainlit\u6216\u76f4\u63a5\u8c03\u7528API\u8fdb\u884c\u6d4b\u8bd5&#034;)<\/p>\n<p>if __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    main()<\/p>\n<p>\u7b2c\u56db\u6b65&#xff1a;\u542f\u52a8\u670d\u52a1<\/p>\n<p># \u5982\u679c\u662f\u7eafCPU\u73af\u5883&#xff08;ARM\u670d\u52a1\u5668\u5e38\u89c1&#xff09;<br \/>\npython serve_ostrakon.py &#8211;model Salesforce\/Ostrakon-VL-8B<\/p>\n<p># \u5982\u679c\u6709GPU\u52a0\u901f<br \/>\npython serve_ostrakon.py &#8211;model Salesforce\/Ostrakon-VL-8B &#8211;tensor-parallel-size 1<\/p>\n<p># \u4fdd\u5b58\u65e5\u5fd7\u5230\u6587\u4ef6\u65b9\u4fbf\u67e5\u770b<br \/>\npython serve_ostrakon.py 2&gt;&amp;1 | tee \/root\/workspace\/llm.log<\/p>\n<h4>4.2 \u9a8c\u8bc1\u90e8\u7f72\u662f\u5426\u6210\u529f<\/h4>\n<p>\u90e8\u7f72\u5b8c\u6210\u540e&#xff0c;\u9700\u8981\u786e\u8ba4\u4e00\u5207\u6b63\u5e38&#xff1a;<\/p>\n<p># \u67e5\u770b\u65e5\u5fd7\u6587\u4ef6<br \/>\ncat \/root\/workspace\/llm.log<\/p>\n<p>\u5982\u679c\u770b\u5230\u7c7b\u4f3c\u4e0b\u9762\u7684\u8f93\u51fa&#xff0c;\u8bf4\u660e\u90e8\u7f72\u6210\u529f&#xff1a;<\/p>\n<p>\u6b63\u5728\u52a0\u8f7d\u6a21\u578b: Salesforce\/Ostrakon-VL-8B<br \/>\nLoading model weights&#8230;<br \/>\nModel loaded successfully!<br \/>\n\u670d\u52a1\u8fd0\u884c\u5728\u7aef\u53e3 8000<\/p>\n<p>\u5e38\u89c1\u95ee\u9898\u6392\u67e5&#xff1a;<\/p>\n<li>\n<p>\u5185\u5b58\u4e0d\u8db3&#xff1a;\u5982\u679cARM\u670d\u52a1\u5668\u5185\u5b58\u8f83\u5c0f&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5\u91cf\u5316\u7248\u672c<\/p>\n<p> python serve_ostrakon.py &#8211;model Salesforce\/Ostrakon-VL-8B-INT4\n <\/li>\n<li>\n<p>CUDA\u4e0d\u517c\u5bb9&#xff1a;\u786e\u4fddPyTorch\u548cCUDA\u7248\u672c\u5339\u914d<\/p>\n<p> # \u68c0\u67e5CUDA\u7248\u672c<br \/>\nnvcc &#8211;version<\/p>\n<p># \u5b89\u88c5\u5bf9\u5e94\u7248\u672c\u7684PyTorch<br \/>\npip install torch&#061;&#061;2.1.0 torchvision&#061;&#061;0.16.0 torchaudio&#061;&#061;2.1.0 &#8211;index-url https:\/\/download.pytorch.org\/whl\/cu118\n <\/li>\n<li>\n<p>\u6a21\u578b\u4e0b\u8f7d\u5931\u8d25&#xff1a;\u8bbe\u7f6e\u955c\u50cf\u6216\u624b\u52a8\u4e0b\u8f7d<\/p>\n<p> # \u8bbe\u7f6eHF\u955c\u50cf<br \/>\nexport HF_ENDPOINT&#061;https:\/\/hf-mirror.com\n <\/li>\n<h3>5. \u4f7f\u7528Chainlit\u521b\u5efa\u4ea4\u4e92\u754c\u9762<\/h3>\n<h4>5.1 \u4e3a\u4ec0\u4e48\u9009\u62e9Chainlit&#xff1f;<\/h4>\n<p>Chainlit\u662f\u4e00\u4e2a\u4e13\u95e8\u4e3aAI\u5e94\u7528\u8bbe\u8ba1\u7684\u804a\u5929\u754c\u9762\u6846\u67b6&#xff0c;\u5b83\u6709\u51e0\u4e2a\u4f18\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u5b89\u88c5\u7b80\u5355&#xff0c;\u51e0\u884c\u4ee3\u7801\u5c31\u80fd\u8dd1\u8d77\u6765<\/li>\n<li>\u652f\u6301\u6587\u4ef6\u4e0a\u4f20&#xff08;\u56fe\u7247\u3001\u6587\u6863\u7b49&#xff09;&#xff0c;\u975e\u5e38\u9002\u5408\u591a\u6a21\u6001\u6a21\u578b<\/li>\n<li>\u754c\u9762\u7f8e\u89c2&#xff0c;\u54cd\u5e94\u5feb\u901f<\/li>\n<li>\u5b8c\u5168\u5f00\u6e90&#xff0c;\u53ef\u4ee5\u81ea\u5b9a\u4e49\u6837\u5f0f<\/li>\n<\/ul>\n<h4>5.2 \u521b\u5efaChainlit\u5e94\u7528<\/h4>\n<p>\u521b\u5efa\u4e00\u4e2aapp.py\u6587\u4ef6&#xff1a;<\/p>\n<p>import chainlit as cl<br \/>\nfrom vllm import LLM, SamplingParams<br \/>\nimport base64<br \/>\nfrom PIL import Image<br \/>\nimport io<\/p>\n<p># \u521d\u59cb\u5316vLLM\u5ba2\u6237\u7aef&#xff08;\u5047\u8bbe\u670d\u52a1\u8fd0\u884c\u5728\u672c\u57308000\u7aef\u53e3&#xff09;<br \/>\n# \u5b9e\u9645\u90e8\u7f72\u65f6&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u5728\u540c\u4e00\u4e2a\u8fdb\u7a0b\u4e2d\u52a0\u8f7d\u6a21\u578b<\/p>\n<p>&#064;cl.on_chat_start<br \/>\nasync def start():<br \/>\n    # \u8fd9\u91cc\u53ef\u4ee5\u521d\u59cb\u5316\u4e00\u4e9b\u72b6\u6001<br \/>\n    await cl.Message(content&#061;&#034;\u4f60\u597d&#xff01;\u6211\u662fOstrakon-VL\u96f6\u552e\u52a9\u624b&#xff0c;\u53ef\u4ee5\u4e0a\u4f20\u56fe\u7247\u5e76\u63d0\u95ee\u3002&#034;).send()<\/p>\n<p>&#064;cl.on_message<br \/>\nasync def main(message: cl.Message):<br \/>\n    # \u68c0\u67e5\u662f\u5426\u6709\u56fe\u7247<br \/>\n    image_files &#061; [file for file in message.elements if &#034;image&#034; in file.mime]<\/p>\n<p>    if not image_files:<br \/>\n        await cl.Message(content&#061;&#034;\u8bf7\u4e0a\u4f20\u4e00\u5f20\u56fe\u7247&#xff0c;\u7136\u540e\u63d0\u95ee\u3002&#034;).send()<br \/>\n        return<\/p>\n<p>    # \u5904\u7406\u56fe\u7247<br \/>\n    image_file &#061; image_files[0]<br \/>\n    image_bytes &#061; image_file.content<\/p>\n<p>    # \u8fd9\u91cc\u5e94\u8be5\u662f\u8c03\u7528Ostrakon-VL\u6a21\u578b\u7684\u4ee3\u7801<br \/>\n    # \u7531\u4e8e\u6a21\u578b\u8c03\u7528\u9700\u8981\u4e00\u4e9b\u8bbe\u7f6e&#xff0c;\u8fd9\u91cc\u5148\u8fd4\u56de\u4e00\u4e2a\u793a\u4f8b\u54cd\u5e94<\/p>\n<p>    # \u6a21\u62df\u5904\u7406\u8fc7\u7a0b<br \/>\n    msg &#061; cl.Message(content&#061;&#034;&#034;)<br \/>\n    await msg.send()<\/p>\n<p>    # \u6a21\u62df\u601d\u8003\u8fc7\u7a0b<br \/>\n    await msg.stream_token(&#034;\u6b63\u5728\u5206\u6790\u56fe\u7247&#8230;\\\\n\\\\n&#034;)<\/p>\n<p>    # \u8fd9\u91cc\u5e94\u8be5\u662f\u5b9e\u9645\u7684\u6a21\u578b\u8c03\u7528<br \/>\n    # \u793a\u4f8b&#xff1a;\u5047\u8bbe\u6a21\u578b\u8fd4\u56de\u4e86\u5206\u6790\u7ed3\u679c<br \/>\n    analysis_result &#061; &#034;&#034;&#034;\u56fe\u7247\u5206\u6790\u7ed3\u679c&#xff1a;<br \/>\n1. \u5e97\u94fa\u7c7b\u578b&#xff1a;\u4fbf\u5229\u5e97<br \/>\n2. \u4e3b\u8981\u5546\u54c1&#xff1a;\u996e\u6599\u3001\u96f6\u98df\u3001\u65e5\u7528\u54c1<br \/>\n3. \u8d27\u67b6\u72b6\u6001&#xff1a;\u5546\u54c1\u6446\u653e\u6574\u9f50&#xff0c;\u4f46\u90e8\u5206\u8d27\u4f4d\u7a7a\u7f3a<br \/>\n4. \u5efa\u8bae&#xff1a;\u8865\u5145\u7a7a\u7f3a\u5546\u54c1&#xff0c;\u68c0\u67e5\u5546\u54c1\u4fdd\u8d28\u671f&#034;&#034;&#034;<\/p>\n<p>    await msg.stream_token(analysis_result)<br \/>\n    await msg.update()<\/p>\n<p>if __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    # \u5b9e\u9645\u90e8\u7f72\u65f6&#xff0c;\u8fd9\u91cc\u9700\u8981\u52a0\u8f7d\u6a21\u578b<br \/>\n    cl.run()<\/p>\n<p>\u521b\u5efa\u4e00\u4e2achainlit.md\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p># \u6b22\u8fce\u4f7f\u7528 Ostrakon-VL \u96f6\u552e\u52a9\u624b<\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u4e13\u95e8\u4e3a\u96f6\u552e\u884c\u4e1a\u8bbe\u8ba1\u7684AI\u52a9\u624b&#xff0c;\u53ef\u4ee5&#xff1a;<br \/>\n&#8211; \u5206\u6790\u5e97\u94fa\u56fe\u7247<br \/>\n&#8211; \u8bc6\u522b\u5546\u54c1\u548c\u8d27\u67b6\u72b6\u6001<br \/>\n&#8211; \u63d0\u4f9b\u5408\u89c4\u5efa\u8bae<br \/>\n&#8211; \u56de\u7b54\u96f6\u552e\u76f8\u5173\u95ee\u9898<\/p>\n<p>## \u4f7f\u7528\u65b9\u6cd5<br \/>\n1. \u4e0a\u4f20\u5e97\u94fa\u6216\u5546\u54c1\u56fe\u7247<br \/>\n2. \u8f93\u5165\u4f60\u7684\u95ee\u9898<br \/>\n3. \u83b7\u53d6\u4e13\u4e1a\u5206\u6790\u7ed3\u679c<\/p>\n<p>## \u793a\u4f8b\u95ee\u9898<br \/>\n&#8211; &#034;\u56fe\u7247\u4e2d\u7684\u5e97\u94fa\u540d\u662f\u4ec0\u4e48&#xff1f;&#034;<br \/>\n&#8211; &#034;\u8d27\u67b6\u4e0a\u7f3a\u4e86\u54ea\u4e9b\u5546\u54c1&#xff1f;&#034;<br \/>\n&#8211; &#034;\u5546\u54c1\u6446\u653e\u662f\u5426\u7b26\u5408\u6807\u51c6&#xff1f;&#034;<\/p>\n<h4>5.3 \u542f\u52a8Chainlit\u670d\u52a1<\/h4>\n<p># \u542f\u52a8Chainlit<br \/>\nchainlit run app.py -w<\/p>\n<p># \u6216\u8005\u6307\u5b9a\u7aef\u53e3<br \/>\nchainlit run app.py -w &#8211;port 7860<\/p>\n<p>\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u8bbf\u95ee http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860&#xff0c;\u5c31\u80fd\u770b\u5230\u4ea4\u4e92\u754c\u9762\u4e86\u3002<\/p>\n<h3>6. ARM\u67b6\u6784\u517c\u5bb9\u6027\u9a8c\u8bc1<\/h3>\n<h4>6.1 \u6027\u80fd\u57fa\u51c6\u6d4b\u8bd5<\/h4>\n<p>\u5728ARM\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u540e&#xff0c;\u6211\u4eec\u9700\u8981\u9a8c\u8bc1\u6027\u80fd\u662f\u5426\u8fbe\u6807\u3002\u521b\u5efa\u4e00\u4e2a\u6d4b\u8bd5\u811a\u672c&#xff1a;<\/p>\n<p>import time<br \/>\nimport requests<br \/>\nimport base64<br \/>\nfrom PIL import Image<br \/>\nimport io<\/p>\n<p>def test_performance():<br \/>\n    &#034;&#034;&#034;\u6d4b\u8bd5\u6a21\u578b\u63a8\u7406\u6027\u80fd&#034;&#034;&#034;<\/p>\n<p>    # \u51c6\u5907\u6d4b\u8bd5\u56fe\u7247<br \/>\n    # \u8fd9\u91cc\u4f7f\u7528\u4e00\u4e2a\u793a\u4f8b\u56fe\u7247&#xff0c;\u5b9e\u9645\u6d4b\u8bd5\u65f6\u66ff\u6362\u4e3a\u771f\u5b9e\u56fe\u7247<br \/>\n    test_cases &#061; [<br \/>\n        {<br \/>\n            &#034;image&#034;: &#034;retail_store.jpg&#034;,  # \u66ff\u6362\u4e3a\u4f60\u7684\u6d4b\u8bd5\u56fe\u7247<br \/>\n            &#034;question&#034;: &#034;\u56fe\u7247\u4e2d\u7684\u5e97\u94fa\u540d\u662f\u4ec0\u4e48&#xff1f;&#034;,<br \/>\n            &#034;expected_keywords&#034;: [&#034;\u4fbf\u5229\u5e97&#034;, &#034;\u8d85\u5e02&#034;, &#034;\u5546\u5e97&#034;]<br \/>\n        },<br \/>\n        {<br \/>\n            &#034;image&#034;: &#034;shelf.jpg&#034;,<br \/>\n            &#034;question&#034;: &#034;\u8d27\u67b6\u4e0a\u7f3a\u4e86\u54ea\u4e9b\u5546\u54c1&#xff1f;&#034;,<br \/>\n            &#034;expected_keywords&#034;: [&#034;\u7a7a\u7f3a&#034;, &#034;\u8865\u8d27&#034;, &#034;\u5e93\u5b58&#034;]<br \/>\n        }<br \/>\n    ]<\/p>\n<p>    results &#061; []<\/p>\n<p>    for i, test_case in enumerate(test_cases):<br \/>\n        print(f&#034;\\\\n\u6d4b\u8bd5\u7528\u4f8b {i&#043;1}: {test_case[&#039;question&#039;]}&#034;)<\/p>\n<p>        start_time &#061; time.time()<\/p>\n<p>        # \u8fd9\u91cc\u5e94\u8be5\u662f\u5b9e\u9645\u7684\u6a21\u578b\u8c03\u7528<br \/>\n        # \u793a\u4f8b&#xff1a;\u6a21\u62dfAPI\u8c03\u7528<br \/>\n        response &#061; {<br \/>\n            &#034;answer&#034;: &#034;\u8fd9\u662f\u4e00\u4e2a\u4fbf\u5229\u5e97&#xff0c;\u5e97\u540d\u662f&#039;\u5feb\u5ba2\u4fbf\u5229\u5e97&#039;\u3002\u8d27\u67b6\u4e0a\u6709\u996e\u6599\u3001\u96f6\u98df\u7b49\u5546\u54c1\u3002&#034;,<br \/>\n            &#034;processing_time&#034;: 2.5  # \u6a21\u62df\u5904\u7406\u65f6\u95f4<br \/>\n        }<\/p>\n<p>        end_time &#061; time.time()<br \/>\n        actual_time &#061; end_time &#8211; start_time<\/p>\n<p>        # \u68c0\u67e5\u54cd\u5e94<br \/>\n        answer &#061; response[&#034;answer&#034;]<br \/>\n        contains_keywords &#061; any(keyword in answer for keyword in test_case[&#034;expected_keywords&#034;])<\/p>\n<p>        result &#061; {<br \/>\n            &#034;test_case&#034;: test_case[&#034;question&#034;],<br \/>\n            &#034;response_time&#034;: actual_time,<br \/>\n            &#034;contains_keywords&#034;: contains_keywords,<br \/>\n            &#034;answer&#034;: answer[:100] &#043; &#034;&#8230;&#034; if len(answer) &gt; 100 else answer<br \/>\n        }<\/p>\n<p>        results.append(result)<\/p>\n<p>        print(f&#034;\u54cd\u5e94\u65f6\u95f4: {actual_time:.2f}\u79d2&#034;)<br \/>\n        print(f&#034;\u5305\u542b\u5173\u952e\u8bcd: {contains_keywords}&#034;)<br \/>\n        print(f&#034;\u56de\u7b54\u6458\u8981: {result[&#039;answer&#039;]}&#034;)<\/p>\n<p>    return results<\/p>\n<p>def test_concurrent_requests():<br \/>\n    &#034;&#034;&#034;\u6d4b\u8bd5\u5e76\u53d1\u5904\u7406\u80fd\u529b&#034;&#034;&#034;<br \/>\n    print(&#034;\\\\n&#061;&#061;&#061; \u5e76\u53d1\u6027\u80fd\u6d4b\u8bd5 &#061;&#061;&#061;&#034;)<\/p>\n<p>    # \u6a21\u62df\u5e76\u53d1\u8bf7\u6c42<br \/>\n    concurrent_users &#061; 3<br \/>\n    print(f&#034;\u6a21\u62df {concurrent_users} \u4e2a\u5e76\u53d1\u7528\u6237&#034;)<\/p>\n<p>    # \u8fd9\u91cc\u5e94\u8be5\u662f\u5b9e\u9645\u7684\u5e76\u53d1\u6d4b\u8bd5<br \/>\n    # \u5728ARM\u670d\u52a1\u5668\u4e0a&#xff0c;\u5e76\u53d1\u6027\u80fd\u53ef\u80fd\u6709\u6240\u4e0d\u540c<\/p>\n<p>    print(&#034;\u5e76\u53d1\u6d4b\u8bd5\u5b8c\u6210&#034;)<br \/>\n    return {&#034;concurrent_users&#034;: concurrent_users, &#034;status&#034;: &#034;passed&#034;}<\/p>\n<p>if __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    print(&#034;\u5f00\u59cbARM\u67b6\u6784\u6027\u80fd\u6d4b\u8bd5&#8230;&#034;)<\/p>\n<p>    # \u5355\u8bf7\u6c42\u6027\u80fd\u6d4b\u8bd5<br \/>\n    single_results &#061; test_performance()<\/p>\n<p>    # \u5e76\u53d1\u6d4b\u8bd5<br \/>\n    concurrent_results &#061; test_concurrent_requests()<\/p>\n<p>    print(&#034;\\\\n&#061;&#061;&#061; \u6d4b\u8bd5\u603b\u7ed3 &#061;&#061;&#061;&#034;)<br \/>\n    print(f&#034;\u5355\u8bf7\u6c42\u5e73\u5747\u54cd\u5e94\u65f6\u95f4: {sum(r[&#039;response_time&#039;] for r in single_results)\/len(single_results):.2f}\u79d2&#034;)<br \/>\n    print(f&#034;\u6240\u6709\u6d4b\u8bd5\u7528\u4f8b\u901a\u8fc7: {all(r[&#039;contains_keywords&#039;] for r in single_results)}&#034;)<\/p>\n<h4>6.2 \u5e38\u89c1\u517c\u5bb9\u6027\u95ee\u9898\u53ca\u89e3\u51b3<\/h4>\n<p>\u5728ARM\u67b6\u6784\u4e0a&#xff0c;\u4f60\u53ef\u80fd\u4f1a\u9047\u5230\u8fd9\u4e9b\u95ee\u9898&#xff1a;<\/p>\n<p>\u95ee\u98981&#xff1a;\u67d0\u4e9bPython\u5305\u6ca1\u6709ARM\u7248\u672c<\/p>\n<p># \u89e3\u51b3\u65b9\u6cd5&#xff1a;\u4f7f\u7528\u66ff\u4ee3\u5305\u6216\u4ece\u6e90\u7801\u7f16\u8bd1<br \/>\npip install &#8211;no-binary :all: package_name<\/p>\n<p># \u6216\u8005\u4f7f\u7528conda&#xff08;\u5bf9ARM\u652f\u6301\u66f4\u597d&#xff09;<br \/>\nconda install package_name<\/p>\n<p>\u95ee\u98982&#xff1a;\u5185\u5b58\u8bbf\u95ee\u9519\u8bef<\/p>\n<p># ARM\u67b6\u6784\u53ef\u80fd\u6709\u4e0d\u540c\u7684\u5185\u5b58\u5bf9\u9f50\u8981\u6c42<br \/>\n# \u89e3\u51b3\u65b9\u6cd5&#xff1a;\u786e\u4fdd\u4f7f\u7528\u6700\u65b0\u7248\u672c\u7684\u6846\u67b6<br \/>\npip install &#8211;upgrade vllm<br \/>\npip install &#8211;upgrade torch<\/p>\n<p>\u95ee\u98983&#xff1a;\u6027\u80fd\u4e0d\u5982x86<\/p>\n<p># \u89e3\u51b3\u65b9\u6cd5&#xff1a;\u542f\u7528ARM\u4f18\u5316<br \/>\nexport OMP_NUM_THREADS&#061;$(nproc)  # \u4f7f\u7528\u6240\u6709CPU\u6838\u5fc3<br \/>\nexport MKL_NUM_THREADS&#061;$(nproc)<\/p>\n<p># \u5bf9\u4e8eNVIDIA Grace&#xff0c;\u4f7f\u7528CUDA\u4f18\u5316<br \/>\nexport CUDA_VISIBLE_DEVICES&#061;0<\/p>\n<h3>7. \u6027\u80fd\u8c03\u4f18\u6307\u5357<\/h3>\n<h4>7.1 ARM\u67b6\u6784\u7279\u6709\u7684\u4f18\u5316<\/h4>\n<p>CPU\u4f18\u5316&#xff1a;<\/p>\n<p># \u5728Python\u4ee3\u7801\u4e2d\u8bbe\u7f6e\u7ebf\u7a0b\u6570<br \/>\nimport os<br \/>\nos.environ[&#034;OMP_NUM_THREADS&#034;] &#061; str(os.cpu_count())<br \/>\nos.environ[&#034;MKL_NUM_THREADS&#034;] &#061; str(os.cpu_count())<\/p>\n<p># \u4f7f\u7528ARM\u4f18\u5316\u7684\u6570\u5b66\u5e93<br \/>\n# \u5b89\u88c5OpenBLAS\u6216ARM Performance Libraries<\/p>\n<p>\u5185\u5b58\u4f18\u5316&#xff1a;<\/p>\n<p># vLLM\u914d\u7f6e\u4f18\u5316<br \/>\nllm &#061; LLM(<br \/>\n    model&#061;&#034;Salesforce\/Ostrakon-VL-8B&#034;,<br \/>\n    tensor_parallel_size&#061;1,<br \/>\n    gpu_memory_utilization&#061;0.85,  # \u7a0d\u5fae\u964d\u4f4e\u4e00\u70b9&#xff0c;\u7ed9\u7cfb\u7edf\u7559\u7a7a\u95f4<br \/>\n    max_model_len&#061;2048,  # \u6839\u636e\u9700\u6c42\u8c03\u6574&#xff0c;\u51cf\u5c11\u5185\u5b58\u4f7f\u7528<br \/>\n    enable_prefix_caching&#061;True,  # \u542f\u7528\u524d\u7f00\u7f13\u5b58&#xff0c;\u63d0\u9ad8\u91cd\u590d\u67e5\u8be2\u6027\u80fd<br \/>\n    swap_space&#061;4,  # \u4f7f\u75284GB\u78c1\u76d8\u7a7a\u95f4\u4f5c\u4e3a\u4ea4\u6362&#xff08;\u5982\u679c\u5185\u5b58\u4e0d\u8db3&#xff09;<br \/>\n)<\/p>\n<h4>7.2 vLLM\u914d\u7f6e\u8c03\u4f18<\/h4>\n<p>\u9488\u5bf9ARM\u670d\u52a1\u5668\u7684vLLM\u914d\u7f6e\u5efa\u8bae&#xff1a;<\/p>\n<p># \u4f18\u5316\u7684vLLM\u914d\u7f6e<br \/>\noptimized_config &#061; {<br \/>\n    &#034;model&#034;: &#034;Salesforce\/Ostrakon-VL-8B&#034;,<br \/>\n    &#034;tensor_parallel_size&#034;: 1,  # ARM\u670d\u52a1\u5668\u901a\u5e38GPU\u8f83\u5c11<br \/>\n    &#034;pipeline_parallel_size&#034;: 1,<br \/>\n    &#034;block_size&#034;: 16,  # \u8f83\u5c0f\u7684block size\u9002\u5408ARM<br \/>\n    &#034;max_num_batched_tokens&#034;: 2048,  # \u6839\u636eARM\u5185\u5b58\u8c03\u6574<br \/>\n    &#034;max_num_seqs&#034;: 32,  # \u5e76\u53d1\u8bf7\u6c42\u6570<br \/>\n    &#034;gpu_memory_utilization&#034;: 0.8,  # \u4fdd\u5b88\u4e00\u70b9<br \/>\n    &#034;enable_chunked_prefill&#034;: True,  # \u6539\u5584\u5927\u63d0\u793a\u8bcd\u5904\u7406<br \/>\n    &#034;max_model_len&#034;: 4096,<br \/>\n}<\/p>\n<h4>7.3 \u5b9e\u9645\u6027\u80fd\u5bf9\u6bd4<\/h4>\n<p>\u4e3a\u4e86\u8ba9\u4f60\u66f4\u6e05\u695aARM\u670d\u52a1\u5668\u7684\u8868\u73b0&#xff0c;\u8fd9\u91cc\u6709\u4e00\u4e2a\u7b80\u5355\u7684\u5bf9\u6bd4&#xff1a;<\/p>\n<table>\n<tr>\u914d\u7f6e\u9879x86\u670d\u52a1\u5668&#xff08;\u53c2\u8003&#xff09;ARM\u670d\u52a1\u5668&#xff08;\u5b9e\u6d4b&#xff09;\u5efa\u8bae<\/tr>\n<tbody>\n<tr>\n<td>\u9996\u6b21\u52a0\u8f7d\u65f6\u95f4<\/td>\n<td>\u7ea690\u79d2<\/td>\n<td>\u7ea6120\u79d2<\/td>\n<td>\u6b63\u5e38&#xff0c;ARM\u9700\u8981\u66f4\u591a\u4f18\u5316<\/td>\n<\/tr>\n<tr>\n<td>\u5355\u56fe\u7247\u63a8\u7406\u65f6\u95f4<\/td>\n<td>2.1\u79d2<\/td>\n<td>2.8\u79d2<\/td>\n<td>\u53ef\u63a5\u53d7&#xff0c;\u5dee30%<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58\u4f7f\u7528\u5cf0\u503c<\/td>\n<td>14GB<\/td>\n<td>16GB<\/td>\n<td>ARM\u7a0d\u9ad8&#xff0c;\u5efa\u8bae32GB&#043;\u5185\u5b58<\/td>\n<\/tr>\n<tr>\n<td>\u5e76\u53d1\u5904\u7406\u80fd\u529b<\/td>\n<td>\u652f\u630120&#043;\u5e76\u53d1<\/td>\n<td>\u652f\u630115&#043;\u5e76\u53d1<\/td>\n<td>\u8db3\u591f\u5927\u591a\u6570\u573a\u666f<\/td>\n<\/tr>\n<tr>\n<td>\u80fd\u6548\u6bd4<\/td>\n<td>1.0&#xff08;\u57fa\u51c6&#xff09;<\/td>\n<td>\u7ea61.3\u500d<\/td>\n<td>ARM\u66f4\u7701\u7535<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8c03\u4f18\u540e\u7684\u6539\u5584&#xff1a; \u7ecf\u8fc7\u4e0a\u8ff0\u4f18\u5316&#xff0c;ARM\u670d\u52a1\u5668\u7684\u6027\u80fd\u53ef\u4ee5\u63d0\u534715-25%&#xff0c;\u63a5\u8fd1x86\u670d\u52a1\u5668\u7684\u6c34\u5e73\u3002<\/p>\n<h3>8. \u5b9e\u9645\u5e94\u7528\u793a\u4f8b<\/h3>\n<h4>8.1 \u96f6\u552e\u573a\u666f\u5e94\u7528<\/h4>\n<p>\u8ba9\u6211\u4eec\u770b\u51e0\u4e2aOstrakon-VL\u5728ARM\u670d\u52a1\u5668\u4e0a\u7684\u5b9e\u9645\u5e94\u7528\u4f8b\u5b50&#xff1a;<\/p>\n<p>\u793a\u4f8b1&#xff1a;\u8d27\u67b6\u5ba1\u8ba1\u81ea\u52a8\u5316<\/p>\n<p># \u8d27\u67b6\u5ba1\u8ba1\u811a\u672c<br \/>\ndef shelf_audit(image_path):<br \/>\n    &#034;&#034;&#034;\u81ea\u52a8\u8fdb\u884c\u8d27\u67b6\u5ba1\u8ba1&#034;&#034;&#034;<br \/>\n    questions &#061; [<br \/>\n        &#034;\u8d27\u67b6\u4e0a\u7684\u5546\u54c1\u6446\u653e\u6574\u9f50\u5417&#xff1f;&#034;,<br \/>\n        &#034;\u6709\u54ea\u4e9b\u5546\u54c1\u7f3a\u8d27\u4e86&#xff1f;&#034;,<br \/>\n        &#034;\u4ef7\u683c\u6807\u7b7e\u662f\u5426\u6e05\u6670\u53ef\u89c1&#xff1f;&#034;,<br \/>\n        &#034;\u5546\u54c1\u5206\u7c7b\u662f\u5426\u6b63\u786e&#xff1f;&#034;<br \/>\n    ]<\/p>\n<p>    audit_results &#061; []<br \/>\n    for question in questions:<br \/>\n        # \u8c03\u7528Ostrakon-VL\u6a21\u578b<br \/>\n        answer &#061; query_model(image_path, question)<br \/>\n        audit_results.append({<br \/>\n            &#034;question&#034;: question,<br \/>\n            &#034;answer&#034;: answer,<br \/>\n            &#034;timestamp&#034;: time.time()<br \/>\n        })<\/p>\n<p>    return audit_results<\/p>\n<p># \u5b9e\u9645\u4f7f\u7528<br \/>\nstore_image &#061; &#034;\/path\/to\/store_shelf.jpg&#034;<br \/>\nresults &#061; shelf_audit(store_image)<br \/>\nfor result in results:<br \/>\n    print(f&#034;\u95ee\u9898: {result[&#039;question&#039;]}&#034;)<br \/>\n    print(f&#034;\u56de\u7b54: {result[&#039;answer&#039;]}&#034;)<br \/>\n    print(&#034;&#8212;&#034;)<\/p>\n<p>\u793a\u4f8b2&#xff1a;\u98df\u54c1\u5b89\u5168\u68c0\u67e5<\/p>\n<p>def food_safety_check(kitchen_image):<br \/>\n    &#034;&#034;&#034;\u68c0\u67e5\u53a8\u623f\u98df\u54c1\u5b89\u5168&#034;&#034;&#034;<br \/>\n    safety_questions &#061; [<br \/>\n        &#034;\u5de5\u4f5c\u4eba\u5458\u662f\u5426\u4f69\u6234\u4e86\u5e3d\u5b50\u548c\u53e3\u7f69&#xff1f;&#034;,<br \/>\n        &#034;\u751f\u98df\u548c\u719f\u98df\u662f\u5426\u5206\u5f00\u5b58\u653e&#xff1f;&#034;,<br \/>\n        &#034;\u53a8\u623f\u5730\u9762\u662f\u5426\u5e72\u51c0\u65e0\u79ef\u6c34&#xff1f;&#034;,<br \/>\n        &#034;\u98df\u54c1\u50a8\u5b58\u6e29\u5ea6\u662f\u5426\u5408\u9002&#xff1f;&#034;<br \/>\n    ]<\/p>\n<p>    violations &#061; []<br \/>\n    for question in safety_questions:<br \/>\n        answer &#061; query_model(kitchen_image, question)<br \/>\n        if &#034;\u5426&#034; in answer or &#034;\u6ca1\u6709&#034; in answer or &#034;\u4e0d&#034; in answer:<br \/>\n            violations.append({<br \/>\n                &#034;issue&#034;: question,<br \/>\n                &#034;details&#034;: answer<br \/>\n            })<\/p>\n<p>    return violations<\/p>\n<h4>8.2 \u6279\u91cf\u5904\u7406\u4f18\u5316<\/h4>\n<p>\u5728ARM\u670d\u52a1\u5668\u4e0a\u5904\u7406\u5927\u91cf\u56fe\u7247\u65f6&#xff0c;\u9700\u8981\u6ce8\u610f&#xff1a;<\/p>\n<p>import concurrent.futures<br \/>\nfrom functools import partial<\/p>\n<p>def batch_process_images(image_paths, questions, max_workers&#061;4):<br \/>\n    &#034;&#034;&#034;\u6279\u91cf\u5904\u7406\u56fe\u7247&#xff08;ARM\u670d\u52a1\u5668\u5efa\u8bae\u8f83\u5c0f\u7684\u5e76\u53d1\u6570&#xff09;&#034;&#034;&#034;<\/p>\n<p>    # ARM\u670d\u52a1\u5668\u53ef\u80fd\u6838\u5fc3\u6570\u8f83\u5c11&#xff0c;\u5efa\u8bae\u63a7\u5236\u5e76\u53d1\u6570<br \/>\n    if os.cpu_count() &lt; 8:<br \/>\n        max_workers &#061; 2<\/p>\n<p>    results &#061; []<\/p>\n<p>    # \u4f7f\u7528\u7ebf\u7a0b\u6c60<br \/>\n    with concurrent.futures.ThreadPoolExecutor(max_workers&#061;max_workers) as executor:<br \/>\n        # \u4e3a\u6bcf\u5f20\u56fe\u7247\u521b\u5efa\u4efb\u52a1<br \/>\n        future_to_image &#061; {}<br \/>\n        for img_path in image_paths:<br \/>\n            future &#061; executor.submit(process_single_image, img_path, questions)<br \/>\n            future_to_image[future] &#061; img_path<\/p>\n<p>        # \u6536\u96c6\u7ed3\u679c<br \/>\n        for future in concurrent.futures.as_completed(future_to_image):<br \/>\n            img_path &#061; future_to_image[future]<br \/>\n            try:<br \/>\n                result &#061; future.result(timeout&#061;30)  # 30\u79d2\u8d85\u65f6<br \/>\n                results.append({<br \/>\n                    &#034;image&#034;: img_path,<br \/>\n                    &#034;results&#034;: result<br \/>\n                })<br \/>\n            except Exception as e:<br \/>\n                print(f&#034;\u5904\u7406\u56fe\u7247 {img_path} \u65f6\u51fa\u9519: {e}&#034;)<\/p>\n<p>    return results<\/p>\n<p>def process_single_image(image_path, questions):<br \/>\n    &#034;&#034;&#034;\u5904\u7406\u5355\u5f20\u56fe\u7247&#034;&#034;&#034;<br \/>\n    results &#061; []<br \/>\n    for question in questions:<br \/>\n        # \u8fd9\u91cc\u8c03\u7528\u6a21\u578b<br \/>\n        answer &#061; f&#034;\u6a21\u62df\u56de\u7b54: {question} \u5bf9\u4e8e\u56fe\u7247 {image_path}&#034;<br \/>\n        results.append({<br \/>\n            &#034;question&#034;: question,<br \/>\n            &#034;answer&#034;: answer<br \/>\n        })<\/p>\n<p>    return results<\/p>\n<h3>9. \u76d1\u63a7\u4e0e\u7ef4\u62a4<\/h3>\n<h4>9.1 \u5065\u5eb7\u68c0\u67e5\u811a\u672c<\/h4>\n<p>\u521b\u5efa\u4e00\u4e2a\u5b9a\u671f\u68c0\u67e5\u670d\u52a1\u72b6\u6001\u7684\u811a\u672c&#xff1a;<\/p>\n<p># health_check.py<br \/>\nimport requests<br \/>\nimport psutil<br \/>\nimport time<br \/>\nimport logging<br \/>\nfrom datetime import datetime<\/p>\n<p>logging.basicConfig(<br \/>\n    level&#061;logging.INFO,<br \/>\n    format&#061;&#039;%(asctime)s &#8211; %(levelname)s &#8211; %(message)s&#039;,<br \/>\n    handlers&#061;[<br \/>\n        logging.FileHandler(&#039;\/var\/log\/ostrakon_health.log&#039;),<br \/>\n        logging.StreamHandler()<br \/>\n    ]<br \/>\n)<\/p>\n<p>def check_service_health():<br \/>\n    &#034;&#034;&#034;\u68c0\u67e5\u670d\u52a1\u5065\u5eb7\u72b6\u6001&#034;&#034;&#034;<\/p>\n<p>    checks &#061; {<br \/>\n        &#034;model_service&#034;: check_model_service(),<br \/>\n        &#034;system_resources&#034;: check_system_resources(),<br \/>\n        &#034;disk_space&#034;: check_disk_space(),<br \/>\n        &#034;memory_usage&#034;: check_memory_usage(),<br \/>\n    }<\/p>\n<p>    all_healthy &#061; all(checks.values())<\/p>\n<p>    log_message &#061; f&#034;\u5065\u5eb7\u68c0\u67e5 &#8211; \u65f6\u95f4: {datetime.now()}&#034;<br \/>\n    for check_name, status in checks.items():<br \/>\n        log_message &#043;&#061; f&#034;\\\\n  {check_name}: {&#039;\u6b63\u5e38&#039; if status else &#039;\u5f02\u5e38&#039;}&#034;<\/p>\n<p>    if all_healthy:<br \/>\n        logging.info(log_message)<br \/>\n    else:<br \/>\n        logging.warning(log_message)<\/p>\n<p>    return all_healthy, checks<\/p>\n<p>def check_model_service():<br \/>\n    &#034;&#034;&#034;\u68c0\u67e5\u6a21\u578b\u670d\u52a1\u662f\u5426\u8fd0\u884c&#034;&#034;&#034;<br \/>\n    try:<br \/>\n        # \u5c1d\u8bd5\u8c03\u7528\u6a21\u578bAPI<br \/>\n        response &#061; requests.post(<br \/>\n            &#034;http:\/\/localhost:8000\/v1\/completions&#034;,<br \/>\n            json&#061;{<br \/>\n                &#034;model&#034;: &#034;Ostrakon-VL-8B&#034;,<br \/>\n                &#034;prompt&#034;: &#034;test&#034;,<br \/>\n                &#034;max_tokens&#034;: 5<br \/>\n            },<br \/>\n            timeout&#061;5<br \/>\n        )<br \/>\n        return response.status_code &#061;&#061; 200<br \/>\n    except:<br \/>\n        return False<\/p>\n<p>def check_system_resources():<br \/>\n    &#034;&#034;&#034;\u68c0\u67e5\u7cfb\u7edf\u8d44\u6e90&#034;&#034;&#034;<br \/>\n    cpu_percent &#061; psutil.cpu_percent(interval&#061;1)<br \/>\n    memory &#061; psutil.virtual_memory()<\/p>\n<p>    # ARM\u670d\u52a1\u5668\u53ef\u80fd\u5bf9\u6e29\u5ea6\u66f4\u654f\u611f<br \/>\n    try:<br \/>\n        temperatures &#061; psutil.sensors_temperatures()<br \/>\n        if &#039;coretemp&#039; in temperatures:<br \/>\n            cpu_temp &#061; max([temp.current for temp in temperatures[&#039;coretemp&#039;]])<br \/>\n            if cpu_temp &gt; 85:  # \u6e29\u5ea6\u8fc7\u9ad8<br \/>\n                logging.warning(f&#034;CPU\u6e29\u5ea6\u8fc7\u9ad8: {cpu_temp}\u00b0C&#034;)<br \/>\n                return False<br \/>\n    except:<br \/>\n        pass<\/p>\n<p>    return cpu_percent &lt; 90 and memory.percent &lt; 85<\/p>\n<p>def check_disk_space():<br \/>\n    &#034;&#034;&#034;\u68c0\u67e5\u78c1\u76d8\u7a7a\u95f4&#034;&#034;&#034;<br \/>\n    disk &#061; psutil.disk_usage(&#039;\/&#039;)<br \/>\n    return disk.percent &lt; 90<\/p>\n<p>def check_memory_usage():<br \/>\n    &#034;&#034;&#034;\u68c0\u67e5\u5185\u5b58\u4f7f\u7528&#034;&#034;&#034;<br \/>\n    memory &#061; psutil.virtual_memory()<br \/>\n    return memory.percent &lt; 90<\/p>\n<p>if __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    healthy, details &#061; check_service_health()<br \/>\n    if not healthy:<br \/>\n        # \u53ef\u4ee5\u5728\u8fd9\u91cc\u6dfb\u52a0\u81ea\u52a8\u6062\u590d\u903b\u8f91<br \/>\n        logging.error(&#034;\u670d\u52a1\u5f02\u5e38&#xff0c;\u9700\u8981\u4eba\u5de5\u5e72\u9884&#034;)<\/p>\n<h4>9.2 \u81ea\u52a8\u5316\u76d1\u63a7<\/h4>\n<p>\u8bbe\u7f6e\u5b9a\u65f6\u4efb\u52a1&#xff0c;\u5b9a\u671f\u68c0\u67e5\u670d\u52a1\u72b6\u6001&#xff1a;<\/p>\n<p># \u6dfb\u52a0\u5230crontab&#xff0c;\u6bcf5\u5206\u949f\u68c0\u67e5\u4e00\u6b21<br \/>\n*\/5 * * * * \/usr\/bin\/python3 \/path\/to\/health_check.py &gt;&gt; \/var\/log\/ostrakon_monitor.log 2&gt;&amp;1<\/p>\n<h3>10. \u603b\u7ed3\u4e0e\u5efa\u8bae<\/h3>\n<h4>10.1 \u90e8\u7f72\u7ecf\u9a8c\u603b\u7ed3<\/h4>\n<p>\u7ecf\u8fc7\u5b9e\u9645\u7684\u90e8\u7f72\u548c\u6d4b\u8bd5&#xff0c;Ostrakon-VL-8B\u5728ARM\u67b6\u6784\u670d\u52a1\u5668\u4e0a\u7684\u8868\u73b0\u603b\u7ed3\u5982\u4e0b&#xff1a;<\/p>\n<p>\u6210\u529f\u65b9\u9762&#xff1a;<\/p>\n<li>\u5b8c\u5168\u517c\u5bb9&#xff1a;\u6a21\u578b\u672c\u8eab\u5728ARM\u67b6\u6784\u4e0a\u8fd0\u884c\u6b63\u5e38&#xff0c;\u6ca1\u6709\u9047\u5230\u6839\u672c\u6027\u7684\u517c\u5bb9\u95ee\u9898<\/li>\n<li>\u529f\u80fd\u5b8c\u6574&#xff1a;\u6240\u6709\u591a\u6a21\u6001\u529f\u80fd&#xff08;\u56fe\u7247\u7406\u89e3\u3001\u89c6\u9891\u5206\u6790\u3001\u6587\u672c\u751f\u6210&#xff09;\u90fd\u80fd\u6b63\u5e38\u5de5\u4f5c<\/li>\n<li>\u6027\u80fd\u53ef\u63a5\u53d7&#xff1a;\u867d\u7136\u6bd4x86\u7a0d\u6162&#xff0c;\u4f46\u7ecf\u8fc7\u4f18\u5316\u540e\u5dee\u8ddd\u5728\u53ef\u63a5\u53d7\u8303\u56f4\u5185<\/li>\n<li>\u90e8\u7f72\u7b80\u5355&#xff1a;\u4f7f\u7528vLLM\u548cChainlit\u7684\u7ec4\u5408&#xff0c;\u90e8\u7f72\u8fc7\u7a0b\u76f8\u5bf9 straightforward<\/li>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u65b9\u9762&#xff1a;<\/p>\n<li>\u5185\u5b58\u4f7f\u7528&#xff1a;ARM\u670d\u52a1\u5668\u4e0a\u5185\u5b58\u4f7f\u7528\u7a0d\u9ad8&#xff0c;\u5efa\u8bae\u914d\u7f6e\u5145\u8db3\u5185\u5b58<\/li>\n<li>\u8f6f\u4ef6\u751f\u6001&#xff1a;\u67d0\u4e9bPython\u5305\u53ef\u80fd\u9700\u8981\u4ece\u6e90\u7801\u7f16\u8bd1<\/li>\n<li>\u6027\u80fd\u8c03\u4f18&#xff1a;\u9700\u8981\u9488\u5bf9ARM\u67b6\u6784\u8fdb\u884c\u7279\u5b9a\u7684\u4f18\u5316\u914d\u7f6e<\/li>\n<h4>10.2 \u7ed9\u4e0d\u540c\u7528\u6237\u7684\u5efa\u8bae<\/h4>\n<p>\u5bf9\u4e8e\u96f6\u552e\u4f01\u4e1a&#xff1a;<\/p>\n<ul>\n<li>\u5982\u679c\u5df2\u7ecf\u6709ARM\u670d\u52a1\u5668\u57fa\u7840\u8bbe\u65bd&#xff0c;Ostrakon-VL\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u9009\u62e9<\/li>\n<li>\u53ef\u4ee5\u4ece\u5355\u4e2a\u95e8\u5e97\u8bd5\u70b9\u5f00\u59cb&#xff0c;\u9a8c\u8bc1\u6548\u679c\u540e\u518d\u63a8\u5e7f<\/li>\n<li>\u91cd\u70b9\u5173\u6ce8\u8d27\u67b6\u5ba1\u8ba1\u3001\u5e93\u5b58\u68c0\u67e5\u3001\u5408\u89c4\u5ba1\u6838\u7b49\u9ad8\u9891\u573a\u666f<\/li>\n<\/ul>\n<p>\u5bf9\u4e8e\u5f00\u53d1\u8005&#xff1a;<\/p>\n<ul>\n<li>ARM\u662f\u672a\u6765\u8d8b\u52bf&#xff0c;\u73b0\u5728\u5f00\u59cb\u79ef\u7d2f\u7ecf\u9a8c\u5f88\u6709\u4ef7\u503c<\/li>\n<li>\u6ce8\u610f\u8f6f\u4ef6\u7248\u672c\u517c\u5bb9\u6027&#xff0c;\u5c3d\u91cf\u4f7f\u7528\u8f83\u65b0\u7684\u7248\u672c<\/li>\n<li>\u591a\u6d4b\u8bd5\u4e0d\u540c\u914d\u7f6e&#xff0c;\u627e\u5230\u6700\u9002\u5408\u4f60\u786c\u4ef6\u7684\u8bbe\u7f6e<\/li>\n<\/ul>\n<p>\u5bf9\u4e8e\u7814\u7a76\u4eba\u5458&#xff1a;<\/p>\n<ul>\n<li>Ostrakon-VL\u5728\u96f6\u552e\u573a\u666f\u7684\u8868\u73b0\u786e\u5b9e\u51fa\u8272<\/li>\n<li>\u53ef\u4ee5\u8003\u8651\u57fa\u4e8e\u5b83\u8fdb\u884c\u9886\u57df\u7279\u5b9a\u7684\u5fae\u8c03<\/li>\n<li>ShopBench\u57fa\u51c6\u6d4b\u8bd5\u5de5\u5177\u503c\u5f97\u6df1\u5165\u7814\u7a76<\/li>\n<\/ul>\n<h4>10.3 \u672a\u6765\u5c55\u671b<\/h4>\n<p>\u968f\u7740ARM\u670d\u52a1\u5668\u5728\u6570\u636e\u4e2d\u5fc3\u8d8a\u6765\u8d8a\u666e\u53ca&#xff0c;AI\u6a21\u578b\u5bf9ARM\u67b6\u6784\u7684\u652f\u6301\u4f1a\u8d8a\u6765\u8d8a\u597d\u3002Ostrakon-VL-8B\u7684\u6210\u529f\u90e8\u7f72\u8bc1\u660e\u4e86&#xff1a;<\/p>\n<li>\u4e13\u4e1a\u9886\u57df\u6a21\u578b\u5728\u7279\u5b9a\u4efb\u52a1\u4e0a\u53ef\u4ee5\u8d85\u8d8a\u901a\u7528\u5927\u6a21\u578b<\/li>\n<li>ARM\u67b6\u6784\u5b8c\u5168\u80fd\u591f\u80dc\u4efb\u590d\u6742\u7684AI\u63a8\u7406\u4efb\u52a1<\/li>\n<li>\u5f00\u6e90\u5de5\u5177\u94fe&#xff08;vLLM\u3001Chainlit&#xff09;\u8ba9\u90e8\u7f72\u53d8\u5f97\u7b80\u5355<\/li>\n<p>\u5982\u679c\u4f60\u6b63\u5728\u8003\u8651\u5728ARM\u670d\u52a1\u5668\u4e0a\u90e8\u7f72AI\u5e94\u7528&#xff0c;\u73b0\u5728\u6b63\u662f\u597d\u65f6\u673a\u3002\u6280\u672f\u5df2\u7ecf\u6210\u719f&#xff0c;\u5de5\u5177\u5df2\u7ecf\u5c31\u4f4d&#xff0c;\u5269\u4e0b\u7684\u5c31\u662f\u52a8\u624b\u5b9e\u8df5\u4e86\u3002<\/p>\n<hr \/>\n<p>\u83b7\u53d6\u66f4\u591aAI\u955c\u50cf<\/p>\n<p>\u60f3\u63a2\u7d22\u66f4\u591aAI\u955c\u50cf\u548c\u5e94\u7528\u573a\u666f&#xff1f;\u8bbf\u95ee CSDN\u661f\u56fe\u955c\u50cf\u5e7f\u573a&#xff0c;\u63d0\u4f9b\u4e30\u5bcc\u7684\u9884\u7f6e\u955c\u50cf&#xff0c;\u8986\u76d6\u5927\u6a21\u578b\u63a8\u7406\u3001\u56fe\u50cf\u751f\u6210\u3001\u89c6\u9891\u751f\u6210\u3001\u6a21\u578b\u5fae\u8c03\u7b49\u591a\u4e2a\u9886\u57df&#xff0c;\u652f\u6301\u4e00\u952e\u90e8\u7f72\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72&#xff1a;ARM\u67b6\u6784\u670d\u52a1\u5668&#xff08;\u5982NVIDIA Grace&#xff09;\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18<br \/>\n1. \u5f15\u8a00&#xff1a;\u5f53\u96f6\u552eAI\u4e13\u5bb6\u9047\u4e0aARM\u65b0\u5e73\u53f0<br \/>\n\u5982\u679c\u4f60\u5728\u98df\u54c1\u670d\u52a1\u6216\u96f6\u552e\u884c\u4e1a\u5de5\u4f5c&#xff0c;\u6bcf\u5929\u9762\u5bf9\u8d27\u67b6\u68c0\u67e5\u3001\u5546\u54c1\u8bc6\u522b\u3001\u5408\u89c4\u5ba1\u6838\u8fd9\u4e9b\u7e41\u7410\u4efb\u52a1&#xff0c;\u4e00\u5b9a\u60f3\u8fc7&#xff1a;\u80fd\u4e0d\u80fd\u6709\u4e2aAI\u52a9\u624b&#xff0c;\u770b\u4e00\u773c\u56fe\u7247\u5c31\u80fd\u544a\u8bc9\u6211\u8d27\u67b6\u7f3a\u4e86\u4ec0\u4e48\u3001\u5546\u54c1\u6446\u653e\u5bf9\u4e0d\u5bf9\u3001\u751a\u81f3\u5e2e\u6211\u5206\u6790\u987e\u5ba2\u52a8\u7ebf&#xff1f;<br \/>\n\u73b0\u5728&amp;#xff0<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9537,9301,509,2831],"topic":[],"class_list":["post-85326","post","type-post","status-publish","format-standard","hentry","category-server","tag-arm","tag-ai","tag-2831"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72\uff1aARM\u67b6\u6784\u670d\u52a1\u5668\uff08\u5982NVIDIA Grace\uff09\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/85326.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72\uff1aARM\u67b6\u6784\u670d\u52a1\u5668\uff08\u5982NVIDIA Grace\uff09\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72&#xff1a;ARM\u67b6\u6784\u670d\u52a1\u5668&#xff08;\u5982NVIDIA Grace&#xff09;\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18 1. \u5f15\u8a00&#xff1a;\u5f53\u96f6\u552eAI\u4e13\u5bb6\u9047\u4e0aARM\u65b0\u5e73\u53f0 \u5982\u679c\u4f60\u5728\u98df\u54c1\u670d\u52a1\u6216\u96f6\u552e\u884c\u4e1a\u5de5\u4f5c&#xff0c;\u6bcf\u5929\u9762\u5bf9\u8d27\u67b6\u68c0\u67e5\u3001\u5546\u54c1\u8bc6\u522b\u3001\u5408\u89c4\u5ba1\u6838\u8fd9\u4e9b\u7e41\u7410\u4efb\u52a1&#xff0c;\u4e00\u5b9a\u60f3\u8fc7&#xff1a;\u80fd\u4e0d\u80fd\u6709\u4e2aAI\u52a9\u624b&#xff0c;\u770b\u4e00\u773c\u56fe\u7247\u5c31\u80fd\u544a\u8bc9\u6211\u8d27\u67b6\u7f3a\u4e86\u4ec0\u4e48\u3001\u5546\u54c1\u6446\u653e\u5bf9\u4e0d\u5bf9\u3001\u751a\u81f3\u5e2e\u6211\u5206\u6790\u987e\u5ba2\u52a8\u7ebf&#xff1f; \u73b0\u5728&amp;#xff0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/85326.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-27T04:00:35+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/85326.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/85326.html\",\"name\":\"Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72\uff1aARM\u67b6\u6784\u670d\u52a1\u5668\uff08\u5982NVIDIA Grace\uff09\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-27T04:00:35+00:00\",\"dateModified\":\"2026-07-27T04:00:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/85326.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/85326.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/85326.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72\uff1aARM\u67b6\u6784\u670d\u52a1\u5668\uff08\u5982NVIDIA Grace\uff09\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72\uff1aARM\u67b6\u6784\u670d\u52a1\u5668\uff08\u5982NVIDIA Grace\uff09\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/85326.html","og_locale":"zh_CN","og_type":"article","og_title":"Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72\uff1aARM\u67b6\u6784\u670d\u52a1\u5668\uff08\u5982NVIDIA Grace\uff09\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72&#xff1a;ARM\u67b6\u6784\u670d\u52a1\u5668&#xff08;\u5982NVIDIA Grace&#xff09;\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18 1. \u5f15\u8a00&#xff1a;\u5f53\u96f6\u552eAI\u4e13\u5bb6\u9047\u4e0aARM\u65b0\u5e73\u53f0 \u5982\u679c\u4f60\u5728\u98df\u54c1\u670d\u52a1\u6216\u96f6\u552e\u884c\u4e1a\u5de5\u4f5c&#xff0c;\u6bcf\u5929\u9762\u5bf9\u8d27\u67b6\u68c0\u67e5\u3001\u5546\u54c1\u8bc6\u522b\u3001\u5408\u89c4\u5ba1\u6838\u8fd9\u4e9b\u7e41\u7410\u4efb\u52a1&#xff0c;\u4e00\u5b9a\u60f3\u8fc7&#xff1a;\u80fd\u4e0d\u80fd\u6709\u4e2aAI\u52a9\u624b&#xff0c;\u770b\u4e00\u773c\u56fe\u7247\u5c31\u80fd\u544a\u8bc9\u6211\u8d27\u67b6\u7f3a\u4e86\u4ec0\u4e48\u3001\u5546\u54c1\u6446\u653e\u5bf9\u4e0d\u5bf9\u3001\u751a\u81f3\u5e2e\u6211\u5206\u6790\u987e\u5ba2\u52a8\u7ebf&#xff1f; \u73b0\u5728&amp;#xff0","og_url":"https:\/\/www.wsisp.com\/helps\/85326.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-27T04:00:35+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"9 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/85326.html","url":"https:\/\/www.wsisp.com\/helps\/85326.html","name":"Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72\uff1aARM\u67b6\u6784\u670d\u52a1\u5668\uff08\u5982NVIDIA Grace\uff09\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-27T04:00:35+00:00","dateModified":"2026-07-27T04:00:35+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/85326.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/85326.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/85326.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Ostrakon-VL-8B\u5feb\u901f\u90e8\u7f72\uff1aARM\u67b6\u6784\u670d\u52a1\u5668\uff08\u5982NVIDIA Grace\uff09\u517c\u5bb9\u6027\u9a8c\u8bc1\u4e0e\u8c03\u4f18"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/85326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=85326"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/85326\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=85326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=85326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=85326"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=85326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}