-
Notifications
You must be signed in to change notification settings - Fork 93
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
gpu out of memory #98
Comments
What nvidia-smi tell you? Maybe the GUI take too much ram. From memory 2G On Mon, May 16, 2016 at 4:36 AM, luoyangen [email protected] wrote:
|
2G might not be enough for the NMT example when vocabulary size is large. |
Sorry, I taught this comment where on another repository! I don't know about the size requirement of this examples. On Tue, May 17, 2016 at 2:43 PM, Orhan Firat [email protected]
|
@luoyangen hi, could you tell me how to run the code on GPU? I tried
then I am not sure what should I do next to fix this problem thanks! |
Your dataset is in float64. Make sure to cast it to floatX. On Fri, Nov 4, 2016 at 4:39 AM, andybug912 [email protected] wrote:
|
sorry for replying so late could you explain more in detail? I'm new both in python and theano From: Frédéric Bastien [email protected] Your dataset is in float64. Make sure to cast it to floatX. On Fri, Nov 4, 2016 at 4:39 AM, andybug912 [email protected] wrote:
You are receiving this because you commented. |
@nouiz I added just before functions return
so I think I may cast the data in a wrong way. Could you tell me how to fix it to run on gpu? |
I just ran the example NMT, the data used was automatic downloaded by prepare_data.py
while using gpu(GTX 850M, 2G gpu mem),
only after 5 iterations, then ran out of memory.
So i'm wandering, how many gpu mem we should have to train the model,
or did I have some mistakes.
The text was updated successfully, but these errors were encountered: