Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface custom handlers with custom environments #1103

Open
adriangonz opened this issue Apr 18, 2023 · 0 comments
Open

Surface custom handlers with custom environments #1103

adriangonz opened this issue Apr 18, 2023 · 0 comments

Comments

@adriangonz
Copy link
Contributor

adriangonz commented Apr 18, 2023

When using custom environments, the model can't be even imported within the main process. Therefore, the custom handlers hook is not able to inspect the model to look for custom handlers which need to registered within the REST server.

Because of this reason, for models not using any custom environment (i.e. where model_settings.parameters.environment_tarball is empty), we revert back to the default model initialiser (patched in #1104 ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant