(*inputs, **kwinputs)
| 13 | print(desc, "- Forward pass") |
| 14 | |
| 15 | def amp_wrapper(*inputs, **kwinputs): |
| 16 | with torch.autocast(device_type="cuda", dtype=amp_dtype, enabled=amp): |
| 17 | fn(*inputs, **kwinputs) |
| 18 | |
| 19 | t = benchmark.Timer( |
| 20 | stmt="fn_amp(*inputs, **kwinputs)", |
nothing calls this directly
no outgoing calls
no test coverage detected