-
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 tasks file to setup instructlab (#9032)
- Loading branch information
1 parent
f4f50cf
commit 2289678
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
ansible/configs/zero-touch-base-rhel/instructlab_setup.yml
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
- name: Install instructlab into the specified (virtualenv) | ||
ansible.builtin.pip: | ||
name: git+https://github.com/instructlab/[email protected] | ||
virtualenv: /instructlab/venv/bin/activate | ||
virtualenv_site_packages: yes | ||
executable: pip3.3 | ||
|
||
- name: Execute ilab command for initial configuration | ||
ansible.builtin.command: /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 | ||
|
||
- 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 |
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