mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2026-10-05 14:25:43 +08:00
[xpu] add Intel XPU support to test infrastructure and runs_on markers (#10835)
Co-authored-by: Claude Opus 5 <noreply@anthropic.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", "mps"])
|
||||
@pytest.mark.runs_on(["cpu", "mps", "xpu"])
|
||||
def test_eval_template_en():
|
||||
support_set = [
|
||||
{
|
||||
@@ -56,7 +56,7 @@ def test_eval_template_en():
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.runs_on(["cpu", "mps"])
|
||||
@pytest.mark.runs_on(["cpu", "mps", "xpu"])
|
||||
def test_eval_template_zh():
|
||||
support_set = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user