### What this PR does / why we need it? This PR add additional check on creating global `_cos` and `_sin`, avoid creating them when using `mrope` or encoder-decoder model. - vLLM version: v0.12.0 - vLLM main: https://github.com/vllm-project/vllm/commit/ad32e3e19ccf0526cb6744a5fed09a138a5fb2f9 Signed-off-by: Angazenn <supperccell@163.com>