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
The Recurrent class will not function without a GPU #901
Labels
Comments
Oh... Does this explain some of the nine failing tests in #905 ?!? If so, would it be possible to mark our jest tests as expected-to-fail-if there is no GPU or even if the environment variable $CI is defined? |
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is wrong?
I am trying to use the new Recurrent class from inside of a Docker container, which does not have access to a GPU driver. This is the error I receive, when trying to train:
Where does it happen?
Inside the node:20-alpine Docker image.
How do we replicate the issue?
Try to execute the following code from Node.js, within an environment that has no GPU driver:
(I don't think this code actually works as-is, because I can't get it running in the browser, either.)
Expected behavior (i.e. solution)
Brain.js should select 'cpu' mode, and proceed with training. Or, it should throw an error which states that 'cpu' mode is unsupported. It should never request 'gpu' mode in an environment without a GPU.
Version information
Nodejs:
20.3.0
Brain.js:
beta 23
How important is this (1-5)?
3
The text was updated successfully, but these errors were encountered: