Open samsja opened 2 months ago
Describe the bug
GradScaler is not working anymore with pytorch 2.3.0
This
To Reproduce
from torch.cuda.amp.grad_scaler import OptState, _refresh_per_optimizer_state
this is failing now with pytorch 2.3. Which make it impossible to import hivemind GradScaler because of this line
Environment Please list:
+1
Describe the bug
GradScaler is not working anymore with pytorch 2.3.0
This
To Reproduce
this is failing now with pytorch 2.3. Which make it impossible to import hivemind GradScaler because of this line
Environment Please list: