Skip to content

Commit 7b473a0

Browse files
mikekgfbmalfet
andcommitted
convert wget to curl since wget not available on all hosts (#823)
* missed some wget * convert wget to curl for gguf * Update docs/native-execution.md Co-authored-by: Nikita Shulga <[email protected]> --------- Co-authored-by: Nikita Shulga <[email protected]>
1 parent 9e52152 commit 7b473a0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/GGUF.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ and F32.)
2828
```
2929
# Download resources
3030
mkdir -p ggufs/open_orca
31-
cd ggufs/open_orca
32-
wget -O open_orca.Q4_0.gguf "https://huggingface.co/TheBloke/TinyLlama-1.1B-1T-OpenOrca-GGUF/resolve/main/tinyllama-1.1b-1t-openorca.Q4_0.gguf?download=true"
31+
pushd ggufs/open_orca
3332
34-
wget -O tokenizer.model "https://github.com/karpathy/llama2.c/raw/master/tokenizer.model"
35-
cd ../..
33+
curl -o open_orca.Q4_0.gguf "https://huggingface.co/TheBloke/TinyLlama-1.1B-1T-OpenOrca-GGUF/resolve/main/tinyllama-1.1b-1t-openorca.Q4_0.gguf?download=true"
34+
curl -o ./tokenizer.model https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
35+
36+
popd
3637
3738
export GGUF_MODEL_PATH=ggufs/open_orca/open_orca.Q4_0.gguf
3839
export GGUF_TOKENIZER_PATH=ggufs/open_orca/tokenizer.model

docs/native-execution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ python3 torchchat.py export stories15M --output-dso-path ./model.so
6363
We can now execute the runner with:
6464

6565
```
66-
wget -O ./tokenizer.model https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
66+
curl -OL https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
6767
./cmake-out/aoti_run ./model.so -z ./tokenizer.model -l 2 -i "Once upon a time"
6868
```
6969

@@ -104,7 +104,7 @@ python3 torchchat.py export stories15M --output-pte-path ./model.pte
104104
We can now execute the runner with:
105105

106106
```
107-
wget -O ./tokenizer.model https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
107+
curl -o ./tokenizer.model https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
108108
./cmake-out/et_run ./model.pte -z ./tokenizer.model -l 2 -i "Once upon a time"
109109
```
110110

0 commit comments

Comments
 (0)