Skip to content

Commit

Permalink
ci: add text-to-image example
Browse files Browse the repository at this point in the history
  • Loading branch information
dacorvo committed Jul 23, 2024
1 parent 9594236 commit c985f22
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/linux-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
--weights $w --activations $a --device ${{ matrix.device }}; \
done; \
done
- name: Run OWL detection examples
- name: Run OWL detection example
run: |
for w in int4 int8 float8; do \
python examples/vision/object-detection/quantize_owl_model.py \
Expand All @@ -67,4 +67,10 @@ jobs:
--weights $w --activations $a --device ${{ matrix.device }}; \
done; \
done
- name: Run text-to-image example
if: ${{ matrix.device == 'cuda'}}
run: |
for w in int4 int8 fp8; do \
python examples/vision/text-to-image/quantize_pixart_sigma.py \
--qtype $w --device ${{ matrix.device }}; \
done

0 comments on commit c985f22

Please sign in to comment.