File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,13 @@ jobs:
2020 - name : Run Spyre tests within docker container
2121 run : |
2222 docker run -i --rm --entrypoint /bin/bash vllm-spyre -c '''
23+ pip install pytest sentence-transformers && \
2324 python3.12 -c "from transformers import pipeline; pipeline(\"text-generation\", model=\"JackFram/llama-160m\")" && \
2425 export VARIANT=$(ls /root/.cache/huggingface/hub/models--JackFram--llama-160m/snapshots/) && \
2526 mkdir -p /models && \
2627 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 && \
2831 python3.12 -m pytest tests/spyre -v
2932 '''
Original file line number Diff line number Diff line change 1010 st_embeddings )
1111
1212
13- @pytest .mark .skip ("Skip until failure is resolved." )
1413@pytest .mark .parametrize ("model" , ["/models/all-roberta-large-v1" ])
1514@pytest .mark .parametrize ("prompts" , [[
1615 "The capital of France is Paris."
You can’t perform that action at this time.
0 commit comments