Repository navigation
v0.1.1
nvSubquadratic 0.1.1
Dependency hygiene release — no behavior or public-API changes.
Changed
- Accelerated CUDA kernels are now an opt-in
[cuda]extra.subquadratic-ops-torch-cu12is a source-only sdist that needsnvccto build; as a core dependency it madepip install nvsubquadraticfail in environments without a CUDA toolchain (e.g. a downstream project's CPU CI). It's nowpip install 'nvsubquadratic[cuda]'. The kernel is imported lazily; the defaultfft_backend="torch_fft"path is portable and needs no CUDA kernel. Selectingfft_backend="subq_ops"without it raises a clearImportError. megatron-core→[distributed],timm→[baselines]. Neither is needed to import or run the operators.init_parallel_state()/ ConvNeXt-baselineDropPathraise clearImportErrors pointing to the right extra when absent.- Dropped
protobufandhuggingface_hubfrom the explicit dependency list (not imported anywhere; arrive transitively viawandb/datasets). - Extras are now
[cuda],[quack],[dali],[distributed],[baselines], and[all](union of all five). Requires-Pythonlowered to>=3.10(was>=3.11); CI byte-compiles on 3.10/3.11/3.12. The wheel is pure-Python (py3-none-any).
Install: pip install nvsubquadratic (GPU-first, batteries-included) · full PyPI listing: https://pypi.org/project/nvsubquadratic/0.1.1/