Skip to content

Get vector input to debug_callback inside vmap #28128

Answered by jakevdp
dapatil211 asked this question in Q&A
Discussion options

You must be logged in to vote

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 the vmap_method argument. It may be possible for us to add similar batching behavior control to other callback types.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dapatil211
Comment options

Answer selected by dapatil211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants