Reorganize file utils (#16264)
* Split file_utils in several submodules * Fixes * Add back more objects * More fixes * Who exactly decided to import that from there? * Second suggestion to code with code review * Revert wront move * Fix imports * Adapt all imports * Adapt all imports everywhere * Revert this import, will fix in a separate commit
This commit is contained in:
@@ -20,8 +20,8 @@ import math
|
||||
import unittest
|
||||
|
||||
from transformers import VanConfig
|
||||
from transformers.file_utils import cached_property, is_scipy_available, is_torch_available, is_vision_available
|
||||
from transformers.testing_utils import require_scipy, require_torch, require_vision, slow, torch_device
|
||||
from transformers.utils import cached_property, is_scipy_available, is_torch_available, is_vision_available
|
||||
|
||||
from ..test_configuration_common import ConfigTester
|
||||
from ..test_modeling_common import ModelTesterMixin, _config_zero_init, floats_tensor, ids_tensor
|
||||
|
||||
Reference in New Issue
Block a user