You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Phi4MMGPTQ.require_pkgs is empty; test_model.py expects backoff>=2.2.1 and optimum>=1.24.0 #6365
tests/test_model.py::test_phi4_model_definition_requires_required_packages is red on main at be148244 and already red at 89dbcf91: Phi4MMGPTQ.require_pkgs is empty, although the definition needs backoff>=2.2.1 and optimum>=1.24.0.
test_model.py:446: in test_phi4_model_definition_requires_required_packages
assert "backoff>=2.2.1" in Phi4MMGPTQ.require_pkgs
E AssertionError: assert 'backoff>=2.2.1' in []
E + where [] = Phi4MMGPTQ.require_pkgs
Root cause
gptqmodel/models/definitions/phi4.py declares require_pkgs = [] on Phi4MMGPTQ. The Phi-4 multimodal path uses the remote-code/retry helpers that need backoff and optimum, so the empty declaration removes the loader's early version check and turns a missing dependency into a later, obscure failure.
Classification: pre-existing product bug (dependency declaration), also red at 89dbcf91.
Activity
fix(models): correct phi4 package metadata and drop dead GGUF eval hi…