Skip to content

Commit 10032c2

Browse files
committed
refactor(checkpoint_consumer): remove unused import of torch to streamline code
1 parent 2c67b72 commit 10032c2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

grail/infrastructure/checkpoint_consumer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,6 @@ async def _reconstruct_from_delta(
599599
Returns:
600600
Path to reconstructed checkpoint directory, or None on failure
601601
"""
602-
import torch
603602
from safetensors.torch import load_file, save_file
604603

605604
try:

0 commit comments

Comments
 (0)