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
8 Replies
Looks like there is a problem with your worker.. Can you share the Dockerfile?
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
maybe u didnt call the runpod.start function?
can u share ur handler
@justin [Not Staff] you were right, the issue was with the handler function. Thanks for your help guys
@letajmal please mark as solved.
Nice, I also need that ability 🙂
Sorry, I forgot to mark it as solved