mirror of
https://github.com/huggingface/accelerate.git
synced 2025-10-20 10:03:46 +08:00
fix (#3808)
This commit is contained in:
@ -246,7 +246,7 @@ class FeatureExamplesTests(TempDirTestCase):
|
||||
@require_trackers
|
||||
@mock.patch.dict(
|
||||
os.environ,
|
||||
{"WANDB_MODE": "offline", "DVCLIVE_TEST": "true", "SWANLAB_MODE": "offline"},
|
||||
{"WANDB_MODE": "offline", "DVCLIVE_TEST": "true", "SWANLAB_MODE": "local"},
|
||||
)
|
||||
def test_tracking(self):
|
||||
with tempfile.TemporaryDirectory() as tmpdir:
|
||||
|
@ -526,7 +526,7 @@ class ClearMLTest(TempDirTestCase, MockingTestCase):
|
||||
|
||||
|
||||
@require_swanlab
|
||||
@mock.patch.dict(os.environ, {"SWANLAB_MODE": "offline"})
|
||||
@mock.patch.dict(os.environ, {"SWANLAB_MODE": "local"})
|
||||
class SwanLabTrackingTest(TempDirTestCase, MockingTestCase):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
|
Reference in New Issue
Block a user