WIP Binomial checkpoint#2174
Conversation
|
Bump @Pangoraw |
Could you give more details about your blocker here? |
|
Apologies for the delayed response. In binomial checkpointing, the reverse sweep is not a monolith. Instead it consists of So, the question is whether the infrastructure to implement the caching and reading exists once the reverse-sweep has begun. |
|
i had a go at another implementation in #2485 if you want to take a look. |
|
Closing as #2485 as been merged, feel free to open new issues / pr on top of the merged implementation. |
I am creating this WIP PR to get figure out how to to explicit cache values during the reverse pass.
This is related to #2039 where it is pointed out that we should/can perform an
x = cache[i / M]I am not sure how to go about it in src/enzyme_ad/jax/Implementations/StableHLOAutoDiffOpInterfaceImpl.cpp
reverseWithCheckpointingRevolvein the portion related torvStore.