---
id: pr-flashinfer-1948
repo: flashinfer-ai/flashinfer
pr: 1948
title: 'Fix #1641: Use `/usr/local/cuda` as default `CUDA_HOME` if possible, like `torch.utils.cpp_extension.CUDA_HOME`'
author: netanel-haber
date: '2025-10-20'
url: https://github.com/flashinfer-ai/flashinfer/pull/1948
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 9ee58ac930c094f66c25760d5e5da2eb0093b83b
inclusion_reason: defer
changed_paths:
- flashinfer/jit/cpp_ext.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-1948
head_ref_oid: fee22dfd36800c93b89cc1ba014c01c51cbd9df8
---
# Fix #1641: Use `/usr/local/cuda` as default `CUDA_HOME` if possible, like `torch.utils.cpp_extension.CUDA_HOME`

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

## Changed Paths

- `flashinfer/jit/cpp_ext.py`

## Evidence Bundle

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