We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Attach a Lightning Studio which is fully reproducible (code, dependencies, environment, etc...) to reproduce this:
from litserve import LitAPI, LitServer class DebugLitAPI(LitAPI): def setup(self, device): raise Exception def predict(self, inputs): return None if __name__ == "__main__": api = DebugLitAPI() server = LitServer(api, accelerator='auto', devices='auto', workers_per_device=2) server.run(port=8000)
Instead, it should return exit code error 1.
If you published a Studio with your bug report, we can automatically get this information. Otherwise, please describe:
conda
pip
The text was updated successfully, but these errors were encountered:
seems to be the same as #293
Sorry, something went wrong.
I'd like to improve that, @aniketmaurya, anything I should take into account when working on it?
sure go ahead @grumpyp!! we call lit_api.setup here. Probably we can do a check if the started workers successfully called setup or not here.
lit_api.setup
Successfully merging a pull request may close this issue.
🐛 Bug
To Reproduce
Attach a Lightning Studio which is fully reproducible (code, dependencies, environment, etc...) to reproduce this:
Instead, it should return exit code error 1.
Code sample
Expected behavior
Environment
If you published a Studio with your bug report, we can automatically get this information. Otherwise, please describe:
conda
,pip
, source):Additional context
The text was updated successfully, but these errors were encountered: