ci: fix numpy/numba, libnvJitLink.so.13, and gr00t AutoProcessor.register on align branch
Three regressions surfaced only on dev/vllm-align in Buildkite build 2520 (26 failing jobs vs 5 on main); ~15 of the 19 align-unique failures trace to these: 1. numpy 2.5 vs numba: Dockerfile.ci pinned numpy==2.2.6 before the flashinfer and torch cu130 reinstalls, which resolved numpy back to 2.5 and broke 'import numba' (needs numpy <= 2.4). Re-pin numpy as the final dependency op. 2. libnvJitLink.so.13 not found: the CUDA-13 JIT linker lives in the nvidia-cuda-nvjitlink-cu13 wheel, not /usr/local/cuda (CUDA 12) as the old LD_LIBRARY_PATH assumed; bitsandbytes/torch.compile subprocesses could not dlopen it (broke Entrypoint L4, a multi-GPU diffusion job, both Quantization jobs via hang/timeout). Install the wheel and register its lib dir via ldconfig. 3. transformers >= 5.5 AutoProcessor.register now requires the config class, not a model_type string; processing_gr00t_n1d7.py passed "Gr00tN1d7" -> AttributeError 'str' object has no attribute '__module__' -> pytest collection errors (exit 2). Pass Gr00tN1d7Config, matching AutoModel.register in modeling/gr00t_n1d7.py. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
7dcbe4e957
commit
b5c6a30d4e
2 files changed
+31
-8
No files matched your search
@@ -19,6 +19,7 @@ from transformers.utils import cached_file
|
||||
from vllm.logger import init_logger
|
||||
|
||||
from vllm_omni.diffusion.models.gr00t.configs.embodiment_configs import ModalityConfig
|
||||
from vllm_omni.diffusion.models.gr00t.configs.gr00t_n1d7 import Gr00tN1d7Config
|
||||
from vllm_omni.diffusion.models.gr00t.dataio.embodiment_tags import EmbodimentTag
|
||||
from vllm_omni.diffusion.models.gr00t.dataio.state_action.state_action_processor import StateActionProcessor
|
||||
from vllm_omni.diffusion.models.gr00t.dataio.utils import parse_modality_configs, to_json_serializable
|
||||
@@ -552,4 +553,9 @@ class Gr00tN1d7Processor(ProcessorMixin):
|
||||
return cls(**processor_kwargs, transformers_loading_kwargs=transformers_loading_kwargs)
|
||||
|
||||
|
||||
AutoProcessor.register("Gr00tN1d7", Gr00tN1d7Processor)
|
||||
# transformers >= 5.5 requires the config *class* (not a model_type string) as the
|
||||
# first arg to AutoProcessor.register — it does `key.__module__` internally. Passing
|
||||
# the string "Gr00tN1d7" raises AttributeError: 'str' object has no attribute
|
||||
# '__module__'. Match the AutoModel.register(Gr00tN1d7Config, ...) call in
|
||||
# modeling/gr00t_n1d7.py.
|
||||
AutoProcessor.register(Gr00tN1d7Config, Gr00tN1d7Processor)
|
||||
Reference in new issue
Block a user