Skip to content

Conversation

@ClaudeStabile
Copy link

Hello,

I did a quick fix for compil errors to Fix issue : #209
I also had to change CC build option to fully support latest CUDA
This should work for debian based fresh distro & latest code
This is just a quick fix, probably other call to that function may need some modifications also

⚠️ To be changed also in encodec.cpp : https://github.com/PABannier/encodec.cpp/blob/1cc279db4da979455651fbac1cbd151a2d121609/encodec.cpp

You also need to modify encodec.cpp line 215
model.backend = ggml_backend_cuda_init();
by model.backend = ggml_backend_cuda_init(0);

Then it compiles and support CUDA and Nvidia latest graphic drivers and modile

Hope this helps

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.

1 participant