ads.model.common package

Submodules

ads.model.common.utils module

ads.model.common.utils.fetch_manifest_from_conda_location(env_location: str)[source]

Convenience method to fetch the manifest file from a conda environment.

Parameters:

env_location (str) – Absolute path to the environment.

ads.model.common.utils.zip_artifact(artifact_dir: str) str[source]

Prepares model artifacts ZIP archive.

Parameters:

artifact_dir (str) – Path to the model artifact.

Returns:

Path to the model artifact ZIP archive file.

Return type:

str

Module contents