You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off thank you for this amazing game making tool.
I'd like to use it to with some educational LLM/audio generation game experiments, but I noticed that the FPS of pyxel seems to have a very direct impact on how long it takes to execute calls in a thread.
in a thread, so that I can get an LLM result back without blocking pyxel's playback. However, if I do that, I have noticed that the time it takes to get a result is very slow (and roughly proportional to the fps I have pyxel set to).
Do you have any advice on how to run threads at full speed in pyxel? Thx!
The text was updated successfully, but these errors were encountered:
dskill
changed the title
Using Pyxel with other libraries and threads is slow
Threads seem to run at reduced speed in Pyxel (proportional to FPS)
Sep 5, 2024
I just tried with version: 2.2.10, and at first i thought the problem was resolved. It seemed to be faster than in my previous tests. However when i set the pyxel framerate to 2 as a brute force test, I never got a response back from open AI. So I believe the FPS is still throttling async communications.
First off thank you for this amazing game making tool.
I'd like to use it to with some educational LLM/audio generation game experiments, but I noticed that the FPS of pyxel seems to have a very direct impact on how long it takes to execute calls in a thread.
For example, I'd like to run
in a thread, so that I can get an LLM result back without blocking pyxel's playback. However, if I do that, I have noticed that the time it takes to get a result is very slow (and roughly proportional to the fps I have pyxel set to).
Do you have any advice on how to run threads at full speed in pyxel? Thx!
The text was updated successfully, but these errors were encountered: