This adds iteration in two places it greatly needs it. The launcher.bat file and the gpu_info.bat file.
Issue: The bat files in question always pick the first GPU available, instead of iterating through the available GPUs and picking the one with the most VRAM. These updates allow the files to do so...
However, I don't normally write in Batch script, so the edits are... not that well thought out. Currently, it will pick the last GPU available, unless the second to last GPU has more VRAM.
Simply put... I didn't have the time to figure out how to create a list of the available GPUs and compare them to find the one with the greatest VRAM. Considering I only had an hour to spare when I found where the issue was and spent most of that time looking up how to write in Batch... I hope you can improve upon this. It is at least GoodEnough(tm) for most cases... on Windows.
I should also note that I did not make any changes to the launcher.sh script... because that is a whole other can of worms.
This adds iteration in two places it greatly needs it. The launcher.bat file and the gpu_info.bat file.
Issue: The bat files in question always pick the first GPU available, instead of iterating through the available GPUs and picking the one with the most VRAM. These updates allow the files to do so...
However, I don't normally write in Batch script, so the edits are... not that well thought out. Currently, it will pick the last GPU available, unless the second to last GPU has more VRAM.
Simply put... I didn't have the time to figure out how to create a list of the available GPUs and compare them to find the one with the greatest VRAM. Considering I only had an hour to spare when I found where the issue was and spent most of that time looking up how to write in Batch... I hope you can improve upon this. It is at least GoodEnough(tm) for most cases... on Windows.
I should also note that I did not make any changes to the launcher.sh script... because that is a whole other can of worms.
Good night!