Skip to content

Commit

Permalink
Fix benchmark experiment tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ysiraichi committed Oct 1, 2024
1 parent 95c3002 commit 4f25209
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/benchmarks/test_benchmark_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class BenchmarkExperimentTest(unittest.TestCase):

def test_to_dict(self):
be = BenchmarkExperiment("cpu", "PJRT", "some xla_flags", "openxla", None,
False, "train", "123")
False, "train", "123", False)
actual = be.to_dict()
self.assertEqual(9, len(actual))
self.assertEqual("cpu", actual["accelerator"])
Expand All @@ -19,6 +19,7 @@ def test_to_dict(self):
self.assertEqual(False, actual["keep_model_data_on_cuda"])
self.assertEqual("train", actual["test"])
self.assertEqual("123", actual["batch_size"])
self.assertEqual(False, actual["enable_functionalization"])


if __name__ == '__main__':
Expand Down

0 comments on commit 4f25209

Please sign in to comment.