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

Create a new demo folder for examples on a linux desktop #118

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yuanchen8911
Copy link
Collaborator

@yuanchen8911 yuanchen8911 commented May 13, 2024

This PR creates a new demo folder desktop within the quickstart directory. It provides examples that can run on a Linux desktop or workstation equipped with an NVIDIA GPU, such as GeForce.

There are a total of 8 examples for different configurations with consistent and descriptive naming for test filenames, namespaces, and pod names. A detailed description of each example with the command along with sample outputs.

  • A single pod accesses a GPU via ResourceClaimTemplate
  • A single pod's multiple containers share a GPU via ResourceClaimTemplate
  • Multiple pods share a GPU via ResourceClaim
  • Multiple pods request dedicated GPU access
  • A single pod's multiple containers share a GPU via MPS
  • Multiple pods share a GPU via MPS
  • A single pod's multiple containers share a GPU via TimeSlicing
  • Multiple pods share a GPU via TimeSlicing

We could replace the examples in the current quickstart folder too.

@yuanchen8911 yuanchen8911 requested a review from klueska May 13, 2024 22:29
@yuanchen8911 yuanchen8911 changed the title Create a new demo folder with example on a linux desktop Create a new demo folder with example for a linux desktop May 13, 2024
@klueska
Copy link
Collaborator

klueska commented May 13, 2024

Thanks for putting this together. Quick question before looking at this in detail -- why the subfolder of desktop what other folders do you expect to put next to this? I would expect the "quickstart" examples to already be runnable on any desktop with at least 1 GPU on it (even if this may not be true at the moment).

@yuanchen8911 yuanchen8911 force-pushed the workstation branch 3 times, most recently from dde88d9 to 5a89f2e Compare May 15, 2024 16:28
@yuanchen8911 yuanchen8911 changed the title Create a new demo folder with example for a linux desktop Create a new demo folder with examples for a linux desktop May 20, 2024
@yuanchen8911 yuanchen8911 force-pushed the workstation branch 2 times, most recently from 06eda32 to 6ed5da3 Compare May 20, 2024 15:26
Signed-off-by: Yuan Chen <[email protected]>

Update README

Signed-off-by: Yuan Chen <[email protected]>

Update README

Signed-off-by: Yuan Chen <[email protected]>

Update README

Signed-off-by: Yuan Chen <[email protected]>

Update README

Signed-off-by: Yuan Chen <[email protected]>

Update README

Signed-off-by: Yuan Chen <[email protected]>

Update README

Signed-off-by: Yuan Chen <[email protected]>

Update README

Update README.md

Signed-off-by: Yuan Chen <[email protected]>

Update README.md

Signed-off-by: Yuan Chen <[email protected]>

Update README.md

Signed-off-by: Yuan Chen <[email protected]>

Update README.md

Signed-off-by: Yuan Chen <[email protected]>

Update README.md

Signed-off-by: Yuan Chen <[email protected]>

Update README.md

Signed-off-by: Yuan Chen <[email protected]>

Update README.md

Signed-off-by: Yuan Chen <[email protected]>

Update README

Signed-off-by: Yuan Chen <[email protected]>

Update README

Signed-off-by: Yuan Chen <[email protected]>

Update README

Signed-off-by: Yuan Chen <[email protected]>

Update README.md

Signed-off-by: Yuan Chen <[email protected]>

Remove the timeslicing example

Add restartPolicy to examples

Signed-off-by: Yuan Chen <[email protected]>

Update demo files

Signed-off-by: Yuan Chen <[email protected]>

Update the desktop examples

Signed-off-by: Yuan Chen <[email protected]>

Update desktop examples

Signed-off-by: Yuan Chen <[email protected]>

Update desktop examples

Signed-off-by: Yuan Chen <[email protected]>
@yuanchen8911 yuanchen8911 changed the title Create a new demo folder with examples for a linux desktop Create a new demo folder for examples on a linux desktop May 20, 2024
@yuanchen8911
Copy link
Collaborator Author

@klueska, can you take a look when you get a chance? Thanks.

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