Feature requests
This is a really nice project, great work mate.
Would it possible in the future to add the following?
-
Add an option to cancel in progress generation.
-
Set the default image size to 256x256 if < 16GB system RAM? This would be handy as 512x512 is basically unusable time wise on 8gb.
-
This is more of a question, but I know there are optimised low ram versions of SD, is possible to give the option of using an optimised version?
Related: is there an easy way to display the amount of gpu ram available? On my MacBook Pro it's not obvious.
I'm not aware of how to get exact GPU RAM usage with built in macOS tools, but I know of at least one app that can: iStats Menus.
Activity Monitor can help you get a relative sense for how much the GPU is being used in a couple of ways.
You can narrow down running processes to just those using GPU by selecting View > GPU Processes from the Activity Monitor menu bar:
You can open a GPU specific monitor by switching to Activity Monitor and pressing CMD+4. Or, by selecting "Window > GPU History" from the Activity Monitor menu bar:
Unfortunately neither of those give you exact stats though.
You might be able to use the command line tool powermetrics as well, though I suspect you'll only be able to measure power usage, not RAM usage.
There's this project as well, though it doesn't seem to go beyond telling you about how much power the GPU is using (it uses powermetrics under the hood): https://github.com/tlkh/asitop.
@ThrownLemon: Feel free to update the title for this issue, to make it easier to see what it concerns when browsing the issue queue.
You may use terminal command IOAccelMemory to check VRAM usage
