Skip to content

GPU Capabilities in docker-compose.yml deploy #12

@notkaramel

Description

@notkaramel

I find it strange that Rodan does not specify GPU capability in its Docker Compose file. There was also a lack of mentioning to install nvidia-container-toolkit when testing Rodan with GPU.

Related resource: https://docs.docker.com/compose/how-tos/gpu-support/

@homework36 forwarded me to this wiki page which helps a bunch!

https://github.com/DDMAL/Rodan/wiki/New-Production-with-Multiple-Instances-and-vGPU


Another strange discovery I found was that to test GPU Celery, I need to have celery service up and running, meaning on two different terminal sessions:

docker compose exec celery /run/start-celery
docker compose exec gpu-celery /run/start-celery

From https://github.com/DDMAL/Rodan/wiki/Working-on-Rodan:

"For Rodan core tasks (uploading/creating resources, creating diva, creating master tasks to distribute to the other celery queues, etc.)"


Related to testing of Text Alignment DDMAL/Rodan#1307

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