Skip to content

Commit

Permalink
fix --skip-ort
Browse files Browse the repository at this point in the history
  • Loading branch information
lshqqytiger committed Feb 16, 2024
1 parent 835ee20 commit 7ed2ff1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/shared_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ def initialize():
shared.mem_mon = memmon.MemUsageMonitor("MemMon", devices.device, shared.opts)
shared.mem_mon.start()

initialize_onnx()
if not cmd_opts.skip_ort:
initialize_onnx()

1 comment on commit 7ed2ff1

@f1am3d
Copy link

@f1am3d f1am3d commented on 7ed2ff1 Feb 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please don't commit such small fixes directly into the master branch without proper testing?

#390

Please sign in to comment.