Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

NameError: name 'UUID' is not defined #700

@ludelafo

Description

@ludelafo

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 defined

You 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions