diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-11-05 19:30:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-05 19:30:57 +0300 |
commit | ff805d8d0eb8e3de42f04747de0d1c7354491810 (patch) | |
tree | c6e557895ff3172bad42da469a6912ac718078a1 /modules/shared_state.py | |
parent | 44c5097375ae4cf40300c09473bb46cf6c5d6cb7 (diff) | |
parent | c3699d4fd185d5a7285c5519f9bb4b6fec236d9f (diff) |
Merge branch 'dev' into master
Diffstat (limited to 'modules/shared_state.py')
-rw-r--r-- | modules/shared_state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared_state.py b/modules/shared_state.py index d272ee5b..a68789cc 100644 --- a/modules/shared_state.py +++ b/modules/shared_state.py @@ -103,6 +103,7 @@ class State: def begin(self, job: str = "(unknown)"):
self.sampling_step = 0
+ self.time_start = time.time()
self.job_count = -1
self.processing_has_refined_job_count = False
self.job_no = 0
@@ -114,7 +115,6 @@ class State: self.skipped = False
self.interrupted = False
self.textinfo = None
- self.time_start = time.time()
self.job = job
devices.torch_gc()
log.info("Starting job %s", job)
|