R
RunPod•9mo 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•9mo ago
Looks like there is a problem with your worker.. Can you share the Dockerfile?
letajmal
letajmalOP•9mo 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•9mo ago
maybe u didnt call the runpod.start function?
justin
justin•9mo ago
can u share ur handler
letajmal
letajmalOP•9mo ago
@justin [Not Staff] you were right, the issue was with the handler function. Thanks for your help guys
ashleyk
ashleyk•9mo ago
@letajmal please mark as solved.
ashleyk
ashleyk•9mo ago
Nice, I also need that ability 🙂
letajmal
letajmalOP•9mo ago
Sorry, I forgot to mark it as solved
Want results from more Discord servers?
Add your server