Skip to content

Commit

Permalink
zero-touch-base-rhel, add token for instructlab hugging face login
Browse files Browse the repository at this point in the history
  • Loading branch information
wilson-walrus committed Feb 10, 2025
1 parent 6bc1914 commit 797bd0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ansible/configs/zero-touch-base-rhel/instructlab_setup.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
- 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 }}"

0 comments on commit 797bd0c

Please sign in to comment.