Skip to content

Commit 4e11e3b

Browse files
committed
Add relative directory import for checkpoint
1 parent c4af8f8 commit 4e11e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/xpu/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import torch.nn as nn
1919
import torch.utils.cpp_extension
2020
import torch.utils.data
21-
from checkpoint import (
21+
from .checkpoint import (
2222
_infer_device_type,
2323
checkpoint,
2424
checkpoint_sequential,

0 commit comments

Comments
 (0)