Skip to content

Commit 676b17e

Browse files
committed
update get torch git ver api. (#1238)
1 parent febdb6c commit 676b17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def get_git_head_sha(base_dir):
286286
print("Unable to import torch from the local environment.")
287287
raise e
288288

289-
torch_git_sha = torch.__version__
289+
torch_git_sha = torch.version.git_version
290290

291291
return ipex_git_sha, torch_git_sha
292292

0 commit comments

Comments
 (0)