fix: typos (#18151)

Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>
This commit is contained in:
omahs
2025-05-15 11:16:15 +02:00
committed by GitHub
parent a8f5aec20a
commit a9944aabfa
10 changed files with 18 additions and 18 deletions

View File

@@ -20,11 +20,11 @@ def test_hf_transfer_auto_activation():
try:
# enable hf hub transfer if available
import hf_transfer # type: ignore # noqa
HF_TRANFER_ACTIVE = True
HF_TRANSFER_ACTIVE = True
except ImportError:
HF_TRANFER_ACTIVE = False
HF_TRANSFER_ACTIVE = False
assert (huggingface_hub.constants.HF_HUB_ENABLE_HF_TRANSFER ==
HF_TRANFER_ACTIVE)
HF_TRANSFER_ACTIVE)
def test_download_weights_from_hf():