{"id":83298,"date":"2026-07-25T19:49:07","date_gmt":"2026-07-25T11:49:07","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83298.html"},"modified":"2026-07-25T19:49:07","modified_gmt":"2026-07-25T11:49:07","slug":"%e6%96%87%e8%84%89%e5%ae%9a%e5%ba%8f%e9%83%a8%e7%bd%b2%e6%95%99%e7%a8%8b%ef%bc%9anvidia-triton%e6%8e%a8%e7%90%86%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%9b%86%e6%88%90bge-reranker-v2-m3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83298.html","title":{"rendered":"\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b\uff1aNVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3"},"content":{"rendered":"<h2>\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b&#xff1a;NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3<\/h2>\n<h3>1. \u5f15\u8a00&#xff1a;\u4e3a\u4ec0\u4e48\u9700\u8981\u667a\u80fd\u8bed\u4e49\u91cd\u6392\u5e8f&#xff1f;<\/h3>\n<p>\u5728\u4fe1\u606f\u68c0\u7d22\u9886\u57df&#xff0c;\u6211\u4eec\u7ecf\u5e38\u9047\u5230\u8fd9\u6837\u7684\u56f0\u5883&#xff1a;\u641c\u7d22\u5f15\u64ce\u80fd\u591f\u627e\u5230\u5927\u91cf\u76f8\u5173\u6587\u6863&#xff0c;\u4f46\u6700\u91cd\u8981\u7684\u7ed3\u679c\u5f80\u5f80\u88ab\u57cb\u6ca1\u5728\u4e2d\u95f4\u4f4d\u7f6e\u3002\u4f20\u7edf\u7684\u5173\u952e\u8bcd\u5339\u914d\u548c\u5411\u91cf\u76f8\u4f3c\u5ea6\u8ba1\u7b97\u867d\u7136\u5feb\u901f&#xff0c;\u4f46\u7f3a\u4e4f\u5bf9\u8bed\u4e49\u6df1\u5c42\u6b21\u7406\u89e3\u7684\u80fd\u529b\u3002<\/p>\n<p>\u6587\u8109\u5b9a\u5e8f\u7cfb\u7edf\u6b63\u662f\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a&#034;\u641c\u5f97\u5230\u4f46\u6392\u4e0d\u51c6&#034;\u7684\u75db\u70b9\u800c\u8bbe\u8ba1\u7684\u3002\u5b83\u57fa\u4e8eBGE-Reranker-v2-m3\u6a21\u578b&#xff0c;\u901a\u8fc7\u5168\u4ea4\u53c9\u6ce8\u610f\u529b\u673a\u5236&#xff0c;\u5bf9\u68c0\u7d22\u7ed3\u679c\u8fdb\u884c\u667a\u80fd\u91cd\u6392\u5e8f&#xff0c;\u8ba9\u6700\u76f8\u5173\u7684\u5185\u5bb9\u8131\u9896\u800c\u51fa\u3002<\/p>\n<p>\u672c\u6559\u7a0b\u5c06\u624b\u628a\u624b\u6559\u4f60\u5982\u4f55\u5728NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u8fd9\u4e2a\u5f3a\u5927\u7684\u8bed\u4e49\u91cd\u6392\u5e8f\u7cfb\u7edf&#xff0c;\u4e3a\u4f60\u7684\u641c\u7d22\u5e94\u7528\u589e\u6dfb\u6700\u540e\u4e00\u516c\u91cc\u7684\u7cbe\u51c6\u5ea6\u3002<\/p>\n<h3>2. \u73af\u5883\u51c6\u5907\u4e0e\u4f9d\u8d56\u5b89\u88c5<\/h3>\n<h4>2.1 \u7cfb\u7edf\u8981\u6c42<\/h4>\n<p>\u5728\u5f00\u59cb\u90e8\u7f72\u524d&#xff0c;\u8bf7\u786e\u4fdd\u4f60\u7684\u7cfb\u7edf\u6ee1\u8db3\u4ee5\u4e0b\u8981\u6c42&#xff1a;<\/p>\n<ul>\n<li>\u64cd\u4f5c\u7cfb\u7edf&#xff1a;Ubuntu 20.04\u6216\u66f4\u9ad8\u7248\u672c<\/li>\n<li>GPU&#xff1a;NVIDIA GPU&#xff08;\u5efa\u8baeRTX 3080\u6216\u66f4\u9ad8&#xff0c;\u81f3\u5c118GB\u663e\u5b58&#xff09;<\/li>\n<li>\u9a71\u52a8&#xff1a;NVIDIA\u9a71\u52a8\u7248\u672c\u2265525.60.11<\/li>\n<li>Docker&#xff1a;\u7248\u672c\u226520.10<\/li>\n<li>NVIDIA Container Toolkit&#xff1a;\u5df2\u5b89\u88c5\u5e76\u914d\u7f6e<\/li>\n<\/ul>\n<h4>2.2 \u5feb\u901f\u5b89\u88c5\u547d\u4ee4<\/h4>\n<p># \u66f4\u65b0\u7cfb\u7edf\u5305<br \/>\nsudo apt update &amp;&amp; sudo apt upgrade -y<\/p>\n<p># \u5b89\u88c5Docker<br \/>\nsudo apt install docker.io -y<br \/>\nsudo systemctl enable docker<br \/>\nsudo systemctl start docker<\/p>\n<p># \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 &amp;&amp; sudo apt install nvidia-container-toolkit -y<br \/>\nsudo nvidia-ctk runtime configure &#8211;runtime&#061;docker<br \/>\nsudo systemctl restart docker<\/p>\n<h3>3. Triton\u63a8\u7406\u670d\u52a1\u5668\u90e8\u7f72<\/h3>\n<h4>3.1 \u62c9\u53d6Triton\u670d\u52a1\u5668\u955c\u50cf<\/h4>\n<p># \u62c9\u53d6\u6700\u65b0\u7248\u672c\u7684Triton\u670d\u52a1\u5668\u955c\u50cf<br \/>\ndocker pull nvcr.io\/nvidia\/tritonserver:23.09-py3<\/p>\n<p># \u521b\u5efa\u6a21\u578b\u5b58\u50a8\u76ee\u5f55<br \/>\nmkdir -p triton_models\/bge_reranker\/1<\/p>\n<h4>3.2 \u4e0b\u8f7d\u5e76\u8f6c\u6362BGE-Reranker-v2-m3\u6a21\u578b<\/h4>\n<p>\u9996\u5148\u6211\u4eec\u9700\u8981\u5c06HuggingFace\u683c\u5f0f\u7684\u6a21\u578b\u8f6c\u6362\u4e3aTriton\u53ef\u7528\u7684\u683c\u5f0f&#xff1a;<\/p>\n<p># \u5b89\u88c5\u5fc5\u8981\u7684Python\u4f9d\u8d56<br \/>\npip install transformers torch tensorrt<\/p>\n<p># \u521b\u5efa\u6a21\u578b\u8f6c\u6362\u811a\u672c<br \/>\ncat &gt; convert_model.py &lt;&lt; &#039;EOF&#039;<br \/>\nimport torch<br \/>\nfrom transformers import AutoModelForSequenceClassification, AutoTokenizer<br \/>\nimport tensorrt as trt<\/p>\n<p># \u52a0\u8f7d\u6a21\u578b\u548c\u5206\u8bcd\u5668<br \/>\nmodel_name &#061; &#034;BAAI\/bge-reranker-v2-m3&#034;<br \/>\nmodel &#061; AutoModelForSequenceClassification.from_pretrained(model_name)<br \/>\ntokenizer &#061; AutoTokenizer.from_pretrained(model_name)<\/p>\n<p># \u4fdd\u5b58\u4e3aTorchScript\u683c\u5f0f<br \/>\ndummy_input &#061; tokenizer(&#034;query&#034;, &#034;document&#034;, return_tensors&#061;&#034;pt&#034;)<br \/>\ntraced_model &#061; torch.jit.trace(model, (dummy_input[&#034;input_ids&#034;], dummy_input[&#034;attention_mask&#034;]))<br \/>\ntraced_model.save(&#034;bge_reranker.pt&#034;)<\/p>\n<p>print(&#034;\u6a21\u578b\u8f6c\u6362\u5b8c\u6210&#xff01;&#034;)<br \/>\nEOF<\/p>\n<p># \u8fd0\u884c\u8f6c\u6362\u811a\u672c<br \/>\npython convert_model.py<\/p>\n<h3>4. \u6a21\u578b\u914d\u7f6e\u4e0e\u90e8\u7f72<\/h3>\n<h4>4.1 \u521b\u5efaTriton\u6a21\u578b\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u5728triton_models\/bge_reranker\/config.pbtxt\u4e2d\u521b\u5efa\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p>name: &#034;bge_reranker&#034;<br \/>\nplatform: &#034;pytorch_libtorch&#034;<br \/>\nmax_batch_size: 32<\/p>\n<p>input [<br \/>\n  {<br \/>\n    name: &#034;input_ids&#034;<br \/>\n    data_type: TYPE_INT64<br \/>\n    dims: [ -1 ]<br \/>\n  },<br \/>\n  {<br \/>\n    name: &#034;attention_mask&#034;<br \/>\n    data_type: TYPE_INT64<br \/>\n    dims: [ -1 ]<br \/>\n  }<br \/>\n]<\/p>\n<p>output [<br \/>\n  {<br \/>\n    name: &#034;output&#034;<br \/>\n    data_type: TYPE_FP32<br \/>\n    dims: [ 1 ]<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>optimization {<br \/>\n  cuda {<br \/>\n    graphs: true<br \/>\n  }<br \/>\n}<\/p>\n<h4>4.2 \u542f\u52a8Triton\u63a8\u7406\u670d\u52a1\u5668<\/h4>\n<p># \u542f\u52a8Triton\u670d\u52a1\u5668<br \/>\ndocker run -d &#8211;gpus&#061;all &#8211;shm-size&#061;1g &#8211;ulimit memlock&#061;-1 \\\\<br \/>\n  -p 8000:8000 -p 8001:8001 -p 8002:8002 \\\\<br \/>\n  -v $(pwd)\/triton_models:\/models \\\\<br \/>\n  nvcr.io\/nvidia\/tritonserver:23.09-py3 \\\\<br \/>\n  tritonserver &#8211;model-repository&#061;\/models<\/p>\n<h4>4.3 \u9a8c\u8bc1\u90e8\u7f72\u72b6\u6001<\/h4>\n<p># \u68c0\u67e5\u670d\u52a1\u5668\u72b6\u6001<br \/>\ncurl -v localhost:8000\/v2\/health\/ready<\/p>\n<p># \u67e5\u770b\u5df2\u52a0\u8f7d\u6a21\u578b<br \/>\ncurl -v localhost:8000\/v2\/models\/list<\/p>\n<h3>5. \u5ba2\u6237\u7aef\u8c03\u7528\u793a\u4f8b<\/h3>\n<h4>5.1 Python\u5ba2\u6237\u7aef\u4ee3\u7801<\/h4>\n<p>\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u5ba2\u6237\u7aef\u6765\u6d4b\u8bd5\u6a21\u578b&#xff1a;<\/p>\n<p>import tritonclient.http as httpclient<br \/>\nimport numpy as np<br \/>\nfrom transformers import AutoTokenizer<\/p>\n<p>class BGERerankerClient:<br \/>\n    def __init__(self, url&#061;&#034;localhost:8000&#034;):<br \/>\n        self.client &#061; httpclient.InferenceServerClient(url&#061;url)<br \/>\n        self.tokenizer &#061; AutoTokenizer.from_pretrained(&#034;BAAI\/bge-reranker-v2-m3&#034;)<\/p>\n<p>    def rerank(self, query, documents):<br \/>\n        &#034;&#034;&#034;\u5bf9\u6587\u6863\u5217\u8868\u8fdb\u884c\u91cd\u6392\u5e8f&#034;&#034;&#034;<br \/>\n        scores &#061; []<\/p>\n<p>        for doc in documents:<br \/>\n            # \u51c6\u5907\u8f93\u5165\u6570\u636e<br \/>\n            inputs &#061; self.tokenizer(query, doc, return_tensors&#061;&#034;pt&#034;, truncation&#061;True)<\/p>\n<p>            # \u521b\u5efaTriton\u8f93\u5165<br \/>\n            input_ids &#061; httpclient.InferInput(<br \/>\n                &#034;input_ids&#034;, inputs[&#034;input_ids&#034;].shape, &#034;INT64&#034;<br \/>\n            )<br \/>\n            attention_mask &#061; httpclient.InferInput(<br \/>\n                &#034;attention_mask&#034;, inputs[&#034;attention_mask&#034;].shape, &#034;INT64&#034;<br \/>\n            )<\/p>\n<p>            input_ids.set_data_from_numpy(inputs[&#034;input_ids&#034;].numpy().astype(np.int64))<br \/>\n            attention_mask.set_data_from_numpy(inputs[&#034;attention_mask&#034;].numpy().astype(np.int64))<\/p>\n<p>            # \u6267\u884c\u63a8\u7406<br \/>\n            result &#061; self.client.infer(<br \/>\n                model_name&#061;&#034;bge_reranker&#034;,<br \/>\n                inputs&#061;[input_ids, attention_mask]<br \/>\n            )<\/p>\n<p>            score &#061; result.as_numpy(&#034;output&#034;)[0]<br \/>\n            scores.append(score)<\/p>\n<p>        # \u6309\u5206\u6570\u6392\u5e8f\u6587\u6863<br \/>\n        sorted_docs &#061; [doc for _, doc in sorted(zip(scores, documents), reverse&#061;True)]<br \/>\n        return sorted_docs, sorted(scores, reverse&#061;True)<\/p>\n<p># \u4f7f\u7528\u793a\u4f8b<br \/>\nif __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    client &#061; BGERerankerClient()<\/p>\n<p>    query &#061; &#034;\u4eba\u5de5\u667a\u80fd\u7684\u53d1\u5c55\u5386\u53f2&#034;<br \/>\n    documents &#061; [<br \/>\n        &#034;\u4eba\u5de5\u667a\u80fd\u4ece1956\u5e74\u8fbe\u7279\u8305\u65af\u4f1a\u8bae\u5f00\u59cb\u53d1\u5c55&#8230;&#034;,<br \/>\n        &#034;\u673a\u5668\u5b66\u4e60\u662f\u4eba\u5de5\u667a\u80fd\u7684\u4e00\u4e2a\u91cd\u8981\u5206\u652f&#8230;&#034;,<br \/>\n        &#034;\u6df1\u5ea6\u5b66\u4e60\u63a8\u52a8\u4e86\u4eba\u5de5\u667a\u80fd\u7684\u7b2c\u4e09\u6b21\u6d6a\u6f6e&#8230;&#034;,<br \/>\n        &#034;\u81ea\u7136\u8bed\u8a00\u5904\u7406\u662f\u4eba\u5de5\u667a\u80fd\u7684\u5173\u952e\u5e94\u7528\u9886\u57df&#8230;&#034;<br \/>\n    ]<\/p>\n<p>    sorted_docs, scores &#061; client.rerank(query, documents)<br \/>\n    print(&#034;\u91cd\u6392\u5e8f\u7ed3\u679c&#xff1a;&#034;)<br \/>\n    for i, (doc, score) in enumerate(zip(sorted_docs, scores)):<br \/>\n        print(f&#034;{i&#043;1}. \u5206\u6570: {score:.4f} &#8211; {doc[:50]}&#8230;&#034;)<\/p>\n<h4>5.2 \u6279\u91cf\u5904\u7406\u4f18\u5316<\/h4>\n<p>\u5bf9\u4e8e\u5927\u91cf\u6587\u6863&#xff0c;\u5efa\u8bae\u4f7f\u7528\u6279\u91cf\u5904\u7406&#xff1a;<\/p>\n<p>def batch_rerank(self, query, documents, batch_size&#061;16):<br \/>\n    &#034;&#034;&#034;\u6279\u91cf\u91cd\u6392\u5e8f\u6587\u6863&#034;&#034;&#034;<br \/>\n    all_scores &#061; []<\/p>\n<p>    for i in range(0, len(documents), batch_size):<br \/>\n        batch_docs &#061; documents[i:i&#043;batch_size]<br \/>\n        batch_scores &#061; []<\/p>\n<p>        for doc in batch_docs:<br \/>\n            inputs &#061; self.tokenizer(query, doc, return_tensors&#061;&#034;pt&#034;, truncation&#061;True)<br \/>\n            # &#8230; \u540c\u6837\u7684\u63a8\u7406\u903b\u8f91<br \/>\n            batch_scores.append(score)<\/p>\n<p>        all_scores.extend(batch_scores)<\/p>\n<p>    return sorted(zip(documents, all_scores), key&#061;lambda x: x[1], reverse&#061;True)<\/p>\n<h3>6. \u6027\u80fd\u4f18\u5316\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h3>\n<h4>6.1 \u6a21\u578b\u4f18\u5316\u6280\u5de7<\/h4>\n<p># \u4f7f\u7528FP16\u7cbe\u5ea6\u52a0\u901f\u63a8\u7406<br \/>\ndocker run &#8230; &#8211;env TF_ENABLE_AUTO_MIXED_PRECISION&#061;1 &#8230;<\/p>\n<p># \u542f\u7528\u52a8\u6001\u6279\u5904\u7406<br \/>\n# \u5728config.pbtxt\u4e2d\u6dfb\u52a0&#xff1a;<br \/>\ndynamic_batching {<br \/>\n  preferred_batch_size: [ 4, 8, 16, 32 ]<br \/>\n  max_queue_delay_microseconds: 1000<br \/>\n}<\/p>\n<h4>6.2 \u5185\u5b58\u7ba1\u7406\u5efa\u8bae<\/h4>\n<p># \u76d1\u63a7GPU\u5185\u5b58\u4f7f\u7528<br \/>\nnvidia-smi -l 1<\/p>\n<p># \u8bbe\u7f6e\u5408\u9002\u7684\u6279\u5904\u7406\u5927\u5c0f<br \/>\n# \u6839\u636e\u4f60\u7684GPU\u5185\u5b58\u8c03\u6574&#xff1a;<br \/>\n# 8GB\u663e\u5b58: max_batch_size&#061;16<br \/>\n# 16GB\u663e\u5b58: max_batch_size&#061;32<br \/>\n# 24GB&#043;\u663e\u5b58: max_batch_size&#061;64<\/p>\n<h3>7. \u5e38\u89c1\u95ee\u9898\u89e3\u51b3<\/h3>\n<h4>7.1 \u90e8\u7f72\u95ee\u9898\u6392\u67e5<\/h4>\n<p>\u95ee\u98981&#xff1a;\u6a21\u578b\u52a0\u8f7d\u5931\u8d25<\/p>\n<p># \u68c0\u67e5\u6a21\u578b\u683c\u5f0f\u662f\u5426\u6b63\u786e<br \/>\nfile triton_models\/bge_reranker\/1\/model.pt<\/p>\n<p># \u68c0\u67e5\u914d\u7f6e\u6587\u4ef6\u8bed\u6cd5<br \/>\ncd triton_models\/bge_reranker &amp;&amp; find . -name &#034;*.pbtxt&#034; -exec echo &#034;\u68c0\u67e5\u6587\u4ef6:&#034; {} \\\\; -exec cat {} \\\\;<\/p>\n<p>\u95ee\u98982&#xff1a;GPU\u5185\u5b58\u4e0d\u8db3<\/p>\n<p># \u51cf\u5c11\u6279\u5904\u7406\u5927\u5c0f<br \/>\n# \u5728config.pbtxt\u4e2d\u5c06max_batch_size\u8c03\u6574\u4e3a\u66f4\u5c0f\u7684\u503c<\/p>\n<p># \u542f\u7528\u5185\u5b58\u4f18\u5316<br \/>\noptimization {<br \/>\n  execution_accelerators {<br \/>\n    gpu_execution_accelerator : [ { name : &#034;auto_mixed_precision&#034; } ]<br \/>\n  }<br \/>\n}<\/p>\n<h4>7.2 \u6027\u80fd\u4f18\u5316\u5efa\u8bae<\/h4>\n<ul>\n<li>\u4f7f\u7528\u8fde\u63a5\u6c60&#xff1a;\u4fdd\u6301\u4e0eTriton\u670d\u52a1\u5668\u7684\u6301\u4e45\u8fde\u63a5<\/li>\n<li>\u9884\u5904\u7406\u4f18\u5316&#xff1a;\u5728\u5ba2\u6237\u7aef\u8fdb\u884ctokenization&#xff0c;\u51cf\u5c11\u670d\u52a1\u5668\u8d1f\u8f7d<\/li>\n<li>\u7f13\u5b58\u7ed3\u679c&#xff1a;\u5bf9\u76f8\u540c\u67e5\u8be2\u548c\u6587\u6863\u7f13\u5b58\u91cd\u6392\u5e8f\u7ed3\u679c<\/li>\n<\/ul>\n<h3>8. \u603b\u7ed3<\/h3>\n<p>\u901a\u8fc7\u672c\u6559\u7a0b&#xff0c;\u4f60\u5df2\u7ecf\u6210\u529f\u5728NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e86BGE-Reranker-v2-m3\u6a21\u578b&#xff0c;\u6784\u5efa\u4e86\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684\u8bed\u4e49\u91cd\u6392\u5e8f\u7cfb\u7edf\u3002\u8fd9\u4e2a\u7cfb\u7edf\u80fd\u591f&#xff1a;<\/p>\n<li>\u63d0\u5347\u641c\u7d22\u7cbe\u5ea6&#xff1a;\u901a\u8fc7\u6df1\u5ea6\u5b66\u4e60\u7406\u89e3\u67e5\u8be2\u548c\u6587\u6863\u7684\u8bed\u4e49\u5173\u8054<\/li>\n<li>\u652f\u6301\u591a\u8bed\u8a00&#xff1a;\u57fa\u4e8em3\u6280\u672f\u5904\u7406\u4e2d\u6587\u548c\u591a\u79cd\u8bed\u8a00\u5185\u5bb9<\/li>\n<li>\u9ad8\u6027\u80fd\u63a8\u7406&#xff1a;\u5229\u7528Triton\u670d\u52a1\u5668\u7684\u4f18\u5316\u80fd\u529b\u5b9e\u73b0\u4f4e\u5ef6\u8fdf\u5904\u7406<\/li>\n<li>\u6613\u4e8e\u96c6\u6210&#xff1a;\u63d0\u4f9b\u7b80\u5355\u7684API\u63a5\u53e3&#xff0c;\u65b9\u4fbf\u4e0e\u73b0\u6709\u7cfb\u7edf\u96c6\u6210<\/li>\n<p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d&#xff0c;\u4f60\u53ef\u4ee5\u5c06\u8fd9\u4e2a\u91cd\u6392\u5e8f\u7cfb\u7edf\u96c6\u6210\u5230\u641c\u7d22\u5f15\u64ce\u3001\u77e5\u8bc6\u5e93\u7cfb\u7edf\u6216\u63a8\u8350\u7cfb\u7edf\u4e2d&#xff0c;\u663e\u8457\u63d0\u5347\u6700\u7ec8\u7528\u6237\u7684\u641c\u7d22\u4f53\u9a8c\u3002\u8bb0\u5f97\u6839\u636e\u5b9e\u9645\u4f7f\u7528\u60c5\u51b5\u8c03\u6574\u6279\u5904\u7406\u5927\u5c0f\u548c\u6a21\u578b\u914d\u7f6e&#xff0c;\u4ee5\u8fbe\u5230\u6700\u4f73\u7684\u6027\u80fd\u6548\u679c\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>\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b&#xff1a;NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3<br \/>\n1. \u5f15\u8a00&#xff1a;\u4e3a\u4ec0\u4e48\u9700\u8981\u667a\u80fd\u8bed\u4e49\u91cd\u6392\u5e8f&#xff1f;<br \/>\n\u5728\u4fe1\u606f\u68c0\u7d22\u9886\u57df&#xff0c;\u6211\u4eec\u7ecf\u5e38\u9047\u5230\u8fd9\u6837\u7684\u56f0\u5883&#xff1a;\u641c\u7d22\u5f15\u64ce\u80fd\u591f\u627e\u5230\u5927\u91cf\u76f8\u5173\u6587\u6863&#xff0c;\u4f46\u6700\u91cd\u8981\u7684\u7ed3\u679c\u5f80\u5f80\u88ab\u57cb\u6ca1\u5728\u4e2d\u95f4\u4f4d\u7f6e\u3002\u4f20\u7edf\u7684\u5173\u952e\u8bcd\u5339\u914d\u548c\u5411\u91cf\u76f8\u4f3c\u5ea6\u8ba1\u7b97\u867d\u7136\u5feb\u901f&#xff0c;\u4f46\u7f3a\u4e4f\u5bf9\u8bed\u4e49\u6df1\u5c42\u6b21\u7406\u89e3\u7684\u80fd\u529b\u3002<br \/>\n\u6587\u8109\u5b9a\u5e8f\u7cfb\u7edf\u6b63\u662f\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\\&#8221;\u641c\u5f97\u5230\u4f46\u6392\u4e0d\u51c6\\&#8221;\u7684\u75db\u70b9\u800c\u8bbe\u8ba1\u7684<\/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":[9282,9317,9316],"topic":[],"class_list":["post-83298","post","type-post","status-publish","format-standard","hentry","category-server","tag-nvidia-triton","tag-9317","tag-9316"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b\uff1aNVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3 - \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\/83298.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b\uff1aNVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b&#xff1a;NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3 1. \u5f15\u8a00&#xff1a;\u4e3a\u4ec0\u4e48\u9700\u8981\u667a\u80fd\u8bed\u4e49\u91cd\u6392\u5e8f&#xff1f; \u5728\u4fe1\u606f\u68c0\u7d22\u9886\u57df&#xff0c;\u6211\u4eec\u7ecf\u5e38\u9047\u5230\u8fd9\u6837\u7684\u56f0\u5883&#xff1a;\u641c\u7d22\u5f15\u64ce\u80fd\u591f\u627e\u5230\u5927\u91cf\u76f8\u5173\u6587\u6863&#xff0c;\u4f46\u6700\u91cd\u8981\u7684\u7ed3\u679c\u5f80\u5f80\u88ab\u57cb\u6ca1\u5728\u4e2d\u95f4\u4f4d\u7f6e\u3002\u4f20\u7edf\u7684\u5173\u952e\u8bcd\u5339\u914d\u548c\u5411\u91cf\u76f8\u4f3c\u5ea6\u8ba1\u7b97\u867d\u7136\u5feb\u901f&#xff0c;\u4f46\u7f3a\u4e4f\u5bf9\u8bed\u4e49\u6df1\u5c42\u6b21\u7406\u89e3\u7684\u80fd\u529b\u3002 \u6587\u8109\u5b9a\u5e8f\u7cfb\u7edf\u6b63\u662f\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a&quot;\u641c\u5f97\u5230\u4f46\u6392\u4e0d\u51c6&quot;\u7684\u75db\u70b9\u800c\u8bbe\u8ba1\u7684\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83298.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-25T11:49:07+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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83298.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83298.html\",\"name\":\"\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b\uff1aNVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T11:49:07+00:00\",\"dateModified\":\"2026-07-25T11:49:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83298.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83298.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83298.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b\uff1aNVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3\"}]},{\"@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":"\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b\uff1aNVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3 - \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\/83298.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b\uff1aNVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b&#xff1a;NVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3 1. \u5f15\u8a00&#xff1a;\u4e3a\u4ec0\u4e48\u9700\u8981\u667a\u80fd\u8bed\u4e49\u91cd\u6392\u5e8f&#xff1f; \u5728\u4fe1\u606f\u68c0\u7d22\u9886\u57df&#xff0c;\u6211\u4eec\u7ecf\u5e38\u9047\u5230\u8fd9\u6837\u7684\u56f0\u5883&#xff1a;\u641c\u7d22\u5f15\u64ce\u80fd\u591f\u627e\u5230\u5927\u91cf\u76f8\u5173\u6587\u6863&#xff0c;\u4f46\u6700\u91cd\u8981\u7684\u7ed3\u679c\u5f80\u5f80\u88ab\u57cb\u6ca1\u5728\u4e2d\u95f4\u4f4d\u7f6e\u3002\u4f20\u7edf\u7684\u5173\u952e\u8bcd\u5339\u914d\u548c\u5411\u91cf\u76f8\u4f3c\u5ea6\u8ba1\u7b97\u867d\u7136\u5feb\u901f&#xff0c;\u4f46\u7f3a\u4e4f\u5bf9\u8bed\u4e49\u6df1\u5c42\u6b21\u7406\u89e3\u7684\u80fd\u529b\u3002 \u6587\u8109\u5b9a\u5e8f\u7cfb\u7edf\u6b63\u662f\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\"\u641c\u5f97\u5230\u4f46\u6392\u4e0d\u51c6\"\u7684\u75db\u70b9\u800c\u8bbe\u8ba1\u7684","og_url":"https:\/\/www.wsisp.com\/helps\/83298.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T11:49:07+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83298.html","url":"https:\/\/www.wsisp.com\/helps\/83298.html","name":"\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b\uff1aNVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T11:49:07+00:00","dateModified":"2026-07-25T11:49:07+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83298.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83298.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83298.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u6587\u8109\u5b9a\u5e8f\u90e8\u7f72\u6559\u7a0b\uff1aNVIDIA Triton\u63a8\u7406\u670d\u52a1\u5668\u96c6\u6210BGE-Reranker-v2-m3"}]},{"@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\/83298","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=83298"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83298\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83298"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}