Skip to content

Commit

Permalink
[Refactor] change default CKPT_BACKEND to torch (#1830)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens authored Jan 23, 2024
1 parent 5b67dd3 commit 0699753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrl/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class _Dynamic_CKPT_BACKEND:
backends = ["torch", "torchsnapshot"]

def _get_backend(self):
backend = os.environ.get("CKPT_BACKEND", "torchsnapshot")
backend = os.environ.get("CKPT_BACKEND", "torch")
if backend == "torchsnapshot":
try:
import torchsnapshot # noqa: F401
Expand Down

0 comments on commit 0699753

Please sign in to comment.