Skip to content

Commit bf96c4d

Browse files
lucylqfacebook-github-bot
authored andcommitted
use curl instead of wget to download ci artifacts (#2720)
Summary: Pull Request resolved: #2720 Using wget can be flaky. See: D55147403 ghstack-source-id: 220359832 Reviewed By: cccclai Differential Revision: D55433261 fbshipit-source-id: e37d4f41eb71b898942936e5b61a666beab55600
1 parent 25c5b67 commit bf96c4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/scripts/utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ cmake_install_executorch_lib() {
134134

135135
download_stories_model_artifacts() {
136136
# Download stories110M.pt and tokenizer from Github
137-
wget "https://huggingface.co/karpathy/tinyllamas/resolve/main/stories110M.pt"
138-
wget "https://raw.githubusercontent.com/karpathy/llama2.c/master/tokenizer.model"
137+
curl -Ls "https://huggingface.co/karpathy/tinyllamas/resolve/main/stories110M.pt" --output stories110M.pt
138+
curl -Ls "https://raw.githubusercontent.com/karpathy/llama2.c/master/tokenizer.model" --output tokenizer.model
139139
# Create params.json file
140140
touch params.json
141141
echo '{"dim": 768, "multiple_of": 32, "n_heads": 12, "n_layers": 12, "norm_eps": 1e-05, "vocab_size": 32000}' > params.json

0 commit comments

Comments
 (0)