{"id":16772,"date":"2024-12-12T22:56:03","date_gmt":"2024-12-12T14:56:03","guid":{"rendered":"https:\/\/92it.top\/?p=16772"},"modified":"2024-12-12T22:56:03","modified_gmt":"2024-12-12T14:56:03","slug":"pyramid-flow%ef%bc%9a%e5%8c%97%e5%a4%a7%e5%bc%80%e6%ba%90%e7%9a%84%e8%a7%86%e9%a2%91%e7%94%9f%e6%88%90%e6%a8%a1%e5%9e%8b","status":"publish","type":"post","link":"https:\/\/92it.top\/?p=16772","title":{"rendered":"Pyramid Flow\uff1a\u5317\u5927\u5f00\u6e90\u7684\u89c6\u9891\u751f\u6210\u6a21\u578b"},"content":{"rendered":"\n<p>\u7531\u5feb\u624b\u3001\u5317\u4eac\u5927\u5b66\u548c\u5317\u4eac\u90ae\u7535\u5927\u5b66\u7684\u7814\u7a76\u56e2\u961f\u8054\u5408\u5f00\u53d1\u7684Pyramid-Flow\uff0c\u662f\u4e00\u9879\u5728AI\u89c6\u9891\u751f\u6210\u9886\u57df\u53d6\u5f97\u91cd\u5927\u7a81\u7834\u7684\u5f00\u6e90\u9879\u76ee\u3002\u8fd9\u4e00\u521b\u65b0\u6a21\u578b\u4ee5\u5176\u201c\u7279\u5f81\u91d1\u5b57\u5854+\u6d41\u5339\u914d\u201d\u6280\u672f\uff0c\u901a\u8fc7\u9ad8\u6548\u7684\u7a7a\u95f4\u548c\u65f6\u95f4\u91d1\u5b57\u5854\u8868\u793a\uff0c\u663e\u8457\u63d0\u5347\u4e86\u89c6\u9891\u751f\u6210\u7684\u8bad\u7ec3\u6548\u7387\u548c\u8f93\u51fa\u8d28\u91cf\u3002Pyramid-Flow\u80fd\u591f\u4f9d\u636e\u7b80\u5355\u7684\u6587\u672c\u6307\u4ee4\uff0c\u751f\u6210\u957f\u8fbe10\u79d2\u3001\u5206\u8fa8\u7387\u9ad8\u8fbe1280&#215;768\u3001\u5e27\u7387\u4e3a24fps\u7684\u9ad8\u6e05\u89c6\u9891\uff0c\u4e0d\u4ec5\u5728\u5149\u5f71\u6548\u679c\u3001\u52a8\u4f5c\u6d41\u7545\u5ea6\u3001\u753b\u9762\u8d28\u91cf\u4e0a\u8868\u73b0\u51fa\u8272\uff0c\u8fd8\u5728\u6587\u672c\u8bed\u4e49\u7684\u51c6\u786e\u8fd8\u539f\u548c\u8272\u5f69\u642d\u914d\u4e0a\u5c55\u73b0\u4e86\u5353\u8d8a\u7684\u80fd\u529b\uff0c\u751f\u6210\u7684\u89c6\u9891\u6548\u679c\u4ee4\u4eba\u5370\u8c61\u6df1\u523b\u3002<\/p>\n\n\n\n<p><strong>Pyramid Flow \u7b80\u4ecb<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/jy0205\/Pyramid-Flow\">https:\/\/github.com\/jy0205\/Pyramid-Flow<\/a><\/p>\n\n\n\n<p>Pyramid Flow \u6709\u54ea\u4e9b\u4eae\u70b9\uff1f<\/p>\n\n\n\n<ul>\n<li>\u4ec5\u9700 2B \u53c2\u6570\uff0c\u53ef\u751f\u6210768p\u5206\u8fa8\u7387\u300124fps\u768410\u79d2\u89c6\u9891\uff1b<\/li>\n\n\n\n<li>\u652f\u6301\u300c\u6587\u672c\u5230\u89c6\u9891\u300d \u548c \u300c\u56fe\u50cf\u5230\u89c6\u9891\u300d \uff1b<\/li>\n\n\n\n<li>\u81ea\u56de\u5f52\u751f\u6210\uff0c\u57fa\u4e8e\u5148\u524d\u5e27\u6765\u9884\u6d4b\u751f\u6210\u540e\u7eed\u5e27\uff0c\u786e\u4fdd\u89c6\u9891\u5185\u5bb9\u7684\u8fde\u8d2f\u6027\u548c\u6d41\u7545\u6027\uff1b<\/li>\n\n\n\n<li>\u91d1\u5b57\u5854\u5f0f\u7684\u591a\u5c3a\u5ea6\u67b6\u6784\uff0c\u5728\u4e0d\u540c\u5206\u8fa8\u7387\u7684\u6f5c\u53d8\u91cf\u4e4b\u95f4\u8fdb\u884c\u63d2\u503c\uff0c\u56e0\u6b64\u751f\u6210\u6548\u7387\u66f4\u9ad8\uff1a<\/li>\n<\/ul>\n\n\n\n<p><strong>\u672c\u5730\u90e8\u7f72<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>1.\u4e0b\u8f7d\u4ee3\u7801\u5230\u672c\u5730<\/strong><\/p>\n\n\n\n<p>\u56e0\u4e3a\u6211\u7684\u7535\u8111\u662fMac\uff0c\u7f51\u4e0a\u6709\u5927\u795e\u6539\u4e86\u539f\u59cb\u7684\u4ee3\u7801\u3002\u4f7f\u5176\u80fd\u652f\u6301mac\u7684MPS backend<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"721\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-1024x721.png\" alt=\"\" class=\"wp-image-16773\" style=\"width:542px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-1024x721.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-300x211.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-768x541.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-1536x1082.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2048x1443.png 2048w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-830x585.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-230x162.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-350x247.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-480x338.png 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">git clone https:\/\/github.com\/niw\/Pyramid-Flow.git<\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"624\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2-1024x624.png\" alt=\"\" class=\"wp-image-16775\" style=\"width:504px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2-1024x624.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2-300x183.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2-768x468.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2-1536x935.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2-2048x1247.png 2048w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2-830x505.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2-230x140.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2-350x213.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-2-480x292.png 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p><strong>2.mac\u4e0a\u5b89\u88c5\u597dpython3.10\uff0c\u53ef\u4ee5\u901a\u8fc7brew\u5b89\u88c5<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Install Python 3.10 by using Homebrew, for example, brew install python@3.10<\/pre>\n\n\n\n<p><strong>3.cd \u5230\u4e0b\u8f7d\u76ee\u5f55\u521b\u5efapython\u865a\u62df\u73af\u5883\uff0c\u5e76\u4e14\u6fc0\u6d3b<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">python3.10 -m venv venv-pyramid-flow\nsource venv-pyramid-flow\/bin\/activate<\/pre>\n\n\n\n<p><strong>4.\u5b89\u88c5\u4f9d\u8d56<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">pip install -r requirements.txt<\/pre>\n\n\n\n<p><strong>5.\u5b89\u88c5<code>gradio<\/code><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">pip install gradio<\/pre>\n\n\n\n<p><strong>6.\u542f\u52a8gradio<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">python app.py<\/pre>\n\n\n\n<p><strong>7.\u53ef\u4ee5\u901a\u8fc7 gradio \u4f7f\u7528\u6a21\u578b<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">http:\/\/127.0.0.1:7860\/<\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"506\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-3-1024x506.png\" alt=\"\" class=\"wp-image-16776\" style=\"width:556px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-3-1024x506.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-3-300x148.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-3-768x379.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-3-1536x759.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-3-2048x1012.png 2048w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-3-830x410.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-3-230x114.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-3-350x173.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-3-480x237.png 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p>\u6a21\u578b\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/huggingface.co\/rain1011\/pyramid-flow-sd3\/tree\/main\">https:\/\/huggingface.co\/rain1011\/pyramid-flow-sd3\/tree\/main<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"720\" src=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-4-1024x720.png\" alt=\"\" class=\"wp-image-16777\" style=\"width:576px;height:auto\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-4-1024x720.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-4-300x211.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-4-768x540.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-4-1536x1080.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-4-830x584.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-4-230x162.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-4-350x246.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-4-480x338.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2024\/12\/image-4.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>","protected":false},"excerpt":{"rendered":"<p>\u7531\u5feb\u624b\u3001\u5317\u4eac\u5927\u5b66\u548c\u5317\u4eac\u90ae\u7535\u5927\u5b66\u7684\u7814\u7a76\u56e2\u961f\u8054\u5408\u5f00\u53d1\u7684Pyramid-Flow\uff0c\u662f\u4e00\u9879\u5728AI\u89c6\u9891\u751f\u6210\u9886\u57df\u53d6\u5f97\u91cd\u5927\u7a81 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"_links":{"self":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/16772"}],"collection":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16772"}],"version-history":[{"count":1,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/16772\/revisions"}],"predecessor-version":[{"id":16778,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/16772\/revisions\/16778"}],"wp:attachment":[{"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}