From 896debae7d6a6dd0dd7906d5514f97463cf9a34c Mon Sep 17 00:00:00 2001 From: chenyifan01 Date: Tue, 13 Dec 2022 11:10:18 +0800 Subject: [PATCH] #3277 gcu:code unzip --- modules/grampus/grampus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/grampus/grampus.go b/modules/grampus/grampus.go index 665a41123..4fa4c0d68 100755 --- a/modules/grampus/grampus.go +++ b/modules/grampus/grampus.go @@ -31,7 +31,7 @@ const ( RemoteModelPath = "/output/" + models.ModelSuffix autoStopDurationMs = 4 * 60 * 60 * 1000 CommandGpuDebug = "mkdir -p /dataset;%s! [ -x \"$(command -v jupyter)\" ] && pip install jupyterlab==3 -i https://pypi.tuna.tsinghua.edu.cn/simple;jupyter lab --ServerApp.shutdown_no_activity_timeout=%s --TerminalManager.cull_inactive_timeout=%s --TerminalManager.cull_interval=%s --MappingKernelManager.cull_idle_timeout=%s --MappingKernelManager.cull_interval=%s --MappingKernelManager.cull_connected=True --MappingKernelManager.cull_busy=True --no-browser --ip=0.0.0.0 --allow-root --notebook-dir='/code' --port=$OCTOPUS_NOTEBOOK_PORT --LabApp.token='' --LabApp.allow_origin='*' --LabApp.base_url=$OCTOPUS_NOTEBOOK_BASE_URL;" - CommandGrampusDebug = "FILE=%s\nif test -f \"$FILE\"; then\n unzip FILE\n rm FILE\nfi\n " + CommandGpuDebug + CommandGrampusDebug = "unzip %s;" + CommandGpuDebug ) var (