Skip to content

Cannot test local worker with rp_api_concurrency > 1 #28

@DifferentialityDevelopment

Description

Hi there

I've tried so many things but cannot for the life of me get this to work
I can start up the server just fine if rp_api_concurrency=1 but if it's greater than 1 I just get the following

python main.py --rp_serve_api --rp_api_concurrency 4 --rp_log_level DEBUG --rp_debugger
--- Starting Serverless Worker |  Version 1.7.9 ---
INFO   | Log level set to DEBUG
INFO   | Starting API server.
DEBUG  | Not deployed on RunPod serverless, pings will not be sent.
WARNING:  You must pass the application as an import string to enable 'reload' or 'workers'.

Then it exits

I've followed the documentation to the letter, also renamed my handler's code to main.py but to no avail, tried everything I can think of and I cannot find a working example anywhere that I've checked.

Please can someone help me out with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions