Open felipemello1 opened 1 month ago
there is no do_bench function in torch._inductor.autotune_process i
@tikikun, isnt this it? https://github.com/pytorch/pytorch/blob/efc6e8457a221c6e70265fe895f8bc418d73aa0f/torch/_inductor/autotune_process.py#L508
edit: oh, i didnt pay attention to the content. It raises NotImplementedError :/
So I guess we need to find the PR that removed do_bench, and see what they did with this function, or if in torchao this function can be replaced
@tikikun, isnt this it? https://github.com/pytorch/pytorch/blob/efc6e8457a221c6e70265fe895f8bc418d73aa0f/torch/_inductor/autotune_process.py#L508
this is a method from a class
thanks for pointing it out. Here is the PR that changed it: https://github.com/pytorch/pytorch/pull/132827
Our regression tests have been failing for a bit over a week: https://github.com/pytorch/torchtune/actions/workflows/regression_test.yaml
The reason is that it tries to run on nightlies, and fails to import NF4Tensor from torchao:
The fix seems to be simple in torchao: replace
with
But I am not sure if I am missing something, e.g. should we pin versions or run regression on nightlies?
cc: @ebsmothers @msaroufim (tagging you in case you have some opinion from the torchao point of vivew)