Skip to content

Commit 4e744d4

Browse files
code clean up
Signed-off-by: Daniel Korzekwa <dkorzekwa@nvidia.com>
1 parent 5efdc8f commit 4e744d4

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tests/gpu/torch/puzzletron/test_puzzletron.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,8 @@ def _test_puzzletron_multiprocess_job(
155155
solution_0_ckpt_config_path = (
156156
solution_dir / "solutions--checkpoints/solution_0/config.json"
157157
)
158-
assert solution_0_ckpt_config_path.exists(), (
159-
f"Expected {solution_0_ckpt_config_path} to exist"
160-
)
161-
assert (solution_dir / "solutions.json").exists(), (
162-
f"Expected {solution_dir / 'solutions.json'} to exist"
163-
)
158+
assert solution_0_ckpt_config_path.exists()
159+
assert (solution_dir / "solutions.json").exists()
164160
else:
165161
# assertions for the score_pruning_activations step 1 (FFN pruning)
166162
_assert_score_pruning_activations(puzzle_dir, hf_config_name)

0 commit comments

Comments
 (0)