Masaki Kozuki

Results 167 comments of Masaki Kozuki

Thank you for the snippet. naively it'd need to another overload of `addcdiv` whose `value` argument being Tensor according to https://github.com/pytorch/pytorch/blob/e8be6d813bd093fdb587996662bb060445f70706/torch/optim/adam.py#L367-L370

@pytorchbot label "module: optimizer","module: cuda graphs","module: mta"

> the simplest fix here is at the python or python binding level. I'm not sure how I'm supposed to avoid the current diff in aten. IIUC this would mean...

> @crcrpar you should have write access to the repo, due to the recent security incident CI won't run automatically unless your PR is on a branch in pytorch/pytorch repo,...

@ezyang thank you! I'll reopen this pull request after pushing this branch to pytorch/pytorch

The number of test cases doesn't change with this pr.

hmm, I thought `dtypesIfROCM` was set to `dtypes` if it's not specified but it doesn't appear to be so. filed https://github.com/pytorch/pytorch/issues/125295