| 715 | ) |
| 716 | |
| 717 | class FakeTorch: |
| 718 | @staticmethod |
| 719 | def inference_mode(): |
| 720 | class _Context: |
| 721 | def __enter__(self): |
| 722 | return None |
| 723 | |
| 724 | def __exit__(self, exc_type, exc, tb): |
| 725 | return False |
| 726 | |
| 727 | return _Context() |
| 728 | |
| 729 | monkeypatch.setattr(llm_parser, "torch", FakeTorch) |
| 730 |
nothing calls this directly
no outgoing calls
no test coverage detected