A transformer processor library written in Rust, featuring support for both native and WebAssembly targets. This library is written with Cursor.
This workspace contains:
processor/
: The core processor library (rust_processor
), pure processing logicexample/
: Example applications using the processor library
cd example
git clone https://huggingface.co/mlx-community/gemma-3-4b-it-4bit
cargo build --release
../target/release/main
cargo build -p rust_processor --target wasm32-wasip1 --release