如何在功能较弱的PC上运行强大的Flux AI图像生成器

币界网2024-08-12 tarihinde yayınlandı2024-08-13 tarihinde güncellendi

币界网报道:

当Flux几天前突然出现时,它很快就赢得了开源图像生成器皇冠上的明珠的声誉。它与Midjourney的美学能力相匹配,同时在快速理解和文本生成方面绝对压倒了它。捕获?你需要一个拥有超过24GB VRAM(甚至更多)的强大GPU才能让它运行。这比大多数游戏设备都要强大,更不用说你的普通工作笔记本电脑了。

但是,人工智能社区从不放弃挑战,他们卷起集体袖子开始工作。通过量化的魔力——一个压缩模型数据的花哨术语——他们设法将Flux缩小到更易于管理的大小,而不会牺牲太多的艺术魔力。

让我们把它分解一下:最初的Flux型号使用了全32位精度(FP32),这就像驾驶一级方程式赛车去杂货店——对大多数人来说都是多余的。第一轮优化为我们带来了FP16和FP8版本,每个版本都以一点点的准确性换取了效率的大幅提高。FP8版本已经改变了游戏规则,让拥有6GB GPU(想想RTX 2060)的人加入了这场盛宴。

为此,您需要禁用系统内存回调以实现稳定扩散,这样您的GPU就可以将其部分工作从内部VRAM卸载到系统RAM。这避免了臭名昭著的OOM(内存不足)错误,尽管其运行速度要慢得多。要禁用此选项,请按照Nvidia的教程进行操作。

但要戴上帽子,因为它会变得更好。

人工智能世界的真实MVP进一步突破了界限,发布了4位量化模型。这些坏男孩使用一种叫做“正常点”(NP)量化的东西,它提供了一个质量和速度的最佳点,让你的土豆电脑感觉像是得到了涡轮增压。NP量化不会像FP量化那样降低质量,因此一般来说,运行此模型可以在高速下获得很好的结果,只需要很少的资源。

这几乎好得令人难以置信,但这是真的。

在fp8和np4中使用Flux Dec获得的结果。同样的提示,不同的种子。

如何在低端GPU上运行Flux

那么,你实际上是如何运行这个简化版本的Flux的呢?首先,你需要一个像SwarmUI、ComfyUI或Forge这样的界面。我们喜欢ComfyUI的多功能性,但在我们的测试中,Forge的速度比其他界面提高了约10-20%,所以这就是我们在这里使用的。

前往Forge GitHub仓库(https://github.com/lllyasviel/stable-diffusion-webui-forge)并下载一键安装包。它是开源的,经过社区审查,所以这里没有粗略的业务。

对于NP4 Flux型号本身,Civit AI是您的一站式服务。你有两种口味可供选择:Schnell(速度)和Dex(质量)。两者都可以从这个页面下载。

一旦你下载了所有内容,就到了安装时间:

    解压缩Forge文件并打开Forge文件夹。运行update.bat以获取所有依赖项。启动run.bat以完成设置。

现在,将这些闪亮的新Flux模型放入Forge安装中的webuimodelsStable扩散文件夹中。刷新Forge web界面(如果你感觉老派,可以重新启动),然后砰的一声——你在做生意。

专业提示:要真正从复活的装备中挤出每一滴性能,请降低分辨率。与其选择全SDXL(1024x1024)分辨率,不如尝试更适中的SD1.5尺寸(768x768、512x768等)。你总是可以稍后升级,并使用Adetailer来处理那些脆脆的细节。

让我们谈谈数字:在配备6GB VRAM的RTX 2060上,Flux Schnell在NP4模式下可以在大约30秒内生成512x768的图像,而FP8版本需要107秒。想做大吗?用高分辨率修复将那个坏男孩升级到1536x1024大约需要五分钟。

想在不破坏GPU的情况下做大吗?更好的选择是从SD1.5分辨率的Flux Schnell开始,然后通过img2img发送该创建。使用低降噪强度的标准稳定扩散模型(SD1.5或SDXL)进行升级。整个过程大约需要50秒,与MidJourney在缓慢的一天中的输出相当。您将在不熔化图形卡的情况下获得令人印象深刻的大规模结果。

真正的踢球者?据报道,一些疯狂的家伙让Flux Schnell NP4在GTX 1060上运行,VRAM为3GB,Flux Dev每次迭代需要7.90秒。我们谈论的是一个几乎依赖生命支持的GPU,它正在这里产生尖端的人工智能艺术。对于几乎符合养老金条件的硬件来说,这并不算太破旧。

Trend Kriptolar

İlgili Okumalar

Soaring Over Tenfold Within the Year: The Frenzy Over SK Hynix Leveraged Products

South China Morning Post The leveraged ETF tracking SK Hynix has surged over tenfold year-to-date, fueled by intense market speculation on the memory chip sector. By June 22, the value of the 'South Korea 2x Long SK Hynix ETF' listed in Hong Kong had skyrocketed by more than 1,061% since the start of the year, while its asset size exploded over twenty times from the end of last year. The rally is driven by AI-driven demand for high-bandwidth memory (HBM), with SK Hynix recently sampling its next-generation HBM4E product. However, industry professionals warn of significant risks. Leveraged ETFs magnify both gains and losses. During a recent market correction, while the underlying SK Hynix stock fell 19.1%, its double-leveraged ETF dropped nearly 38%. Korean regulators noted that such products could theoretically lose 60% in a single day. Additionally, these ETFs face risks like time decay in volatile markets, liquidity spirals during mass redemptions, and extreme price dislocations from market-making failures, as seen in early June when an ETF moved opposite to its underlying stock. The trading is predominantly driven by retail investors, with institutional capital largely absent due to the products' high volatility. Analysts caution that with the semiconductor sector at elevated valuations and facing geopolitical and supply chain uncertainties, leveraged ETFs pose a substantial threat of amplified losses for uninformed investors.

marsbit52 dk önce

Soaring Over Tenfold Within the Year: The Frenzy Over SK Hynix Leveraged Products

marsbit52 dk önce

18 Months, Over 50x Surge: KIOXIA's Epic Comeback

KIOXIA, a NAND flash memory giant, staged a dramatic comeback driven by AI demand. After a period of significant losses, a failed merger, and missed HBM opportunities, its 2024 IPO began modestly. However, fueled by explosive demand for AI data storage, its stock price skyrocketed over 50 times within 18 months, making it Japan's most valuable company, surpassing Toyota. Its Q1 FY2026 profit guidance soared 30-fold year-over-year, with 2026 NAND capacity already sold out. Key to its success is its 3D NAND technology, BiCS FLASH. As the inventor of NAND, KIOXIA advanced its technology through generations, reaching over 200 layers by 2023. Key innovations include CBA (CMOS directly Bonded to Array), which separately manufactures control circuits and memory arrays for better performance, and OPS (On Pitch Select Gate) to increase density. The company is now developing high-capacity packages like an 8TB solution stacking 32 dies. Looking beyond NAND, KIOXIA is exploring 3D DRAM with its OCTRAM technology, using oxide semiconductor transistors for ultra-low leakage to reduce power consumption. This fundamental research differs from HBM and represents a long-term bet to extend its 3D expertise from NAND into future DRAM architectures. KIOXIA's story highlights how technological assets and shifting market cycles can rapidly transform a company's fortunes. While questions remain about sustaining growth beyond the current AI boom, its resurgence demonstrates that in semiconductors, being down does not necessarily mean being out.

marsbit1 saat önce

18 Months, Over 50x Surge: KIOXIA's Epic Comeback

marsbit1 saat önce

Market Trends in U.S. Stocks (June 23): Peak at Listing? SpaceX Loses Over $800 Billion in Three Days, Tech Stocks Experience Severe Internal Divergence

Stock Market Trends (June 23): Did SpaceX Peak at IPO? The company loses over $800 billion in market value in three days as a sharp divergence unfolds within the tech sector. SpaceX's post-IPO decline of over 20%, falling below its first-day close, reflects a swift market repricing. The catalyst is a clear shift in narrative from "AI platform potential" to concerns over rising capital costs, as its $8.57 billion IPO and subsequent $20 billion debt offering are earmarked for acquisitions and refinancing existing bridge loans rather than de-leveraging. While high-valuation tech stocks like Google, Meta, Amazon, and Microsoft faced pressure, Micron surged nearly 7% to a record high following a strategic supply deal with Anthropic for HBM and memory, highlighting robust, tangible demand in AI infrastructure. The broader market saw funds rotate into more defensive industrial and financial names. Macro factors included a dip in oil prices to a three-month low on news of a US-Iran framework deal, though logistical hurdles for resuming full Strait of Hormuz shipments remain. Key events ahead include Nvidia's shareholder meeting, Micron's earnings, and the May PCE inflation data. The latter will be crucial in determining whether the sell-off in high-valuation growth stocks, which appears to have just begun, will persist.

marsbit1 saat önce

Market Trends in U.S. Stocks (June 23): Peak at Listing? SpaceX Loses Over $800 Billion in Three Days, Tech Stocks Experience Severe Internal Divergence

marsbit1 saat önce

Interview with MicroStrategy CEO: Beyond the 32 BTC Selling Stir, 6 Trillion AI Agents are the Ultimate Endgame for Bitcoin

Interview with Strategy CEO: Beyond the 32 BTC Sale, 6 Trillion AI Agents are Bitcoin's Ultimate Endgame Strategy CEO Phong Le discusses the recent sale of 32 BTC, clarifying it was a minor, strategic move to demonstrate operational liquidity and internal process robustness to creditors and rating agencies, not a reaction to market fears. He emphasizes Strategy's disciplined, data-driven decision-making framework involving its board and complex financial modeling, distancing the company from centralized "black box" operations seen elsewhere in crypto. Le outlines the company's resilience and long-term focus, citing the "doing nothing" strategy during the 2022 bear market as a testament to its conviction in Bitcoin's underlying value proposition for global sovereignty and freedom. He reveals that generative AI was instrumental in developing their Stretch (STRC) preferred stock product, cutting development time from years to months. The most visionary part of the discussion centers on Agentic AI. Le envisions a future with 6 trillion autonomous AI agents conducting commerce, particularly in off-world environments like Mars, which would naturally adopt decentralized crypto rails and seek yield-bearing assets like Bitcoin as a core store of value. Finally, Le addresses the STRC product, expressing confidence it will return to its $100 par value through reserve replenishment and the initiation of dividend payments, and dismisses concerns about competition with stablecoins. He concludes by affirming Strategy's philosophy of expanding Bitcoin access through all available means, from self-custody to ETFs, to onboard the next wave of users.

marsbit1 saat önce

Interview with MicroStrategy CEO: Beyond the 32 BTC Selling Stir, 6 Trillion AI Agents are the Ultimate Endgame for Bitcoin

marsbit1 saat önce

İşlemler

Spot
Futures

Popüler Makaleler

FLUX Nasıl Satın Alınır

HTX.com’a hoş geldiniz! Flux (FLUX) satın alma işlemlerini basit ve kullanışlı bir hâle getirdik. Adım adım açıkladığımız rehberimizi takip ederek kripto yolculuğunuza başlayın. 1. Adım: HTX Hesabınızı OluşturunHTX'te ücretsiz bir hesap açmak için e-posta adresinizi veya telefon numaranızı kullanın. Sorunsuzca kaydolun ve tüm özelliklerin kilidini açın. Hesabımı Aç2. Adım: Kripto Satın Al Bölümüne Gidin ve Ödeme Yönteminizi SeçinKredi/Banka Kartı: Visa veya Mastercard'ınızı kullanarak anında Flux (FLUX) satın alın.Bakiye: Sorunsuz bir şekilde işlem yapmak için HTX hesap bakiyenizdeki fonları kullanın.Üçüncü Taraflar: Kullanımı kolaylaştırmak için Google Pay ve Apple Pay gibi popüler ödeme yöntemlerini ekledik.P2P: HTX'teki diğer kullanıcılarla doğrudan işlem yapın.Borsa Dışı (OTC): Yatırımcılar için kişiye özel hizmetler ve rekabetçi döviz kurları sunuyoruz.3. Adım: Flux (FLUX) Varlıklarınızı SaklayınFlux (FLUX) satın aldıktan sonra HTX hesabınızda saklayın. Alternatif olarak, blok zinciri transferi yoluyla başka bir yere gönderebilir veya diğer kripto para birimlerini takas etmek için kullanabilirsiniz.4. Adım: Flux (FLUX) Varlıklarınızla İşlem YapınHTX'in spot piyasasında Flux (FLUX) ile kolayca işlemler yapın.Hesabınıza erişin, işlem çiftinizi seçin, işlemlerinizi gerçekleştirin ve gerçek zamanlı olarak izleyin. Hem yeni başlayanlar hem de deneyimli yatırımcılar için kullanıcı dostu bir deneyim sunuyoruz.

122 Toplam GörüntülenmeYayınlanma 2024.12.10Güncellenme 2026.06.02

FLUX Nasıl Satın Alınır

Tartışmalar

HTX Topluluğuna hoş geldiniz. Burada, en son platform gelişmeleri hakkında bilgi sahibi olabilir ve profesyonel piyasa görüşlerine erişebilirsiniz. Kullanıcıların FLUX (FLUX) fiyatı hakkındaki görüşleri aşağıda sunulmaktadır.

活动图片