Posted May 06, 2023 by Lyaaaaaaaaaaaaaaa
Hello everyone. (Version française sur mon site: https://www.lyaaaaagames.com/fr/blog/report_05_2023/)
I have good news for this report!
Last month I updated the server’s dependencies. This upgrade allowed me to improve the server using the latest features available. The server is now able to run an AI on both the GPU and CPU. Until now, it was only able to use the GPU or CPU but not both. This is a great improvement. Moreover, I simplified the interaction with the server’s options. If you want to run the server by itself, the config file now features more options.
All these options will of course be available in the client too.
I didn’t update the client yet. But it will have new options available for you to tinker.
Firstly, you will be able to specify how much memory you allow the AI to use. For example, you will be able to say “5 GB” or “3400 MB” for the GPU. Same for the CPU. Moreover, the server will support a new feature called “Disk offloading”. It will be a simple true or false option. Enabling it will allow the server to write data in a temporary folder (deleted when the server closes) if you don’t have enough memory for the AI. That way, you will be able to run much bigger AI than you could before. As long as you have a SSD (I fear an HDD would be too slow for this option).
I hope to update very soon and publish it in the experimental branch as the 1.5.2-BETA.1.
To make this possible I also had to split the AI into small parts. Until now, the AIs were saved into a single huge file. Therefore, it was impossible to load them without having memory peak (which could lead to freeze or crash to those with little memory). The AIs will now be split into parts of 200 MB. This allows the server to use much less memory and to optimize its use.
Here is a little summary of the improvements
The bad point is, you will have to download once again the AIs.
Thank you for reading :).