Kan3ki25
Kan3ki25
RRunPod
Created by Kan3ki25 on 10/4/2024 in #⛅|pods
Docker argument issues - python sdk (docker_args)
example of args args = """ bash -c " apt update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y openssh-server imagemagick && \ pip3 install pyTelegramBotAPI && \
mkdir -p ~/.ssh && \ chmod 700 ~/.ssh && \ echo "$PUBLIC_KEY" >> ~/.ssh/authorized_keys && \ chmod 600 ~/.ssh/authorized_keys && \ service ssh start && \
wget -O /facefusion/main.py https://gist.githubusercontent.com/K.../main.py OUTPUT_PATH="/facefusion/face.jpg" TEMP_FILE="./temp_image" curl -L "$IMG_URL" -o "$TEMP_FILE" IMG_TYPE=$(identify -format "%m" "$TEMP_FILE") if [ "$IMG_TYPE" != "JPEG" ]; then convert "$TEMP_FILE" "$OUTPUT_PATH" else mv "$TEMP_FILE" "$OUTPUT_PATH" fi cd /facefusion && \ python3 main.py && \ sleep infinity " """
3 replies
RRunPod
Created by Kan3ki25 on 10/3/2024 in #⛅|pods
no cuda gpu detected
i see, thanks !
8 replies
RRunPod
Created by Kan3ki25 on 10/3/2024 in #⛅|pods
no cuda gpu detected
i usually use docker image that has cuda built in and i assumed that was enough
8 replies
RRunPod
Created by Kan3ki25 on 10/3/2024 in #⛅|pods
no cuda gpu detected
how to do that ?
8 replies