Closed rnyak closed 1 year ago
@bschifferer did you encounter this issue as well?
I'm a bit confused, because the workflow fitting script doesn't seem to export to the path specified as the input in the ensemble exporting script 😅
I'm a bit confused, because the workflow fitting script doesn't seem to export to the path specified as the input in the ensemble exporting script sweat_smile
@karlhigley thanks for your PR. appreciate that. Sorry if I confused the paths in the repro example :) But I think u got me :D
Bug description
When I try to serve an NVT model with list columns I get the an error
Invalid argument: in ensemble ensemble_model, ensemble tensor category-list__lengths: inconsistent data type: TYPE_INT32 is inferred from model ensemble_model while TYPE_INT64 is inferred from model 0_transformworkflow
due to dtype mismatch in the config files of the0_transformworkflow
andensemble_model
.Steps/Code to reproduce bug
Please run the following code step by step to repro:
Please first run the NVT workflow to fit and save the workflow in this gist: https://gist.github.com/rnyak/ff6a9a4033053ef2a46d46938df2f70b
Then execute the following code in a notebook cell:
from merlin.systems.dag.ops.workflow import TransformWorkflow
serving_ops = ( workflow.input_schema.column_names
ensemble = Ensemble(serving_ops, workflow.input_schema) ens_config, node_configs = ensemble.export('./models')