Skip to content

Commit de78a29

Browse files
committed
Manual fixup
1 parent 1293f9d commit de78a29

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-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: 4 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
@@ -548,6 +545,7 @@ jobs:
548545
549546
# Setup executorch
550547
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "${BUILD_TOOL}"
548+
pwd
551549
# Install requirements for export_llama
552550
PYTHON_EXECUTABLE=python bash examples/models/llama/install_requirements.sh
553551
# Test llama2
@@ -628,9 +626,7 @@ jobs:
628626
conda activate "${CONDA_ENV}"
629627
630628
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "cmake"
631-
echo "::endgroup::"
632629
633-
echo "::group::Setup requirements"
634630
# install phi-3-mini requirements
635631
bash examples/models/phi-3-mini/install_requirements.sh
636632

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)