Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix bugs introduced in #132 #135

Merged
merged 5 commits into from
Feb 25, 2024
Merged

fix: fix bugs introduced in #132 #135

merged 5 commits into from
Feb 25, 2024

Conversation

yzh119
Copy link
Collaborator

@yzh119 yzh119 commented Feb 25, 2024

The way #132 computes num_kv_chunks is buggy for short inputs, this PR fixes the issue.

@yzh119 yzh119 merged commit 9b7b0b9 into main Feb 25, 2024
@yzh119 yzh119 mentioned this pull request Feb 25, 2024
yzh119 added a commit that referenced this pull request Feb 25, 2024
#135 didn't consider the case that `max_num_kv_chunks == 0`, this PR
fixes the issue.
@MasterJH5574 MasterJH5574 deleted the bugfix-132 branch February 26, 2024 18:12
yzh119 added a commit that referenced this pull request Mar 8, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.0.3](v0.0.3...v0.1.0)
(2024-03-08)


### Features

* adding `sm_scale` field for all attention APIs
([#145](#145))
([85d4018](85d4018))
* enable `head_dim=256` for attention kernels
([#132](#132))
([0372acc](0372acc))
* pytorch api of fp8 kv-cache
([#156](#156))
([66ee066](66ee066))
* support ALiBi
([#146](#146))
([383518b](383518b))

### Misc
* add stream argument in BeginForwardFunction of TVMWrapper
([#164](#164))
([fabfcb5](https://github.com/flashinfer-ai/flashinfer/tree/fabfcb5751dcc003137a5a7d2d5514f3afe2e302))

### Bug Fixes

* bugfix to pr 135
([#136](#136))
([3d55c71](3d55c71))
* fix bugs introduced in
[#132](#132)
([#135](#135))
([9b7b0b9](9b7b0b9))
* fix FindThrust.cmake
([#161](#161))
([30fa584](30fa584))


### Performance Improvements

* multiple q by sm_scale in decode kernels
([#144](#144))
([660c559](660c559))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: yzh119 <expye@outlook.com>
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