Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot run Hugging Face Spaces docker images #1502

Closed
jvstme opened this issue Aug 5, 2024 · 2 comments
Closed

[Bug]: Cannot run Hugging Face Spaces docker images #1502

jvstme opened this issue Aug 5, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jvstme
Copy link
Collaborator

jvstme commented Aug 5, 2024

Steps to reproduce

> cat .dstack.yml
type: dev-environment
image: registry.hf.space/skalskip-florence-sam:latest
ide: vscode

> dstack apply --spot

Actual behaviour

 #  BACKEND  REGION      INSTANCE   RESOURCES                    SPOT  PRICE     
 1  aws      us-east-1   m5.xlarge  4xCPU, 16GB, 100.0GB (disk)  yes   $0.0544   
 2  aws      us-west-2   m5.xlarge  4xCPU, 16GB, 100.0GB (disk)  yes   $0.0582   
 3  aws      eu-north-1  m5.xlarge  4xCPU, 16GB, 100.0GB (disk)  yes   $0.0607   
    ...                                                                          
 Shown 3 of 368 offers, $41.0261 max

Submit a new run? [y/n]: y
big-wolverine-1 provisioning completed (terminating)
Cannot create container.
Error: createContainer error: Error response from daemon: No such image: 
registry.hf.space/skalskip-florence-sam:latest
Check CLI and server logs for more details.

Expected behaviour

The dev environment is launched successfully.

dstack version

master

Server logs

No response

Additional information

Hugging Face Spaces docker images use zstd for layer compression. dstack images for VM-based backends use docker 20.10.17 that does not support zstd.

@jvstme
Copy link
Collaborator Author

jvstme commented Aug 12, 2024

Hugging Face Spaces docker images will work in dstack 0.18.10 on AWS, Azure, GCP, OCI, and on-premises. The status for other backends is being clarified.

@jvstme
Copy link
Collaborator Author

jvstme commented Aug 15, 2024

Update: as of dstack 0.18.10, Hugging Face Spaces images work on all backends except Kubernetes (will work in dstack 0.18.11), RunPod and Vast.ai (will likely work once #1535 is done)

@jvstme jvstme closed this as completed Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant