Skip to content

Commit b323615

Browse files
committed
misc: merge errors corrected
1 parent fce358e commit b323615

File tree

3 files changed

+1
-139
lines changed

3 files changed

+1
-139
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
rev: v0.12.2
2222
hooks:
2323
- id: ruff
24-
args: [--fix, --exit-non-zero-on-fix, --ignore, S603,]
24+
args: [--fix, --exit-non-zero-on-fix]
2525
- id: ruff-format
2626
- repo: https://github.com/codespell-project/codespell
2727
rev: v2.4.1

checkpoint_engine/ps.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -991,10 +991,6 @@ def update(
991991
if self._rank not in ranks:
992992
return
993993
self._update_per_bucket(checkpoint_name, req_func, ranks)
994-
if self._auto_pg:
995-
dist.destroy_process_group()
996-
997-
torch.cuda.empty_cache()
998994

999995
logger.info(
1000996
f"[rank{self._rank}] update checkpoint {checkpoint_name} with ranks {ranks} done. "

tests/test_error_quit.py

Lines changed: 0 additions & 134 deletions
This file was deleted.

0 commit comments

Comments
 (0)