Skip to content

Shuttrr 0.3.1

Choose a tag to compare

@sarthakrawool sarthakrawool released this 27 Nov 09:20

Steadier pictures on 16 GB Macs, and Models shows when a model is in use.

  • Pictures no longer stop a few seconds in because of other apps. The memory watchdog now counts only the swap a request can have caused (at most what its own memory grew by). Before, a picture holding 0.4 GB was stopped 2 seconds in because swap grew by 1 GB while other apps were open. It still frees caches at any swap growth, still stops a request whose own memory pushes the Mac into swap (768 MB), and stops anything once swap has grown by 2 GB.
  • Z-Image reads its model files without filling macOS's file cache, so reading the 4 GB prompt encoder in a second no longer pushes other apps' memory to swap. On Macs under 24 GB it also keeps less spare memory between steps (0.25 GB instead of 1 GB).
  • The peak shown for a request is now that request's own memory. A stopped request used to show the whole Mac's memory (12.8 GB).
  • Models shows "In use by a request" while a picture or video is being made, with "streams from SSD" when most of the model is read from the SSD as it runs.
  • Load works for Z-Image on every Mac. On Macs under 24 GB it keeps the small always-loaded part in memory (about 0.8 GB) and the rest streams from the SSD; the row says "Loaded (streams from SSD)". Unload frees it.
  • A model loaded in memory is reused by every memory step, with the same picture bit for bit.