Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated deployment of Deeplabcut #5

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

j-i-l
Copy link
Member

@j-i-l j-i-l commented Dec 18, 2024

This implements an ansible role to setup and configure a vanilla ubuntu machine (with nvidia gpu) for DeepLabCut

@j-i-l j-i-l self-assigned this Dec 18, 2024
@j-i-l j-i-l linked an issue Dec 18, 2024 that may be closed by this pull request
@j-i-l
Copy link
Member Author

j-i-l commented Dec 18, 2024

We might want to rename the role as it installs DeepLabCut3.

Or we split it up into several roles:

  • setting up conda
  • installing pytorch
  • installing deeplabcut

Up to installing conda could be a reasonable split. Afterwards pytorch could also be installed with RocM on AMD hardware. Also deeplabcut works with pytorch only from 3.0 on (see DeepLabCut/DeepLabCut#2613) and needs tensorflow for earlier versions...

@j-i-l
Copy link
Member Author

j-i-l commented Dec 27, 2024

This is quite the mess for a declarative setup.

the constraint tf <=2.10 applies also for ubuntu (not 2.12 as indicated. tf 2.10 limits us to python <=3.10.

We should adapt our default parameter values accordingly!

@j-i-l
Copy link
Member Author

j-i-l commented Jan 1, 2025

A better approach might be to directly checkout a repo that contains some analysis performed with DeepLabCut and fetch the dlc version form the repo's requirements.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

role for setting up cuda support
1 participant