don't use is_main_process during config validation (#2569)
This commit is contained in:
@@ -131,11 +131,6 @@ class TestConfigValidation:
|
||||
# Mock the ring_flash_attn module
|
||||
monkeypatch.setitem(sys.modules, "ring_flash_attn", MagicMock())
|
||||
|
||||
# Mock the is_main_process function to return True
|
||||
monkeypatch.setattr(
|
||||
"axolotl.utils.schemas.config.is_main_process", lambda: True
|
||||
)
|
||||
|
||||
@pytest.fixture
|
||||
def base_cfg(self):
|
||||
"""Create a base configuration for testing."""
|
||||
|
||||
Reference in New Issue
Block a user