test(ci): fix fast tests for ACP config and sarm import guards

- update ACP training tests to use current ACPConfig fields and shared ACP tag constants

- skip sarm subtask annotation tests when Qwen3VLMoe symbol is unavailable in transformers

- keep changes scoped to fast-tests paths and preserve runtime behavior
这个提交包含在:
Elvin
2026-03-04 12:40:04 +08:00
父节点 c96c678772
当前提交 a504d17713
共有 3 个文件被更改,包括 14 次插入 和 21 次删除

查看文件

@ -16,7 +16,12 @@
import pytest
pytest.importorskip("transformers")
transformers = pytest.importorskip("transformers")
if not hasattr(transformers, "Qwen3VLMoeForConditionalGeneration"):
pytest.skip(
"requires transformers with Qwen3VLMoeForConditionalGeneration",
allow_module_level=True,
)
from lerobot.data_processing.sarm_annotations.subtask_annotation import (
Subtask,