Skip to content

Commit

Permalink
Fix codeql errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lkomali committed Jul 24, 2024
1 parent 3338db0 commit 2d4d2aa
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/test_optuna_run_config_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ def test_create_default_run_config_with_request_rate(self):
rcg = OptunaRunConfigGenerator(
config=config,
state_manager=MagicMock(),
state_manager=MagicMock(),
gpu_count=1,
models=self._mock_models,
composing_models=[],
Expand All @@ -233,11 +232,7 @@ def test_create_default_run_config_with_request_rate(self):
self.assertEqual(
perf_config["request-rate-range"], DEFAULT_RUN_CONFIG_MIN_REQUEST_RATE
)
<<<<<<< HEAD
self.assertEqual(perf_config["concurrency-range"], None)
=======
self.assertNotIn("concurrency", perf_config)
>>>>>>> 62fde56 (Fix codeql errors)

def test_create_objective_based_run_config_with_concurrency(self):
"""
Expand Down Expand Up @@ -303,11 +298,7 @@ def test_create_objective_based_run_config_with_request_rate(self):
self.assertEqual(model_config.to_dict()["name"], self._test_config_dict["name"])
self.assertEqual(perf_config["batch-size"], DEFAULT_BATCH_SIZES)
self.assertEqual(perf_config["request-rate-range"], 2048)
<<<<<<< HEAD
self.assertEqual(perf_config["concurrency-range"], None)
=======
self.assertNotIn("concurrency", perf_config)
>>>>>>> 62fde56 (Fix codeql errors)

def test_create_run_config_with_concurrency_formula(self):
"""
Expand Down

0 comments on commit 2d4d2aa

Please sign in to comment.