Skip to content

Conversation

@FJEANNOT
Copy link
Contributor

Hi there,

A little unsolicited PR.

I'm using this to get GPU acceleration using ClusterODM by passing "--gpu all", so i thought I could share it, in case someone else needs it.

I've cleaned this up, and added it for every provider, but be aware that it was only tested with AWS.

@pierotofy
Copy link
Member

Hey thanks for the PR! Indeed it would be useful to have the ability to set --gpu all.

  • Would it be possible to have a dockerGpu or gpu boolean field rather than manually overriding args in the settings?
  • I think you've tested this and it didn't crash, but the --gpu all parameter is not being passed in the correct order to the docker command (for AWS also). warning: Unrecognized flag gpus

@FJEANNOT
Copy link
Contributor Author

Ha yes good catch, it should be before the docker image. I've made the changes

@pierotofy
Copy link
Member

Looks good, thanks @FJEANNOT !

@pierotofy pierotofy merged commit 96b96ae into OpenDroneMap:master May 20, 2025
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.

2 participants