Skip to content

ARGUS v0.5.2 — one copy of every module

Choose a tag to compare

@Zwannfrederick Zwannfrederick released this 16 Sep 18:47
· 125 commits to main since this release

Repository hygiene and packaging. No runtime behaviour changed, and no module under argus_cache/ was touched.

Removed the root core/ and models/ re-export shims. They existed so tests and benchmarks importing core.memory_manager and models.attention_wrapper would reach the canonical modules rather than a second copy — the root attention wrapper had once drifted 121 lines and silently dropped pipeline= and balloon_driver=, handing callers a cache that ignored its own tier configuration. All 17 importers now use argus_cache.core.* and argus_cache.models.* directly, so the shims have no callers and are gone. A package that does not exist cannot drift, and v0.5.2 no longer ships models/ at all.

The guard survives in the form the new layout needs. tests/test_import_hygiene.py fails if core/ or models/ reappears at the repository root, and if anything under tests/ or benchmarks/ imports them again. Both checks were verified to fail when violated, not only to pass when clean.

Added a packaging workflow. It builds the sdist, runs twine check, asserts the sdist would install only argus_cache and argus_cpp_backend, and runs the offline hygiene tests. It deliberately does not run the test suite: hosted runners have no CUDA device, so a green badge here means the package ships the right files, not that ARGUS works. The full suite runs locally.

Full local suite after the change: 383 passed, 13 skipped — unchanged from before it.

pip install torch
pip install --no-build-isolation argus-cache