nos icon indicating copy to clipboard operation
nos copied to clipboard

custom model registration fails inside of `hub/__init__.py` due to `__pycache__`

Open outtanames opened this issue 1 year ago • 1 comments

When registering custom models with the new yaml flow, module_exec fails to to find module attribute corresponding to the class name. This appears to be due to the __pycache__ storing old/invalid module specs. Need a way to clear out the cache or skip it entirely when registering these models.

outtanames avatar Oct 25 '23 23:10 outtanames