Set workers=0 for MPS Train and Val modes (#4697)
This commit is contained in:
parent
2bc6e647c7
commit
a4fabfdacf
14 changed files with 88 additions and 74 deletions
|
|
@ -9,11 +9,12 @@ try:
|
|||
import wandb as wb
|
||||
|
||||
assert hasattr(wb, '__version__')
|
||||
|
||||
_processed_plots = {}
|
||||
|
||||
except (ImportError, AssertionError):
|
||||
wb = None
|
||||
|
||||
_processed_plots = {}
|
||||
|
||||
|
||||
def _log_plots(plots, step):
|
||||
for name, params in plots.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue