---
id: pr-flashinfer-2979
repo: flashinfer-ai/flashinfer
pr: 2979
title: Add filelock to ensure_symlink
author: wzhao18
date: '2026-04-06'
url: https://github.com/flashinfer-ai/flashinfer/pull/2979
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 01729d67efa4a61a092b9d2723df9a7ef4f17519
inclusion_reason: defer
changed_paths:
- flashinfer/jit/cubin_loader.py
- tests/utils/test_gen_module_symlink_race_condition.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-2979
head_ref_oid: d58826c559894c9f8b632ed0d0622059157d1806
---
# Add filelock to ensure_symlink

- Repository: `flashinfer-ai/flashinfer`
- PR: [2979](https://github.com/flashinfer-ai/flashinfer/pull/2979)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `flashinfer/jit/cubin_loader.py`
- `tests/utils/test_gen_module_symlink_race_condition.py`

## Evidence Bundle

`evidence/pull-bundles/flashinfer/gh-2979`
