Skip to content

Commit 7d47ded

Browse files
authored
Update tpu_testbench.py
1 parent 4ee7f19 commit 7d47ded

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • thought_simulator/requirements_20/system_playground/testbenches/path_a/transform

thought_simulator/requirements_20/system_playground/testbenches/path_a/transform/tpu_testbench.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@ def compare_expected(actual_tp: Dict[str, Any],
162162
exp_ctx.pop("context_provenance", None)
163163
if not deep_compare(act_ctx, exp_ctx):
164164
mismatches.append("metadata.context mismatch (excluding provenance)")
165-
# Still require that provenance was touched by TPU
166-
act_prov = (act_meta.get("context") or {}).get("context_provenance") or {}
167165
# Still require that provenance was touched by TPU (successful commit only)
168166
if expected.get("tpu_error") is None:
169167
act_prov = (act_meta.get("context") or {}).get("context_provenance") or {}

0 commit comments

Comments
 (0)