Goal
Provide native Rust and Python packages for 0xBitNet inference, using wgpu directly (not through JS/WebGPU polyfills).
Rust
- Rust crate using wgpu directly
- Port WGSL shaders (already cross-platform) and inference logic
- Publish to crates.io as
0xbitnet or bitnet-wgpu
Python
- Python package using wgpu-native (via wgpu-py) or Rust bindings via PyO3
pip install 0xbitnet
Dependency
Depends on #2 (Node.js native) for validating the non-browser GPU device injection pattern.
Open Questions
- Rewrite from scratch in Rust, or use wgpu-native FFI from the TS side?
- For Python: pure Python with wgpu-py, or PyO3 wrapper around Rust crate?
Goal
Provide native Rust and Python packages for 0xBitNet inference, using wgpu directly (not through JS/WebGPU polyfills).
Rust
0xbitnetorbitnet-wgpuPython
pip install 0xbitnetDependency
Depends on #2 (Node.js native) for validating the non-browser GPU device injection pattern.
Open Questions