Uploading files and directories as Artifacts. Downloading contents of Artifact to disk.
How Artifact Versions are organized
Artifact Version FQN parts
ml_repo
- Name of the ML Reponame
- Name for the artifactartifact_paths
- A list of tuples of (<local file or directory path>, <remote file or directory path>)
indicating which file or folder to copy where relative to the root of the artifact.log_artifact
for complete reference.
get_artifact_version_by_fqn
method. It takes in fqn
as an argument. FQN can be obtained from the UI dashboard or saved from the fqn
property on ArtifactVersion
returned by log_artifact
Viewer
permission on the ML Repo of the artifact version.