Skip to content

Commit 17f0bff

Browse files
felipemello1Felipe Mello
andauthored
update gemma to ignore gguf (#1655)
Co-authored-by: Felipe Mello <[email protected]>
1 parent f51f894 commit 17f0bff

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

docs/source/api_ref_models.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ To download the Gemma 2B model (not Gemma2):
230230

231231
.. code-block:: bash
232232
233-
tune download google/gemma-2b --ignore-patterns None --hf-token <HF_TOKEN>
233+
tune download google/gemma-2b --ignore-patterns "gemma-2b.gguf" --hf-token <HF_TOKEN>
234234
235235
To download the Gemma 7B model:
236236

recipes/configs/gemma/2B_full.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This config assumes that you've run the following command before launching
55
# this run:
6-
# tune download google/gemma-2b --ignore-patterns None --hf-token <HF_TOKEN>
6+
# tune download google/gemma-2b --ignore-patterns "gemma-2b.gguf" --hf-token <HF_TOKEN>
77
#
88
# To launch on 4 devices, run the following command from root:
99
# tune run --nnodes 1 --nproc_per_node 4 full_finetune_distributed --config gemma/2B_full

recipes/configs/gemma/2B_lora.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This config assumes that you've run the following command before launching
55
# this run:
6-
# tune download google/gemma-2b --ignore-patterns None --hf-token <HF_TOKEN>
6+
# tune download google/gemma-2b --ignore-patterns "gemma-2b.gguf" --hf-token <HF_TOKEN>
77
#
88
# To launch on 4 devices, run the following command from root:
99
# tune run --nnodes 1 --nproc_per_node 4 lora_finetune_distributed --config gemma/2B_lora

recipes/configs/gemma/2B_lora_single_device.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This config assumes that you've run the following command before launching
55
# this run:
6-
# tune download google/gemma-2b --ignore-patterns None --hf-token <HF_TOKEN>
6+
# tune download google/gemma-2b --ignore-patterns "gemma-2b.gguf" --hf-token <HF_TOKEN>
77
#
88
# To launch on a single device, run the following command from root:
99
# tune run lora_finetune_single_device --config gemma/2B_lora_single_device

recipes/configs/gemma/2B_qlora_single_device.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This config assumes that you've run the following command before launching
55
# this run:
6-
# tune download google/gemma-2b --ignore-patterns None --hf-token <HF_TOKEN>
6+
# tune download google/gemma-2b --ignore-patterns "gemma-2b.gguf" --hf-token <HF_TOKEN>
77
#
88
# To launch on a single device, run the following command from root:
99
# tune run lora_finetune_single_device --config gemma/2B_qlora_single_device

recipes/configs/gemma/7B_full.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This config assumes that you've run the following command before launching
55
# this run:
6-
# tune download google/gemma-7b --hf-token <HF_TOKEN> --ignore-patterns "gemma-7b.gguf"
6+
# tune download google/gemma-7b --ignore-patterns "gemma-7b.gguf" --hf-token <HF_TOKEN>
77
#
88
# To launch on 4 devices, run the following command from root:
99
# tune run --nnodes 1 --nproc_per_node 4 full_finetune_distributed --config gemma/7B_full

recipes/configs/gemma/7B_lora.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This config assumes that you've run the following command before launching
55
# this run:
6-
# tune download google/gemma-7b --hf-token <HF_TOKEN> --ignore-patterns "gemma-7b.gguf"
6+
# tune download google/gemma-7b --ignore-patterns "gemma-7b.gguf" --hf-token <HF_TOKEN>
77
#
88
# To launch on 4 devices, run the following command from root:
99
# tune run --nnodes 1 --nproc_per_node 4 lora_finetune_distributed --config gemma/7B_lora

recipes/configs/gemma/7B_lora_single_device.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This config assumes that you've run the following command before launching
55
# this run (torchtune does not use gguf so you can ignore it to save time and space):
6-
# tune download google/gemma-7b --hf-token <HF_TOKEN> --ignore-patterns "gemma-7b.gguf"
6+
# tune download google/gemma-7b --ignore-patterns "gemma-7b.gguf" --hf-token <HF_TOKEN>
77
#
88
# To launch on a single device, run the following command from root:
99
# tune run lora_finetune_single_device --config gemma/7B_lora_single_device

recipes/configs/gemma/7B_qlora_single_device.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This config assumes that you've run the following command before launching
55
# this run:
6-
# tune download google/gemma-7b --hf-token <HF_TOKEN> --ignore-patterns "gemma-7b.gguf"
6+
# tune download google/gemma-7b --ignore-patterns "gemma-7b.gguf" --hf-token <HF_TOKEN>
77
#
88
# To launch on a single device, run the following command from root:
99
# tune run lora_finetune_single_device --config gemma/7B_qlora_single_device

0 commit comments

Comments
 (0)