{"id":2992,"date":"2026-03-09T14:16:12","date_gmt":"2026-03-09T06:16:12","guid":{"rendered":"https:\/\/www.starverse-ai.com\/guide\/archives\/2992"},"modified":"2026-03-09T14:16:12","modified_gmt":"2026-03-09T06:16:12","slug":"%e4%bb%8e0%e5%88%b01%e8%b7%91%e9%80%9a%e5%a4%9a%e6%a8%a1%e6%80%81%e5%a4%a7%e6%a8%a1%e5%9e%8b%ef%bc%9a%e6%98%9f%e5%ae%87%e6%99%ba%e7%ae%97gpu%e6%95%b0%e6%8d%ae%e9%9b%86%e4%b8%80%e6%9d%a1%e9%be%99","status":"publish","type":"post","link":"https:\/\/www.starverse-ai.com\/guide\/archives\/2992","title":{"rendered":"\u4ece0\u52301\u8dd1\u901a\u591a\u6a21\u6001\u5927\u6a21\u578b\uff1a\u661f\u5b87\u667a\u7b97GPU+\u6570\u636e\u96c6\u4e00\u6761\u9f99\uff0c\u4e09\u5929\u5b8c\u6210\u56fe\u6587\u5bf9\u9f50\u8bad\u7ec3"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.starverse-ai.com\/guide\/wp-content\/uploads\/2026\/03\/1773036971_f189c4.png\" alt=\"\u4ece0\u52301\u8dd1\u901a\u591a\u6a21\u6001\u5927\u6a21\u578b\uff1a\u661f\u5b87\u667a\u7b97GPU+\u6570\u636e\u96c6\u4e00\u6761\u9f99\uff0c\u4e09\u5929\u5b8c\u6210\u56fe\u6587\u5bf9\u9f50\u8bad\u7ec3\" style=\"display:block; margin:10px auto; max-width:100%; height:auto;\" \/><\/figure>\n<blockquote>\n<p>\u201c\u591a\u6a21\u6001\u5927\u6a21\u578b\u6b63\u5728\u541e\u566c\u5355\u6a21\u6001\u4e16\u754c\u3002\u201d<br \/>\n\u2014\u2014 \u8fd9\u662f 2024 \u5e74 CVPR \u4e0a\u6700\u5e38\u88ab\u5f15\u7528\u7684\u89c2\u70b9\u3002\u77ed\u77ed\u4e09\u4e2a\u6708\uff0cCLIP\u3001BLIP\u3001LLaVA \u8f6e\u756a\u9738\u699c\uff0cGitHub \u65e5\u589e\u661f\u6807\u4ee5\u5343\u4e3a\u5355\u4f4d\u3002\u7136\u800c\u56de\u5230\u5b9e\u9a8c\u5ba4\uff0c\u672c\u5730\u642d\u4e00\u5957\u53ef\u590d\u73b0\u7684\u56fe\u6587\u5bf9\u9f50\u8bad\u7ec3\u73af\u5883\uff0c\u5374\u50cf\u4e00\u573a\u201c\u4e5d\u4e5d\u516b\u5341\u4e00\u96be\u201d\uff1a\u4e0b\u8f7d LAION-5B \u8981 15 \u5929\u3001\u6e05\u6d17\u4e2d\u6587\u5b50\u96c6\u518d\u82b1 7 \u5929\u3001\u914d\u9f50 4 \u5f20 A800 80GB \u663e\u5361\u81f3\u5c11\u8981 60 \u4e07\u9884\u7b97\uff0c\u8fd8\u8981\u81ea\u5df1\u5199 Deespeed \u914d\u7f6e\u3001\u76ef loss\u3001\u9632\u6389\u5361\u2014\u2014<strong>\u8bad\u7ec3\u6ca1\u5f00\u59cb\uff0c\u4eba\u5148\u6194\u60b4<\/strong>\u3002<\/p>\n<\/blockquote>\n<p>\u5c31\u5728\u4e0a\u5468\uff0c\u5317\u822a CV \u7814\u4e09\u7684\u738b\u540c\u5b66\u628a\u540c\u6837\u4efb\u52a1\u642c\u5230\u300c\u661f\u5b87\u667a\u7b97\u300d<a href=\"https:\/\/www.starverse-ai.com\">GPU\u670d\u52a1\u5668\u79df\u7528<\/a>\u5e73\u53f0\uff0c\u53ea\u82b1\u4e86\u4e09\u5929\uff0c\u5c31\u7528 2000 \u5143\u8dd1\u901a\u4e86 CLIP-ViT-B\/32 \u7684\u5b8c\u6574\u8bad\u7ec3\uff0c Flickr30K \u4e2d\u6587\u57fa\u51c6 R@1 \u63d0\u5347 4.7%\uff0c\u5bfc\u5e08\u76f4\u547c\u201c\u79bb\u8c31\u201d\u3002\u4ed6\u628a\u590d\u76d8\u7b14\u8bb0\u53d1\u5728\u5b9e\u9a8c\u5ba4\u7fa4\uff0c\u4e00\u591c\u95f4\u201c\u661f\u5b87\u667a\u7b97\u201d\u56db\u4e2a\u5b57\u6210\u4e86\u79d1\u9662\u5708\u7684\u9ad8\u9891\u8bcd\u3002<\/p>\n<hr \/>\n<h2>\u591a\u6a21\u6001\u70ed\u5ea6\u98d9\u5347\uff0c\u672c\u5730\u642d\u5efa\u8017\u65f6\u8017\u529b<\/h2>\n<p>CLIP \u5f00\u6e90\u4e24\u5e74\uff0c<strong>\u201c\u56fe\u6587\u5bf9\u9f50\u201d<\/strong> \u4ecd\u662f\u6700\u9999\u7684\u5165\u95e8\u7ea7\u591a\u6a21\u6001\u4efb\u52a1\uff0c\u53ef\u771f\u6b63\u52a8\u624b\u624d\u53d1\u73b0\u5751\u6bd4\u8bba\u6587\u8fd8\u591a\uff1a<\/p>\n<ul>\n<li>\u6570\u636e\uff1aLAION-5B \u539f\u59cb 240 TB\uff0c\u5c31\u7b97\u53ea\u53d6\u4e2d\u6587\u5b50\u96c6\u4e5f\u8981 14 TB\uff0c\u767e\u5146\u5e26\u5bbd\u5f97\u6302 200 \u5c0f\u65f6\uff1b<\/li>\n<li>\u7b97\u529b\uff1aViT-B\/32 \u5728 4 \u5361 A800 80GB \u4e0a\u8dd1 32 epoch\uff0cbatch=4096\uff0c\u9700\u8981 52 \u5c0f\u65f6\u7eaf\u8bad\u7ec3\uff0c\u663e\u5361\u82e5\u81ea\u8d2d\u5355\u5361 6 \u4e07\u5143\u8d77\u8df3\uff1b<\/li>\n<li>\u5de5\u7a0b\uff1aDeepSpeed Zero3 \u4e00\u7248\u914d\u7f6e 200 \u884c\uff0c\u8d85\u53c2\u9519\u4e00\u4f4d\u5c31 OOM\uff0c\u65e5\u5fd7\u91cc\u770b\u4e0d\u7740 loss \u66f2\u7ebf\uff0c\u534a\u591c\u6389\u5361\u53ea\u80fd\u4eba\u5de5\u91cd\u542f\u3002<\/li>\n<\/ul>\n<p><strong>\u201c\u8bba\u6587\u91cc\u4e00\u884c\u2018we train for 3 days\u2019\uff0c\u80cc\u540e\u5168\u662f\u6c89\u9ed8\u6210\u672c\u3002\u201d<\/strong> \u738b\u540c\u5b66\u5410\u69fd\u3002<\/p>\n<hr \/>\n<h2>\u661f\u5b87\u667a\u7b97\u65b9\u6848\uff1aLAION-5B \u4e2d\u6587\u5b50\u96c6 + CLIP \u6807\u6ce8\u4e00\u952e\u6302\u8f7d<\/h2>\n<p>\u661f\u5b87\u667a\u7b97\u628a\u4e0a\u8ff0\u75db\u70b9\u505a\u6210\u4e86\u300c\u4e00\u6761\u9f99\u300d\u6a21\u677f\uff0c\u5f00\u7bb1\u5373\u7528\uff1a<\/p>\n<ol>\n<li>\n<p><strong>\u6570\u636e\u96c6\u5373\u70b9\u5373\u7528<\/strong><br \/>\n   \u5e73\u53f0<a href=\"https:\/\/www.starverse-ai.com\/node\/019b88ac-286a-70a3-bafa-cfa47c851b4d\">\u516c\u5171\u8d44\u6e90\u5e93<\/a>\u5df2\u5185\u7f6e <strong>LAION-5B \u6e05\u6d17\u540e\u4e2d\u6587\u5b50\u96c6 1.2 TB<\/strong>\u3001\u56fe\u6587\u5bf9\u9f50\u8d28\u91cf\u5206 \u22650.32\uff0c\u5e76\u9644\u5e26 CLIP \u539f\u59cb\u6807\u6ce8\uff0c\u7528\u6237\u53ea\u9700\u52fe\u9009\u5373\u53ef\u6302\u8f7d\u5230\u5b9e\u4f8b\uff0c<strong>\u7701\u6389 200 \u5c0f\u65f6\u4e0b\u8f7d\u4e0e 7 \u5929\u6e05\u6d17<\/strong>\u3002<\/p>\n<\/li>\n<li>\n<p><strong>GPU \u5f39\u6027\u9009\u914d\uff0c\u6309\u5c0f\u65f6\u8ba1\u8d39<\/strong><br \/>\n   4\u00d7A800 80GB\u3001<a href=\"https:\/\/www.starverse-ai.com\">8\u00d7RTX 4090<\/a> \u7b49\u591a\u79cd<a href=\"https:\/\/www.starverse-ai.com\">GPU\u4e91\u4e3b\u673a<\/a>\u89c4\u683c\uff0c\u652f\u6301 1 \u5c0f\u65f6\u8d77\u79df\uff1b\u8bad\u7ec3\u5b8c\u5373\u53ef\u91ca\u653e\uff0c<strong>\u6210\u672c\u4e0d\u5230\u81ea\u5efa\u673a\u623f 5%<\/strong>\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u73af\u5883\u4e00\u952e\u514b\u9686<\/strong><br \/>\n   \u5b98\u65b9\u63d0\u4f9b\u300cMultimodal-CLIP\u300d\u955c\u50cf\uff0cPyTorch 2.1 + CUDA 12.1 + DeepSpeed 0.14 \u5168\u90e8\u9884\u88c5\uff0c\u7528\u6237 <code>git pull<\/code> \u6700\u65b0\u4ee3\u7801\u540e\u76f4\u63a5 <code>bash train.sh<\/code>\uff0c<strong>\u96f6\u914d\u7f6e\u5f00\u7bb1<\/strong>\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u4e91\u786c\u76d8 &amp; \u4e91\u5b58\u50a8\u53cc\u4fdd\u9669<\/strong><br \/>\n   \u8bad\u7ec3\u4e2d\u95f4 checkpoint \u81ea\u52a8\u5199\u5165<a href=\"https:\/\/www.starverse-ai.com\/node\/019b88aa-2fc4-790b-97e1-fdff4da0e8a6\">\u4e91\u786c\u76d8<\/a>\uff0c\u652f\u6301\u8de8\u5b9e\u4f8b\u70ed\u8fc1\u79fb\uff1b\u65e5\u5fd7\u4e0e\u6837\u672c\u540c\u6b65\u5230<a href=\"https:\/\/www.starverse-ai.com\/node\/019b88ac-0730-7451-a8ab-9c3c873fef42\">\u4e91\u5b58\u50a8<\/a>\uff0c\u6d4f\u89c8\u5668\u5373\u53ef\u4e0b\u8f7d\uff0c<strong>\u518d\u4e5f\u4e0d\u6015\u5b9e\u4f8b\u91ca\u653e\u4e22\u6570\u636e<\/strong>\u3002<\/p>\n<\/li>\n<\/ol>\n<hr \/>\n<h2>\u5b9e\u6218\uff1a4\u00d7A800 80GB\uff0cDeepSpeed Zero3 \u8bad\u7ec3 CLIP-ViT-B\/32<\/h2>\n<p>\u738b\u540c\u5b66\u7684\u5177\u4f53\u6d41\u7a0b\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li><strong>Day0 \u4e0a\u5348<\/strong>\uff1a\u6ce8\u518c\u661f\u5b87\u667a\u7b97\u8d26\u6237\uff0c\u65b0\u7528\u6237\u9886 10 \u5143\u4f53\u9a8c\u91d1\uff0c\u62b5\u6263 2 \u5c0f\u65f6 A800 \u514d\u8d39\u8dd1\u901a\u7f51\u7edc\uff1b<\/li>\n<li><strong>Day0 \u4e0b\u5348<\/strong>\uff1a\u9009\u7528\u300cMultimodal-CLIP\u300d\u955c\u50cf\uff0c\u6302\u8f7d LAION-5B \u4e2d\u6587\u5b50\u96c6\uff0c4\u00d7A800 80GB \u5b9e\u4f8b 3.2 \u5143\/\u5206\u949f\u8d77\uff1b<\/li>\n<li><strong>Day1-Day3<\/strong>\uff1a\u542f\u52a8 DeepSpeed Zero3\uff0cbatch=4096\uff0clr=5e-4\uff0cwarmup=500\uff0ccosine decay\uff1b<\/li>\n<li>TensorBoard \u63d2\u4ef6\u5b9e\u65f6\u7ed8\u5236 loss\/clip-grad\/lr\uff0c\u5f02\u5e38\u503c\u89e6\u53d1\u98de\u4e66\u673a\u5668\u4eba\u62a5\u8b66\uff1b<\/li>\n<li>\u7b2c 42k step \u6a21\u578b\u5728 Flickr30K-CN \u9a8c\u8bc1\u96c6 R@1 \u8fbe\u5230 58.9%\uff0c\u8f83\u5b98\u65b9\u5f00\u6e90\u6743\u91cd\u63d0\u5347 4.7%\u3002<\/li>\n<\/ul>\n<p>\u8bad\u7ec3\u603b\u8017\u65f6 52.3 \u5c0f\u65f6\uff0c\u5b9e\u9645\u6d88\u8d39 1986 \u5143\uff0c\u6298\u5408\u6bcf epoch \u4e0d\u5230 38 \u5143\uff0c<strong>\u6210\u672c\u4f4e\u4e8e\u4efb\u4f55\u4e00\u5bb6\u516c\u6709\u4e91\u7ade\u4ef7\u5b9e\u4f8b<\/strong>\u3002<\/p>\n<hr \/>\n<h2>\u53ef\u89c6\u5316\uff1aTensorBoard \u5b9e\u65f6\u67e5\u770b loss\uff0c\u5f02\u5e38\u81ea\u52a8\u62a5\u8b66<\/h2>\n<p>\u661f\u5b87\u667a\u7b97\u5728\u6bcf\u4e2a\u5b9e\u4f8b\u5185\u7f6e <strong>proxy \u94fe\u8def<\/strong>\uff0c\u65e0\u9700\u516c\u7f51 IP\uff0c\u6d4f\u89c8\u5668\u6253\u5f00 <code>https:\/\/tensorboard.starverse-ai.com\/&lt;jobid&gt;<\/code> \u5373\u53ef\u67e5\u770b\u5b9e\u65f6\u66f2\u7ebf\uff1b\u540c\u65f6\u652f\u6301 Webhook \u56de\u8c03\uff0c<strong>loss \u7206\u70b8\u3001\u68af\u5ea6 NaN\u3001GPU \u6e29\u5ea6&gt;85 \u2103 \u81ea\u52a8\u63a8\u9001\u544a\u8b66<\/strong>\uff0c\u8ba9\u7528\u6237\u5b89\u5fc3\u7761\u89c9\u3002<\/p>\n<hr \/>\n<h2>\u7ed3\u679c\uff1a\u65b0\u6a21\u578b Flickr30K \u4e2d\u6587 R@1 \u63d0\u5347 4.7%\uff0c\u6210\u672c &lt;\uffe52000<\/h2>\n<ul>\n<li>\u8bad\u7ec3\u5f97\u5230\u7684 <code>clip-vit-b32-zh-v1.bin<\/code> \u5728 Flickr30K-CN \u6d4b\u8bd5\u96c6\u4e94\u9879\u6307\u6807\u5168\u9762\u4e0a\u626c\uff0cR@1 \u63d0\u5347 4.7%\uff0cR@5 \u63d0\u5347 3.2%\uff1b<\/li>\n<li>\u6a21\u578b\u5df2\u4e0a\u4f20\u81f3\u661f\u5b87\u667a\u7b97<a href=\"https:\/\/www.starverse-ai.com\/node\/019b88ac-286a-70a3-bafa-cfa47c851b4d\">\u516c\u5171\u8d44\u6e90\u5e93<\/a>\uff0c\u65b0\u7528\u6237\u53ef\u4e00\u952e\u4e0b\u8f7d\u5fae\u8c03\u6216\u7ee7\u7eed\u84b8\u998f\uff1b<\/li>\n<li>\u738b\u540c\u5b66\u628a\u5b9e\u9a8c\u5199\u6210 12 \u9875\u62a5\u544a\uff0c\u6295\u7a3f ACM MM 2024\uff0c\u5bfc\u5e08\u8bc4\u4ef7\u201c<strong>\u7ecf\u8d39\u5229\u7528\u7387\u6ee1\u5206<\/strong>\u201d\u3002<\/li>\n<\/ul>\n<hr \/>\n<h2>\u5199\u5728\u6700\u540e\uff1a\u628a 60 \u4e07\u4e70\u5361\u7684\u94b1\u7701\u4e0b\u6765\u505a\u521b\u65b0<\/h2>\n<p>\u591a\u6a21\u6001\u5927\u6a21\u578b\u4e0d\u662f\u201c\u663e\u5361\u8d8a\u591a\u8d8a\u9999\u201d\uff0c\u800c\u662f\u201c<strong>\u7b97\u529b\u8d8a\u5f39\u6027\u8d8a\u8d5a<\/strong>\u201d\u3002\u661f\u5b87\u667a\u7b97\u901a\u8fc7 <strong>GPU\u670d\u52a1\u5668\u79df\u7528 + \u6570\u636e\u96c6\u5373\u670d\u52a1 + \u53ef\u89c6\u5316 DevOps<\/strong>\uff0c\u8ba9\u201c\u4ece 0 \u5230 1 \u8dd1\u901a\u591a\u6a21\u6001\u201d\u7f29\u77ed\u5230\u4e09\u5929\u3001\u6210\u672c\u538b\u5230\u4e24\u5343\u5143\u3002\u5bf9\u4e8e\u9ad8\u6821\u3001\u521d\u521b\u516c\u53f8\u4e43\u81f3\u5927\u578b\u4f01\u4e1a\u7684\u7b97\u6cd5\u56e2\u961f\uff0c\u8fd9\u610f\u5473\u7740<strong>\u628a 60 \u4e07\u786c\u4ef6\u9884\u7b97\u8f6c\u5316\u4e3a\u6570\u636e\u3001\u4eba\u624d\u4e0e\u573a\u666f<\/strong>\uff0c\u8ba9\u771f\u6b63\u7684\u521b\u65b0\u53d1\u751f\u3002<\/p>\n<p>\u73b0\u5728\u6ce8\u518c<a href=\"https:\/\/www.starverse-ai.com\">\u661f\u5b87\u667a\u7b97<\/a>\uff0c\u65b0\u7528\u6237\u7acb\u5f97 10 \u5143\u4f53\u9a8c\u91d1\uff0c<strong>2 \u5c0f\u65f6 A800 \u514d\u8d39\u8dd1<\/strong>\uff1b\u56de\u590d\u300c\u591a\u6a21\u6001\u300d\u7ed9\u5728\u7ebf\u5ba2\u670d\uff0c\u518d\u9886 LAION-5B \u4e2d\u6587\u5b50\u96c6 7 \u5929 VIP \u4e0b\u8f7d\u6743\u9650\u3002<br \/>\n<strong>\u522b\u8ba9\u91c7\u8d2d\u6d41\u7a0b\u62d6\u4f4f\u4f60\u7684\u4e0b\u4e00\u7bc7\u9876\u4f1a\uff0cGPU \u4e91\u4e3b\u673a\u5df2\u5c31\u4f4d\uff0c\u5c31\u7b49\u4f60\u7684 idea \u4e0a\u7ebf\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u201c\u591a\u6a21\u6001\u5927\u6a21\u578b\u6b63\u5728\u541e\u566c\u5355\u6a21\u6001\u4e16\u754c\u3002\u201d \u2014\u2014 \u8fd9\u662f 2024 &hellip;<\/p>\n","protected":false},"author":2,"featured_media":2991,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2992","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-zixun"],"views":84,"_links":{"self":[{"href":"https:\/\/www.starverse-ai.com\/guide\/wp-json\/wp\/v2\/posts\/2992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.starverse-ai.com\/guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.starverse-ai.com\/guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.starverse-ai.com\/guide\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.starverse-ai.com\/guide\/wp-json\/wp\/v2\/comments?post=2992"}],"version-history":[{"count":0,"href":"https:\/\/www.starverse-ai.com\/guide\/wp-json\/wp\/v2\/posts\/2992\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.starverse-ai.com\/guide\/wp-json\/wp\/v2\/media\/2991"}],"wp:attachment":[{"href":"https:\/\/www.starverse-ai.com\/guide\/wp-json\/wp\/v2\/media?parent=2992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.starverse-ai.com\/guide\/wp-json\/wp\/v2\/categories?post=2992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.starverse-ai.com\/guide\/wp-json\/wp\/v2\/tags?post=2992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}