Open kierenj opened 5 years ago
Issue-Label Bot is automatically applying the label kind/bug
to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I've skipped on Fairing and searched for other examples, and found build_python_component
in the simple notebook example. I randomly googled and found some docs for it, which say it's deprecated, and to use build_image_from_working_dir
and func_to_container_op
.
The docs had me confused for a while (the default image is different than the one stated), but also the dependencies aren't captured for me. I've used modules_to_capture
to specify the name of a notebook imported via import_ipynb
but still just the single function makes it into the workflow and the module is referenced. Same with/without code pickling.
Building I custom image, on the func_to_container_op
I get a Kaniko job, the default timeout is 1000 seconds and I'm at over an hour and a half sitting at the log line, Taking snapshot of full filesystem...
. Is that correct? There are only a few dependencies..
Is there a recommended/documented way to wrap up a function and deps?
/area engprod /priority p2
/kind bug
What steps did you take and what happened: Relevant code:
requirements.txt:
Then, I POST as a test:
I get a 500 error, and the logs in stackdriver:
What did you expect to happen: A result to be returned.
Anything else you would like to add: I'm sorry, I'm really struggling. I'm just trying to get a simple example of Fairing together and running on GCP, but I'm not even sure which APIs are known to be working. I'd be grateful if anyone could point me in the right direction. I'm sorry if I'm missing something obvious.
Environment:
python -c "import kubeflow.fairing; print(kubeflow.fairing.__version__)"
):AttributeError: module 'kubeflow.fairing' has no attribute '__version__'
(I tried in the terminal, in the notebook, and in Python directly. Help me out here..)0.6.2
kubectl version
):/etc/os-release
): Mac OS X - hopefully irrelevant, working out of Jupyter, etc