File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,6 +107,13 @@ jobs:
107107 working-directory : ${{ matrix.path }}
108108 script : echo "Generated AVD snapshot for caching."
109109
110+ - name : Download model files
111+ run : |
112+ set -e
113+ mkdir -p model_files
114+ curl -fL -o model_files/model.pte "https://huggingface.co/pytorch/SmolLM3-3B-INT8-INT4/resolve/main/model.pte"
115+ curl -fL -o model_files/tokenizer.json "https://huggingface.co/pytorch/SmolLM3-3B-INT8-INT4/resolve/main/tokenizer.json"
116+
110117 - name : Run instrumentation tests
111118 uses : reactivecircus/android-emulator-runner@v2
112119 with :
@@ -116,4 +123,9 @@ jobs:
116123 emulator-options : -no-snapshot-save ${{ env.EMULATOR_OPTIONS }}
117124 disable-animations : true
118125 working-directory : ${{ matrix.path }}
119- script : ./gradlew connectedCheck
126+ script : |
127+ set -e
128+ adb shell mkdir -p /data/local/tmp/llama
129+ adb push $GITHUB_WORKSPACE/model_files/model.pte /data/local/tmp/llama/
130+ adb push $GITHUB_WORKSPACE/model_files/tokenizer.json /data/local/tmp/llama/
131+ ./gradlew connectedCheck
You can’t perform that action at this time.
0 commit comments