File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,13 @@ jobs:
20
20
- name : Run Spyre tests within docker container
21
21
run : |
22
22
docker run -i --rm --entrypoint /bin/bash vllm-spyre -c '''
23
+ pip install pytest sentence-transformers && \
23
24
python3.12 -c "from transformers import pipeline; pipeline(\"text-generation\", model=\"JackFram/llama-160m\")" && \
24
25
export VARIANT=$(ls /root/.cache/huggingface/hub/models--JackFram--llama-160m/snapshots/) && \
25
26
mkdir -p /models && \
26
27
ln -s /root/.cache/huggingface/hub/models--JackFram--llama-160m/snapshots/${VARIANT} /models/llama-194m && \
27
- pip install pytest sentence-transformers && \
28
+ python3.12 -c "from sentence_transformers import SentenceTransformer; SentenceTransformer(\"sentence-transformers/all-roberta-large-v1\")" && \
29
+ export VARIANT=$(ls /root/.cache/huggingface/hub/models--sentence-transformers--all-roberta-large-v1/snapshots/) && \
30
+ ln -s /root/.cache/huggingface/hub/models--sentence-transformers--all-roberta-large-v1/snapshots/${VARIANT} /models/all-roberta-large-v1 && \
28
31
python3.12 -m pytest tests/spyre -v
29
32
'''
Original file line number Diff line number Diff line change 10
10
st_embeddings )
11
11
12
12
13
- @pytest .mark .skip ("Skip until failure is resolved." )
14
13
@pytest .mark .parametrize ("model" , ["/models/all-roberta-large-v1" ])
15
14
@pytest .mark .parametrize ("prompts" , [[
16
15
"The capital of France is Paris."
You can’t perform that action at this time.
0 commit comments