Is there a way not to record the source directory files snapshot or delete it after an AML pipeline run?

Caalc 1 Reputation point
2020-06-17T07:55:47.767+00:00

I am running experiments with AML pipeline and I do not want to store the source directory files of my script steps in the experiment panel after the run is completed (when I enter a run from the experiments panel, there is a snapshot containing those files). I know experiment runs can't be deleted, only archived, but this is not what I'm looking for.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,720 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 43,691 Reputation points Microsoft Employee
    2020-06-17T13:20:35.593+00:00

    @Caalc If you are submitting the pipeline using the SDK you can prevent unnecessary files from being included in the snapshot using an ignore file (.gitignore or .amlignore) file. The syntax used allows you to exclude files using syntax and patterns. Here is the link to the documentation that talks about it in a bit of detail.