Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Birkhoff-Archive
/
oneapi
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
oneapi
/
start.sh
Chenhao
添加了重启时的强制同步拉取功能
be8a1bb
over 1 year ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
260 Bytes
set
-ex
# 首先执行初始化并等待完成
python3 /app/sync.py --mode init
# 如果初始化成功,启动同步服务
python3 /app/sync.py --mode
sync
&
# 等待几秒确保同步服务正常启动
sleep
1
# 启动 one-api 服务
ls
/data
/one-api