MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

Unable to tag pipeline runs with model version

Open alieus opened this issue 7 years ago • 4 comments

We tried tagging our pipeline runs with the current model version but it appears that the Model class, specifically the Model.list() method doesn't work remotely with this. It works fine locally but once we try running it remotely, it fails.

alieus avatar Jul 19 '19 17:07 alieus

Could you provide the code you are using?

elihop22 avatar Jul 19 '19 17:07 elihop22

Just the classic:

        interactive_auth = InteractiveLoginAuthentication(
             tenant_id=("*************************")
         ws = Workspace.from_config(auth=interactive_auth)

# get the details of the current model version being used
model_details = str(Model.list(ws, name=args.model_name,
                               tags=None, properties=None, run_id=None,
                               latest=True))

some string manipulation to retrieve the version number

version = ...

logging

run.log('version', version)

alieus avatar Jul 19 '19 17:07 alieus

So this is in the script of one of the steps in your pipeline? Can you include the logs for the step run?

elihop22 avatar Jul 19 '19 17:07 elihop22

Thank you for your post and participation. We see your last response was some time ago so we will close this thread. Should you need further assistance, please post on this forum and we will respond promptly.

v-strudm-msft avatar Apr 21 '20 00:04 v-strudm-msft