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

Feat: Automatic GPU Switch #845

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Commits on Oct 30, 2024

  1. Create gpu-switch.sh

    gpu switch version: 0.1
    
    # Without GPU:
    NVIDIA_VISIBLE_DEVICES="" ./gpu-switch.sh start container_name
    
    # With single GPU:
    NVIDIA_VISIBLE_DEVICES="0" ./gpu-switch.sh start container_name
    
    # With multiple GPUs:
    NVIDIA_VISIBLE_DEVICES="0,1" ./gpu-switch.sh start container_name
    
    # With PCI addresses:
    NVIDIA_VISIBLE_DEVICES="0000:03:00.0,0000:04:00.0" ./gpu-switch.sh start container_name
    
    # Explicitly disable GPU:
    NVIDIA_VISIBLE_DEVICES="none" ./gpu-switch.sh start container_name
    Steel-skull authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    7e3c287 View commit details
    Browse the repository at this point in the history
  2. Update compose.yml

    Steel-skull authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    52758f4 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Update gpu-switch.sh

    Steel-skull authored Nov 14, 2024
    Configuration menu
    Copy the full SHA
    a77b400 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from Steel-skull/Steel-skull-patch-2

    Update gpu-switch.sh
    Steel-skull authored Nov 14, 2024
    Configuration menu
    Copy the full SHA
    e8fa68e View commit details
    Browse the repository at this point in the history