You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
问题描述 / Problem Description
按照docs/install/README_docker.md部署后正常使用,重启后使用xinference界面,再次加载缓存模型,出现如下错误:OSError: [address=0.0.0.0:39697, pid=93] /root/.xinference/cache/qwen2-instruct-pytorch-1_5b does not appear to have a file named config.json. Checkout 'https://huggingface.co//root/.xinference/cache/qwen2-instruct-pytorch-1_5b/tree/None' for available files.
To resolve the OSError related to the missing config.json file when restarting the Docker-Compose deployment for Xinference, ensure that the local directory where config.json is supposed to be located is correctly mounted in the docker-compose.yaml file. According to your configuration, the local directory /home/user/xinference/cache is mounted to /root/.xinference in the container. Make sure that the config.json file exists in the /home/user/xinference/cache directory on your host machine.
Additionally, verify that the cache directories are correctly mounted by ensuring the following lines in your docker-compose.yaml are correct:
Ensure that the directory /home/user/xinference/cache contains the necessary model files, including config.json. If the model source is set to ModelScope, verify that the model files are compatible and available in the expected structure.
问题描述 / Problem Description
按照docs/install/README_docker.md部署后正常使用,重启后使用xinference界面,再次加载缓存模型,出现如下错误:OSError: [address=0.0.0.0:39697, pid=93] /root/.xinference/cache/qwen2-instruct-pytorch-1_5b does not appear to have a file named config.json. Checkout 'https://huggingface.co//root/.xinference/cache/qwen2-instruct-pytorch-1_5b/tree/None' for available files.
docker-compose.yaml配置如下:
The text was updated successfully, but these errors were encountered: