---
id: pr-quack-85
repo: Dao-AILab/quack
pr: 85
title: Avoid CUDA context initialization at import time
author: henrylhtsang
date: '2026-03-18'
url: https://github.com/Dao-AILab/quack/pull/85
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- gemm
- quack
- sm100
- sm90
techniques: []
hardware_features:
- blackwell
- hopper
kernel_types:
- gemm
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 448d314a823bf61efa2c80c8d1ffc08e57c8aa0a
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- quack/gemm_config.py
- quack/gemm_interface.py
artifact_dir: evidence/pull-bundles/quack/gh-85
head_ref_oid: 3d374461ab59bcca7582a1a0842cb30f3b26d671
---
# Avoid CUDA context initialization at import time

- Repository: `Dao-AILab/quack`
- PR: [85](https://github.com/Dao-AILab/quack/pull/85)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `quack/gemm_config.py`
- `quack/gemm_interface.py`

## Evidence Bundle

`evidence/pull-bundles/quack/gh-85`
