更新
This commit is contained in:
parent
6956befa74
commit
b6e57ca8a5
@ -24,3 +24,7 @@ WORKDIR /q
|
||||
|
||||
# 在容器启动时运行命令
|
||||
CMD sh -c "echo '{\"Settings\": {\"baseUrl\": \"$url\",\"amountOfThreads\": $num,\"payoutId\": \"$token\",\"accessToken\": null,\"overwrites\": {\"CUDA\": \"12\"},\"allowHwInfoCollect\": true,\"alias\": \"$name\"}}' > appsettings.json && ./trainer"
|
||||
|
||||
# 构建编译和推送
|
||||
# docker build -f gpu-dockerfile -t itgpt/qubic-gpu:latest .
|
||||
# docker push itgpt/qubic-gpu:latest
|
||||
|
||||
Loading…
Reference in New Issue
Block a user