Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ jobs:

- name: Install wheel
run: |
uv pip install colorlog git+https://github.com/ModelCloud/Tokenicer -U
uv pip install colorlog logbar git+https://github.com/ModelCloud/Tokenicer -U
echo "===== install optimum bitblas parameterized uvicorn ====="
uv pip install optimum bitblas==0.0.1.dev13 parameterized uvicorn -i http://${{ needs.check-vm.outputs.ip }}/simple/ --trusted-host ${{ needs.check-vm.outputs.ip }} --extra-index-url https://pypi.org/simple
echo "===== install dist/whl ====="
Expand Down Expand Up @@ -547,7 +547,7 @@ jobs:

- name: Install wheel
run: |
uv pip install -U transformers colorlog
uv pip install -U transformers colorlog logbar
if [ "${{ matrix.test_script }}" == "test_perplexity" ] || \
[ "${{ matrix.test_script }}" == "test_q4_bitblas" ] || \
[ "${{ matrix.test_script }}" == "test_save_loaded_quantized_model" ]; then
Expand Down
2 changes: 1 addition & 1 deletion tests/inference_speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def inference(self, model_path, backend, tokens_per_second, assert_result=True,
print(f"New Token Per Second: {avg_tokens_per_second} token/s")
print(f"**************** {backend} Warm-up Result Info End****************")

pb = ProgressBar(range(self.NUM_RUNS)).title("Run")
pb = logger.pb(range(self.NUM_RUNS)).title("Run")
for _ in pb:
start_time = time.time()
result = model.generate(**inp, max_new_tokens=self.MAX_NEW_TOKENS, pad_token_id=tokenizer.pad_token_id)
Expand Down