Skip to content

docs: add instructions for using a GPU on Fly.io and Lambda Labs#9164

Merged
vikram-dagger merged 3 commits into
dagger:mainfrom
samalba:docs-gpu
Dec 17, 2024
Merged

docs: add instructions for using a GPU on Fly.io and Lambda Labs#9164
vikram-dagger merged 3 commits into
dagger:mainfrom
samalba:docs-gpu

Conversation

@samalba
Copy link
Copy Markdown
Contributor

@samalba samalba commented Dec 11, 2024

Some instructions and example to use an Nvidia GPU.

Some notes:

  • I called the page "Using a GPU" because I thought we could make this guide evolve when we support more than Nvidia, without necessarily changing the link.
  • It's a draft, it might contain some typos but contains all the past examples
  • Not sure about the location in the menu, that was my best guess, @vikram-dagger feel free to change it as you see fit
  • @vikram-dagger feel free to edit this page in place if there is anything (wording, examples, structure) that you would like to see different, it's all good

@vikram-dagger
Copy link
Copy Markdown
Contributor

Thanks for this @samalba !

I don't think this goes in the API section though, since it's more configuration/integration than API calls. I would move it to either Configuration/GPU or Integrations/GPU.

I'll do some work on the draft now.

@vikram-dagger
Copy link
Copy Markdown
Contributor

I don't think this goes in the API section though, since it's more configuration/integration than API calls. I would move it to either Configuration/GPU or Integrations/GPU.

I tried it in a separate configuration page but finally thought it makes the most sense to add it to the existing custom runner page. Open to other ideas though!

I've also done a copy edit and merged some common sections (test example) and removed some redundant steps (host setup, Dagger install) in favour of stating them as assumptions.

@samalba
Copy link
Copy Markdown
Contributor Author

samalba commented Dec 12, 2024

I tried it in a separate configuration page but finally thought it makes the most sense to add it to the existing custom runner page. Open to other ideas though!

I like it, I knew you were going to see this differently and I trust your taste more than mine for those things.

@vikram-dagger
Copy link
Copy Markdown
Contributor

@samalba do you want to go ahead and merge this?

Comment thread docs/current_docs/configuration/custom-runner.mdx
Comment thread docs/current_docs/configuration/custom-runner.mdx
Copy link
Copy Markdown
Contributor

@gerhard gerhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vikram-dagger
Copy link
Copy Markdown
Contributor

@samalba samalba marked this pull request as ready for review December 16, 2024 16:54
@samalba samalba requested a review from a team as a code owner December 16, 2024 16:54
samalba and others added 3 commits December 16, 2024 13:58
Signed-off-by: Sam Alba <216487+samalba@users.noreply.github.com>
Signed-off-by: Vikram Vaswani <vikram@dagger.io>
Signed-off-by: Vikram Vaswani <vikram@dagger.io>
@samalba
Copy link
Copy Markdown
Contributor Author

samalba commented Dec 16, 2024

I resolved the conflict. Good to go from my end. 👍

@vikram-dagger vikram-dagger merged commit 0e6ffc8 into dagger:main Dec 17, 2024
@samalba samalba deleted the docs-gpu branch December 18, 2024 00:28
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.

4 participants