Fix TypeError in convert_rope_params_to_dict when ignore_keys is a list (#44272)
Fix TypeError when ignore_keys_at_rope_validation is a list
In `convert_rope_params_to_dict`, the `ignore_keys_at_rope_validation`
parameter is expected to be a set but can arrive as a list when model
configs are deserialized from JSON (e.g. Qwen3.5 via vLLM). The union
operator `list | set` raises TypeError on Python 3.12+.
Wrap the value in `set()` to normalize all iterables before the union.
`set(already_a_set)` is a no-op copy, so existing behavior is preserved.
Co-authored-by: hangjun-ezra <hangjun-ezra@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>