Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to download models from RH registry #217

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

szaher
Copy link
Contributor

@szaher szaher commented Nov 29, 2024

Description

Update RHELAI docs to enable model downloading from OCI registries

How to use it

To download ilab models from OCI registries following the following instructions

Note

skopeo must be installed and policy.json file present in $HOME/.config/containers/policy.json or /etc/containers/policy.json
If you don't have skopeo policy, you can download default policy from here

$ ilab model download --repository docker://registry.redhat.io/rhelai1/granite-7b-starter --release 1.2-1728663941
$ cp -r <path-to-model-downloaded-dir>/granite-7b-starter/* s3-data/model

How Has This Been Tested?

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@szaher szaher force-pushed the update-model-download-docs branch from 232af09 to dfd4fda Compare November 29, 2024 15:33
@HumairAK
Copy link
Contributor

/lgtm
/approve

@HumairAK HumairAK merged commit f057967 into opendatahub-io:main Nov 29, 2024
1 check passed
@szaher szaher deleted the update-model-download-docs branch November 29, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants