[dynamo] Investigate why we create VariableTrackers for only sourceful objects in UserDefinedClassVariable
Open
module: dynamo
oncall: pt2
triaged
- Dominant language
- Python
- Stars
- 103k
- Forks
- 29.5k
- PR merge metrics
- PR metrics pending
Description
### 🐛 Describe the bug
This section is guarded on if `source` - but its unclear why
https://github.com/pytorch/pytorch/blob/f91f262275e12bd6249a2bcd2c3c06e0c78e20ee/torch/_dynamo/variables/user_defined.py#L335-L347
This issue is a placeholder to understand why.
### Error logs
_No response_
### Versions
NA
cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @kadeng @amjames @Lucaskabela @jataylo
Contributor guide
Assessment
This issue has not been assessed yet.