Skip to content

azure-ai-ml CommandComponent hash does not include additional_includes files/dirs #40165

Open
@terminatur

Description

@terminatur

Is your feature request related to a problem? Please describe.
The hash for determining a components uniqueness does not include the additional includes. I have a scenario where I don't use the code property and only use additional_includes as I only want to upload a subset of my code. When I submit an experiment job to an AML workspace using local components the code changes are not detected, so the job runs with an older version of the code.

Describe the solution you'd like
Inside _cache_utils.py parse the files / directories listed under additional_includes.

Image

Describe alternatives you've considered
As a work around I figured out I can include a random uuid in the tags section. This forces an upload every time. If I have time I could compute the hash on the additional_includes file/directories and add that as a tag to still use the caching mechanism.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Machine LearningService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions