The Python Oracle

How to prevent tensorflow from allocating the totality of a GPU memory?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Cosmic Puzzle

--

Chapters
00:00 Question
01:27 Accepted answer (Score 334)
02:11 Answer 2 (Score 218)
02:25 Answer 3 (Score 102)
03:13 Answer 4 (Score 62)
04:56 Thank you

--

Full question
https://stackoverflow.com/questions/3419...

Accepted answer links:
[tf.Session]: https://www.tensorflow.org/api_docs/pyth...
[tf.GPUOptions]: https://github.com/tensorflow/tensorflow...

Answer 2 links:
https://github.com/tensorflow/tensorflow...

Answer 3 links:
[docs]: https://www.tensorflow.org/beta/guide/us...
[docs]: https://www.tensorflow.org/guide/gpu#lim...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #tensorflow #tensorflow20 #tensorflow2x #nvidiatitan

#avk47