might help
This commit is contained in:
parent
188d116222
commit
611a1c4bdc
|
@ -127,6 +127,9 @@ def main():
|
||||||
if args.dtype != "auto":
|
if args.dtype != "auto":
|
||||||
cfg.trainer.weight_dtype = args.dtype
|
cfg.trainer.weight_dtype = args.dtype
|
||||||
|
|
||||||
|
# necessary to ensure we are actually exporting the weights right
|
||||||
|
cfg.inference.backend = cfg.trainer.backend
|
||||||
|
|
||||||
engines = load_engines(training=False)
|
engines = load_engines(training=False)
|
||||||
engines.export(userdata={"symmap": get_phone_symmap()}, callback=callback)
|
engines.export(userdata={"symmap": get_phone_symmap()}, callback=callback)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user