Understanding Multidevice Strategy
See original GitHub issueI have been trying to figure out how to max out both of my gpu’s that are in my system.
Tue Oct 13 15:15:00 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.80.02 Driver Version: 450.80.02 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 TITAN RTX Off | 00000000:01:00.0 Off | N/A |
| 41% 41C P8 15W / 280W | 292MiB / 24220MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 1080 Off | 00000000:02:00.0 Off | N/A |
| 21% 50C P8 6W / 180W | 2MiB / 8119MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2061 G /usr/lib/xorg/Xorg 191MiB |
| 0 N/A N/A 2745 G ...mviewer/tv_bin/TeamViewer 13MiB |
| 0 N/A N/A 2949 G /usr/bin/gnome-shell 83MiB |
+-----------------------------------------------------------------------------+
GPU 0 has the most memory,
I’m trying to understand the -multidevice_strategy, how many layers are their… its not very clear to me what would be the best for 2 gpus, one with more memory than the other… or at least a starting off point…
I have just tried the value of 20 and this was the result…
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How Should You Approach a Multi-Device Strategy? - YouTube
Tips & Tricks: Duetto's Marco Benvenuti discusses the opportunities new devices such as tablets and phone present with regards to pricing.
Read more >How to build your multi-device strategy in 6 questions
Building a multi-device learning strategy entails understanding your learners and how they like to be engaged.
Read more >How Consumers Take Multi-Device Path to Purchase - Contevo
The first all important step is to understand the multi-device path your consumers take. As an eCommerce business owner or marketing head, the...
Read more >Multi-Device Strategy | Mobile SDK Development Guide
horizontal navigation in a tablet version vs single hand vertical scrolling for a phone version). Think of all these consideration and the associated...
Read more >Multi-device and cross-device: how to analyse and measure ...
The starting point in a multi-device strategy is to ensure that your website is accessible to all devices (mobiles, tablets or desktop computers)....
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
Thanks kindly, that worked very well for me.
@ProGamerGov Thank you so much for your reply; I really appreciate it.
I think I understand this now…but please correct me if I’m wrong.
So you need to use the multiple GPU strategy for high-resolution style transfers because individual GPUs don’t normally have enough memory to do the inference? If you have a GPU with lots of memory (for example a NVIDIA A100 GPU with 40GB of memory) you might be able to complete a render at a high resolution on that GPU without needing to use the multiple GPU strategy? But if you do need to use multiple GPUs you can split the processing (and therefore the memory usage) over multiple GPUs but there will be a decrease in speed and an increase in memory usage from using that strategy?