kubeflow-kale / kale

Kubeflow’s superfood for Data Scientists
http://kubeflow-kale.github.io
Apache License 2.0
628 stars 129 forks source link

Kale - try blocks aren't supported: #323

Open ashokbalaraman opened 3 years ago

ashokbalaraman commented 3 years ago

I have few custom libraries that have plenty of "try except" blocks. Any reason why "kale" doesn't support "try - except" blocks? Any plans to support code with exception handling? Or, is there any workaround.

2021-03-22 00:53:32 Kale marshalling [INFO] Saving function object using Function backend: evaluate_model_on_snapshot 2021-03-22 00:53:32 Kale marshalling [INFO] Saving pytorch object using PyTorch backend: model 2021-03-22 00:53:32 Kale marshalling [ERROR] During data passing, Kale could not marshal the following object:

StefanoFioravanzo commented 3 years ago

Hey @ashokbalaraman sorry for the belated reply. I haven't seem this error before and I am not sure how to reproduce it.

Could you share the most minimal example to reproduce it?