pytorch
ddec1eea - [Static Runtime] Block linalg_svdvals codegen & run codegen script (#85983)

Commit
2 years ago
[Static Runtime] Block linalg_svdvals codegen & run codegen script (#85983) Summary: The test is causing issues: ``` terminate called after throwing an instance of 'std::runtime_error' what(): The following operation failed in the TorchScript interpreter. Traceback of TorchScript (most recent call last): graph(%A: Tensor, %driver: str?): %bias: None = prim::Constant() %ret = aten::linalg_svdvals(%A, %driver) ~~~~ <--- HERE %cloned = aten::clone(%ret, %bias) return (%cloned) RuntimeError: torch.linalg.svd: keyword argument `driver=` is only supported on CUDA inputs with cuSOLVER backend. ``` Just block the op and re-run the codegen script to remove everything and update the generated ops. Test Plan: Existing tests Differential Revision: D39973860 Pull Request resolved: https://github.com/pytorch/pytorch/pull/85983 Approved by: https://github.com/xuzhao9, https://github.com/tenpercent
Author
Mike Iovine
Committer
Parents
Loading