Skip to content

Fix GradScaler import on torch >= 2.3.0 #2581

Fix GradScaler import on torch >= 2.3.0

Fix GradScaler import on torch >= 2.3.0 #2581

Triggered via pull request November 11, 2024 01:34
Status Success
Total duration 32s
Artifacts

check-style.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
codespell: hivemind/averaging/averager.py#L82
re-declare ==> redeclare
codespell: hivemind/averaging/matchmaking.py#L493
re-declared ==> redeclared
codespell: hivemind/optim/optimizer.py#L78
optimzier ==> optimizer
codespell: hivemind/optim/optimizer.py#L160
accumilating ==> accumulating
black
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
codespell
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
isort
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/