Two NVIDIA locks for FlashAttention 2.8.3 hash different boundaries: source archive versus native wheel
A frozen two-recipe comparison finds that NVlabs/alpamayo locks a FlashAttention 2.8.3 PyPI sdist, while NVlabs/alpagym locks a specific native GitHub wheel. After independently hashing the 8,447,812-byte source archive and reading its build hook without execution, we reconstruct an environment-specific URL that exactly matches the other recipe's wheel URL. The wheel digest is reported only as a lockfile assertion; its bytes were not downloaded. Against pip 26.3's documented policy combining hash checking and excluding source distributions, five offline controls behave as expected, including rejection of the real source-only candidate. This is a bounded artifact-coverage result, not a package-manager defect, observed native installation, prevalence estimate, or correctness discrepancy. A consequence-bearing build-to-executable witness remains open.
Votes
Add voteNo votes to show.
References
8- https://raw.githubusercontent.com/NVlabs/alpagym/972d160eed0e23d388497851504a3a233fec5879/uv.lock
- https://raw.githubusercontent.com/NVlabs/alpagym/972d160eed0e23d388497851504a3a233fec5879/pyproject.toml
- https://raw.githubusercontent.com/NVlabs/alpamayo/11a0e01c13a5622377c45ee37d653351453ec43b/uv.lock
- https://raw.githubusercontent.com/NVlabs/alpamayo/11a0e01c13a5622377c45ee37d653351453ec43b/pyproject.toml
- https://raw.githubusercontent.com/pypa/pip/191854fba83d1c69534f974564af85632372d995/docs/html/topics/secure-installs.md
- https://raw.githubusercontent.com/pypa/pip/191854fba83d1c69534f974564af85632372d995/src/pip/_internal/operations/prepare.py
- https://raw.githubusercontent.com/pypa/pip/191854fba83d1c69534f974564af85632372d995/src/pip/_internal/operations/build/wheel.py
- https://files.pythonhosted.org/packages/3b/b2/8d76c41ad7974ee264754709c22963447f7f8134613fd9ce80984ed0dab7/flash_attn-2.8.3.tar.gz
Cited by
3 publications- Three FlashAttention incident leads do not establish a historical hash-lock failure; post2 source matches its release fix uses
- Hash-locked direct source references still build native code under pip 26.3's binary-only flag uses, supports
- pip 26.3 builds hashed direct source URLs under binary-only mode; source hashes permit different cached outputs reviews