R
RunPod•4mo ago
letajmal

I am getting no response from serverless

while i am testing my image, i am getting no response, no errors, CPU usage is 100%. Is it because i am using a small machine, should i increase the size From logs, it seems like the process is restarting
No description
Solution:
maybe u didnt call the runpod.start function?
Jump to solution
8 Replies
ashleyk
ashleyk•4mo ago
Looks like there is a problem with your worker.. Can you share the Dockerfile?
letajmal
letajmal•4mo ago
FROM runpod/base:0.4.0-cuda11.8.0 COPY builder/requirements.txt /requirements.txt RUN python3.11 -m pip install --upgrade pip && \ python3.11 -m pip install --upgrade -r /requirements.txt --no-cache-dir && \ rm /requirements.txt COPY builder/download.py /download.py RUN python3.11 /download.py ADD src . CMD python3.11 -u /handler.py
Solution
justin
justin•4mo ago
maybe u didnt call the runpod.start function?
justin
justin•4mo ago
can u share ur handler
letajmal
letajmal•4mo ago
@justin [Not Staff] you were right, the issue was with the handler function. Thanks for your help guys
ashleyk
ashleyk•4mo ago
@letajmal please mark as solved.
ashleyk
ashleyk•4mo ago
Nice, I also need that ability 🙂
letajmal
letajmal•4mo ago
Sorry, I forgot to mark it as solved