Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmarks/bench_optimizer_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def main(
):
shapes = DEFAULT_SHAPES if shape is None else tuple(map(parse_shape, shape))
torch_dtype = getattr(torch, dtype)
kwargs = {"compile_step": compile_step} if library is Library.heavyball else {}
kwargs = {"compile_step": compile_step, "consume_grad": False} if library is Library.heavyball else {}
if fused is not None and library is Library.torch:
kwargs["fused"] = fused
if update_precond is not None and library is Library.heavyball:
Expand Down
Loading