Libretranslate linux does not support CPU percent. Percent discarded

Getting that error message upon starting my libretranslate container.

The settings inside my docker-compose.yml are:

    cpus: 2                                                                                                                                                                                                                                                                                                          
    mem_limit: 4G

This works fine for just about any other container I would like to constrain. The error message is weird anyway since it seems to have only recently appeared as I have had these parameters in my compose file for a while.

Anyway, is this not supported? Are there alternatives?