As the title stated In Addition: - I have checked all the functions in _device_constructor and found ``torch.vander`` also don`t support device arguments - Remove the duplicated function such as torch.ones and torch.asarray Related issue:https://github.com/pytorch/pytorch/issues/150284 Pull Request resolved: https://github.com/pytorch/pytorch/pull/150290 Approved by: https://github.com/albanD