如何访问 HuggingFace Dockerfiles?

问题描述 投票:0回答:0

我想编辑用于运行 HuggingFace Spaces 的 Dockerfile。我知道如何在理论上运行它们,例如对于

https://huggingface.co/spaces/suno/bark
它是

docker run -it -p 7860:7860 --platform=linux/amd64 registry.hf.space/suno-bark:latest python app.py

但我越来越

root@conicserver:/home/conic# docker run -it -p 7860:7860 --platform=linux/amd64 registry.hf.space/suno-bark:latest python app.py
Unable to find image 'registry.hf.space/suno-bark:latest' locally
latest: Pulling from suno-bark
fb668870d8a7: Pull complete 
8a612414e2bc: Pull complete 
2c12f5dee74d: Pull complete 
e8b64516db7f: Pull complete 
5063cc75a5fc: Pull complete 
0b5eea1e39eb: Extracting [======>                                            ]  133.7MB/1.021GB
19026083d6ce: Download complete 
9ec6d9577f70: Download complete 
0b5eea1e39eb: Pull complete 19026083d6ce: Pull complete 
9ec6d9577f70: Pull complete 
4d04e22a64a3: Pull complete c89166c8ea49: Pull complete 
76b0ea444c14: Pull complete bc5a04c3e525: Pull complete c179152e36d5: Extracting  263.4MB/263.4MB771ba14c288e: Download complete 
2899cedea070: Download complete 
2414807518af: Download complete 
25a736419101: Download complete 
67ba7933fa09: Download complete 
46995db4b389: Download complete 
36ad3851a86f: Download complete 
650437900a22: Download complete 
d9d84f975ed8: Download complete 
42ed81d077d9: Download complete 
docker: failed to register layer: Error processing tar file(exit status 1): archive/tar: invalid tar header.
See 'docker run --help'.
root@conicserver:/home/conic# 

如何访问 Dockerfile 来解决这个问题?

docker tar huggingface-transformers
© www.soinside.com 2019 - 2024. All rights reserved.