{"action":"opened","issue":{"url":"https://api.github.com/repos/keras-team/keras/issues/11584","repository_url":"https://api.github.com/repos/keras-team/keras","labels_url":"https://api.github.com/repos/keras-team/keras/issues/11584/labels{/name}","comments_url":"https://api.github.com/repos/keras-team/keras/issues/11584/comments","events_url":"https://api.github.com/repos/keras-team/keras/issues/11584/events","html_url":"https://github.com/keras-team/keras/issues/11584","id":377574121,"node_id":"MDU6SXNzdWUzNzc1NzQxMjE=","number":11584,"title":"Allowing GPU memory growth command does not work","user":{"login":"Schiboni","id":33553091,"node_id":"MDQ6VXNlcjMzNTUzMDkx","avatar_url":"https://avatars1.githubusercontent.com/u/33553091?v=4","gravatar_id":"","url":"https://api.github.com/users/Schiboni","html_url":"https://github.com/Schiboni","followers_url":"https://api.github.com/users/Schiboni/followers","following_url":"https://api.github.com/users/Schiboni/following{/other_user}","gists_url":"https://api.github.com/users/Schiboni/gists{/gist_id}","starred_url":"https://api.github.com/users/Schiboni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schiboni/subscriptions","organizations_url":"https://api.github.com/users/Schiboni/orgs","repos_url":"https://api.github.com/users/Schiboni/repos","events_url":"https://api.github.com/users/Schiboni/events{/privacy}","received_events_url":"https://api.github.com/users/Schiboni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-05T20:42:30Z","updated_at":"2018-11-05T20:42:30Z","closed_at":null,"author_association":"NONE","body":"Hi, i have a memory problem.\r\nI am running a training on a server. I have the following print out.\r\n\r\n2018-11-05 21:08:07.907464: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:895] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\r\n2018-11-05 21:08:07.908090: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1105] Found device 0 with properties: \r\nname: GeForce GTX 980 major: 5 minor: 2 memoryClockRate(GHz): 1.2405\r\npciBusID: 0000:02:00.0\r\ntotalMemory: 3.95GiB freeMemory: 3.87GiB\r\n2018-11-05 21:08:07.908116: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1195] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 980, pci bus id: 0000:02:00.0, compute capability: 5.2)\r\n\r\nAs you can see the total memory is higher than the free memory. Actually, running the code i get an \"Out of memory\" message.\r\nSo i applied the wrote code at the beginning of my script:\r\ngpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.3, allow_growth=True)\r\nsess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options))\r\n\r\nUnfortunately the memory usage:\r\ntotalMemory: 3.95GiB freeMemory: 3.87GiB\r\n\r\ndoes not change at all. What is the problem?\r\n\r\nThanks and best regards,\r\nGiovanni\r\n"}}
{"actor":{"display_login":"Schiboni"}}