Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ying1123 committed Aug 25, 2024
1 parent 9022780 commit ec2bd1b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/srt/models/test_embedding_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ def assert_close_prefill_logits(
), "embeddings are not all close"

def test_prefill_logits(self):
import multiprocessing as mp

try:
mp.set_start_method("spawn")
except RuntimeError:
pass

for model, tp_size, prefill_tolerance in MODELS:
for torch_dtype in TORCH_DTYPES:
self.assert_close_prefill_logits(
Expand Down

0 comments on commit ec2bd1b

Please sign in to comment.