Fix .push_to_hub and cleanup get_full_repo_name usage (#25120)
* Fix .push_to_hub and cleanup get_full_repo_name usage * Do not rely on Python bool conversion magic * request changes
This commit is contained in:
@@ -24,6 +24,7 @@ from enum import Enum
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, List, Optional, Union
|
||||
|
||||
from huggingface_hub import get_full_repo_name
|
||||
from packaging import version
|
||||
|
||||
from .debug_utils import DebugOption
|
||||
@@ -38,7 +39,6 @@ from .trainer_utils import (
|
||||
from .utils import (
|
||||
ExplicitEnum,
|
||||
cached_property,
|
||||
get_full_repo_name,
|
||||
is_accelerate_available,
|
||||
is_safetensors_available,
|
||||
is_sagemaker_dp_enabled,
|
||||
|
||||
Reference in New Issue
Block a user