From d72ee8015a43d2ac0c1594e8c5c2e2aefc3a205d Mon Sep 17 00:00:00 2001 From: ehsanmok <6980212+ehsanmok@users.noreply.github.com> Date: Wed, 26 Apr 2023 18:09:47 -0700 Subject: [PATCH] Include python client tests --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 21fd11b5..032a49de 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,13 @@ router-dev: integration-tests: install-router install-launcher cargo test -python-tests: - cd server && HF_HUB_ENABLE_HF_TRANSFER=1 pytest tests +python-server-tests: + HF_HUB_ENABLE_HF_TRANSFER=1 pytest server/tests + +python-client-tests: + pytest clients/python/tests + +python-tests: python-server-tests python-client-tests run-bloom-560m: text-generation-launcher --model-id bigscience/bloom-560m --num-shard 2 --port 8080