You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@awolant is this documentation correct? It seems to me that it doesn't accept any pipeline arguments or forward them to the pipeline function -- I don't see kwargs or arguments the pipeline decorator would accept present.
I discovered this problem trying to use the data_iterator to forward arguments to my pipeline function. Am I missing something?
(Also, thank you for improving the JAX iterator -- it's greatly appreciated!)
The text was updated successfully, but these errors were encountered:
Nicely spotted. Unfortunately, this sentence of the docs is incorrect. It slipped through from a test version of this functionality where something like this was enabled. Apologies for the confusion. I created a fix: #5140
For now, the way you can pass pipeline_def parameters through the decorated function call:
No worries! It was more of a matter of confusion. When I’ve got callables wrapping callables returning callables it’s easy to get confused about which application to provide different arguments to.
New as of #5050 is the
data_iterator
decorator for JAX.Its documentation states
DALI/dali/python/nvidia/dali/plugin/jax/iterator.py
Lines 321 to 325 in 2bc5dbf
However, the function definition seems to contradict this:
DALI/dali/python/nvidia/dali/plugin/jax/iterator.py
Lines 308 to 317 in 2bc5dbf
@awolant is this documentation correct? It seems to me that it doesn't accept any pipeline arguments or forward them to the pipeline function -- I don't see
kwargs
or arguments the pipeline decorator would accept present.I discovered this problem trying to use the
data_iterator
to forward arguments to my pipeline function. Am I missing something?(Also, thank you for improving the JAX iterator -- it's greatly appreciated!)
The text was updated successfully, but these errors were encountered: