Skip to content

Conversation

matthewdouglas
Copy link
Member

PyTorch 2.7 was just released. The default wheel from PyPI is built with CUDA toolkit 12.6, compared to 12.4 with earlier PyTorch releases. This resulted in broken tests for bitsandbytes, as the Docker image that builds bitsandbytes from source only builds with CUDA 12.4.

We'll update the Dockerfiles to use CUDA 12.6, matching the PyTorch 2.7 that is now used in the tests. This will result in building the libbitsandbytes_cuda126.so version that we need instead of libbitsandbytes_cuda124.so.

Secondly, I'm removing the multi-backend-refactor version of this workflow as we're starting to move that effort into main.

cc: @BenjaminBossan

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@BenjaminBossan
Copy link
Member

Thanks for taking care of this. Since the multi-backend tests are removed, we can also completely remove https://github.com/huggingface/peft/tree/main/docker/peft-gpu-bnb-multi-source, right?

As a reminder for myself, once the PR is merged, I should also update the internal Notion docs.

Regarding the failing zizmor job, this can be ignored for now. The failing trufflehog job also seems unrelated.

@matthewdouglas
Copy link
Member Author

Absolutely. I've updated to clean that up!

Copy link
Member

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix and the clean up. LGTM. This PR can be merged once the CI has finished.

@matthewdouglas matthewdouglas merged commit 9fdb21e into main Apr 24, 2025
16 of 21 checks passed
Guy-Bilitski pushed a commit to Guy-Bilitski/peft that referenced this pull request May 13, 2025
* Update Docker image builds for torch 2.7+cu126

* Remove bnb multi-source dockerfile
efraimdahl pushed a commit to efraimdahl/peft that referenced this pull request Jul 12, 2025
* Update Docker image builds for torch 2.7+cu126

* Remove bnb multi-source dockerfile
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.

3 participants