-
Notifications
You must be signed in to change notification settings - Fork 59
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
Hardcoded GPU 0? #9
Comments
From the fourth line of the readme:
Did you happen to try As for finding things that are hard-coded, are you aware that you can search the repository? |
Thanks! The values in mlm-scoring/src/mlm/scorers.py Lines 561 to 568 in 6727297
Maybe that should be set to whatever is specified by |
Hi there,
I'm facing an issue with your PyTorch implementation and some input sentences. E.g.
gives the following error:
I'm working on a server with three GPUs and tried setting
ctxs = [mx.gpu(0)]
,ctxs = [mx.gpu(1)]
,ctxs = [mx.gpu(2)]
andctxs = [mx.cpu()]
but I always get the same error about GPU 0. I'm wondering if this is hardcoded somewhere in your code? Changing thectxs
variable seems to have no effect.Thanks.
The text was updated successfully, but these errors were encountered: