Remove flaky TestToolChoiceLfm2Moe from test_tool_choice (#22137)
This commit is contained in:
@@ -888,33 +888,5 @@ class TestToolChoiceLfm2(TestToolChoiceLlama32):
|
|||||||
cls.tokenizer = get_tokenizer(cls.model)
|
cls.tokenizer = get_tokenizer(cls.model)
|
||||||
|
|
||||||
|
|
||||||
class TestToolChoiceLfm2Moe(TestToolChoiceLlama32):
|
|
||||||
"""Test tool_choice functionality with LiquidAI LFM2-MoE model"""
|
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def setUpClass(cls):
|
|
||||||
cls.flaky_tests = {
|
|
||||||
"test_multi_tool_scenario_auto",
|
|
||||||
"test_multi_tool_scenario_required",
|
|
||||||
}
|
|
||||||
|
|
||||||
cls.model = "LiquidAI/LFM2-8B-A1B"
|
|
||||||
cls.base_url = DEFAULT_URL_FOR_TEST
|
|
||||||
cls.api_key = "sk-123456"
|
|
||||||
|
|
||||||
cls.process = popen_launch_server(
|
|
||||||
cls.model,
|
|
||||||
cls.base_url,
|
|
||||||
timeout=DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH,
|
|
||||||
api_key=cls.api_key,
|
|
||||||
other_args=[
|
|
||||||
"--tool-call-parser",
|
|
||||||
"lfm2",
|
|
||||||
],
|
|
||||||
)
|
|
||||||
cls.base_url += "/v1"
|
|
||||||
cls.tokenizer = get_tokenizer(cls.model)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|||||||
Reference in New Issue
Block a user