Commit ca8b3d2
committed
Pin diffusers<0.40 for the tf_min unit test env
The tf_min unit matrix pins `transformers~=4.57`, which requires
`huggingface_hub<1.0`. A fresh env's unbounded diffusers (`diffusers>=0.32.2`)
resolves to diffusers 0.40, which requires `huggingface_hub>=1.23` — an
unsatisfiable combination. The env keeps hub 0.36 (for transformers), so
diffusers 0.40's pipeline import fails (missing `get_cached_repo_tree`);
`is_diffusers_object` then returns False and diffusers models silently misroute
to the LLM export path, failing tests/unit/torch/export/test_export_diffusers.py
on tf_min (on main and every open PR).
Pin `diffusers<0.40` for the tf_min env (resolves to 0.39, which supports
`huggingface_hub<1.0`) so the env stays internally consistent. tf_latest is
unchanged. Validated locally: with the pin, the four failing diffusers export
tests pass under transformers 4.57.
Signed-off-by: Shengliang Xu <shengliangx@nvidia.com>1 parent 913f5e2 commit ca8b3d2
1 file changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | | - | |
47 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
| |||
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
| |||
0 commit comments