[inductor] Remove _get_grid_fn_str (#146800)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146800
Approved by: https://github.com/yanboliang
This commit is contained in:
Jason Ansel
2025-02-09 11:28:27 -08:00
committed by PyTorch MergeBot
parent 0d5fb0941f
commit c2bf3be011
3 changed files with 4 additions and 11 deletions

View File

@ -113,7 +113,7 @@ def main() -> None:
print("More than 100 items needs to be rebuild, run `ninja torch_python` first")
sys.exit(-1)
for idx, (name, cmd) in enumerate(build_plan):
print(f"[{idx + 1 } / {len(build_plan)}] Building {name}")
print(f"[{idx + 1} / {len(build_plan)}] Building {name}")
if args.verbose:
print(cmd)
subprocess.check_call(["sh", "-c", cmd], cwd=BUILD_DIR)