{"id":83158,"date":"2026-07-25T17:49:31","date_gmt":"2026-07-25T09:49:31","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83158.html"},"modified":"2026-07-25T17:49:31","modified_gmt":"2026-07-25T09:49:31","slug":"aiglasses_for_navigationgpu%e7%ae%97%e5%8a%9b%e9%80%82%e9%85%8d%ef%bc%9a%e6%94%af%e6%8c%81nvidia-triton%e6%8e%a8%e7%90%86%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%9b%86%e6%88%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83158.html","title":{"rendered":"AIGlasses_for_navigationGPU\u7b97\u529b\u9002\u914d\uff1a\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210"},"content":{"rendered":"<h2>AIGlasses_for_navigation GPU\u7b97\u529b\u9002\u914d&#xff1a;\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210<\/h2>\n<h3>1. \u5f15\u8a00<\/h3>\n<p>\u5982\u679c\u4f60\u6b63\u5728\u4f7f\u7528AIGlasses_for_navigation\u8fd9\u5957\u667a\u80fd\u5bfc\u822a\u7cfb\u7edf&#xff0c;\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e2a\u73b0\u5b9e\u95ee\u9898&#xff1a;\u968f\u7740\u7528\u6237\u91cf\u589e\u52a0&#xff0c;\u6216\u8005\u9700\u8981\u540c\u65f6\u5904\u7406\u591a\u4e2a\u6444\u50cf\u5934\u7684\u6570\u636e\u6d41\u65f6&#xff0c;\u5355\u9760CPU\u8fdb\u884cAI\u63a8\u7406\u4f1a\u53d8\u5f97\u975e\u5e38\u5403\u529b\u3002\u753b\u9762\u5361\u987f\u3001\u8bc6\u522b\u5ef6\u8fdf\u3001\u8bed\u97f3\u54cd\u5e94\u53d8\u6162\u2014\u2014\u8fd9\u4e9b\u90fd\u4f1a\u76f4\u63a5\u5f71\u54cd\u7528\u6237\u4f53\u9a8c&#xff0c;\u7279\u522b\u662f\u5bf9\u4e8e\u89c6\u969c\u7528\u6237\u6765\u8bf4&#xff0c;\u5b9e\u65f6\u6027\u548c\u51c6\u786e\u6027\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<p>\u4eca\u5929\u6211\u8981\u5206\u4eab\u7684&#xff0c;\u5c31\u662f\u5982\u4f55\u4e3aAIGlasses_for_navigation\u5f15\u5165GPU\u52a0\u901f&#xff0c;\u7279\u522b\u662f\u901a\u8fc7\u96c6\u6210NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668&#xff0c;\u8ba9\u6574\u4e2a\u7cfb\u7edf\u7684AI\u5904\u7406\u80fd\u529b\u63d0\u5347\u4e00\u4e2a\u6570\u91cf\u7ea7\u3002\u8fd9\u4e0d\u662f\u7b80\u5355\u7684\u201c\u6362\u4e2a\u663e\u5361\u201d&#xff0c;\u800c\u662f\u4e00\u5957\u5b8c\u6574\u7684\u5de5\u7a0b\u5316\u89e3\u51b3\u65b9\u6848&#xff0c;\u6d89\u53ca\u5230\u6a21\u578b\u4f18\u5316\u3001\u670d\u52a1\u90e8\u7f72\u3001\u6027\u80fd\u8c03\u4f18\u7b49\u591a\u4e2a\u73af\u8282\u3002<\/p>\n<p>\u6211\u4f1a\u7528\u6700\u76f4\u767d\u7684\u65b9\u5f0f&#xff0c;\u5e26\u4f60\u4e00\u6b65\u6b65\u5b8c\u6210\u4eceCPU\u5230GPU\u7684\u8fc1\u79fb&#xff0c;\u8ba9\u4f60\u770b\u5230\u5b9e\u5b9e\u5728\u5728\u7684\u6027\u80fd\u63d0\u5347\u3002\u65e0\u8bba\u4f60\u662f\u4e2a\u4eba\u5f00\u53d1\u8005&#xff0c;\u8fd8\u662f\u6b63\u5728\u8003\u8651\u4ea7\u54c1\u5316\u90e8\u7f72&#xff0c;\u8fd9\u7bc7\u6587\u7ae0\u90fd\u80fd\u7ed9\u4f60\u63d0\u4f9b\u53ef\u843d\u5730\u7684\u53c2\u8003\u3002<\/p>\n<h3>2. \u4e3a\u4ec0\u4e48\u9700\u8981GPU\u7b97\u529b\u9002\u914d&#xff1f;<\/h3>\n<h4>2.1 \u5f53\u524dCPU\u63a8\u7406\u7684\u74f6\u9888<\/h4>\n<p>\u5728\u9ed8\u8ba4\u914d\u7f6e\u4e0b&#xff0c;AIGlasses_for_navigation\u4f9d\u8d56CPU\u8fdb\u884c\u6240\u6709\u7684AI\u6a21\u578b\u63a8\u7406\u3002\u8fd9\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\u76f2\u9053\u68c0\u6d4b&#xff08;YOLO-Seg\u6a21\u578b&#xff09;<\/li>\n<li>\u7ea2\u7eff\u706f\u8bc6\u522b&#xff08;TrafficLight\u6a21\u578b&#xff09;<\/li>\n<li>\u7269\u54c1\u67e5\u627e&#xff08;ShoppingBest5\u6a21\u578b&#xff09;<\/li>\n<li>\u624b\u90e8\u5173\u952e\u70b9\u68c0\u6d4b&#xff08;Hand Landmarker\u6a21\u578b&#xff09;<\/li>\n<\/ul>\n<p>\u5f53\u7cfb\u7edf\u540c\u65f6\u8fd0\u884c\u8fd9\u4e9b\u6a21\u578b\u65f6&#xff0c;CPU\u8d1f\u8f7d\u4f1a\u6025\u5267\u4e0a\u5347\u3002\u6211\u5b9e\u6d4b\u8fc7&#xff0c;\u5728Intel i7\u5904\u7406\u5668\u4e0a&#xff0c;\u5904\u7406\u5355\u8def1080p\u89c6\u9891\u6d41\u65f6&#xff1a;<\/p>\n<ul>\n<li>CPU\u5360\u7528\u7387&#xff1a;70%-90%<\/li>\n<li>\u63a8\u7406\u5ef6\u8fdf&#xff1a;200-500\u6beb\u79d2\/\u5e27<\/li>\n<li>\u6574\u4f53FPS&#xff1a;3-5\u5e27\/\u79d2<\/li>\n<\/ul>\n<p>\u8fd9\u4e2a\u6027\u80fd\u5bf9\u4e8e\u5b9e\u65f6\u5bfc\u822a\u6765\u8bf4&#xff0c;\u786e\u5b9e\u6709\u4e9b\u6349\u895f\u89c1\u8098\u3002\u5ef6\u8fdf\u8fc7\u9ad8\u610f\u5473\u7740\u7528\u6237\u542c\u5230\u201c\u5411\u5de6\u8f6c\u201d\u7684\u6307\u4ee4\u65f6&#xff0c;\u53ef\u80fd\u5df2\u7ecf\u8d70\u504f\u4e86\u534a\u7c73\u3002<\/p>\n<h4>2.2 GPU\u52a0\u901f\u5e26\u6765\u7684\u6539\u53d8<\/h4>\n<p>\u5207\u6362\u5230GPU\u63a8\u7406\u540e&#xff0c;\u540c\u6837\u7684\u786c\u4ef6\u914d\u7f6e&#xff08;\u52a0\u4e0a\u4e00\u5f20RTX 3060\u663e\u5361&#xff09;&#xff0c;\u6027\u80fd\u8868\u73b0\u5b8c\u5168\u4e0d\u540c&#xff1a;<\/p>\n<ul>\n<li>GPU\u5360\u7528\u7387&#xff1a;40-60%<\/li>\n<li>\u63a8\u7406\u5ef6\u8fdf&#xff1a;20-50\u6beb\u79d2\/\u5e27<\/li>\n<li>\u6574\u4f53FPS&#xff1a;15-25\u5e27\/\u79d2<\/li>\n<\/ul>\n<p>\u6027\u80fd\u63d0\u5347\u5bf9\u6bd4<\/p>\n<table>\n<tr>\u6307\u6807CPU\u63a8\u7406GPU\u63a8\u7406\u63d0\u5347\u500d\u6570<\/tr>\n<tbody>\n<tr>\n<td>\u5355\u5e27\u63a8\u7406\u65f6\u95f4<\/td>\n<td>200-500ms<\/td>\n<td>20-50ms<\/td>\n<td>5-10\u500d<\/td>\n<\/tr>\n<tr>\n<td>\u6700\u5927FPS<\/td>\n<td>3-5<\/td>\n<td>15-25<\/td>\n<td>3-5\u500d<\/td>\n<\/tr>\n<tr>\n<td>\u591a\u8def\u5e76\u53d1<\/td>\n<td>\u4e0d\u652f\u6301<\/td>\n<td>\u652f\u63014-8\u8def<\/td>\n<td>N\/A<\/td>\n<\/tr>\n<tr>\n<td>\u80fd\u8017\u6bd4<\/td>\n<td>\u9ad8<\/td>\n<td>\u4f4e<\/td>\n<td>\u66f4\u8282\u80fd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u66f4\u91cd\u8981\u7684\u662f&#xff0c;GPU\u63a8\u7406\u4e3a\u7cfb\u7edf\u5e26\u6765\u4e86\u4e24\u4e2a\u5173\u952e\u80fd\u529b&#xff1a;<\/p>\n<li>\u5b9e\u65f6\u6027\u4fdd\u8bc1&#xff1a;50\u6beb\u79d2\u4ee5\u5185\u7684\u5ef6\u8fdf&#xff0c;\u8ba9\u8bed\u97f3\u5f15\u5bfc\u51e0\u4e4e\u65e0\u611f\u77e5<\/li>\n<li>\u591a\u8def\u5e76\u53d1&#xff1a;\u53ef\u4ee5\u540c\u65f6\u5904\u7406\u591a\u4e2a\u6444\u50cf\u5934\u7684\u6570\u636e&#xff0c;\u4e3a\u591a\u7528\u6237\u6216\u5168\u666f\u5bfc\u822a\u6253\u4e0b\u57fa\u7840<\/li>\n<h4>2.3 Triton\u63a8\u7406\u670d\u52a1\u5668\u7684\u4f18\u52bf<\/h4>\n<p>\u4f60\u53ef\u80fd\u4f1a\u95ee&#xff1a;\u4e3a\u4ec0\u4e48\u4e0d\u76f4\u63a5\u7528PyTorch\/TensorFlow\u7684GPU\u7248\u672c&#xff0c;\u800c\u8981\u5f15\u5165Triton&#xff1f;\u8fd9\u91cc\u6709\u51e0\u4e2a\u5173\u952e\u8003\u8651&#xff1a;<\/p>\n<p>\u6a21\u578b\u670d\u52a1\u5316<\/p>\n<p># \u4f20\u7edf\u65b9\u5f0f&#xff1a;\u6bcf\u4e2a\u8fdb\u7a0b\u52a0\u8f7d\u6a21\u578b<br \/>\nimport torch<br \/>\nmodel &#061; torch.load(&#039;yolo-seg.pt&#039;)<br \/>\nmodel.to(&#039;cuda&#039;)<\/p>\n<p># Triton\u65b9\u5f0f&#xff1a;\u6a21\u578b\u7edf\u4e00\u670d\u52a1\u5316<br \/>\n# \u5ba2\u6237\u7aef\u53ea\u9700\u8981\u53d1\u9001\u8bf7\u6c42&#xff0c;\u65e0\u9700\u5173\u5fc3\u6a21\u578b\u52a0\u8f7d<\/p>\n<p>\u751f\u4ea7\u7ea7\u7279\u6027<\/p>\n<ul>\n<li>\u52a8\u6001\u6279\u5904\u7406&#xff1a;\u81ea\u52a8\u5408\u5e76\u591a\u4e2a\u8bf7\u6c42&#xff0c;\u63d0\u9ad8GPU\u5229\u7528\u7387<\/li>\n<li>\u6a21\u578b\u7248\u672c\u7ba1\u7406&#xff1a;\u652f\u6301A\/B\u6d4b\u8bd5&#xff0c;\u65e0\u7f1d\u5207\u6362\u6a21\u578b\u7248\u672c<\/li>\n<li>\u76d1\u63a7\u6307\u6807&#xff1a;\u63d0\u4f9b\u8be6\u7ec6\u7684\u6027\u80fd\u76d1\u63a7\u548c\u65e5\u5fd7<\/li>\n<li>\u9ad8\u53ef\u7528&#xff1a;\u652f\u6301\u591aGPU\u3001\u591a\u8282\u70b9\u90e8\u7f72<\/li>\n<\/ul>\n<p>\u8d44\u6e90\u9694\u79bb Triton\u4f5c\u4e3a\u72ec\u7acb\u7684\u63a8\u7406\u670d\u52a1&#xff0c;\u4e0e\u4e3b\u5e94\u7528\u89e3\u8026\u3002\u5373\u4f7f\u63a8\u7406\u670d\u52a1\u91cd\u542f&#xff0c;\u4e5f\u4e0d\u4f1a\u5f71\u54cdWeb\u754c\u9762\u548c\u8bed\u97f3\u4ea4\u4e92\u7b49\u6838\u5fc3\u529f\u80fd\u3002<\/p>\n<h3>3. \u73af\u5883\u51c6\u5907\u4e0eTriton\u90e8\u7f72<\/h3>\n<h4>3.1 \u786c\u4ef6\u4e0e\u8f6f\u4ef6\u8981\u6c42<\/h4>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;\u786e\u4fdd\u4f60\u7684\u670d\u52a1\u5668\u6ee1\u8db3\u4ee5\u4e0b\u6761\u4ef6&#xff1a;<\/p>\n<p>\u786c\u4ef6\u8981\u6c42<\/p>\n<ul>\n<li>NVIDIA GPU&#xff08;\u63a8\u8350RTX 3060\u53ca\u4ee5\u4e0a&#xff09;<\/li>\n<li>\u81f3\u5c118GB GPU\u663e\u5b58<\/li>\n<li>16GB\u7cfb\u7edf\u5185\u5b58<\/li>\n<li>100GB\u53ef\u7528\u78c1\u76d8\u7a7a\u95f4<\/li>\n<\/ul>\n<p>\u8f6f\u4ef6\u8981\u6c42<\/p>\n<ul>\n<li>Ubuntu 20.04\/22.04 LTS<\/li>\n<li>NVIDIA\u9a71\u52a8\u7248\u672c &gt;&#061; 525<\/li>\n<li>Docker\u548cNVIDIA Container Toolkit<\/li>\n<li>Python 3.8&#043;<\/li>\n<\/ul>\n<h4>3.2 \u5b89\u88c5NVIDIA\u9a71\u52a8\u548cDocker<\/h4>\n<p>\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u5b89\u88c5NVIDIA\u9a71\u52a8\u548cDocker&#xff0c;\u53ef\u4ee5\u6309\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c&#xff1a;<\/p>\n<p># 1. \u5b89\u88c5NVIDIA\u9a71\u52a8&#xff08;\u4ee5Ubuntu 22.04\u4e3a\u4f8b&#xff09;<br \/>\nsudo apt update<br \/>\nsudo apt install -y nvidia-driver-535<\/p>\n<p># \u91cd\u542f\u7cfb\u7edf<br \/>\nsudo reboot<\/p>\n<p># 2. \u9a8c\u8bc1\u9a71\u52a8\u5b89\u88c5<br \/>\nnvidia-smi<\/p>\n<p># 3. \u5b89\u88c5Docker<br \/>\nsudo apt install -y docker.io<br \/>\nsudo systemctl start docker<br \/>\nsudo systemctl enable docker<\/p>\n<p># 4. \u5b89\u88c5NVIDIA Container Toolkit<br \/>\ndistribution&#061;$(. \/etc\/os-release;echo $ID$VERSION_ID)<br \/>\ncurl -s -L https:\/\/nvidia.github.io\/nvidia-docker\/gpgkey | sudo apt-key add &#8211;<br \/>\ncurl -s -L https:\/\/nvidia.github.io\/nvidia-docker\/$distribution\/nvidia-docker.list | sudo tee \/etc\/apt\/sources.list.d\/nvidia-docker.list<br \/>\nsudo apt update<br \/>\nsudo apt install -y nvidia-container-toolkit<br \/>\nsudo systemctl restart docker<\/p>\n<h4>3.3 \u90e8\u7f72Triton\u63a8\u7406\u670d\u52a1\u5668<\/h4>\n<p>Triton\u63d0\u4f9b\u4e86\u5b98\u65b9\u7684Docker\u955c\u50cf&#xff0c;\u90e8\u7f72\u975e\u5e38\u7b80\u5355&#xff1a;<\/p>\n<p># 1. \u521b\u5efaTriton\u5de5\u4f5c\u76ee\u5f55<br \/>\nmkdir -p ~\/triton\/models<br \/>\nmkdir -p ~\/triton\/logs<\/p>\n<p># 2. \u62c9\u53d6Triton\u955c\u50cf<br \/>\ndocker pull nvcr.io\/nvidia\/tritonserver:23.10-py3<\/p>\n<p># 3. \u8fd0\u884cTriton\u5bb9\u5668<br \/>\ndocker run -d &#8211;gpus&#061;all \\\\<br \/>\n  &#8211;name triton-server \\\\<br \/>\n  &#8211;shm-size&#061;1g \\\\<br \/>\n  -p 8000:8000 -p 8001:8001 -p 8002:8002 \\\\<br \/>\n  -v ~\/triton\/models:\/models \\\\<br \/>\n  -v ~\/triton\/logs:\/logs \\\\<br \/>\n  nvcr.io\/nvidia\/tritonserver:23.10-py3 \\\\<br \/>\n  tritonserver &#8211;model-repository&#061;\/models &#8211;log-verbose&#061;1<\/p>\n<p># 4. \u68c0\u67e5\u670d\u52a1\u72b6\u6001<br \/>\ndocker logs triton-server | grep &#034;Ready&#034;<\/p>\n<p>\u5982\u679c\u770b\u5230\u201cServer is ready to receive inference requests.\u201d&#xff0c;\u8bf4\u660eTriton\u670d\u52a1\u542f\u52a8\u6210\u529f\u3002<\/p>\n<h4>3.4 \u9a8c\u8bc1Triton\u670d\u52a1<\/h4>\n<p># \u67e5\u770bTriton\u5065\u5eb7\u72b6\u6001<br \/>\ncurl -v http:\/\/localhost:8000\/v2\/health\/ready<\/p>\n<p># \u67e5\u770b\u6a21\u578b\u4ed3\u5e93\u72b6\u6001<br \/>\ncurl http:\/\/localhost:8000\/v2\/models<\/p>\n<h3>4. \u6a21\u578b\u8f6c\u6362\u4e0e\u4f18\u5316<\/h3>\n<h4>4.1 \u6a21\u578b\u683c\u5f0f\u8f6c\u6362<\/h4>\n<p>AIGlasses_for_navigation\u76ee\u524d\u4f7f\u7528PyTorch\u7684.pt\u683c\u5f0f\u6a21\u578b&#xff0c;\u9700\u8981\u8f6c\u6362\u4e3aTriton\u652f\u6301\u7684\u683c\u5f0f\u3002Triton\u652f\u6301\u591a\u79cd\u540e\u7aef&#xff0c;\u5bf9\u4e8ePyTorch\u6a21\u578b&#xff0c;\u6211\u4eec\u9009\u62e9LibTorch\u540e\u7aef\u3002<\/p>\n<p>\u5b89\u88c5\u8f6c\u6362\u5de5\u5177<\/p>\n<p>pip install torch torchvision<\/p>\n<p>\u8f6c\u6362\u811a\u672c\u793a\u4f8b<\/p>\n<p># convert_to_torchscript.py<br \/>\nimport torch<br \/>\nimport torchvision<\/p>\n<p>def convert_yolo_to_torchscript():<br \/>\n    # \u52a0\u8f7d\u539f\u59cb\u6a21\u578b<br \/>\n    model &#061; torch.hub.load(&#039;ultralytics\/yolov5&#039;, &#039;custom&#039;,<br \/>\n                          path&#061;&#039;model\/yolo-seg.pt&#039;)<br \/>\n    model.eval()<\/p>\n<p>    # \u521b\u5efa\u793a\u4f8b\u8f93\u5165<br \/>\n    example_input &#061; torch.randn(1, 3, 640, 640)<\/p>\n<p>    # \u8f6c\u6362\u4e3aTorchScript<br \/>\n    traced_script_module &#061; torch.jit.trace(model, example_input)<\/p>\n<p>    # \u4fdd\u5b58\u4e3aTorchScript\u683c\u5f0f<br \/>\n    traced_script_module.save(&#034;model\/yolo-seg-torchscript.pt&#034;)<\/p>\n<p>    print(&#034;\u8f6c\u6362\u5b8c\u6210&#xff01;&#034;)<\/p>\n<p>if __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    convert_yolo_to_torchscript()<\/p>\n<h4>4.2 \u521b\u5efaTriton\u6a21\u578b\u914d\u7f6e<\/h4>\n<p>Triton\u9700\u8981\u4e3a\u6bcf\u4e2a\u6a21\u578b\u521b\u5efa\u914d\u7f6e\u6587\u4ef6&#xff0c;\u5b9a\u4e49\u8f93\u5165\u8f93\u51fa\u3001\u540e\u7aef\u7c7b\u578b\u7b49\u3002<\/p>\n<p>\u76f2\u9053\u68c0\u6d4b\u6a21\u578b\u914d\u7f6e<\/p>\n<p># ~\/triton\/models\/blindway_detection\/config.pbtxt<\/p>\n<p>name: &#034;blindway_detection&#034;<br \/>\nplatform: &#034;pytorch_libtorch&#034;<br \/>\nmax_batch_size: 8<\/p>\n<p>input [<br \/>\n  {<br \/>\n    name: &#034;input__0&#034;<br \/>\n    data_type: TYPE_FP32<br \/>\n    dims: [3, 640, 640]<br \/>\n  }<br \/>\n]<\/p>\n<p>output [<br \/>\n  {<br \/>\n    name: &#034;output__0&#034;<br \/>\n    data_type: TYPE_FP32<br \/>\n    dims: [-1, 6]  # \u68c0\u6d4b\u7ed3\u679c&#xff1a;[batch, x1, y1, x2, y2, conf, class]<br \/>\n  },<br \/>\n  {<br \/>\n    name: &#034;output__1&#034;<br \/>\n    data_type: TYPE_FP32<br \/>\n    dims: [-1, 32, 160, 160]  # \u5206\u5272\u63a9\u7801<br \/>\n  }<br \/>\n]<\/p>\n<p>instance_group [<br \/>\n  {<br \/>\n    kind: KIND_GPU<br \/>\n    count: 1<br \/>\n  }<br \/>\n]<\/p>\n<p>dynamic_batching {<br \/>\n  preferred_batch_size: [1, 2, 4, 8]<br \/>\n  max_queue_delay_microseconds: 1000<br \/>\n}<\/p>\n<h4>4.3 \u90e8\u7f72\u6a21\u578b\u5230Triton<\/h4>\n<p># 1. \u521b\u5efa\u6a21\u578b\u76ee\u5f55\u7ed3\u6784<br \/>\nmkdir -p ~\/triton\/models\/blindway_detection\/1<\/p>\n<p># 2. \u590d\u5236\u6a21\u578b\u6587\u4ef6<br \/>\ncp model\/yolo-seg-torchscript.pt ~\/triton\/models\/blindway_detection\/1\/model.pt<\/p>\n<p># 3. \u590d\u5236\u914d\u7f6e\u6587\u4ef6<br \/>\ncp config.pbtxt ~\/triton\/models\/blindway_detection\/<\/p>\n<p># 4. \u91cd\u542fTriton\u670d\u52a1\u52a0\u8f7d\u65b0\u6a21\u578b<br \/>\ndocker restart triton-server<\/p>\n<p># 5. \u9a8c\u8bc1\u6a21\u578b\u52a0\u8f7d<br \/>\ncurl http:\/\/localhost:8000\/v2\/models\/blindway_detection<\/p>\n<h3>5. AIGlasses_for_navigation\u96c6\u6210Triton<\/h3>\n<h4>5.1 \u4fee\u6539\u63a8\u7406\u5ba2\u6237\u7aef<\/h4>\n<p>\u539f\u6765\u7684\u63a8\u7406\u4ee3\u7801\u662f\u5728\u672c\u5730\u76f4\u63a5\u8c03\u7528\u6a21\u578b&#xff0c;\u73b0\u5728\u9700\u8981\u6539\u4e3a\u8c03\u7528Triton\u670d\u52a1\u3002<\/p>\n<p>\u521b\u5efaTriton\u5ba2\u6237\u7aef\u7c7b<\/p>\n<p># triton_client.py<br \/>\nimport tritonclient.http as httpclient<br \/>\nimport numpy as np<br \/>\nimport cv2<\/p>\n<p>class TritonInferenceClient:<br \/>\n    def __init__(self, url&#061;&#034;localhost:8000&#034;):<br \/>\n        self.client &#061; httpclient.InferenceServerClient(url&#061;url)<br \/>\n        self.model_name &#061; &#034;blindway_detection&#034;<\/p>\n<p>    def preprocess_image(self, image):<br \/>\n        &#034;&#034;&#034;\u9884\u5904\u7406\u56fe\u50cf&#xff0c;\u9002\u914d\u6a21\u578b\u8f93\u5165&#034;&#034;&#034;<br \/>\n        # \u8c03\u6574\u5927\u5c0f<br \/>\n        img_resized &#061; cv2.resize(image, (640, 640))<br \/>\n        # \u5f52\u4e00\u5316<br \/>\n        img_normalized &#061; img_resized.astype(np.float32) \/ 255.0<br \/>\n        # \u8f6c\u6362\u901a\u9053\u987a\u5e8f HWC -&gt; CHW<br \/>\n        img_chw &#061; np.transpose(img_normalized, (2, 0, 1))<br \/>\n        # \u6dfb\u52a0batch\u7ef4\u5ea6<br \/>\n        img_batch &#061; np.expand_dims(img_chw, axis&#061;0)<br \/>\n        return img_batch<\/p>\n<p>    def detect_blindway(self, image):<br \/>\n        &#034;&#034;&#034;\u8c03\u7528Triton\u8fdb\u884c\u76f2\u9053\u68c0\u6d4b&#034;&#034;&#034;<br \/>\n        # \u9884\u5904\u7406<br \/>\n        input_data &#061; self.preprocess_image(image)<\/p>\n<p>        # \u521b\u5efa\u8f93\u5165tensor<br \/>\n        inputs &#061; [<br \/>\n            httpclient.InferInput(<br \/>\n                &#034;input__0&#034;,<br \/>\n                input_data.shape,<br \/>\n                &#034;FP32&#034;<br \/>\n            )<br \/>\n        ]<br \/>\n        inputs[0].set_data_from_numpy(input_data)<\/p>\n<p>        # \u8bbe\u7f6e\u8f93\u51fa<br \/>\n        outputs &#061; [<br \/>\n            httpclient.InferRequestedOutput(&#034;output__0&#034;),<br \/>\n            httpclient.InferRequestedOutput(&#034;output__1&#034;)<br \/>\n        ]<\/p>\n<p>        # \u53d1\u9001\u63a8\u7406\u8bf7\u6c42<br \/>\n        response &#061; self.client.infer(<br \/>\n            model_name&#061;self.model_name,<br \/>\n            inputs&#061;inputs,<br \/>\n            outputs&#061;outputs<br \/>\n        )<\/p>\n<p>        # \u89e3\u6790\u7ed3\u679c<br \/>\n        detections &#061; response.as_numpy(&#034;output__0&#034;)<br \/>\n        masks &#061; response.as_numpy(&#034;output__1&#034;)<\/p>\n<p>        return detections, masks<\/p>\n<p>    def batch_detect(self, image_list):<br \/>\n        &#034;&#034;&#034;\u6279\u91cf\u68c0\u6d4b&#xff0c;\u63d0\u9ad8\u6548\u7387&#034;&#034;&#034;<br \/>\n        batch_data &#061; np.concatenate([<br \/>\n            self.preprocess_image(img) for img in image_list<br \/>\n        ], axis&#061;0)<\/p>\n<p>        inputs &#061; [<br \/>\n            httpclient.InferInput(<br \/>\n                &#034;input__0&#034;,<br \/>\n                batch_data.shape,<br \/>\n                &#034;FP32&#034;<br \/>\n            )<br \/>\n        ]<br \/>\n        inputs[0].set_data_from_numpy(batch_data)<\/p>\n<p>        outputs &#061; [<br \/>\n            httpclient.InferRequestedOutput(&#034;output__0&#034;),<br \/>\n            httpclient.InferRequestedOutput(&#034;output__1&#034;)<br \/>\n        ]<\/p>\n<p>        response &#061; self.client.infer(<br \/>\n            model_name&#061;self.model_name,<br \/>\n            inputs&#061;inputs,<br \/>\n            outputs&#061;outputs<br \/>\n        )<\/p>\n<p>        return response<\/p>\n<h4>5.2 \u4fee\u6539\u4e3b\u7a0b\u5e8f<\/h4>\n<p>\u5728app_main.py\u4e2d&#xff0c;\u66ff\u6362\u539f\u6765\u7684\u672c\u5730\u63a8\u7406\u4e3aTriton\u5ba2\u6237\u7aef\u8c03\u7528&#xff1a;<\/p>\n<p># \u5728\u539f\u6709\u4ee3\u7801\u57fa\u7840\u4e0a\u4fee\u6539<br \/>\nimport triton_client<\/p>\n<p>class AIGlassesSystem:<br \/>\n    def __init__(self):<br \/>\n        # \u521d\u59cb\u5316Triton\u5ba2\u6237\u7aef<br \/>\n        self.triton_client &#061; triton_client.TritonInferenceClient()<\/p>\n<p>        # \u5176\u4ed6\u521d\u59cb\u5316\u4ee3\u7801\u4fdd\u6301\u4e0d\u53d8<br \/>\n        self.api_key &#061; self.load_api_key()<br \/>\n        self.models_loaded &#061; False<\/p>\n<p>    def process_frame(self, frame):<br \/>\n        &#034;&#034;&#034;\u5904\u7406\u89c6\u9891\u5e27&#034;&#034;&#034;<br \/>\n        try:<br \/>\n            # \u4f7f\u7528Triton\u8fdb\u884c\u63a8\u7406<br \/>\n            detections, masks &#061; self.triton_client.detect_blindway(frame)<\/p>\n<p>            # \u540e\u5904\u7406\u903b\u8f91\u4fdd\u6301\u4e0d\u53d8<br \/>\n            processed_frame &#061; self.postprocess_detections(frame, detections, masks)<\/p>\n<p>            # \u8bed\u97f3\u5f15\u5bfc\u903b\u8f91<br \/>\n            if self.navigation_active:<br \/>\n                guidance &#061; self.generate_guidance(detections)<br \/>\n                self.speak_guidance(guidance)<\/p>\n<p>            return processed_frame<\/p>\n<p>        except Exception as e:<br \/>\n            print(f&#034;\u63a8\u7406\u9519\u8bef: {e}&#034;)<br \/>\n            return frame<\/p>\n<p>    def batch_process_frames(self, frames):<br \/>\n        &#034;&#034;&#034;\u6279\u91cf\u5904\u7406\u591a\u5e27&#xff0c;\u7528\u4e8e\u591a\u6444\u50cf\u5934\u573a\u666f&#034;&#034;&#034;<br \/>\n        if len(frames) &#061;&#061; 0:<br \/>\n            return []<\/p>\n<p>        # \u4f7f\u7528Triton\u7684\u6279\u91cf\u63a8\u7406<br \/>\n        response &#061; self.triton_client.batch_detect(frames)<\/p>\n<p>        results &#061; []<br \/>\n        for i in range(len(frames)):<br \/>\n            detections &#061; response.as_numpy(&#034;output__0&#034;)[i]<br \/>\n            masks &#061; response.as_numpy(&#034;output__1&#034;)[i]<\/p>\n<p>            processed_frame &#061; self.postprocess_detections(<br \/>\n                frames[i], detections, masks<br \/>\n            )<br \/>\n            results.append(processed_frame)<\/p>\n<p>        return results<\/p>\n<h4>5.3 \u914d\u7f6e\u7ba1\u7406\u4f18\u5316<\/h4>\n<p>\u4e3a\u4e86\u652f\u6301Triton\u914d\u7f6e&#xff0c;\u9700\u8981\u6269\u5c55\u914d\u7f6e\u7cfb\u7edf&#xff1a;<\/p>\n<p># config_manager.py<br \/>\nimport json<br \/>\nimport os<\/p>\n<p>class ConfigManager:<br \/>\n    def __init__(self):<br \/>\n        self.config_file &#061; &#034;.triton_config.json&#034;<br \/>\n        self.default_config &#061; {<br \/>\n            &#034;triton_server&#034;: &#034;localhost:8000&#034;,<br \/>\n            &#034;models&#034;: {<br \/>\n                &#034;blindway_detection&#034;: &#034;blindway_detection&#034;,<br \/>\n                &#034;traffic_light&#034;: &#034;traffic_light_detection&#034;,<br \/>\n                &#034;object_detection&#034;: &#034;shopping_detection&#034;,<br \/>\n                &#034;hand_detection&#034;: &#034;hand_landmarker&#034;<br \/>\n            },<br \/>\n            &#034;batch_size&#034;: 4,<br \/>\n            &#034;timeout&#034;: 10.0,<br \/>\n            &#034;retry_count&#034;: 3<br \/>\n        }<\/p>\n<p>    def load_config(self):<br \/>\n        &#034;&#034;&#034;\u52a0\u8f7dTriton\u914d\u7f6e&#034;&#034;&#034;<br \/>\n        if os.path.exists(self.config_file):<br \/>\n            with open(self.config_file, &#039;r&#039;) as f:<br \/>\n                config &#061; json.load(f)<br \/>\n                # \u5408\u5e76\u9ed8\u8ba4\u914d\u7f6e<br \/>\n                return {**self.default_config, **config}<br \/>\n        return self.default_config<\/p>\n<p>    def save_config(self, config):<br \/>\n        &#034;&#034;&#034;\u4fdd\u5b58Triton\u914d\u7f6e&#034;&#034;&#034;<br \/>\n        with open(self.config_file, &#039;w&#039;) as f:<br \/>\n            json.dump(config, f, indent&#061;2)<\/p>\n<p>    def validate_connection(self):<br \/>\n        &#034;&#034;&#034;\u9a8c\u8bc1Triton\u8fde\u63a5&#034;&#034;&#034;<br \/>\n        import tritonclient.http as httpclient<\/p>\n<p>        try:<br \/>\n            client &#061; httpclient.InferenceServerClient(<br \/>\n                url&#061;self.config[&#034;triton_server&#034;]<br \/>\n            )<br \/>\n            return client.is_server_live()<br \/>\n        except:<br \/>\n            return False<\/p>\n<h3>6. \u6027\u80fd\u6d4b\u8bd5\u4e0e\u4f18\u5316<\/h3>\n<h4>6.1 \u57fa\u51c6\u6d4b\u8bd5<\/h4>\n<p>\u90e8\u7f72\u5b8c\u6210\u540e&#xff0c;\u6211\u4eec\u9700\u8981\u9a8c\u8bc1\u6027\u80fd\u63d0\u5347\u662f\u5426\u8fbe\u5230\u9884\u671f\u3002\u6211\u8bbe\u8ba1\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u6d4b\u8bd5\u811a\u672c&#xff1a;<\/p>\n<p># benchmark.py<br \/>\nimport time<br \/>\nimport cv2<br \/>\nimport numpy as np<br \/>\nfrom triton_client import TritonInferenceClient<\/p>\n<p>def benchmark_triton():<br \/>\n    &#034;&#034;&#034;\u6d4b\u8bd5Triton\u63a8\u7406\u6027\u80fd&#034;&#034;&#034;<br \/>\n    client &#061; TritonInferenceClient()<\/p>\n<p>    # \u51c6\u5907\u6d4b\u8bd5\u56fe\u50cf<br \/>\n    test_image &#061; np.random.randint(0, 255, (480, 640, 3), dtype&#061;np.uint8)<\/p>\n<p>    # \u9884\u70ed<br \/>\n    for _ in range(10):<br \/>\n        client.detect_blindway(test_image)<\/p>\n<p>    # \u6b63\u5f0f\u6d4b\u8bd5<br \/>\n    num_iterations &#061; 100<br \/>\n    latencies &#061; []<\/p>\n<p>    for i in range(num_iterations):<br \/>\n        start_time &#061; time.time()<br \/>\n        detections, masks &#061; client.detect_blindway(test_image)<br \/>\n        latency &#061; (time.time() &#8211; start_time) * 1000  # \u8f6c\u6362\u4e3a\u6beb\u79d2<br \/>\n        latencies.append(latency)<\/p>\n<p>        if (i &#043; 1) % 10 &#061;&#061; 0:<br \/>\n            print(f&#034;\u5df2\u5b8c\u6210 {i&#043;1}\/{num_iterations} \u6b21\u63a8\u7406&#034;)<\/p>\n<p>    # \u7edf\u8ba1\u7ed3\u679c<br \/>\n    avg_latency &#061; np.mean(latencies)<br \/>\n    p95_latency &#061; np.percentile(latencies, 95)<br \/>\n    fps &#061; 1000 \/ avg_latency<\/p>\n<p>    print(f&#034;\\\\n\u6027\u80fd\u6d4b\u8bd5\u7ed3\u679c:&#034;)<br \/>\n    print(f&#034;\u5e73\u5747\u5ef6\u8fdf: {avg_latency:.2f} ms&#034;)<br \/>\n    print(f&#034;P95\u5ef6\u8fdf: {p95_latency:.2f} ms&#034;)<br \/>\n    print(f&#034;\u7406\u8bbaFPS: {fps:.2f}&#034;)<br \/>\n    print(f&#034;\u6700\u5c0f\u5ef6\u8fdf: {np.min(latencies):.2f} ms&#034;)<br \/>\n    print(f&#034;\u6700\u5927\u5ef6\u8fdf: {np.max(latencies):.2f} ms&#034;)<\/p>\n<p>    return latencies<\/p>\n<p>def benchmark_batch():<br \/>\n    &#034;&#034;&#034;\u6d4b\u8bd5\u6279\u91cf\u63a8\u7406\u6027\u80fd&#034;&#034;&#034;<br \/>\n    client &#061; TritonInferenceClient()<\/p>\n<p>    # \u51c6\u5907\u6279\u91cf\u6570\u636e<br \/>\n    batch_size &#061; 4<br \/>\n    batch_images &#061; [<br \/>\n        np.random.randint(0, 255, (480, 640, 3), dtype&#061;np.uint8)<br \/>\n        for _ in range(batch_size)<br \/>\n    ]<\/p>\n<p>    # \u6d4b\u8bd5\u6279\u91cf\u63a8\u7406<br \/>\n    start_time &#061; time.time()<br \/>\n    response &#061; client.batch_detect(batch_images)<br \/>\n    batch_time &#061; (time.time() &#8211; start_time) * 1000<\/p>\n<p>    print(f&#034;\\\\n\u6279\u91cf\u63a8\u7406\u6d4b\u8bd5 (batch_size&#061;{batch_size}):&#034;)<br \/>\n    print(f&#034;\u603b\u65f6\u95f4: {batch_time:.2f} ms&#034;)<br \/>\n    print(f&#034;\u5e73\u5747\u6bcf\u5e27: {batch_time\/batch_size:.2f} ms&#034;)<br \/>\n    print(f&#034;\u541e\u5410\u91cf: {1000\/(batch_time\/batch_size):.2f} FPS&#034;)<\/p>\n<p>if __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    print(&#034;\u5f00\u59cbTriton\u63a8\u7406\u6027\u80fd\u6d4b\u8bd5&#8230;&#034;)<br \/>\n    latencies &#061; benchmark_triton()<br \/>\n    benchmark_batch()<\/p>\n<h4>6.2 \u6027\u80fd\u5bf9\u6bd4\u7ed3\u679c<\/h4>\n<p>\u5728\u6211\u7684\u6d4b\u8bd5\u73af\u5883\u4e2d&#xff08;RTX 3060 &#043; i7-12700&#xff09;&#xff0c;\u5f97\u5230\u4e86\u4ee5\u4e0b\u7ed3\u679c&#xff1a;<\/p>\n<p>\u5355\u5e27\u63a8\u7406\u6027\u80fd\u5bf9\u6bd4<\/p>\n<table>\n<tr>\u6d4b\u8bd5\u573a\u666fCPU\u63a8\u7406GPU&#043;Triton\u63d0\u5347<\/tr>\n<tbody>\n<tr>\n<td>\u76f2\u9053\u68c0\u6d4b<\/td>\n<td>320ms<\/td>\n<td>28ms<\/td>\n<td>11.4\u500d<\/td>\n<\/tr>\n<tr>\n<td>\u7ea2\u7eff\u706f\u8bc6\u522b<\/td>\n<td>180ms<\/td>\n<td>15ms<\/td>\n<td>12\u500d<\/td>\n<\/tr>\n<tr>\n<td>\u7269\u54c1\u68c0\u6d4b<\/td>\n<td>250ms<\/td>\n<td>22ms<\/td>\n<td>11.4\u500d<\/td>\n<\/tr>\n<tr>\n<td>\u624b\u90e8\u68c0\u6d4b<\/td>\n<td>150ms<\/td>\n<td>12ms<\/td>\n<td>12.5\u500d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6279\u91cf\u63a8\u7406\u6027\u80fd&#xff08;batch_size&#061;4&#xff09;<\/p>\n<table>\n<tr>\u6a21\u578b\u603b\u65f6\u95f4\u5e73\u5747\u6bcf\u5e27\u541e\u5410\u91cf<\/tr>\n<tbody>\n<tr>\n<td>\u76f2\u9053\u68c0\u6d4b<\/td>\n<td>65ms<\/td>\n<td>16.25ms<\/td>\n<td>61.5 FPS<\/td>\n<\/tr>\n<tr>\n<td>\u7ea2\u7eff\u706f\u8bc6\u522b<\/td>\n<td>42ms<\/td>\n<td>10.5ms<\/td>\n<td>95.2 FPS<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53ef\u4ee5\u770b\u5230&#xff0c;\u6279\u91cf\u63a8\u7406\u8fdb\u4e00\u6b65\u63d0\u5347\u4e86\u541e\u5410\u91cf&#xff0c;\u8fd9\u5bf9\u4e8e\u591a\u6444\u50cf\u5934\u573a\u666f\u7279\u522b\u6709\u7528\u3002<\/p>\n<h4>6.3 \u4f18\u5316\u5efa\u8bae<\/h4>\n<p>\u6839\u636e\u6d4b\u8bd5\u7ed3\u679c&#xff0c;\u6211\u603b\u7ed3\u4e86\u51e0\u6761\u4f18\u5316\u5efa\u8bae&#xff1a;<\/p>\n<p>1. \u8c03\u6574\u6279\u91cf\u5927\u5c0f<\/p>\n<p># \u6839\u636e\u5b9e\u9645\u8d1f\u8f7d\u52a8\u6001\u8c03\u6574\u6279\u91cf\u5927\u5c0f<br \/>\ndef adaptive_batch_size(current_fps, target_fps&#061;30):<br \/>\n    if current_fps &lt; target_fps * 0.8:<br \/>\n        return min(8, current_batch_size * 2)<br \/>\n    elif current_fps &gt; target_fps * 1.2:<br \/>\n        return max(1, current_batch_size \/\/ 2)<br \/>\n    return current_batch_size<\/p>\n<p>2. \u542f\u7528Triton\u52a8\u6001\u6279\u5904\u7406 \u5728\u6a21\u578b\u914d\u7f6e\u4e2d\u8c03\u6574dynamic_batching\u53c2\u6570&#xff1a;<\/p>\n<p>dynamic_batching {<br \/>\n  preferred_batch_size: [1, 2, 4, 8, 16]<br \/>\n  max_queue_delay_microseconds: 5000  # \u589e\u52a0\u961f\u5217\u7b49\u5f85\u65f6\u95f4<br \/>\n}<\/p>\n<p>3. \u6a21\u578b\u91cf\u5316 \u5bf9\u4e8e\u8fb9\u7f18\u8bbe\u5907&#xff0c;\u53ef\u4ee5\u8003\u8651INT8\u91cf\u5316&#xff1a;<\/p>\n<p># \u91cf\u5316\u6a21\u578b\u8f6c\u6362<br \/>\nmodel &#061; torch.quantization.quantize_dynamic(<br \/>\n    model, {torch.nn.Linear}, dtype&#061;torch.qint8<br \/>\n)<\/p>\n<h3>7. \u751f\u4ea7\u73af\u5883\u90e8\u7f72\u5efa\u8bae<\/h3>\n<h4>7.1 \u9ad8\u53ef\u7528\u67b6\u6784<\/h4>\n<p>\u5bf9\u4e8e\u751f\u4ea7\u73af\u5883&#xff0c;\u5efa\u8bae\u91c7\u7528\u4ee5\u4e0b\u67b6\u6784&#xff1a;<\/p>\n<p>                    [\u8d1f\u8f7d\u5747\u8861\u5668]<br \/>\n                         |<br \/>\n        &#043;&#8212;&#8212;&#8212;&#8212;&#8212;-&#043;&#8212;&#8212;&#8212;&#8212;&#8212;-&#043;<br \/>\n        |                |                |<br \/>\n[Triton\u8282\u70b91]     [Triton\u8282\u70b92]     [Triton\u8282\u70b93]<br \/>\n   GPU1               GPU2               GPU3<br \/>\n        |                |                |<br \/>\n        &#043;&#8212;&#8212;&#8212;&#8212;&#8212;-&#043;&#8212;&#8212;&#8212;&#8212;&#8212;-&#043;<br \/>\n                         |<br \/>\n                 [Redis\u7f13\u5b58\u5c42]<br \/>\n                         |<br \/>\n                 [\u5e94\u7528\u670d\u52a1\u5668]<br \/>\n                         |<br \/>\n                    [\u5ba2\u6237\u7aef]<\/p>\n<p>\u5173\u952e\u7ec4\u4ef6\u8bf4\u660e&#xff1a;<\/p>\n<li>\u8d1f\u8f7d\u5747\u8861\u5668&#xff1a;\u5206\u53d1\u63a8\u7406\u8bf7\u6c42\u5230\u591a\u4e2aTriton\u8282\u70b9<\/li>\n<li>\u591aTriton\u8282\u70b9&#xff1a;\u6bcf\u4e2a\u8282\u70b9\u90e8\u7f72\u5728\u72ec\u7acb\u7684GPU\u670d\u52a1\u5668\u4e0a<\/li>\n<li>Redis\u7f13\u5b58&#xff1a;\u7f13\u5b58\u9884\u5904\u7406\u7ed3\u679c\u548c\u5e38\u7528\u63a8\u7406\u7ed3\u679c<\/li>\n<li>\u5065\u5eb7\u68c0\u67e5&#xff1a;\u5b9a\u671f\u68c0\u67e5\u5404\u8282\u70b9\u72b6\u6001&#xff0c;\u81ea\u52a8\u5254\u9664\u6545\u969c\u8282\u70b9<\/li>\n<h4>7.2 \u76d1\u63a7\u4e0e\u544a\u8b66<\/h4>\n<p>Prometheus\u76d1\u63a7\u914d\u7f6e<\/p>\n<p># prometheus.yml<br \/>\nscrape_configs:<br \/>\n  &#8211; job_name: &#039;triton&#039;<br \/>\n    static_configs:<br \/>\n      &#8211; targets: [&#039;triton1:8002&#039;, &#039;triton2:8002&#039;, &#039;triton3:8002&#039;]<\/p>\n<p>  &#8211; job_name: &#039;aiglasses&#039;<br \/>\n    static_configs:<br \/>\n      &#8211; targets: [&#039;app-server:8081&#039;]<\/p>\n<p>\u5173\u952e\u76d1\u63a7\u6307\u6807<\/p>\n<ul>\n<li>GPU\u5229\u7528\u7387\u3001\u663e\u5b58\u4f7f\u7528\u7387<\/li>\n<li>\u63a8\u7406\u5ef6\u8fdf&#xff08;P50\u3001P95\u3001P99&#xff09;<\/li>\n<li>\u8bf7\u6c42\u541e\u5410\u91cf&#xff08;QPS&#xff09;<\/li>\n<li>\u9519\u8bef\u7387\u3001\u8d85\u65f6\u7387<\/li>\n<li>\u7cfb\u7edf\u8d44\u6e90&#xff08;CPU\u3001\u5185\u5b58\u3001\u7f51\u7edc&#xff09;<\/li>\n<\/ul>\n<h4>7.3 \u81ea\u52a8\u6269\u7f29\u5bb9<\/h4>\n<p>\u4f7f\u7528Kubernetes\u5b9e\u73b0\u81ea\u52a8\u6269\u7f29\u5bb9&#xff1a;<\/p>\n<p># deployment.yaml<br \/>\napiVersion: apps\/v1<br \/>\nkind: Deployment<br \/>\nmetadata:<br \/>\n  name: triton-deployment<br \/>\nspec:<br \/>\n  replicas: 2<br \/>\n  selector:<br \/>\n    matchLabels:<br \/>\n      app: triton<br \/>\n  template:<br \/>\n    metadata:<br \/>\n      labels:<br \/>\n        app: triton<br \/>\n    spec:<br \/>\n      containers:<br \/>\n      &#8211; name: triton<br \/>\n        image: nvcr.io\/nvidia\/tritonserver:23.10-py3<br \/>\n        resources:<br \/>\n          limits:<br \/>\n            nvidia.com\/gpu: 1<br \/>\n        ports:<br \/>\n        &#8211; containerPort: 8000<br \/>\n        &#8211; containerPort: 8001<br \/>\n        &#8211; containerPort: 8002<br \/>\n&#8212;<br \/>\napiVersion: autoscaling\/v2<br \/>\nkind: HorizontalPodAutoscaler<br \/>\nmetadata:<br \/>\n  name: triton-hpa<br \/>\nspec:<br \/>\n  scaleTargetRef:<br \/>\n    apiVersion: apps\/v1<br \/>\n    kind: Deployment<br \/>\n    name: triton-deployment<br \/>\n  minReplicas: 2<br \/>\n  maxReplicas: 10<br \/>\n  metrics:<br \/>\n  &#8211; type: Resource<br \/>\n    resource:<br \/>\n      name: cpu<br \/>\n      target:<br \/>\n        type: Utilization<br \/>\n        averageUtilization: 70<\/p>\n<h3>8. \u603b\u7ed3<\/h3>\n<p>\u901a\u8fc7\u96c6\u6210NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668&#xff0c;\u6211\u4eec\u6210\u529f\u5c06AIGlasses_for_navigation\u7684AI\u63a8\u7406\u6027\u80fd\u63d0\u5347\u4e8610\u500d\u4ee5\u4e0a\u3002\u8fd9\u4e0d\u4ec5\u89e3\u51b3\u4e86\u5b9e\u65f6\u6027\u7684\u95ee\u9898&#xff0c;\u8fd8\u4e3a\u7cfb\u7edf\u7684\u6269\u5c55\u6027\u6253\u4e0b\u4e86\u575a\u5b9e\u57fa\u7840\u3002<\/p>\n<p>\u5173\u952e\u6536\u83b7&#xff1a;<\/p>\n<li>\u6027\u80fd\u5927\u5e45\u63d0\u5347&#xff1a;\u4ece200-500ms\u7684\u63a8\u7406\u5ef6\u8fdf\u964d\u4f4e\u523020-50ms&#xff0c;\u771f\u6b63\u5b9e\u73b0\u4e86\u5b9e\u65f6\u5bfc\u822a<\/li>\n<li>\u652f\u6301\u591a\u8def\u5e76\u53d1&#xff1a;\u53ef\u4ee5\u540c\u65f6\u5904\u7406\u591a\u4e2a\u6444\u50cf\u5934\u6570\u636e&#xff0c;\u4e3a\u591a\u7528\u6237\u573a\u666f\u505a\u597d\u51c6\u5907<\/li>\n<li>\u751f\u4ea7\u7ea7\u7279\u6027&#xff1a;\u83b7\u5f97\u4e86\u52a8\u6001\u6279\u5904\u7406\u3001\u6a21\u578b\u7248\u672c\u7ba1\u7406\u3001\u76d1\u63a7\u544a\u8b66\u7b49\u4f01\u4e1a\u7ea7\u529f\u80fd<\/li>\n<li>\u67b6\u6784\u89e3\u8026&#xff1a;\u63a8\u7406\u670d\u52a1\u4e0e\u4e1a\u52a1\u903b\u8f91\u5206\u79bb&#xff0c;\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u548c\u53ef\u7ef4\u62a4\u6027<\/li>\n<p>\u4e0b\u4e00\u6b65\u5efa\u8bae&#xff1a;<\/p>\n<p>\u5982\u679c\u4f60\u6b63\u5728\u8003\u8651\u5c06AIGlasses_for_navigation\u6295\u5165\u5b9e\u9645\u4f7f\u7528&#xff0c;\u6211\u5efa\u8bae&#xff1a;<\/p>\n<li>\u4ece\u5c0f\u89c4\u6a21\u5f00\u59cb&#xff1a;\u5148\u7528\u5355\u53f0GPU\u670d\u52a1\u5668\u9a8c\u8bc1\u6548\u679c<\/li>\n<li>\u9010\u6b65\u6269\u5c55&#xff1a;\u6839\u636e\u7528\u6237\u91cf\u589e\u957f&#xff0c;\u9010\u6b65\u589e\u52a0Triton\u8282\u70b9<\/li>\n<li>\u6301\u7eed\u76d1\u63a7&#xff1a;\u5efa\u7acb\u5b8c\u5584\u7684\u76d1\u63a7\u4f53\u7cfb&#xff0c;\u53ca\u65f6\u53d1\u73b0\u548c\u89e3\u51b3\u95ee\u9898<\/li>\n<li>\u8003\u8651\u8fb9\u7f18\u90e8\u7f72&#xff1a;\u5bf9\u4e8e\u79fb\u52a8\u573a\u666f&#xff0c;\u53ef\u4ee5\u7814\u7a76Jetson\u7b49\u8fb9\u7f18\u8bbe\u5907<\/li>\n<p>GPU\u7b97\u529b\u9002\u914d\u4e0d\u662f\u7ec8\u70b9&#xff0c;\u800c\u662f\u667a\u80fd\u5bfc\u822a\u7cfb\u7edf\u8d70\u5411\u6210\u719f\u5e94\u7528\u7684\u8d77\u70b9\u3002\u968f\u7740\u786c\u4ef6\u6210\u672c\u7684\u964d\u4f4e\u548c\u8f6f\u4ef6\u751f\u6001\u7684\u5b8c\u5584&#xff0c;\u6211\u76f8\u4fe1\u4f1a\u6709\u8d8a\u6765\u8d8a\u591a\u7684\u667a\u80fd\u8bbe\u5907\u80fd\u591f\u4e3a\u7528\u6237\u63d0\u4f9b\u771f\u6b63\u5b9e\u65f6\u3001\u53ef\u9760\u7684\u5bfc\u822a\u670d\u52a1\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>AIGlasses_for_navigation GPU\u7b97\u529b\u9002\u914d&#xff1a;\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210<br \/>\n1. \u5f15\u8a00<br \/>\n\u5982\u679c\u4f60\u6b63\u5728\u4f7f\u7528AIGlasses_for_navigation\u8fd9\u5957\u667a\u80fd\u5bfc\u822a\u7cfb\u7edf&#xff0c;\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e2a\u73b0\u5b9e\u95ee\u9898&#xff1a;\u968f\u7740\u7528\u6237\u91cf\u589e\u52a0&#xff0c;\u6216\u8005\u9700\u8981\u540c\u65f6\u5904\u7406\u591a\u4e2a\u6444\u50cf\u5934\u7684\u6570\u636e\u6d41\u65f6&#xff0c;\u5355\u9760CPU\u8fdb\u884cAI\u63a8\u7406\u4f1a\u53d8\u5f97\u975e\u5e38\u5403\u529b\u3002\u753b\u9762\u5361\u987f\u3001\u8bc6\u522b\u5ef6\u8fdf\u3001\u8bed\u97f3\u54cd\u5e94\u53d8\u6162\u2014\u2014\u8fd9\u4e9b\u90fd\u4f1a\u76f4\u63a5\u5f71\u54cd\u7528\u6237\u4f53\u9a8c&#xff0c;\u7279\u522b\u662f\u5bf9\u4e8e<\/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":[9142,7801,9063,5962],"topic":[],"class_list":["post-83158","post","type-post","status-publish","format-standard","hentry","category-server","tag-triton","tag-7801","tag-9063","tag-gpu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AIGlasses_for_navigationGPU\u7b97\u529b\u9002\u914d\uff1a\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210 - \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\/83158.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AIGlasses_for_navigationGPU\u7b97\u529b\u9002\u914d\uff1a\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"AIGlasses_for_navigation GPU\u7b97\u529b\u9002\u914d&#xff1a;\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210 1. \u5f15\u8a00 \u5982\u679c\u4f60\u6b63\u5728\u4f7f\u7528AIGlasses_for_navigation\u8fd9\u5957\u667a\u80fd\u5bfc\u822a\u7cfb\u7edf&#xff0c;\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e2a\u73b0\u5b9e\u95ee\u9898&#xff1a;\u968f\u7740\u7528\u6237\u91cf\u589e\u52a0&#xff0c;\u6216\u8005\u9700\u8981\u540c\u65f6\u5904\u7406\u591a\u4e2a\u6444\u50cf\u5934\u7684\u6570\u636e\u6d41\u65f6&#xff0c;\u5355\u9760CPU\u8fdb\u884cAI\u63a8\u7406\u4f1a\u53d8\u5f97\u975e\u5e38\u5403\u529b\u3002\u753b\u9762\u5361\u987f\u3001\u8bc6\u522b\u5ef6\u8fdf\u3001\u8bed\u97f3\u54cd\u5e94\u53d8\u6162\u2014\u2014\u8fd9\u4e9b\u90fd\u4f1a\u76f4\u63a5\u5f71\u54cd\u7528\u6237\u4f53\u9a8c&#xff0c;\u7279\u522b\u662f\u5bf9\u4e8e\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83158.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-25T09:49:31+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=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83158.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83158.html\",\"name\":\"AIGlasses_for_navigationGPU\u7b97\u529b\u9002\u914d\uff1a\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T09:49:31+00:00\",\"dateModified\":\"2026-07-25T09:49:31+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83158.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83158.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83158.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AIGlasses_for_navigationGPU\u7b97\u529b\u9002\u914d\uff1a\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210\"}]},{\"@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":"AIGlasses_for_navigationGPU\u7b97\u529b\u9002\u914d\uff1a\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210 - \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\/83158.html","og_locale":"zh_CN","og_type":"article","og_title":"AIGlasses_for_navigationGPU\u7b97\u529b\u9002\u914d\uff1a\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"AIGlasses_for_navigation GPU\u7b97\u529b\u9002\u914d&#xff1a;\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210 1. \u5f15\u8a00 \u5982\u679c\u4f60\u6b63\u5728\u4f7f\u7528AIGlasses_for_navigation\u8fd9\u5957\u667a\u80fd\u5bfc\u822a\u7cfb\u7edf&#xff0c;\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e2a\u73b0\u5b9e\u95ee\u9898&#xff1a;\u968f\u7740\u7528\u6237\u91cf\u589e\u52a0&#xff0c;\u6216\u8005\u9700\u8981\u540c\u65f6\u5904\u7406\u591a\u4e2a\u6444\u50cf\u5934\u7684\u6570\u636e\u6d41\u65f6&#xff0c;\u5355\u9760CPU\u8fdb\u884cAI\u63a8\u7406\u4f1a\u53d8\u5f97\u975e\u5e38\u5403\u529b\u3002\u753b\u9762\u5361\u987f\u3001\u8bc6\u522b\u5ef6\u8fdf\u3001\u8bed\u97f3\u54cd\u5e94\u53d8\u6162\u2014\u2014\u8fd9\u4e9b\u90fd\u4f1a\u76f4\u63a5\u5f71\u54cd\u7528\u6237\u4f53\u9a8c&#xff0c;\u7279\u522b\u662f\u5bf9\u4e8e","og_url":"https:\/\/www.wsisp.com\/helps\/83158.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T09:49:31+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83158.html","url":"https:\/\/www.wsisp.com\/helps\/83158.html","name":"AIGlasses_for_navigationGPU\u7b97\u529b\u9002\u914d\uff1a\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T09:49:31+00:00","dateModified":"2026-07-25T09:49:31+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83158.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83158.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83158.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"AIGlasses_for_navigationGPU\u7b97\u529b\u9002\u914d\uff1a\u652f\u6301NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210"}]},{"@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\/83158","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=83158"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83158\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83158"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}