Skip to content

Commit 3f02650

Browse files
committed
test 2
1 parent ee75b55 commit 3f02650

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/_android.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
run-emulator:
6262
# NB: Use metal install for KVM support to run the emulator faster
6363
runs-on: linux.24xl.spr-metal
64+
needs: build-llm-demo
6465
env:
6566
ANDROID_NDK_VERSION: r27b
6667
API_LEVEL: 34

extension/android/executorch_android/android_test_setup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ curl -C - -Ls "https://raw.githubusercontent.com/karpathy/llama2.c/master/tokeni
2121
# Create params.json file
2222
touch params.json
2323
echo '{"dim": 288, "multiple_of": 32, "n_heads": 6, "n_layers": 6, "norm_eps": 1e-05, "vocab_size": 32000}' > params.json
24-
python -m examples.models.llama.export_llama -c stories15M.pt -p params.json -d fp16 -n stories15m_h.pte -kv
24+
# python -m examples.models.llama.export_llama -c stories15M.pt -p params.json -d fp16 -n stories15m_h.pte -kv
25+
python -m examples.models.llama.export_llama -c stories15M.pt -p params.json -n stories15m_h.pte -X -kv
2526
python -m pytorch_tokenizers.tools.llama2c.convert -t tokenizer.model -o tokenizer.bin
2627

2728
cp stories15m_h.pte "${BASEDIR}/src/androidTest/resources/stories.pte"

0 commit comments

Comments
 (0)