Add the ability to specify gpu_options
See original GitHub issueTensorFlow.js version
0.12.6
Browser version
Node.js 10.9
Describe the problem or feature request
I am using tfjs-node-gpu and it allocates the whole memory of my GPU (the default TF behavior).
I request to have an ability to specify the backend options, particularly gpu_options.allow_growth
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:16 (2 by maintainers)
Top Results From Across the Web
How to use tensorflow-gpu GPUOptions - Stack Overflow
I'm assuming that you are running tensorflow version 2.0. In which case you can set GPU options in eager execution mode like so:...
Read more >tf.compat.v1.GPUOptions | TensorFlow v2.11.0
v1. GPUOptions. Stay organized with collections Save and categorize content based on your preferences.
Read more >TensorFlow CPUs and GPUs Configuration | by Li Yin - Medium
In ConfigProto() , gpu_options is used to configure gpus. Visible Devices. First, you need to check your machine's available GPUs with nvidia-smi command....
Read more >SingularityCE Configuration Files - Documentation & Examples
Most of the configuration options are set using the file singularity.conf that defines the global configuration for SingularityCE across the entire system.
Read more >Singularity Configuration Files - Apptainer
Most of the configuration options are set using the file singularity.conf that defines the ... sudo singularity capability add --user pinger CAP_NET_RAW.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There appears to be a workaround for setting allow_growth through an environment variable. This works for my tfjs-node-gpu project:
+1, having access to gpu_options would be great.