mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-08 04:27:44 +00:00
feat: add restart and fix unzip (#538)
* add restart function * update * fix ci * update code * fix restart --------- Co-authored-by: yuanteli <1957922024@qq.com> Co-authored-by: Xu Yang <xuyang1@microsoft.com>
This commit is contained in:
@@ -464,7 +464,7 @@ class DockerEnv(Env[DockerConf]):
|
||||
if self.conf.enable_cache:
|
||||
out = self.cached_run(entry_add_timeout, local_path, env, running_extra_volume)
|
||||
else:
|
||||
out = self.__run(entry, local_path, env, running_extra_volume, remove_timestamp=False)
|
||||
out = self.__run(entry_add_timeout, local_path, env, running_extra_volume, remove_timestamp=False)
|
||||
end = time.time()
|
||||
|
||||
if end - start + 1 >= self.conf.running_timeout_period:
|
||||
|
||||
Reference in New Issue
Block a user