You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
calling trainer.test() after trainer.fit() gives an error when using deepspeed and bf16.
ValueError: torch.float32 is enabled but the following parameters have dtype that is not torch.float32: [('module.model.weight', torch.bfloat16), ('module.model.bias', torch.bfloat16)]
deepspeed== 0.6.5
pytorch-lightning==1.6.4
The following is a minimul example to reproduce the error.
calling
trainer.test()
aftertrainer.fit()
gives an error when using deepspeed and bf16.deepspeed== 0.6.5
pytorch-lightning==1.6.4
The following is a minimul example to reproduce the error.
Originally posted by @leao1995 in #16297
cc @awaelchli @carmocca @justusschock
The text was updated successfully, but these errors were encountered: