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

Not able to rest the serverless worked locally with concurrency (example provided on Runpod documentation fails) #365

Open
shreyassaxena opened this issue Oct 8, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@shreyassaxena
Copy link

shreyassaxena commented Oct 8, 2024

Bug

Running concurrent server locally exits. with the error message:
WARNING: You must pass the application as an import string to enable 'reload' or 'workers'.
After this message, the process exits instead of being a live server for testing.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the steps here: https://docs.runpod.io/serverless/workers/development/concurrency
  2. Run "python runpod_example/main.py --rp_serve_api --rp_api_concurrency 4"
  3. See error

Expected behavior
Expected a lock server with concurrency.

Desktop (please complete the following information):

@shreyassaxena shreyassaxena added the bug Something isn't working label Oct 8, 2024
gabewillen added a commit that referenced this issue Nov 25, 2024
@gabewillen
Copy link
Contributor

@shreyassaxena What Python version are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants