Spaces:
Running on Zero
Pin accelerate and peft to release versions instead of git HEAD
Browse filesBoth were installed via unpinned git+https://..., so every fresh build
silently pulled whatever was on GitHub main that day — the same class
of drift that caused today's diffusers/huggingface-hub conflict. This
Space went 5 weeks without a rebuild before today's AWS-outage-forced
restart pulled a month of accumulated upstream changes at once; pinning
accelerate/peft closes off that same failure mode for accelerate/peft
specifically.
Pinned to the latest released versions (accelerate==1.14.0, which the
unpinned build had already drifted past to 1.15.0.dev0; peft==0.19.1,
past 0.19.2.dev0). Verified via a real pip dry-run resolve alongside
diffusers==0.39.0 and transformers==4.57.1 that this combination
resolves cleanly with no conflicts. Neither package is imported
directly anywhere in this repo (they're consumed internally by
diffusers' ModelMixin/PeftAdapterMixin/QwenImageLoraLoaderMixin), and
diffusers 0.39.0 only requires accelerate>=0.31.0 and peft>=0.17.0, so
both releases are comfortably within range.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- requirements.txt +2 -2
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
|
| 2 |
diffusers==0.39.0
|
| 3 |
-
|
| 4 |
transformers==4.57.1
|
| 5 |
huggingface_hub
|
| 6 |
pyarrow
|
|
|
|
| 1 |
+
accelerate==1.14.0
|
| 2 |
diffusers==0.39.0
|
| 3 |
+
peft==0.19.1
|
| 4 |
transformers==4.57.1
|
| 5 |
huggingface_hub
|
| 6 |
pyarrow
|