Skip to content

Commit 968eb3f

Browse files
committed
fix: parse
1 parent 6056bae commit 968eb3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/sagemaker/image_uris/test_huggingface_llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def test_huggingface_uris(load_config):
7979
raise ValueError(f"Device {device} not found in HF_VERSIONS_MAPPING")
8080

8181
# Get highest version for the device
82-
highest_version = max(HF_VERSIONS_MAPPING[device].keys(), key=lambda x: version.parse(x))
82+
highest_version = max(HF_VERSIONS_MAPPING[device].keys(), key=lambda x: parse(x))
8383

8484
for version in VERSIONS:
8585
ACCOUNTS = load_config["inference"]["versions"][version]["registries"]

0 commit comments

Comments
 (0)