mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-14 16:20:50 +08:00
Tweak test
This commit is contained in:
parent
25e636fb65
commit
3548fcd3c2
@ -75,7 +75,9 @@ def mock_openai_client():
|
||||
yield instance
|
||||
|
||||
|
||||
def test_transformers_loader():
|
||||
def test_transformers_loader(has_gpu):
|
||||
if not has_gpu:
|
||||
pytest.skip("requires GPU")
|
||||
loader = TransformersLoader()
|
||||
model, = loader.execute("microsoft/Phi-3-mini-4k-instruct", "")
|
||||
assert isinstance(model, LanguageModel)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user