mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[reland] Allow setting grad_dtype on leaf tensors (#164751)
ghstack-source-id: e44b3941530be83a630ec93f1478eec741ffca2e Pull-Request-resolved: https://github.com/pytorch/pytorch/pull/162815 Fixes #ISSUE_NUMBER Relanding due to internal weirdness. Separate PR to codev w/o ghstack. Pull Request resolved: https://github.com/pytorch/pytorch/pull/164751 Approved by: https://github.com/albanD
This commit is contained in:
committed by
PyTorch MergeBot
parent
001e1d2637
commit
71aefd5595
@ -68,6 +68,8 @@ jit_core_sources = [
|
||||
# list for the shared files.
|
||||
|
||||
core_sources_common = [
|
||||
# This needs to belong here because it defines the first non-inline virtual
|
||||
# function, which matters for AutogradMetaInterface's vtable.
|
||||
"torch/csrc/autograd/autograd_meta.cpp",
|
||||
"torch/csrc/autograd/forward_grad.cpp",
|
||||
"torch/csrc/jit/frontend/edit_distance.cpp",
|
||||
|
Reference in New Issue
Block a user