runpod-python icon indicating copy to clipboard operation
runpod-python copied to clipboard

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

Open shreyassaxena opened this issue 2 years ago • 1 comments

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):

  • OS: Linux 4c03a197c102 6.8.0-45-generic #45~22.04.1-Ubuntu

shreyassaxena avatar Oct 08 '24 11:10 shreyassaxena

@shreyassaxena What Python version are you using?

gabewillen avatar Nov 26 '24 02:11 gabewillen