mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-27 09:10:35 +08:00
[misc] fix accelerator (#9661)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -17,7 +17,7 @@ import pytest
|
||||
from llamafactory.eval.template import get_eval_template
|
||||
|
||||
|
||||
@pytest.mark.runs_on(["cpu"])
|
||||
@pytest.mark.runs_on(["cpu", "mps"])
|
||||
def test_eval_template_en():
|
||||
support_set = [
|
||||
{
|
||||
@@ -56,7 +56,7 @@ def test_eval_template_en():
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.runs_on(["cpu"])
|
||||
@pytest.mark.runs_on(["cpu", "mps"])
|
||||
def test_eval_template_zh():
|
||||
support_set = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user