news.volyx.in

Stable Diffusion WebGPU demo (islamov.ai)

473 points by aislamov · 1136 days ago · 116 comments on HN

Article summary

The article appears to be about a Stable Diffusion WebGPU demo, but the text is not available. The discussion revolves around the demo's requirements, such as enabling specific Chrome flags, and issues with getting it to work. Some commenters mention alternative demos and approaches, like using Apache TVM or GGML style. The conversation also touches on the development and security of WebAssembly.

Main themes

  • WebAssembly development
  • Stable Diffusion demo
  • WebGPU and performance
  • Security and sandboxing
  • ONNX vs GGML style
  • Browser compatibility and flags

What commenters say

  • Enabling Experimental WebAssembly and WebAssembly JavaScript Promise Integration flags is necessary to run the demo.
  • The development of WebAssembly is slower compared to JavaScript due to its complex execution model and security constraints.
  • Previous attempts at creating sandboxed environments, like Java plugin and PNaCL, had security issues, but the premise is still valuable.
  • Some argue that WebAssembly has flaws, citing research papers on binary security and Spectre vulnerabilities.
  • Others believe that WebAssembly's design and constraints make it more secure than its predecessors.
  • The use of ONNX versus GGML style is debated, with some preferring the latter for its flexibility and performance.
  • Implementing new features in WebAssembly is more complex than in JavaScript due to its security model and optimization requirements.