Skip to content

Commit 0d6ebe2

Browse files
committed
Manual fixup
1 parent 5582e93 commit 0d6ebe2

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.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)