feat(diffusers): add MPS version (#6121)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto
2025-08-22 23:14:54 +02:00
committed by GitHub
parent d04bd47116
commit 0fd395d6ec
5 changed files with 33 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
torch==2.7.1
torchvision==0.22.1
git+https://github.com/huggingface/diffusers
opencv-python
transformers
accelerate
compel
peft
sentencepiece
optimum-quanto

View File

@@ -12,4 +12,6 @@ if [ -d "/opt/intel" ]; then
export XPU=1
fi
export PYTORCH_ENABLE_MPS_FALLBACK=1
startBackend $@