linting
This commit is contained in:
@@ -72,6 +72,7 @@ class TestKnowledgeDistillation:
|
|||||||
|
|
||||||
def test_llama_kd(self, temp_dir, kd_min_cfg):
|
def test_llama_kd(self, temp_dir, kd_min_cfg):
|
||||||
cfg = DictDefault(kd_min_cfg)
|
cfg = DictDefault(kd_min_cfg)
|
||||||
|
# pylint: disable=duplicate-code
|
||||||
prepare_plugins(cfg)
|
prepare_plugins(cfg)
|
||||||
normalize_config(cfg)
|
normalize_config(cfg)
|
||||||
cli_args = TrainerCliArgs()
|
cli_args = TrainerCliArgs()
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ class LigerIntegrationTestCase:
|
|||||||
"max_steps": 5,
|
"max_steps": 5,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
# pylint: disable=duplicate-code
|
||||||
prepare_plugins(cfg)
|
prepare_plugins(cfg)
|
||||||
normalize_config(cfg)
|
normalize_config(cfg)
|
||||||
cli_args = TrainerCliArgs()
|
cli_args = TrainerCliArgs()
|
||||||
@@ -99,6 +100,7 @@ class LigerIntegrationTestCase:
|
|||||||
"max_steps": 5,
|
"max_steps": 5,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
# pylint: disable=duplicate-code
|
||||||
prepare_plugins(cfg)
|
prepare_plugins(cfg)
|
||||||
normalize_config(cfg)
|
normalize_config(cfg)
|
||||||
cli_args = TrainerCliArgs()
|
cli_args = TrainerCliArgs()
|
||||||
|
|||||||
Reference in New Issue
Block a user