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

Solution: Better Fix for Cuda Home on Linux #107

Closed
RandomInternetPreson opened this issue Mar 3, 2024 · 1 comment
Closed

Solution: Better Fix for Cuda Home on Linux #107

RandomInternetPreson opened this issue Mar 3, 2024 · 1 comment

Comments

@RandomInternetPreson
Copy link

RandomInternetPreson commented Mar 3, 2024

Hello, I really want you to know how much I love this extension!!! OMG <3 Thank you so much, it is really appreciated.

The integration of deepspeed in particular lets one pretty much talk to their models in real time. I had been using your extension in windows using the prebuilt wheels and they were working great.

I recently switched over to ubuntu and got deepspeed working as per your instructions. The initialization of deepspeed is a little cumbersome and I had a lot of stuff in my CMD_FLAGS.txt file that I wanted to automatically run when starting oobabooga.

I figured out that putting:

export CUDA_HOME="/usr/local/cuda"

Right above:

setup installer env

in the start_linux.sh file is a lot easier and let's me use the CMD_Flags.txt file once again.

I have included an image to help make it more clear:

cudahome

@RandomInternetPreson RandomInternetPreson changed the title Better Fix for Cuda Home on Linux Solution: Better Fix for Cuda Home on Linux Mar 3, 2024
@erew123
Copy link
Owner

erew123 commented Mar 4, 2024

Hi @RandomInternetPreson

Thanks so much! Its always great to hear that people use it and enjoy it! If I ever put up a reviews section, Ill have have to quote you :) Seriously, thanks for the feedback, it genuinely is nice to hear!

TTS with DeepSpeed on Linux always seems faster to me (on the same machine) compared to Windows. Sufficiently fast enough to notice a difference.

Sticking the export in the start-up script, well, id never thought about giving that a go. But I cant see why it would be a problem. I've added it to documentation as a suggestion for Linux DeepSpeed. Thanks for the suggestion on that!

All the best!

@erew123 erew123 closed this as completed Mar 4, 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

No branches or pull requests

2 participants