Skip to content

How to compile https://github.com/ROCmSoftwarePlatform/bitsandbytes? #3120

Answered by garrettbyrd
liangyong928 asked this question in Q&A
Discussion options

You must be logged in to vote

There are Makefiles in other branches. E.g., rocm6.2_internal_testing (link), although I don't think dropping it straight into the rocm_enabled branch works. I know you'd have to change line 30 from FILES_CPP := $(CSRC)/common.cpp $(CSRC)/cpu_ops.cpp $(CSRC)/pythonInterface.c to FILES_CPP := $(CSRC)/common.cpp $(CSRC)/cpu_ops.cpp $(CSRC)/pythonInterface.cpp, since that file is different between these branches. There are likely other tweaks you'd have to make as well, but I'm also currently working through this.

Why there is no Makefile in the rocm_enabled branch though, I have no idea.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by liangyong928
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants