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.1a4
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.1a4.tar.gz
(8.7 kB
view details)
File details
Details for the file nnx_lm-0.0.1a4.tar.gz.
File metadata
- Download URL: nnx_lm-0.0.1a4.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 |
7a6b435c7fc7d56f221e8170916956200e35ccaa97c04fca680c6c9c5f27f9dd
|
|
| MD5 |
420d0377541a9fdbbd2e84249ada44c1
|
|
| BLAKE2b-256 |
d0e80b0763e05453feaf63f7dc90f6523fd3019185e43c46e04dbc57d3148cf3
|