"...composable_kernel_rocm.git" did not exist on "863222181477ff42e809d034428f9160490a63ba"
Commit d67c3051 authored by Patrick von Platen's avatar Patrick von Platen
Browse files

allow conversion from no state dict checkpoints

parent 2bd53a94
......@@ -866,6 +866,8 @@ if __name__ == "__main__":
else:
print("global_step key not found in model")
global_step = None
if "state_dict" in checkpoint:
checkpoint = checkpoint["state_dict"]
upcast_attention = False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment