nnx-lm: A portable, pip-installable CLI for running LLMs via JAX on any hardware backend.
Project description
nnx-lm: A portable, pip-installable CLI for running LLMs via JAX on any hardware backend.
pip install nnx-lm==0.0.1a5
import nnxlm
new_str, new_ids = nnxlm.generate(model_id='Qwen/Qwen3-0.6B', model_cls=nnxlm.Qwen3ForCausalLM, enable_thinking=False, use_chat_template=False)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nnx_lm-0.0.1a5.tar.gz
(8.7 kB
view details)
File details
Details for the file nnx_lm-0.0.1a5.tar.gz.
File metadata
- Download URL: nnx_lm-0.0.1a5.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
241718c263e311dd05bca3a8821759c7bee157fcd2390f7d39354fdf7c723c56
|
|
| MD5 |
9645fd73b34964405f46fde051880952
|
|
| BLAKE2b-256 |
c5121d00feca56b6f2a39ff07dec0250290430630d9bacf3a1da54c7256f0dc1
|