Spaces:
Runtime error
Runtime error
How to run on Docker ?
#10
by
JephyDa1st
- opened
After running:
docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all
registry.hf.space/yupengzhou-storydiffusion:latest python app.py
the error: Pipelines loaded with dtype=torch.float16
cannot run with cpu
device. It is not recommended to move them to cpu
as running them will fail. Please make sure to use an accelerator to run the pipeline in inference, due to the lack of support forfloat16
operations on this device in PyTorch. Please, remove the torch_dtype=torch.float16
argument, or use another device for inference.
the Error shows after a few models have been downloaded.
Note my Current Laptop OS is Windows 11, 16GB GPU