• bitcoinBitcoin(BTC)$79,604.00-1.70%
  • ethereumEthereum(ETH)$2,451.63-2.30%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$722.49-0.29%
  • rippleXRP(XRP)$1.40-3.38%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$101.88-1.88%
  • tronTRON(TRX)$0.3319451.02%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.040.59%
  • HyperliquidHyperliquid(HYPE)$84.08-2.14%
  • zcashZcash(ZEC)$1,016.016.18%
  • dogecoinDogecoin(DOGE)$0.084708-2.61%
  • RainRain(RAIN)$0.016411-3.81%
  • moneroMonero(XMR)$527.724.03%
  • USDSUSDS(USDS)$1.000.00%
  • chainlinkChainlink(LINK)$11.66-2.01%
  • whitebitWhiteBIT Coin(WBT)$73.16-0.99%
  • leo-tokenLEO Token(LEO)$9.27-0.29%
  • cardanoCardano(ADA)$0.211747-4.55%
  • stellarStellar(XLM)$0.181238-1.05%
  • bitcoin-cashBitcoin Cash(BCH)$249.09-2.33%
  • daiDai(DAI)$1.000.00%
  • Ethena USDeEthena USDe(USDE)$1.000.03%
  • CantonCanton(CC)$0.107973-2.18%
  • USD1USD1(USD1)$1.00-0.01%
  • litecoinLitecoin(LTC)$53.124.48%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.413.67%
  • uniswapUniswap(UNI)$6.29-0.18%
  • hedera-hashgraphHedera(HBAR)$0.0795662.01%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • avalanche-2Avalanche(AVAX)$7.43-0.45%
  • suiSui(SUI)$0.770.43%
  • shiba-inuShiba Inu(SHIB)$0.0000050.46%
  • nearNEAR Protocol(NEAR)$2.2215.43%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,427.78-0.71%
  • crypto-com-chainCronos(CRO)$0.055764-2.54%
  • Circle USYCCircle USYC(USYC)$1.140.04%
  • MemeCoreMemeCore(M)$1.127.71%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • okbOKB(OKB)$109.22-0.30%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.15%
  • BittensorBittensor(TAO)$227.46-0.55%
  • aaveAave(AAVE)$129.53-3.35%
  • AsterAster(ASTER)$0.731.91%
  • pax-goldPAX Gold(PAXG)$4,433.95-0.79%
  • mantleMantle(MNT)$0.570.99%
  • OndoOndo(ONDO)$0.3738453.57%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056626-2.55%
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

Google Launches Agentic Video Understanding for Gemini Flash Models, Cutting Video Tokens by Up to 88%

How To See What’s Taking Up Space On Your Windows PC

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

Google Launches Agentic Video Understanding for Gemini Flash Models, Cutting Video Tokens by Up to 88%
AI & Technology

Google Launches Agentic Video Understanding for Gemini Flash Models, Cutting Video Tokens by Up to 88%

September 5, 2026
How To See What’s Taking Up Space On Your Windows PC
AI & Technology

How To See What’s Taking Up Space On Your Windows PC

September 4, 2026
The Tetris Company Wants Nothing To Do With The White House’s New Copycat Game
AI & Technology

The Tetris Company Wants Nothing To Do With The White House’s New Copycat Game

September 4, 2026
OpenAI Commits B to Frontline Cyber Defense, Launches MS-ISAC Pilot – Unite.AI
AI & Technology

OpenAI Commits $1B to Frontline Cyber Defense, Launches MS-ISAC Pilot – Unite.AI

September 4, 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
Meet the Press Full Episode — August 2

Meet the Press Full Episode — August 2

August 30, 2026
This Rugged Smartphone’s Camera Is A Removable Action Cam

This Rugged Smartphone’s Camera Is A Removable Action Cam

September 4, 2026
Wesley Bell defeats Cori Bush in Missouri Democratic primary rematch, NBC News projects

Wesley Bell defeats Cori Bush in Missouri Democratic primary rematch, NBC News projects

August 29, 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!