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

MAGMA not initialised during training #8

Open
wallematthias opened this issue Oct 20, 2021 · 3 comments
Open

MAGMA not initialised during training #8

wallematthias opened this issue Oct 20, 2021 · 3 comments

Comments

@wallematthias
Copy link

Hi,

when I train the dbsr model on the default_realworld setting I get the following error during training:

Error in magma getdevice arch: MAGMA not initialized (call magma init() first) or bad device
First, I thought this was due to multiprocessing start method, but it is already set to spawn.

Any Ideas?

Best,
Matthias

@yjsunnn
Copy link

yjsunnn commented Oct 20, 2021

What's your pytorch version? When my torch version==1.9.0, I got the same MAGMA error. And I fixed the problem by downgrading pytorch to 1.7 version.

@wallematthias
Copy link
Author

wallematthias commented Oct 20, 2021

Hi susan,

You are correct I had 1.9 installed, downgrading to the following solved the problem:

# CUDA 10.2
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.2 -c pytorch

THANK YOU :)

@goutamgmb
Copy link
Owner

Hi,

Thanks for raising this issue @wallematthias and for the solution @susan-sun1999. I will check this and post a note on the install page.

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

3 participants