• bitcoinBitcoin(BTC)$83,944.00-0.59%
  • ethereumEthereum(ETH)$2,693.460.06%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$774.88-0.83%
  • rippleXRP(XRP)$1.572.08%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$122.054.04%
  • tronTRON(TRX)$0.337334-0.95%
  • zcashZcash(ZEC)$1,555.01-0.20%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.82%
  • HyperliquidHyperliquid(HYPE)$91.85-2.29%
  • dogecoinDogecoin(DOGE)$0.0976711.08%
  • moneroMonero(XMR)$557.760.92%
  • chainlinkChainlink(LINK)$13.853.15%
  • whitebitWhiteBIT Coin(WBT)$83.87-0.80%
  • USDSUSDS(USDS)$1.00-0.02%
  • cardanoCardano(ADA)$0.2552263.12%
  • RainRain(RAIN)$0.011865-1.56%
  • leo-tokenLEO Token(LEO)$8.83-0.88%
  • stellarStellar(XLM)$0.2193242.45%
  • bitcoin-cashBitcoin Cash(BCH)$340.280.67%
  • nearNEAR Protocol(NEAR)$5.018.26%
  • uniswapUniswap(UNI)$9.654.23%
  • litecoinLitecoin(LTC)$71.14-0.23%
  • CantonCanton(CC)$0.13122516.73%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • suiSui(SUI)$1.1412.98%
  • avalanche-2Avalanche(AVAX)$10.480.78%
  • daiDai(DAI)$1.00-0.02%
  • USD1USD1(USD1)$1.000.02%
  • hedera-hashgraphHedera(HBAR)$0.0940961.00%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.430.40%
  • BittensorBittensor(TAO)$306.543.85%
  • shiba-inuShiba Inu(SHIB)$0.0000060.74%
  • BitwayBitway(BTW)$1.2626.30%
  • crypto-com-chainCronos(CRO)$0.0659374.18%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • MemeCoreMemeCore(M)$1.20-1.53%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,293.820.43%
  • OndoOndo(ONDO)$0.546.29%
  • EthenaEthena(ENA)$0.25847219.46%
  • okbOKB(OKB)$120.781.21%
  • Ripple USDRipple USD(RLUSD)$1.00-0.02%
  • Circle USYCCircle USYC(USYC)$1.140.03%
  • aaveAave(AAVE)$155.597.04%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.17%
  • mantleMantle(MNT)$0.66-2.88%
  • polkadotPolkadot(DOT)$1.191.81%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Meet Web Stable Diffusion: An AI Project That Brings Stable Diffusion Models To Web Browsers

July 11, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Meet Web Stable Diffusion: An AI Project That Brings Stable Diffusion Models To Web Browsers
ShareShareShareShareShare

Recently, artificial intelligence (AI) models have shown remarkable improvement. The open-source movement has made it simple for programmers to combine different open-source models to create novel applications.

Stable diffusion allows for the automatic generation of photorealistic and other styles of images from text input. Since these models are typically large and computationally intensive, all computations required ta are forwarded to (GPU) servers when building web applications that utilize them. On top of that, most workloads need a specific GPU family on which popular deep-learning frameworks can be run.

The Machine Learning Compilation (MLC) team presents a project as an effort to alter the current situation and increase biodiversity in the environment. They believed numerous benefits could be realized by moving computation to the client, such as lower service provider costs and better-individualized experiences and security.

[Sponsored] 🔥 Build your personal brand with Taplio  🚀 The 1st all-in-one AI-powered tool to grow on LinkedIn. Create better LinkedIn content 10x faster, schedule, analyze your stats & engage. Try it for free!

According to the team, the ML models should be able to transport to a location without the necessary GPU-accelerated Python frameworks. AI frameworks typically rely heavily on hardware vendors’ optimized computed libraries. Therefore backup is important to start over. To maximize returns, unique variants must be generated based on the specifics of each client’s infrastructure.

The proposed web stable diffusion directly puts the regular diffusion model in the browser and runs directly through the client GPU on the user’s laptop. Everything is handled locally within the browser and never touches a server. According to the team, this is the first browser-based stable diffusion in the world.

Here, machine learning compilation technology plays a central role (MLC). PyTorch, Hugging Face diffusers and tokenizers, rust, wasm, and WebGPU are some of the open-source technologies upon which the proposed solution rests. Apache TVM Unity, a fascinating work-in-progress within Apache TVM, is the foundation on which the main flow is constructed.

The team has used the Hugging Face diffuser library’s Runway stable diffusion v1-5 models.

Key model components are captured in an IRModule in TVM using TorchDynamo and Torch FX. The IRModule of the TVM can generate executable code for each function, allowing them to be deployed in any environment that can run at least the TVM minimum runtime (javascript being one of them).

They use TensorIR and MetaSchedule to create scripts that automatically generate efficient code. These transformations are tuned locally to generate optimized GPU shaders utilizing the device’s native GPU runtimes. They provide a repository for these adjustments, allowing future builds to be produced without fine-tuning.

They construct static memory planning optimizations to optimize memory reuse across multiple layers. The TVM web runtime uses Emscripten and typescript to facilitate generating module deployment.

In addition, they use the wasm port of the hugging face rust tokenizers library.

Except for the final step, which creates a 400-loc JavaScript app to tie everything together, the entire workflow is done in Python. Introducing new models is an exciting byproduct of this type of participatory development.

The open-source community is what makes all of this possible. In particular, the team relies on TVM Unity, the most recent and interesting addition to the TVM project, which provides such Python-first interactive MLC development experiences, allowing them to construct additional optimizations in Python and gradually release the app on the web. TVM Unity also facilitates the rapid composition of novel ecosystem solutions.


Check out the Tool and Github Link. All Credit For This Research Goes To the Researchers on This Project. Also, don’t forget to join our 16k+ ML SubReddit, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more.


YOU MAY ALSO LIKE

Apple’s HomePod Mini 2 Will Reportedly Come In New Colors, But Feature A Similar Design

Aikido Security Releases Altar-1: An Open-Weight Security Model Pruned From GLM-5.3 to 328 GB

Tanushree Shenwai is a consulting intern at MarktechPost. She is currently pursuing her B.Tech from the Indian Institute of Technology(IIT), Bhubaneswar. She is a Data Science enthusiast and has a keen interest in the scope of application of artificial intelligence in various fields. She is passionate about exploring the new advancements in technologies and their real-life application.


🔥 StoryBird.ai just dropped some amazing features. Generate an illustrated story from a prompt. Check it out here. (Sponsored)

Credit: Source link

ShareTweetSendSharePin

Related Posts

Apple’s HomePod Mini 2 Will Reportedly Come In New Colors, But Feature A Similar Design
AI & Technology

Apple’s HomePod Mini 2 Will Reportedly Come In New Colors, But Feature A Similar Design

September 25, 2026
Aikido Security Releases Altar-1: An Open-Weight Security Model Pruned From GLM-5.3 to 328 GB
AI & Technology

Aikido Security Releases Altar-1: An Open-Weight Security Model Pruned From GLM-5.3 to 328 GB

September 25, 2026
Perplexity Trains Its Computer Agent on Real Mistakes With Hint-Guided Self-Distillation
AI & Technology

Perplexity Trains Its Computer Agent on Real Mistakes With Hint-Guided Self-Distillation

September 25, 2026
Microsoft’s Copilot App Adds Office, Natural Coding And Automation
AI & Technology

Microsoft’s Copilot App Adds Office, Natural Coding And Automation

September 25, 2026
Next Post
Electronic Dance Music Is Exploding Thanks to Social Media and Mobile

Electronic Dance Music Is Exploding Thanks to Social Media and Mobile

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Current with Christine Romans – Sept. 2 | NBC News NOW

Current with Christine Romans – Sept. 2 | NBC News NOW

September 19, 2026
Columbia Emerging Markets Fund Q2 2026 Commentary

Columbia Emerging Markets Fund Q2 2026 Commentary

September 21, 2026
Women and girls in Afghanistan defy Taliban-imposed laws to receive an education

Women and girls in Afghanistan defy Taliban-imposed laws to receive an education

September 20, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!