{"id":227093,"date":"2021-09-29T09:00:46","date_gmt":"2021-09-29T01:00:46","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=227093"},"modified":"2021-09-24T22:29:08","modified_gmt":"2021-09-24T14:29:08","slug":"amazon-s3-plugin","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/amazon-s3-plugin.html","title":{"rendered":"\u4e9a\u9a6c\u900a\u63a8\u51fa\u540d\u4e3a S3 Plugin \u7684\u6570\u636e\u96c6\u5e93"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4e9a\u9a6c\u900a\u8fd1\u65e5\u4e3a Facebook \u7684 PyTorch \u673a\u5668\u5b66\u4e60\u6846\u67b6 \u63a8\u51fa\u4e86\u4e00\u4e2a\u540d\u4e3a S3 Plugin \u7684\u6570\u636e\u96c6\u5e93\uff0c\u65e8\u5728\u5e2e\u52a9\u6570\u636e\u79d1\u5b66\u5bb6\u8bbf\u95ee\u5b58\u50a8\u5728 AWS S3(Amazon Web Services Simple Storage Service) \u4e2d\u7684\u6570\u636e\u96c6\u3002\u5b83\u4e13\u4e3a\u4f4e\u5ef6\u8fdf\u800c\u8bbe\u8ba1\uff0c\u4e9a\u9a6c\u900a\u8868\u793a\uff0cS3 Plugin \u4e3a\u4efb\u4f55\u89c4\u6a21\u7684\u6570\u636e\u96c6\u63d0\u4f9b\u4e86\u6d41\u5f0f\u4f20\u8f93\u6570\u636e\u7684\u529f\u80fd\uff0c\u6d88\u9664\u4e86\u63d0\u4f9b\u672c\u5730\u5b58\u50a8\u5bb9\u91cf\u7684\u9700\u8981\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

PyTorch \u662f\u4e00\u4e2a\u57fa\u4e8e Torch \u5e93\u7684\u5f00\u6e90\u673a\u5668\u5b66\u4e60\u5e93\uff0c\u7528\u4e8e\u8ba1\u7b97\u673a\u89c6\u89c9\u548c\u81ea\u7136\u8bed\u8a00\u5904\u7406\u7b49\u5e94\u7528\uff0c\u4e3b\u8981\u7531 Facebook \u7684 AI \u7814\u7a76\u5b9e\u9a8c\u5ba4\u5f00\u53d1\u3002\u5b83\u662f\u5728\u4fee\u6539\u7684 BSD \u8bb8\u53ef\u4e0b\u53d1\u5e03\u7684\u514d\u8d39\u5f00\u6e90\u8f6f\u4ef6\uff0c\u5e95\u5c42\u7531 C++ \u5b9e\u73b0\u3002<\/p>\n

\u8bb8\u591a\u6df1\u5ea6\u5b66\u4e60\u8f6f\u4ef6\u90fd\u5efa\u7acb\u5728 PyTorch \u4e4b\u4e0a\uff0c\u5305\u62ec\u7279\u65af\u62c9\u81ea\u52a8\u9a7e\u9a76\u3001Uber \u7684 Pyro \u548c HuggingFace \u7684 Transformers \u7b49\u3002PyTorch \u4e3b\u8981\u63d0\u4f9b\u4e86\u4e24\u4e2a\u9ad8\u7ea7\u529f\u80fd\uff1a<\/p>\n

  • Tensor \u8ba1\u7b97(\u5982 NumPy)\uff0c\u901a\u8fc7\u56fe\u5f62\u5904\u7406\u5355\u5143(GPU)\u8fdb\u884c\u5f3a\u529b\u52a0\u901f<\/li>\n
  • \u5efa\u7acb\u5728\u57fa\u4e8e\u7c7b\u578b\u7684\u81ea\u52a8\u5fae\u5206\u7cfb\u7edf\u4e0a\u7684\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc<\/li>\n

    \u81ea 2016 \u5e74 10 \u6708\u53d1\u5e03\u4ee5\u6765\uff0cPyTorch \u5728\u6570\u636e\u79d1\u5b66\u548c\u5f00\u53d1\u4eba\u5458\u793e\u533a\u4e2d\u5f97\u5230\u5feb\u901f\u6210\u957f\u30022019 \u5e74\uff0c\u8be5\u5e73\u53f0\u7684\u8d21\u732e\u8005\u6570\u91cf\u540c\u6bd4\u589e\u957f\u8d85\u8fc7 50%\uff0c\u8fbe\u5230\u8fd1 1200 \u4eba\u3002\u6839\u636e\u7814\u7a76\u673a\u6784\u7684\u5206\u6790\u53d1\u73b0\uff0c2019 \u5e74\u7684\u6bcf\u4e2a\u4e3b\u8981\u7684\u4eba\u5de5\u667a\u80fd\u4f1a\u8bae\u90fd\u6709\u5927\u90e8\u5206\u8bba\u6587\u662f\u7528 PyTorch \u5b9e\u73b0\u7684\uff0c2019 \u5e74\u4e0a\u534a\u5e74\uff0c\u8bba\u6587\u4e2d PyTorch \u7684\u5f15\u7528\u91cf\u589e\u957f\u4e86 194% \u4ee5\u4e0a\u3002<\/p>\n

    \u4e9a\u9a6c\u900a\u5728\u535a\u5ba2\u6587\u7ae0\u4e2d\u5199\u9053\uff1a\"\u6709\u4e86 PyTorch \u6df1\u5ea6\u5b66\u4e60\u5bb9\u5668\u4e2d\u7684\u8fd9\u9879\u529f\u80fd\uff0c\u7528\u6237\u53ef\u4ee5\u5229\u7528 PyTorch \u6570\u636e\u96c6\u548c\u6570\u636e\u52a0\u8f7d\u5668 API \u76f4\u63a5\u4f7f\u7528 S3 \u4e2d\u7684\u6570\u636e\uff0c\u800c\u4e0d\u9700\u8981\u5148\u5728\u672c\u5730\u5b58\u50a8\u4e2d\u4e0b\u8f7d\u3002\u9488\u5bf9 PyTorch \u5f00\u53d1\u7684 S3 Plugin \u63d0\u4f9b\u4e86\u4ece Amazon S3 \u5230 PyTorch \u4f7f\u7528\u6570\u636e\u7684\u539f\u751f\u4f53\u9a8c\uff0c\u800c\u65e0\u9700\u5728\u4ee3\u7801\u4e2d\u589e\u52a0\u590d\u6742\u6027\u3002\"<\/p>\n

    S3 Plugin \u7684\u4f18\u52bf\u5305\u62ec\uff1a<\/p>\n

  • PyTorch \u652f\u6301\u4e24\u79cd\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u96c6\uff0c\u9002\u7528\u4e8e PyTorch \u7684 S3 Plugin \u53ef\u6839\u636e\u4f60\u7684\u9700\u8981\u7075\u6d3b\u5730\u4f7f\u7528\u4e24\u8005;<\/li>\n
  • S3 Plugin \u53ef\u4ee5\u4f7f\u7528\u5404\u79cd\u683c\u5f0f\u7684\u8bad\u7ec3\u6570\u636e\u6765\u8bad\u7ec3\u673a\u5668\u5b66\u4e60\u6a21\u578b\u3002\u5b83\u4e0e\u6587\u4ef6\u683c\u5f0f\u65e0\u5173\uff0c\u5e76\u5c06 Amazon S3 \u4e0a\u7684\u5bf9\u8c61\u5448\u73b0\u4e3a blob\uff0c\u5e76\u80fd\u5bf9\u4ece Amazon S3 \u63a5\u6536\u7684\u8f93\u5165\u8fdb\u884c\u5176\u4ed6\u8f6c\u6362;<\/li>\n
  • S3 Plugin \u63d0\u4f9b\u4e86\u4e00\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u4f7f\u7528 ShuffleDataset \u5728\u5185\u5b58\u4e2d\u6d17\u6570\u636e\uff0c\u6216\u8005\u5728\u6269\u5c55 S3IterableDataset \u65f6\u901a\u8fc7\u63d0\u4f9b\u8f93\u5165\u53c2\u6570 shuffle_urls \u5728\u5185\u5b58\u4e2d\u6d17\u6570\u636e;<\/li>\n

    PyTorch \u7684 S3 Plugin \u63d0\u4f9b\u4e86\u4e00\u79cd\u4ece S3 \u5e76\u884c\u4f20\u8f93\u6570\u636e\u7684\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5bf9\u6765\u81ea\u5f52\u6863\u6587\u4ef6\u7684\u6570\u636e\u6d41\u7684\u652f\u6301\u3002\u4e9a\u9a6c\u900a\u8868\u793a\uff0c\u7531\u4e8e\u8be5\u63d2\u4ef6\u662f PyTorch \u5185\u90e8\u63a5\u53e3\u7684\u5b9e\u73b0\uff0c\u5b83\u4e0d\u9700\u8981\u4fee\u6539\u73b0\u6709\u7684\u4ee3\u7801\u5c31\u53ef\u4ee5\u4e0e S3 \u914d\u5408\u4f7f\u7528\u3002<\/p>\n

    \u9002\u7528\u4e8e PyTorch \u7684 S3 Plugin \u63d0\u5347\u4e86 PyTorch \u7684\u6613\u7528\u6027\u548c\u7075\u6d3b\u6027\uff0c\u611f\u5174\u8da3\u7684\u5f00\u53d1\u8005\u53ef\u4ee5\u901a\u8fc7\u9884\u914d\u7f6e\u7684 PyTorch Docker \u955c\u50cf\u4f7f\u7528\uff0c\u6216\u76f4\u63a5\u4ece GitHub \u4ed3\u5e93\u4f7f\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

    PyTorch \u662f\u4e00\u4e2a\u57fa\u4e8e Torch \u5e93\u7684\u5f00\u6e90\u673a\u5668\u5b66\u4e60\u5e93\uff0c\u7528\u4e8e\u8ba1\u7b97\u673a\u89c6\u89c9\u548c\u81ea\u7136\u8bed\u8a00\u5904\u7406\u7b49\u5e94\u7528\uff0c\u4e3b\u8981\u7531 Fac […]<\/p>\n","protected":false},"author":1920,"featured_media":227095,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-227093","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/227093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1920"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=227093"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/227093\/revisions"}],"predecessor-version":[{"id":227156,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/227093\/revisions\/227156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/227095"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=227093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=227093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=227093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}