We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bed662d commit 22b483aCopy full SHA for 22b483a
tests/test_llama_chat_format.py
@@ -1,5 +1,6 @@
1
import json
2
import os
3
+import platform
4
from collections.abc import Iterator
5
from typing import cast
6
@@ -155,6 +156,10 @@ def is_accelerator_available() -> bool:
155
156
),
157
],
158
)
159
+@pytest.mark.skipif(
160
+ platform.system() == "Darwin" and (os.cpu_count() or 1) < 8,
161
+ reason="Insufficient resources on macOS",
162
+)
163
def test_llama_cpp_python_tool_use(
164
llm_repo_id: str,
165
user_prompt_expected_tool_calls: tuple[str, int],
0 commit comments