Open jjsjann123 opened 3 months ago
Linking feature request #581
I think a better design should make this a constraint, rather than opaquely treat it as a cache miss by backend. Will target this when we proceed to static constraints.
Linking issue reported by @t-vi https://github.com/Lightning-AI/lightning-thunder/issues/1257.
🚀 Feature
This is a continuation of the work in #262 . The phase 2 proposal targets the re-use of compiled thunder program by supporting TensorProxy with dynamic shape and adjusting caching policy accordingly.
This is an umbrella issue to track progress. I would like to leave detailed technical discussion in separate issues and link them. This section will be gradually populated as we start picking up speed:
shape propagation modeling in thunder
Static constraints and prologue checks
Handling of existing shape checks