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 BOFT setting env vars breaks C++ compilation #1739

Conversation

BenjaminBossan
Copy link
Member

Resolves #1738

Don't globally set the env vars for CC and CXX, but only temporarily set them for when loading the BOFT kernels.

@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.

Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

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

I can confirm this fixes the issue ! Thanks for the quick fix !

@danielhanchen
Copy link

Works! Great work! Repro to show it works: https://colab.research.google.com/drive/1-NHOoRLISEyisuQqFgUR5L714Fe9sLij?usp=sharing

@BenjaminBossan BenjaminBossan merged commit e3eeabf into huggingface:main May 17, 2024
14 checks passed
@BenjaminBossan
Copy link
Member Author

Thanks everyone for your help.

@BenjaminBossan BenjaminBossan deleted the fix-boft-env-vars-break-compilation branch May 17, 2024 10:43
BenjaminBossan added a commit that referenced this pull request May 17, 2024
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.

CUDA kernels from PEFT v0.11.0 breaks C++ compilation
4 participants