We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6056bae commit 968eb3fCopy full SHA for 968eb3f
tests/unit/sagemaker/image_uris/test_huggingface_llm.py
@@ -79,7 +79,7 @@ def test_huggingface_uris(load_config):
79
raise ValueError(f"Device {device} not found in HF_VERSIONS_MAPPING")
80
81
# Get highest version for the device
82
- highest_version = max(HF_VERSIONS_MAPPING[device].keys(), key=lambda x: version.parse(x))
+ highest_version = max(HF_VERSIONS_MAPPING[device].keys(), key=lambda x: parse(x))
83
84
for version in VERSIONS:
85
ACCOUNTS = load_config["inference"]["versions"][version]["registries"]
0 commit comments