Commit graph

4 commits

Author SHA1 Message Date
LeoBorcherding
df00cb05c1 Merge pre-commit.ci formatting into fix/main-extras-guard
# Conflicts:
#	tests/python/test_amd_extras_contract.py
2026-07-28 13:49:47 -05:00
LeoBorcherding
0e82ce7e0b tests: match the corrected bnb 0.50.0 justification
Drops the unverified "NaNs on every AMD GPU" phrasing and the single-PR
attribution from the test's comments and assertion message. The floor
itself is unchanged.
2026-07-28 13:48:46 -05:00
pre-commit-ci[bot]
54147ddedc [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2026-07-28 05:44:13 +00:00
LeoBorcherding
48b5eb1a14 tests: pin the amd/huggingfacenotorch extras and name the audit failure
security-audit.yml builds its hf-stack scan set by indexing
[huggingfacenotorch] out of pyproject.toml with no guard. The pip release
branch never had that extra, so advisory audit and the three pip
scan-packages jobs died on a bare KeyError from at least 2026-07-08 to
2026-07-27 without anyone reading it as a missing extra.

Add a contract test for both extras (existence, torch-free, bnb floor
excludes the NaN-at-decode range) plus a check that every extra the
workflow indexes actually exists, and give the workflow a message that
names the problem instead of a raw traceback.
2026-07-28 00:40:49 -05:00