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

PYTORCH_CUDA_ALLOC_CONF #12

Open
AssetDK opened this issue May 15, 2023 · 0 comments
Open

PYTORCH_CUDA_ALLOC_CONF #12

AssetDK opened this issue May 15, 2023 · 0 comments

Comments

@AssetDK
Copy link

AssetDK commented May 15, 2023

Hi - thanks for some really good instructions for installation. Sadly this was hard to find, but I finally did.

Perhaps you can help... while BARK_TT seems to load ok, I get this CUDA error when loading - saying that I could add some PYTORCH_CUDA_ALLOC_CONF paramter and I tried a few things, but it does not work... I tried this:

Add this statement for the start of @Rem config part of start_windows.bat

  • set 'PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512'

Added run_cmd("set 'PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512'" ) # both with and without environment=True

Like for many of the readme files and instructions it is not really clear where to add these paramters/commands? And it is not easy to know if they are actually set correctly but I tired to run this: echo %PYTORCH_CUDA_ALLOC_CONF% and is yields the correct value...

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

1 participant