---
id: pr-vllm-18046
repo: vllm-project/vllm
pr: 18046
title: '[Kernel] Have rotary embeddings support tensors'
author: LucasWilkinson
date: '2025-05-14'
url: https://github.com/vllm-project/vllm/pull/18046
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: d93c976a0d78639d0ea9074a9e01607f0d5c5670
inclusion_reason: kernel file changes
changed_paths:
- csrc/pos_encoding_kernels.cu
- tests/kernels/core/test_pos_encoding.py
- tests/kernels/core/test_rotary_embedding.py
- vllm/_custom_ops.py
head_ref_oid: 332c760ca60f9e0f2322224a3ed5fd3e0ed418c2
artifact_dir: evidence/pull-bundles/vllm/gh-18046
---
# [Kernel] Have rotary embeddings support tensors

- Repository: `vllm-project/vllm`
- PR: [18046](https://github.com/vllm-project/vllm/pull/18046)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `csrc/pos_encoding_kernels.cu`
- `tests/kernels/core/test_pos_encoding.py`
- `tests/kernels/core/test_rotary_embedding.py`
- `vllm/_custom_ops.py`

## Evidence Bundle

`evidence/pull-bundles/vllm/gh-18046`
