might help

This commit is contained in:
mrq 2024-07-22 20:57:01 -05:00
parent 188d116222
commit 611a1c4bdc

View File

@ -127,6 +127,9 @@ def main():
if args.dtype != "auto":
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.export(userdata={"symmap": get_phone_symmap()}, callback=callback)