mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-07-15 01:23:25 -07:00
Another try, fixing missing env vars
This commit is contained in:
parent
2178d9e9de
commit
f9a4d4f528
2 changed files with 11 additions and 1 deletions
4
.github/workflows/python_backend_tests.yaml
vendored
4
.github/workflows/python_backend_tests.yaml
vendored
|
@ -14,7 +14,9 @@ jobs:
|
|||
pip install -r tests/python_backend/requirements.txt
|
||||
- name: Build container
|
||||
run: |
|
||||
docker compose build
|
||||
cp tests/python_backend/runner.env .env &&
|
||||
docker compose build &&
|
||||
rm -f .env
|
||||
- name: Run tests
|
||||
run: pytest tests
|
||||
|
||||
|
|
8
tests/python_backend/runner.env
Normal file
8
tests/python_backend/runner.env
Normal file
|
@ -0,0 +1,8 @@
|
|||
NUM_GPUS=1
|
||||
GPUS=0
|
||||
API_EXTERNAL_PORT=5000
|
||||
TRITON_HOST=triton
|
||||
TRITON_PORT=8001
|
||||
MODEL=py-codegen-350M-mono
|
||||
MODEL_DIR=${HOME}/models/py-Salesforce-codegen-350M-mono
|
||||
HF_CACHE_DIR=${HOME}/.cache/huggingface
|
Loading…
Add table
Add a link
Reference in a new issue