/u/yurenh2/miniforge3/envs/eval/lib/python3.11/site-packages/transformers/utils/hub.py:110: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead. warnings.warn( (APIServer pid=1914169) The argument `trust_remote_code` is to be used with Auto classes. It has no effect here and is ignored. (APIServer pid=1914169) Parse safetensors files: 0%| | 0/9 [00:00", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/u/yurenh2/miniforge3/envs/eval/lib/python3.11/site-packages/trl/trainer/grpo_trainer.py", line 85, in from vllm.sampling_params import GuidedDecodingParams ImportError: cannot import name 'GuidedDecodingParams' from 'vllm.sampling_params' (/u/yurenh2/miniforge3/envs/eval/lib/python3.11/site-packages/vllm/sampling_params.py) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/projects/bfqt/users/yurenh2/ml-projects/personalization-user-model/collaborativeagents/training/train_grpo.py", line 21, in from trl import GRPOConfig, GRPOTrainer File "", line 1229, in _handle_fromlist File "/u/yurenh2/miniforge3/envs/eval/lib/python3.11/site-packages/trl/import_utils.py", line 147, in __getattr__ value = getattr(module, name) ^^^^^^^^^^^^^^^^^^^^^ File "/u/yurenh2/miniforge3/envs/eval/lib/python3.11/site-packages/trl/import_utils.py", line 146, in __getattr__ module = self._get_module(self._class_to_module[name]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/u/yurenh2/miniforge3/envs/eval/lib/python3.11/site-packages/trl/import_utils.py", line 158, in _get_module raise RuntimeError( RuntimeError: Failed to import trl.trainer.grpo_trainer because of the following error (look up to see its traceback): cannot import name 'GuidedDecodingParams' from 'vllm.sampling_params' (/u/yurenh2/miniforge3/envs/eval/lib/python3.11/site-packages/vllm/sampling_params.py)