Skip to content

Commit b866837

Browse files
authored
Use torchtune 0.6.1 (#10792)
1 parent f688329 commit b866837

File tree

6 files changed

+1
-25
lines changed

6 files changed

+1
-25
lines changed

.ci/scripts/test_model.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ test_model() {
8787
bash examples/models/llava/install_requirements.sh
8888
STRICT="--no-strict"
8989
fi
90-
if [[ "$MODEL_NAME" == "llama3_2_vision_encoder" || "$MODEL_NAME" == "llama3_2_text_decoder" ]]; then
91-
# Install requirements for llama vision.
92-
bash examples/models/llama3_2_vision/install_requirements.sh
93-
fi
9490
if [[ "${MODEL_NAME}" == "qwen2_5" ]]; then
9591
# Install requirements for export_llama
9692
bash examples/models/llama/install_requirements.sh

.ci/scripts/unittest-linux.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ if [[ "$BUILD_TOOL" == "cmake" ]]; then
2424
CMAKE_ARGS="-DEXECUTORCH_BUILD_PYBIND=ON -DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
2525
.ci/scripts/setup-linux.sh "$@"
2626

27-
# Install llama3_2_vision dependencies.
28-
PYTHON_EXECUTABLE=python ./examples/models/llama3_2_vision/install_requirements.sh
29-
3027
.ci/scripts/unittest-linux-cmake.sh
3128
elif [[ "$BUILD_TOOL" == "buck2" ]]; then
3229
# Removing this breaks sccache in the Buck build, apparently

.ci/scripts/unittest-macos.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ if [[ "$BUILD_TOOL" == "cmake" ]]; then
2929
# Install llama3_2_vision dependencies.
3030
PYTHON_EXECUTABLE=python \
3131
${CONDA_RUN} --no-capture-output \
32-
./examples/models/llama3_2_vision/install_requirements.sh
3332

3433
.ci/scripts/unittest-macos-cmake.sh
3534
elif [[ "$BUILD_TOOL" == "buck2" ]]; then

backends/arm/test/test_arm_baremetal.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ test_pytest_ops() { # Test ops and other things
8383
test_pytest_models() { # Test ops and other things
8484
echo "${TEST_SUITE_NAME}: Run pytest"
8585

86-
examples/models/llama3_2_vision/install_requirements.sh
87-
8886
# Prepare for pytest
8987
backends/arm/scripts/build_executorch.sh
9088

@@ -117,8 +115,6 @@ test_pytest_ops_ethosu_fvp() { # Same as test_pytest but also sometime verify us
117115
test_pytest_models_ethosu_fvp() { # Same as test_pytest but also sometime verify using Corstone FVP
118116
echo "${TEST_SUITE_NAME}: Run pytest with fvp"
119117

120-
examples/models/llama3_2_vision/install_requirements.sh
121-
122118
# Prepare Corstone-3x0 FVP for pytest
123119
backends/arm/scripts/build_executorch.sh
124120
backends/arm/scripts/build_portable_kernels.sh

examples/models/llama3_2_vision/install_requirements.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

requirements-examples.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
# TODO: Make each example publish its own requirements.txt
33
timm == 1.0.7
44
torchsr == 1.0.4
5+
torchtune >= 0.6.1
56
transformers ==4.47.1

0 commit comments

Comments
 (0)