Get vector input to debug_callback inside vmap #28128
Answered
by
jakevdp
dapatil211
asked this question in
Q&A
-
Hi, I was wondering if something like this pattern was possible:
|
Beta Was this translation helpful? Give feedback.
Answered by
jakevdp
Apr 18, 2025
Replies: 1 comment 1 reply
-
No, there's no way to make However, that sort of thing is supported by the batching semantics of |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dapatil211
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, there's no way to make
debug.callback
work in the way you have in mind.However, that sort of thing is supported by the batching semantics of
pure_callback
via thevmap_method
argument. It may be possible for us to add similar batching behavior control to other callback types.