We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current implementation of perplexity.compute does not allow to provide a specific coda device (e.g. cuda:1 instead of just cuda.
perplexity.compute
cuda:1
cuda
evaluate/metrics/perplexity/perplexity.py
Line 108 in 8dfe057
Should probably be changed to something along the lines of:
assert device in ["gpu", "cpu", "cuda"] or re.search(r'^cuda:[0-9]+$', device), "device should be either gpu or cpu."
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current implementation of
perplexity.compute
does not allow to provide a specific coda device (e.g.cuda:1
instead of justcuda
.evaluate/metrics/perplexity/perplexity.py
Line 108 in 8dfe057
Should probably be changed to something along the lines of:
The text was updated successfully, but these errors were encountered: