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
The pipeline initially runs without issue, but if I try to run it again it gives AttributeError: 'NoneType' object has no attribute 'name' stemming from distilabel/src/distilabel/pipeline/routing_batch_function.py:170 in dump (on develop). This seems to be a failure with serializing this step.
We are able to get around this temporarily by manually deleting the cache directory on disk, but the error continues to occur even when using use_cache=False in pipeline.run(). Is caching supposed to be required to some degree even when this is specified?
Expected behaviour
For the serialization to handle this case, and/or for the caching to actually be skipped when specified. Perhaps I am missing something from best practices?
Desktop (please complete the following information):
Package version: built from source, happening on both main and develop branches
Python version: 3.11.9
The text was updated successfully, but these errors were encountered:
Describe the bug
I am experiencing an issue when trying to use a
RoutingBatchFunction
inside a pipeline. Specifically I am usingsample_n_steps()
as shown as an example here: https://distilabel.argilla.io/latest/api/pipeline/routing_batch_function/?h=routing#distilabel.pipeline.routing_batch_function.routing_batch_functionThe pipeline initially runs without issue, but if I try to run it again it gives
AttributeError: 'NoneType' object has no attribute 'name'
stemming fromdistilabel/src/distilabel/pipeline/routing_batch_function.py:170 in dump
(on develop). This seems to be a failure with serializing this step.We are able to get around this temporarily by manually deleting the cache directory on disk, but the error continues to occur even when using
use_cache=False
inpipeline.run()
. Is caching supposed to be required to some degree even when this is specified?To Reproduce
Code to reproduce
Expected behaviour
For the serialization to handle this case, and/or for the caching to actually be skipped when specified. Perhaps I am missing something from best practices?
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: