Skip to content

Commit

Permalink
Update on "[inductor] Clear cache on ctx manager exit"
Browse files Browse the repository at this point in the history
FIXES #126128.

Right now, we only clear the cache on ctx manager enter. So state is bad unless we call fresh_inductor_cache again,  usually fine in tests.

Cue compiled autograd tests when going from TestCompiledAutograd -> TestAutogradWithCompiledAutograd. 
TestCompiledAutograd uses the ctx manager, but TestAutogradWithCompiledAutograd don't

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang

[ghstack-poisoned]
  • Loading branch information
xmfan committed May 16, 2024
2 parents 692290a + 710a38e commit 0ce2524
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0ce2524

Please sign in to comment.