Skip to content

bugfix: fix prefill/append kernel behavior for empty kv-cache. - #353

Merged
yzh119 merged 1 commit into
mainfrom
fix-prefill-empty-kv-cache
Jul 3, 2024
Merged

yzh119 merged 1 commit into
mainfrom
fix-prefill-empty-kv-cache

Conversation

@yzh119

@yzh119 yzh119 commented Jul 3, 2024

Copy link
Copy Markdown
Collaborator

The prefill kernels was buggy when some of the requests have empty kv-cache, this PR fixes the issue.

@yzh119
yzh119 merged commit 7adc8cf into main Jul 3, 2024
@yzh119
yzh119 deleted the fix-prefill-empty-kv-cache branch July 3, 2024 07:48
@yzh119 yzh119 mentioned this pull request Jul 3, 2024
yzh119 added a commit that referenced this pull request Jul 3, 2024
##
[0.0.8](v0.0.7...v0.0.8)
(2024-07-03)

### Bugfix

* fix prefill/append kernel behavior for empty kv-cache
([#353](#353))
([7adc8c](7adc8cf))
* fix decode attention kernel with logits cap
([#350](#350))
([f5f7a2](f5f7a2a))
zhenhantech referenced this pull request in zhenhantech/flashinfer Jan 9, 2026
…cosystem#353)

The prefill kernels was buggy when some of the requests have empty
kv-cache, this PR fixes the issue.
zhenhantech pushed a commit to zhenhantech/flashinfer that referenced this pull request Jan 9, 2026
##
[0.0.8](flashinfer-ai/flashinfer@v0.0.7...v0.0.8)
(2024-07-03)

### Bugfix

* fix prefill/append kernel behavior for empty kv-cache
([AMD-Ecosystem#353](flashinfer-ai#353))
([7adc8c](flashinfer-ai@0f08964))
* fix decode attention kernel with logits cap
([AMD-Ecosystem#350](flashinfer-ai#350))
([f5f7a2](flashinfer-ai@c5d5393))
dierksen added a commit that referenced this pull request Aug 20, 2026
<!-- .github/pull_request_template.md -->

## 📌 Description

Complete the staged nightly-release migration by publishing new nightly
assets only to `flashinfer-ai/whl`.

- Remove legacy release creation and uploads from
`flashinfer-ai/flashinfer`.
- Keep Python, cubin, and all JIT-cache wheel uploads in the dedicated
`whl` repository.
- Preserve the existing nightly index destination and all historical
releases and index entries.
- Reduce the release job `contents` permission from write to read.

[Nightly run
#353](https://github.com/flashinfer-ai/flashinfer/actions/runs/32205961784)
completed the temporary dual-write canary successfully. The two
repositories received matching assets, all eight new wheel-index entries
point to `flashinfer-ai/whl`, their hashes match GitHub asset metadata,
and exact one-byte retrieval checks succeeded.

## 🔍 Related Issues

- #3854

## 🚀 Pull Request Checklist

Thank you for contributing to FlashInfer! Before we review your pull
request, please make sure the following items are complete.

### ✅ Pre-commit Checks

- [x] I have installed `pre-commit` by running `pip install pre-commit`
(or used your preferred method).
- [x] I have installed the hooks with `pre-commit install`.
- [x] I have run the hooks manually with `pre-commit run --all-files`
and fixed any reported issues.

> If you are unsure about how to set up `pre-commit`, see [the
pre-commit documentation](https://pre-commit.com/).

## 🧪 Tests

- [x] Tests have been added or updated as needed.
- [x] All tests are passing (`unittest`, etc.).

## Reviewer Notes

Validation performed:

- Parsed `.github/workflows/nightly-release.yml` with Ruby YAML.
- Ran `pre-commit run --files .github/workflows/nightly-release.yml`.
- Ran `git diff --check`.
- Verified the live Aug. 19 index entries, SHA-256 digests, and exact
asset retrievals.

This is a workflow-only change, so no runtime tests were added. The full
`pre-commit run --all-files` suite was not run. `actionlint` was not
available locally; GitHub Actions will provide the authoritative
workflow validation.

Review focus: confirm that no legacy release creation or upload path
remains and that the dedicated `whl` release and index flow are
unchanged.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Nightly releases and build artifacts are now published exclusively
through the wheel repository.
  * Removed legacy nightly release publishing configuration.
* Updated release permissions to use read-only repository access where
applicable.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant