---
id: pr-vllm-22637
repo: vllm-project/vllm
pr: 22637
title: '[Bugfix] Fix ModernBert load & Enable sliding window attention for bidirectional attention.'
author: noooop
date: '2025-08-12'
url: https://github.com/vllm-project/vllm/pull/22637
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 6d729c43fbaf63d534e71c0b8aa61f0a82dd2018
inclusion_reason: kernel file changes
changed_paths:
- tests/models/language/pooling/test_gte.py
- vllm/model_executor/models/modernbert.py
- vllm/v1/attention/backends/flash_attn.py
- vllm/v1/worker/gpu_model_runner.py
head_ref_oid: 3703abc9d6e687f049f6afa6c40600ec7d447eea
artifact_dir: evidence/pull-bundles/vllm/gh-22637
---
# [Bugfix] Fix ModernBert load & Enable sliding window attention for bidirectional attention.

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

## Changed Paths

- `tests/models/language/pooling/test_gte.py`
- `vllm/model_executor/models/modernbert.py`
- `vllm/v1/attention/backends/flash_attn.py`
- `vllm/v1/worker/gpu_model_runner.py`

## Evidence Bundle

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