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

@@ -30,7 +30,7 @@ def test_load_checkpoints_from_huggingface(lora_fixture_name, request):
lora_path = get_adapter_absolute_path(lora_name)
# lora loading should work for either absolute path and hugggingface id.
# lora loading should work for either absolute path and huggingface id.
peft_helper = PEFTHelper.from_local_dir(lora_path, 4096)
lora_model = LoRAModel.from_local_checkpoint(
lora_path,

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():