Prep for future breaking changes in newer versions of transformers library
This commit is contained in:
@@ -19,8 +19,7 @@ from safetensors.torch import save_file, load_file
|
||||
from torch.utils.data import DataLoader
|
||||
import torch
|
||||
import torch.backends.cuda
|
||||
from huggingface_hub import HfApi, Repository, interpreter_login
|
||||
from huggingface_hub.utils import HfFolder
|
||||
from huggingface_hub import HfApi, interpreter_login
|
||||
from toolkit.memory_management import MemoryManager
|
||||
|
||||
from toolkit.basic import value_map
|
||||
|
||||
Reference in New Issue
Block a user