Metadata-Version: 2.4
Name: gennova
Version: 0.2.2
Summary: GenNova graph-native, device-resident inference runtime built on LiveModule
License-Expression: LicenseRef-Proprietary
Project-URL: Repository, https://github.com/GenNova-HUST/GenNova
Classifier: Development Status :: 3 - Alpha
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: <3.13,>=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: THIRD_PARTY_NOTICES.md
Requires-Dist: PyYAML>=6
Requires-Dist: aiohttp<4,>=3.14.5
Dynamic: license-file

# GenNova 0.2.2

GenNova serves ordinary Transformer models through `gennova serve transformer`. The native autoregressive scheduler gives a queued prompt a small first prefill chunk when another prompt would otherwise fill the wave. Decode keeps its existing priority.

## Installation

Install the CPython 3.12 Linux ARM64 wheel in a prepared Ascend environment.

```sh
python3.12 -m pip install gennova==0.2.2
gennova --help
```

The wheel requires glibc 2.35 or newer, a compatible CANN and ATB 9.1 environment, Torch 2.10.0, Torch-NPU 2.10.0.post4, and the matching Ascend Triton provider. Prepare a compatible checkpoint and tokenizer separately.

## Verified serving profiles

The bounded release check uses Ascend 910C, tensor parallel size 2, and two idle dies on the same board. The models are Qwen3-4B BF16 and Qwen3-32B BF16.

| Model | Context | Decode requests | Mixed tokens | Token pages | Service slots |
| --- | ---: | ---: | ---: | ---: | ---: |
| Qwen3-4B or Qwen3-32B | 1,024 | 1 | 128 | 64 | 8 |
| Qwen3-32B | 8,192 | 4 | 1,024 | 256 | 32 |

Start the engine with the corresponding capacity settings, a checkpoint path, and an owner-only API key file. The engine streams through its OpenAI-compatible HTTP interface. Use authenticated shutdown to drain accepted work before releasing the devices.

The wheel contains compiled host extensions and the prepared Ascend device payload. The verified scope is limited to the configurations above. The GenNova Box launcher is distributed separately.
