gpt-2-simple icon indicating copy to clipboard operation
gpt-2-simple copied to clipboard

How to train with GPU on my own pc?

Open drizzt00s opened this issue 5 years ago • 3 comments

How to train with GPU on my own pc? Can anyone give a brief introduction?

drizzt00s avatar Aug 25 '20 10:08 drizzt00s

Basically you install anaconda , install gpt-2-simple and follow the instructions. pretty straight forward

i am running it on my local machine :)

prasys avatar Sep 03 '20 21:09 prasys

thx bro, I give it up. too many strange oom problems occurred. I have only a 1550ti and switch back to cpu

drizzt00s avatar Sep 18 '20 08:09 drizzt00s

I don't know how to switch between GPU and CPU, but you can check what you're using by logging with something similar to the following: sess = tf.Session(config=tf.ConfigProto(log_device_placement=True)) then in the output look for your GPU's name https://stackoverflow.com/questions/38009682/how-to-tell-if-tensorflow-is-using-gpu-acceleration-from-inside-python-shell

binkiebinkie avatar Oct 10 '20 12:10 binkiebinkie