Skip to content

Commit 724f2ce

Browse files
liligwumeta-codesync[bot]
authored andcommitted
fix rocm version file in test_utils.py (#4976)
Summary: X-link: https://github.com/facebookresearch/FBGEMM/pull/1992 "/opt/rocm/.info/version-dev" is deprecated in the new rocm version. Pull Request resolved: #4976 Reviewed By: cthi Differential Revision: D83993730 Pulled By: q10 fbshipit-source-id: 2f1c290645fb6782d6d2ae8bc1e7619ab1dfe315
1 parent 321ee63 commit 724f2ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fbgemm_gpu/test/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def decorator(testfn: Callable) -> Any:
294294
@wraps(testfn)
295295
# pyre-fixme[3]: Return annotation cannot be `Any`.
296296
def wrapper(*args: Any, **kwargs: Any) -> Any:
297-
ROCM_VERSION_FILEPATH = "/opt/rocm/.info/version-dev"
297+
ROCM_VERSION_FILEPATH = "/opt/rocm/.info/version"
298298
if TEST_WITH_ROCM:
299299
# Fail if ROCm version file is missing.
300300
if not os.path.isfile(ROCM_VERSION_FILEPATH):

0 commit comments

Comments
 (0)