HN user

crowwork

204 karma
Posts23
Comments40
View on HN
mlc.ai 29d ago

Modern GPU Programming for MLSys

crowwork
80pts25
tvm.apache.org 8mo ago

Building an Open ABI and FFI for ML Systems

crowwork
2pts0
github.com 9mo ago

Open ABI and FFI for Machine Learning Systems

crowwork
1pts1
blog.mlc.ai 2y ago

MLCEngine: Universal LLM Deployment to Both Cloud and Local Devices

crowwork
2pts0
old.reddit.com 2y ago

Running Google's Gemma 2B on Android

crowwork
2pts0
apps.apple.com 3y ago

MLC Chat: Chat with Open Language Models Locally on iPad and iPhone

crowwork
2pts0
www.npmjs.com 3y ago

WebLLM NPM Package

crowwork
1pts0
github.com 3y ago

Bringing Hardware Accelerated Language Models to Android Devices

crowwork
2pts0
mlc.ai 3y ago

Bringing Hardware Accelerated Language Models to Consumer Devices

crowwork
1pts0
mlc.ai 3y ago

MLC LLM – Large Language Models on iPhone GPU and Many More GPU Platforms

crowwork
2pts0
github.com 3y ago

MLC LLM: Universal LLM Deployment with GPU Acceleration

crowwork
3pts1
github.com 3y ago

Web LLM

crowwork
6pts0
github.com 3y ago

Web Stable Diffusion

crowwork
254pts41
mlc.ai 3y ago

Running Stable Diffusion fully in browser with WebGPU

crowwork
42pts19
tvm.apache.org 6y ago

TinyML – How TVM Is Taming Tiny

crowwork
6pts0
tvm.apache.org 6y ago

Compiling Machine Learning to WASM and WebGPU with Apache TVM

crowwork
4pts0
github.com 6y ago

FFI Navigator: Language Server for Cross Language FFI Calls

crowwork
2pts0
news.ycombinator.com 6y ago

TVM and Deep Learning Compilation Conference 2019 Videos and Slides

crowwork
2pts0
tvm.ai 7y ago

Automating Optimization of Quantized Deep Learning Models on CUDA

crowwork
13pts2
tvm.ai 7y ago

Golang Runtime for Deep Learning Deployment in TVM

crowwork
2pts1
tvm.ai 7y ago

Automating Generation of Low Precision Deep Learning Operators

crowwork
1pts0
tvm.ai 8y ago

VTA: An Open, Customizable Deep Learning Acceleration Stack

crowwork
23pts2
www.tvmlang.org 8y ago

Optimize Deep Learning GPU Operators with TVM: A Depthwise Convolution Example

crowwork
24pts3

The goal of the project is to bring open ABI and FFI for machine learning systems.

- Stable, minimal C ABI designed for kernels, DSLs, and runtime extensibility. - Zero-copy interop across PyTorch, JAX, and CuPy using DLPack protocol. - Compact value and call convention covering common data types for ultra low-overhead ML applications. - Multi-language support out of the box: Python, C++, and Rust (with a path towards more languages).

[dead] 2 years ago

XGrammar is an open-source library for efficient, flexible, and portable structured generation. Bring 2x-10x speedup in grammar grammar-guided(JSON and CFG) LLM serving.

It certainly also involves generating code(e.g. WebGPU, vulkan) that are more akin to traditionally compiler, and more like graph and memory optimization. So indeed more than packaging.

Please checkout the course if you are interested

tvm runtime is pretty decent(~700k-2M level depending on dependency included), you can checkout tvm community and bring up the question there, i think there might be some common interest. There are impl of runtime for vulkan, metal that can be used as reference.

I think instead what would be needed is a wgpu native runtime support for TVM. Like the implementations in tvm vulkan, then it will be naturally link to any runtime that provides webgpu.h

Then yah the llm_chat.js would be high-level logic that targets the tvm runtime, and can be implemented in any language that tvm runtime support(that includes, js, java, c++ rust etc).

Support webgpu native is an interesting direction. Feel free to open a thread in tvm discuss forum and perhaps there would be fun things to collaborate in OSS

The WGSL are generated and compiled through TVM and embedded into the wasm.

I think what you mean is wgpu native support. At the moment the web gpu runtime dispatches to the js webgpu environment. Once TVM runtime comes with wgpu native support (like the current ones in vulkan or metal), then it is possible to leverage any wgpu native runtime like what Zig provide.

Additionally, currently tvm natively support targets like vulkan, metal directly which allows targeting these other platforms

As TVM continuously demonstrates improvements to the efficiency of deep learning execution, it has become clear that PyTorch stands to benefit from directly leveraging the compiler stack. A major tenet of PyTorch is providing seamless and robust integrations that don’t get in the user’s way. To that end, PyTorch now has an official TVM-based backend, torch_tvm.

“TVM is right for the Apache Software Foundation, and the Apache Software Foundation is right for TVM: One thing the ASF excels at is enabling collaboration across organizations, and encouraging collaboration even among competitors. With contributions from such a wide range of organizations, TVM clearly fits that profile. I am honored to help the project thrive in the ASF,” said Markus Weimer, the ASF member who championed the incubation of TVM at the ASF.

TVM is an open-source deep learning compiler stack for CPUs, GPUs, and specialized accelerators. It aims to close the gap between the productivity-focused deep learning frameworks, and the performance- or efficiency-oriented hardware backends.

The conference contained 20+ talks covering deep learning compilation, specialized accelerators, IoT, ML for systems, privacy/security and more