Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
intentionally skipped tensors (tokenizer, rope_freqs) from
genuinely unmapped ones.
- `gguf` optional dependency group in `pyproject.toml`
(`pip install mobius-ai[gguf]`).
(`pip install mobius-onnx[gguf]`).
- 28 unit tests for GGUF reader, config mapping, tensor mapping,
tensor processors, and CLI using synthetic GGUF files.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/build_from_gguf.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from mobius import build_from_gguf
```

> **Note**: Requires the optional `gguf` package:
> `pip install mobius-ai[gguf]`
> `pip install mobius-onnx[gguf]`

## Signature

Expand Down
2 changes: 1 addition & 1 deletion docs/cli_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ mobius build --model Qwen/Qwen2.5-0.5B output_dir/ \

Build an ONNX model from a GGUF file (e.g. from llama.cpp).

> **Note**: Requires the optional `gguf` package: `pip install mobius-ai[gguf]`
> **Note**: Requires the optional `gguf` package: `pip install mobius-onnx[gguf]`

### Synopsis

Expand Down
2 changes: 1 addition & 1 deletion docs/design/gguf-support-proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ Add `gguf` as an optional dependency in a new extras group:
[project.optional-dependencies]
gguf = ["gguf>=0.10.0"]
# Combined:
all = ["mobius-ai[transformers,gguf]"]
all = ["mobius-onnx[transformers,gguf]"]
```

The `gguf` import is lazy — users who don't use GGUF features
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ automatic weight downloading and conversion, including bfloat16 models via
## Installation

```bash
pip install mobius-ai
pip install mobius-onnx
```

For development and testing:
Expand Down Expand Up @@ -112,7 +112,7 @@ mobius build-gguf path/to/model.gguf --output output/model/
```

> **Note**: GGUF support requires the optional `gguf` package:
> `pip install mobius-ai[gguf]`
> `pip install mobius-onnx[gguf]`

### Build quantized models (GPTQ/AWQ)

Expand Down
2 changes: 1 addition & 1 deletion examples/diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def main():
except ImportError:
print(
"Error: mobius is not installed.\n"
"Install with: pip install mobius-ai[transformers]",
"Install with: pip install mobius-onnx[transformers]",
file=sys.stderr,
)
sys.exit(1)
Expand Down
2 changes: 1 addition & 1 deletion examples/fun_asr.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

Prerequisites::

pip install mobius-ai[transformers] sounddevice torchaudio pyyaml
pip install mobius-onnx[transformers] sounddevice torchaudio pyyaml

Usage::

Expand Down
2 changes: 1 addition & 1 deletion examples/gemma4_12b_text_ort_genai.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

Requirements::

pip install mobius-ai[ort-genai] transformers
pip install mobius-onnx[ort-genai] transformers
# plus a per-layer-KV-aware onnxruntime-genai build

Usage::
Expand Down
2 changes: 1 addition & 1 deletion examples/gemma4_genai.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

Requirements::

pip install mobius-ai[transformers] onnxruntime-genai
pip install mobius-onnx[transformers] onnxruntime-genai

Usage::

Expand Down
2 changes: 1 addition & 1 deletion examples/gemma4_multimodal.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

Prerequisites::

pip install mobius-ai[transformers]
pip install mobius-onnx[transformers]
pip install torchaudio pillow # for audio and image loading

Usage::
Expand Down
2 changes: 1 addition & 1 deletion examples/gemma4_ort_genai.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

Requirements::

pip install mobius-ai[ort-genai]
pip install mobius-onnx[ort-genai]

Usage::

Expand Down
2 changes: 1 addition & 1 deletion examples/gemma4_unified_ort_genai.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

Requirements::

pip install mobius-ai[ort-genai] transformers pillow librosa
pip install mobius-onnx[ort-genai] transformers pillow librosa
# plus a per-layer-KV-aware onnxruntime-genai build (see caveat 1)

Usage::
Expand Down
2 changes: 1 addition & 1 deletion examples/mms.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

Prerequisites::

pip install mobius-ai[transformers] torchaudio
pip install mobius-onnx[transformers] torchaudio
pip install sounddevice # for --mic, --live, or audio playback

Usage::
Expand Down
2 changes: 1 addition & 1 deletion examples/model_builder_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ def _expected_counts(model_id: str) -> dict[str, int] | None:

def _mobius_version() -> str:
try:
return importlib.metadata.version("mobius-ai")
return importlib.metadata.version("mobius-onnx")
except importlib.metadata.PackageNotFoundError:
pass
try:
Expand Down
4 changes: 2 additions & 2 deletions examples/nemotron_fastconformer_rnnt.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@

Prerequisites::

pip install mobius-ai onnxruntime onnxruntime-easy librosa soundfile sentencepiece
pip install mobius-onnx onnxruntime onnxruntime-easy librosa soundfile sentencepiece
pip install sounddevice # only for microphone input

The example runs ONNX models through ``mobius._testing.ort_inference``,
which depends on ``onnxruntime`` and ``onnxruntime-easy`` (these are not
pulled in by the ``mobius-ai`` core package). ``torch`` is a core mobius
pulled in by the ``mobius-onnx`` core package). ``torch`` is a core mobius
dependency and is installed automatically.

Tested on Linux/x86-64 (CPU and CUDA). On Apple Silicon / other platforms
Expand Down
2 changes: 1 addition & 1 deletion examples/olive/ministral-3-3b-vlm/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Mobius (ONNX model construction) — install from this repo:
# pip install -e '.[transformers]'
# Or from PyPI/git:
# pip install mobius-ai[transformers]
# pip install mobius-onnx[transformers]

torch>=2.10.0,<2.11.0
transformers>=4.57.0
Expand Down
2 changes: 1 addition & 1 deletion examples/personaplex/moshi_ort.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

Prerequisites::

pip install mobius-ai onnxruntime numpy soundfile
pip install mobius-onnx onnxruntime numpy soundfile

CUDA note: on H200 / Ampere+ GPUs ORT defaults to TF32 for fp32 matmul, which
can flip greedy sampling. ``--device cuda`` sets ``use_tf32=0`` for fp32
Expand Down
2 changes: 1 addition & 1 deletion examples/phi4mm_multimodal.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

Prerequisites::

pip install mobius-ai[transformers] torchaudio
pip install mobius-onnx[transformers] torchaudio

Usage::

Expand Down
2 changes: 1 addition & 1 deletion examples/phi4mm_ort_genai.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

Requirements::

pip install mobius-ai[ort-genai] torchaudio
pip install mobius-onnx[ort-genai] torchaudio

Usage::

Expand Down
2 changes: 1 addition & 1 deletion examples/qwen25_vl_ort_genai.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Requirements::

pip install mobius-ai[ort-genai]
pip install mobius-onnx[ort-genai]

Usage::

Expand Down
2 changes: 1 addition & 1 deletion examples/qwen35_vl_ort_genai.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

Requirements::

pip install mobius-ai[ort-genai]
pip install mobius-onnx[ort-genai]

Usage::

Expand Down
2 changes: 1 addition & 1 deletion examples/qwen3_6_35b_a3b_ort_genai.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

Requirements::

pip install mobius-ai[ort-genai]
pip install mobius-onnx[ort-genai]
# For INT4 quantization (Olive from source recommended):
pip install -e /path/to/Olive cupy-cuda12x

Expand Down
2 changes: 1 addition & 1 deletion examples/qwen3_asr.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

Prerequisites::

pip install mobius-ai[transformers] sounddevice
pip install mobius-onnx[transformers] sounddevice

Usage::

Expand Down
2 changes: 1 addition & 1 deletion examples/qwen3_forced_aligner.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

Prerequisites::

pip install mobius-ai[transformers] torchaudio
pip install mobius-onnx[transformers] torchaudio

Usage::

Expand Down
2 changes: 1 addition & 1 deletion examples/qwen3_tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

Prerequisites::

pip install mobius-ai[transformers] sounddevice soundfile
pip install mobius-onnx[transformers] sounddevice soundfile

Usage::

Expand Down
2 changes: 1 addition & 1 deletion examples/qwen3_tts_voice_clone.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

Prerequisites::

pip install mobius-ai[transformers] sounddevice soundfile librosa
pip install mobius-onnx[transformers] sounddevice soundfile librosa

Usage::

Expand Down
4 changes: 2 additions & 2 deletions examples/qwen3_vl_ort_genai.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

Requirements::

pip install mobius-ai[ort-genai] onnxruntime-gpu # for CUDA
pip install mobius-ai[ort-genai] onnxruntime # for CPU only
pip install mobius-onnx[ort-genai] onnxruntime-gpu # for CUDA
pip install mobius-onnx[ort-genai] onnxruntime # for CPU only

Supported dtype/EP combinations::

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"

[project]
name = "mobius-ai"
name = "mobius-onnx"
dynamic = ["version"]
description = "ONNX model definitions for GenAI using onnxscript.nn"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/mobius/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def _cmd_build_gguf(args: argparse.Namespace) -> None:
from mobius.integrations.gguf import build_from_gguf
except ImportError:
print(
"GGUF support requires the gguf package. Install with: pip install mobius-ai[gguf]"
"GGUF support requires the gguf package. Install with: pip install mobius-onnx[gguf]"
)
raise SystemExit(1)

Expand Down
2 changes: 1 addition & 1 deletion tests/ort_genai_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
onnxruntime-genai inference runtime. Requires the ``ort-genai``
extra to be installed::

pip install mobius-ai[ort-genai]
pip install mobius-onnx[ort-genai]

Run::

Expand Down
Loading