daswer123 / xtts-api-server

A simple FastAPI Server to run XTTSv2
MIT License
372 stars 85 forks source link

Nvidia pstate not use P0\ p8 states #82

Closed neowisard closed 3 months ago

neowisard commented 3 months ago

Thanks so much for the server, it's a great compact fast thing. I noticed that it does not switch video cards to P0 max performance mode and does not switch back to P8. This is a bit suboptimal for server work. Could you use the python command as described in the link for inference ? Llama.cpp supports it (with patch) and after inference it is necessary to switch manually to work with TTS.

screen

as described https://github.com/sasha0552/nvidia-pstate

neowisard commented 3 months ago

added it to my fork