-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zero-touch-base-rhel, add token for instructlab hugging face login (#…
…9035) * zero-touch-base-rhel, add token for instructlab hugging face login * line length
- Loading branch information
1 parent
35b13b9
commit 8de88ff
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
- name: Install instructlab into the specified (virtualenv) | ||
ansible.builtin.pip: | ||
name: git+https://github.com/instructlab/[email protected] | ||
virtualenv: /instructlab/venv/bin/activate | ||
virtualenv: /home/instruct/instructlab/venv/bin/activate | ||
virtualenv_site_packages: yes | ||
|
||
- name: Execute ilab command for initial configuration | ||
ansible.builtin.command: /instructlab/venv/bin/ilab config init | ||
ansible.builtin.command: /home/instruct/instructlab/venv/bin/ilab config init | ||
|
||
- name: Execute ilab command to download Granite | ||
ansible.builtin.command: /instructlab/venv/bin/ilab model download --repository instructlab/granite-7b-lab-GGUF --filename=granite-7b-lab-Q4_K_M.gguf | ||
ansible.builtin.command: | | ||
"/home/instruct/instructlab/venv/bin/ilab model download --repository instructlab/granite-7b-lab-GGUF --filename=granite-7b-lab-Q4_K_M.gguf --hf-token {{ huggingface_ro_token }}" | ||
- name: Execute ilab command to download Merlinite | ||
ansible.builtin.command: /instructlab/venv/bin/ilab model download --repository instructlab/merlinite-7b-lab-GGUF --filename=merlinite-7b-lab-Q4_K_M.gguf | ||
ansible.builtin.command: | | ||
"/home/instruct/instructlab/venv/bin/ilab model download --repository instructlab/merlinite-7b-lab-GGUF --filename=merlinite-7b-lab-Q4_K_M.gguf --hf-token {{ huggingface_ro_token }}" |