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

ci: reduce binary size #172

Merged
merged 2 commits into from
Mar 11, 2024
Merged

ci: reduce binary size #172

merged 2 commits into from
Mar 11, 2024

Conversation

yzh119
Copy link
Collaborator

@yzh119 yzh119 commented Mar 11, 2024

  1. Do not generate prefill kernels for page_size=8
  2. Build with -Xfatbin=-compress-all to reduce binary size.

Followup of #171 , @Qubitium the cuda architectures to be compiled could be controlled by environment variable TORCH_CUDA_ARCH_LIST, so I removed the gencode/archs specified in compile args.

@yzh119 yzh119 merged commit bd5b60a into main Mar 11, 2024
yzh119 added a commit that referenced this pull request Mar 11, 2024
…n dispatch (#173)

The release action
[failed](https://github.com/flashinfer-ai/flashinfer/actions/runs/8227731974/job/22501369048)
because
[action-gh-release](https://github.com/softprops/action-gh-release)
action do not support uploading multiple large files at a time:
softprops/action-gh-release#353

This PR changes the behavior of release job to upload artifacts in
multiple batches.

Also, #172 removes the
instantiation of page prefill kernels for `page_size=8`, this PR fixes
the behavior of `DISPATCH_PAGE_SIZE` by removing corresponding branches.
@MasterJH5574 MasterJH5574 deleted the reduce-binary-size branch March 12, 2024 19:10
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