NameError: name 'UUID' is not defined
Hello dear Iterative team!
I'm trying to use MLEM to deploy a model on GCP.
I'm facing an issue I wasn't able to find mentioned here or on GitHub.
Here's the error in a GitLab CI/CD pipeline:
mlem deployment run --load service_classifier --model model ⏳️ Loading model from model.mlem ⏳️ Loading deployment from service_classifier.mlem Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'UUID' is not definedYou can find the execution here: https://gitlab.com/ludelafo/a-guide-to-mlops/-/jobs/4876272100 and the related GitLab CI configuration file here: https://gitlab.com/ludelafo/a-guide-to-mlops/-/blob/9741d8bedf4ba470fa4c6ed0c332b8368198af75/.gitlab-ci.yml#L100-130
The deployment works locally, but not in the GitLab CI pipeline.
Please let me know if I can be of any help or if you want me to open an issue/discussion on GitHub.
Reported on Discord: https://discord.com/channels/485586884165107732/903647230655881226/1141007993408847892
Thank you @ludelafo. I think it's related to analytics we collect - UUID is a hashed value representing a user. But I don't see recent changes in our analytics package https://github.com/iterative/telemetry-python
So not sure what's the cause. Need to investigate.
Thanks for the feedback! I'll try to disable telemetry and come back to you to let you know if that allows the pipeline to finish.
I can confirm the warning goes away when disabling telemetry: https://gitlab.com/ludelafo/a-guide-to-mlops/-/jobs/4912408228
Please let me know if I can be of any help to resolve this issue.