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

File Limit Request: bitsandbytes - 300 MiB #3753

Closed
3 tasks done
Titus-von-Koeller opened this issue Mar 15, 2024 · 2 comments
Closed
3 tasks done

File Limit Request: bitsandbytes - 300 MiB #3753

Titus-von-Koeller opened this issue Mar 15, 2024 · 2 comments
Assignees

Comments

@Titus-von-Koeller
Copy link

Titus-von-Koeller commented Mar 15, 2024

Project URL

https://pypi.org/project/bitsandbytes

Does this project already exist?

  • Yes

New Limit

300 MiB

Update issue title

  • I have updated the title.

Which indexes

PyPI, TestPyPI

About the project

Hey, thanks so much for all the great work with PyPi!

Project description

bitsandbytes was started 1.5 years ago to make the research code of deep learning researcher Tim Dettmers accessible for other researchers and the broad public. By now it has become immensely popular and helps greatly in the effort to democratize AI. The library makes large language model inference and training more accessible by dramatically reducing memory consumption with 8-bit optimizers and k-bit quantization.

  • 8-bit optimizers uses block-wise quantization to maintain 32-bit performance at a small fraction of the memory cost.
  • LLM.Int() or 8-bit quantization enables large language model inference with only half the required memory and without any performance degradation. This method is based on vector-wise quantization to quantize most features to 8-bits and separately treating outliers with 16-bit matrix multiplication.
  • QLoRA or 4-bit quantization enables large language model training with several memory-saving techniques that don't compromise performance. This method quantizes a model to 4-bits and inserts a small set of trainable low-rank adaptation (LoRA) weights to allow training.

Efforts to reduce binary size

We're currently maxing out the 100MB in every release. The issue is that we support lot's of CUDA versions, each with "fat binaries" that support many compute capabilities.

Reasons for the request

Overall, we're very conscious of the size of our package, but we're always scraping at the 100MB. We'll keep focusing on keeping the binaries as small as technically possible, but it would be great to have some headroom at our disposal if we need, so we don't get blocked by this in the wrong moment.

cc @matthewdouglas @younesbelkada

Code of Conduct

  • I agree to follow the PSF Code of Conduct
@cmaureir
Copy link
Member

Hey @Titus-von-Koeller 👋
I've set the upload limit for bitsandbytes to 300 MB on PyPI and TestPyPI. Please be mindful of the frequency of releases at that size.
Have a nice week 🚀

@cmaureir cmaureir self-assigned this Jun 24, 2024
@Titus-von-Koeller
Copy link
Author

@cmaureir Yes, will do, thank you!

Can you see how close we are to reaching the maximum total data volume for all releases combined? We're a bit afraid that we're already close to that limit based on our estimates, but somehow couldn't find that info in our PyPi view.

Could you increase that as well and let us know where we're currently at, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants