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

Source Code for cadam_8bit_blockwise_grad_bf16 #1417

Open
ionutmodo opened this issue Nov 18, 2024 · 1 comment
Open

Source Code for cadam_8bit_blockwise_grad_bf16 #1417

ionutmodo opened this issue Nov 18, 2024 · 1 comment

Comments

@ionutmodo
Copy link

ionutmodo commented Nov 18, 2024

Hi,

I have been looking for the source code of the function cadam_8bit_blockwise_grad_bf16, which is used in the .so library here, but unfortunately I cannot find the code in the files in the csrc folder or by using the search function in GitHub.

I observed that the bitsandbytes library comes with pre-compiled .so files and the function cadam_8bit_blockwise_grad_bf16 can be found in the file libbitsandbytes_cuda124.so when I run nm libbitsandbytes_cuda124.so.

In the file pythonInterface.cpp I found the macro that dynamically creates these functions (see here), but I still cannot find the code from this exact line linked here.

Can you please help me understand what is the function that's actually called in C when the function lib.cadam_8bit_blockwise_grad_bf16 is called in python?

Thank you,
ionut

@gau-nernst
Copy link

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

No branches or pull requests

2 participants