Python’s memory usage is insane. In the words of Guido van Rossum, “It’s pointers all the way down.”

Something about the inefficiency messes with me. I’ve moved most of my code to Lua or Rust.

Btw, what model are you running?

Reply to this note

Please Login to reply.

Discussion

In this picture I'm only running Stable Diffusion with the automatic1111 interface

If I remember correctly torch was originally written in Lua, but people seem to like to code in python instead ☹️

You are remembering correctly. A lot of AI used to be in Lua, including a lot of DeepMind.