Reputation: 21612
I experienced some problems due small GPU memory (1Gb), the problem is that for now I choose batch_size
by trial and error and it seems even if memory size printed in log by line Memory required for data:
is less than 1Gb it can fail.
So my questions are:
batch_size
?UPDATE: Also I checked the code , but I'm not sure what is top_vecs_
Upvotes: 5
Views: 2297
Reputation: 1483
If memory size printed in log by line Memory required for data is less than your total GPU memory, it still can fail, because other programs are using some of your GPU memory. Under linux you can use nvidia-smi command to check the stats. For me Ubuntu graphic environment using 97MB.
Upvotes: 2