Update synthetic.py
This commit is contained in:
parent
7b2282a2ae
commit
10e9692918
1 changed files with 2 additions and 2 deletions
|
|
@ -86,10 +86,10 @@ class SyntheticDataKit:
|
|||
for key, value in engine_args.items():
|
||||
flag = key.replace("_", "-")
|
||||
which = str(value).replace("torch.", "")
|
||||
if which == "true":
|
||||
if which == "True":
|
||||
# Ignore --enforce-eager True
|
||||
subprocess_commands += ["--" + flag,]
|
||||
elif which == "false":
|
||||
elif which == "False":
|
||||
# Ignore flag
|
||||
pass
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue