Commit
·
d8cc4ae
1
Parent(s):
ce0dc9e
fix: bump huggingface-hub to 0.17.3 to satisfy diffusers import (split_torch_state_dict_into_shards)
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -36,8 +36,8 @@ RUN python -m pip install --upgrade pip && \
|
|
| 36 |
python -m pip uninstall -y xformers || true && \
|
| 37 |
# Speed up and lower RAM during model load (avoid upgrading hub)
|
| 38 |
python -m pip install --no-deps accelerate && \
|
| 39 |
-
# Ensure compatible hub version
|
| 40 |
-
python -m pip install --upgrade --force-reinstall "huggingface-hub==0.
|
| 41 |
|
| 42 |
EXPOSE 7860
|
| 43 |
|
|
|
|
| 36 |
python -m pip uninstall -y xformers || true && \
|
| 37 |
# Speed up and lower RAM during model load (avoid upgrading hub)
|
| 38 |
python -m pip install --no-deps accelerate && \
|
| 39 |
+
# Ensure compatible hub version providing required symbols
|
| 40 |
+
python -m pip install --upgrade --force-reinstall "huggingface-hub==0.17.3" "diffusers==0.23.0"
|
| 41 |
|
| 42 |
EXPOSE 7860
|
| 43 |
|