Skip to content

Commit 20c95e8

Browse files
author
Xiake Sun
authored
Port skip llm gguf macos test (#2328) to 25.2 (#2364)
Port skip llm gguf macos test #2328 in 2025/2 branch.
1 parent 01f0fe1 commit 20c95e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/python_tests/test_llm_pipeline.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import pytest
66
import torch
7+
import sys
78
import os
89
import json
910
import numpy as np
@@ -813,6 +814,8 @@ def py_streamer(py_str: str):
813814
@pytest.mark.parametrize("model_ids", get_gguf_model_list())
814815
@pytest.mark.precommit
815816
def test_pipelines_with_gguf_generate(pipeline_type, model_ids):
817+
if sys.platform == 'darwin':
818+
pytest.skip(reason="168882: Sporadic segmentation fault failure on MacOS.")
816819
gguf_model_id = model_ids["gguf_model_id"]
817820
gguf_filename = model_ids["gguf_filename"]
818821
prompt = 'Why is the Sun yellow?'
@@ -848,6 +851,8 @@ def test_pipelines_with_gguf_generate(pipeline_type, model_ids):
848851
@pytest.mark.parametrize("model_ids", get_gguf_model_list())
849852
@pytest.mark.precommit
850853
def test_full_gguf_pipeline(pipeline_type, model_ids):
854+
if sys.platform == 'darwin':
855+
pytest.skip(reason="168882: Sporadic segmentation fault failure on MacOS.")
851856
gguf_model_id = model_ids["gguf_model_id"]
852857
gguf_filename = model_ids["gguf_filename"]
853858
prompt = 'Why is the Sun yellow?'

0 commit comments

Comments
 (0)