Skip to content

Commit a7f9ac3

Browse files
committed
Manual fixup
1 parent 1293f9d commit a7f9ac3

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.ci/scripts/test_wheel_package_qnn.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ run_core_tests () {
136136
local PIPBIN="$2" # path to pip
137137
local LABEL="$3" # label to print (conda/venv)
138138

139-
echo "=== [$LABEL] Installing wheel & deps ==="
139+
140140
"$PIPBIN" install --upgrade pip
141141
"$PIPBIN" install "$WHEEL_FILE"
142-
"$PIPBIN" install torch=="2.9.0"
142+
"$PIPBIN" install torch=="2.9.1"
143143
"$PIPBIN" install --pre torchao --index-url "https://download.pytorch.org/whl/nightly/cpu"
144144

145145
echo "=== [$LABEL] Import smoke tests ==="

.github/workflows/pull.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,9 @@ jobs:
307307
308308
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "cmake"
309309
310-
echo "::group::Setup Huggingface"
311-
pip install -U "huggingface_hub[cli]<1.0" accelerate
312-
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
313-
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
314-
pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
315-
echo "::endgroup::"
310+
# install Llava requirements
311+
bash examples/models/llama/install_requirements.sh
312+
bash examples/models/llava/install_requirements.sh
316313
317314
# run python unittest
318315
python -m unittest examples.models.llava.test.test_llava
@@ -628,9 +625,7 @@ jobs:
628625
conda activate "${CONDA_ENV}"
629626
630627
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "cmake"
631-
echo "::endgroup::"
632628
633-
echo "::group::Setup requirements"
634629
# install phi-3-mini requirements
635630
bash examples/models/phi-3-mini/install_requirements.sh
636631

examples/models/llama/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Install tokenizers for hf .json tokenizer.
1111
# Install snakeviz for cProfile flamegraph
1212
# Install lm-eval for Model Evaluation with lm-evalution-harness.
13-
pip install hydra-core huggingface_hub tiktoken torchtune sentencepiece tokenizers snakeviz lm_eval==0.4.5 blobfile
13+
pip install hydra-core "huggingface_hub<1.0" tiktoken torchtune sentencepiece tokenizers snakeviz lm_eval==0.4.5 blobfile
1414

1515
# Call the install helper for further setup
1616
python examples/models/llama/install_requirement_helper.py

0 commit comments

Comments
 (0)