Umar Butler
Umar Butler
The documentation makes it seem like this is possible but it doesn't work for me and it seems that this issue has been present since at least December. The documentation...
+1 I'd find this immensely useful seeing as Prodigy is already slower than AdamW.
You can fix this by running: ```python import functools def my_function() -> None: pass my_function = functools.wraps(my_function)(functools.cache(my_function)) ``` Instead of: ```python import functools @functools.cache def my_function() -> None: pass ```
> While this fixes the incorrect signature, you lose the extra attributes that `functools.cache` introduces this way, so it's at best trading one problem for another. Those all still work...
> In pyright/pylance you actually have the worst of both worlds with your fix, because you both erase the function signature and _lru_cache_wrapper. So you don't get the correct signature...
I don't have Parsec installed but also have this issue...
I encountered two issues following the steps detailed in your instructions: 1. I encountered the error `ImportError: failed to find libmagic. Check your installation` which I resolved by running (in...
I have created a new PR that addresses the issues raised in my comment above.