Open davidberard98 opened 5 months ago
Cc @yanboliang for the new tracing rule system
I have talked with @davidberard98 about this, I think we should allow Dynamo trace for all autograd.Function
since the trace is only to check if it's sound. I'll work on a PR to fix this.
Any update on this one?
I haven't done this, but I think it may have been fixed otherwise - maybe @yanboliang did this? I think I've seen dynamo trying to inline ViewNestedFromBuffer (but failing because of other reasons), but I haven't looked too closely at it.
🐛 Describe the bug
If an autograd.Function is defined in torch/, it will cause a graph break due to skipfiles.
log:
note: ViewNestedFromBuffer may be patched; in which case, a different autograd.Function will probably need to be used to repro this behavior.
Versions
main branch ~jan 24.
cc @ezyang @anijain2305 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @msaroufim @bdhirsh @zou3519 @aakhundov