Created
April 14, 2025 06:23
-
-
Save blues-man/a305a613895d04e8ce4294a20ea8faa3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install huggingface-cli | |
mkdir models && cd models | |
huggingface-cli download ibm-granite/granite-3.2-8b-instruct --local-dir granite-32-8b-instruct | |
ls -l granite-32-8b-instruct | |
oc project ic-shared-minio | |
MINIO_API="https://$(oc get route minio -o jsonpath='{.spec.host}')" | |
B64_USER=$(kubectl get secret minio-keys -o jsonpath='{.data.minio_root_user}') | |
MINIO_USER=$(echo $B64_USER | base64 --decode) | |
echo "user:$B64_USER is decoded as $MINIO_USER" | |
B64_PASSWORD=$(kubectl get secret minio-keys -o jsonpath='{.data.minio_root_password}' -n ic-shared-minio) | |
MINIO_PASSWORD=$(echo $B64_PASSWORD | base64 --decode) | |
echo "password:$B64_PASSWORD is decoded as $MINIO_PASSWORD" | |
mc alias set minio $MINIO_API $MINIO_USER $MINIO_PASSWORD | |
mc ls minio/models | |
mc cp --recursive granite-32-8b-instruct minio/models/ | |
mc ls minio/models |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment