Skip to content

nvidia vgpu related elements #55

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

Merged
merged 5 commits into from
Jun 9, 2023
Merged

nvidia vgpu related elements #55

merged 5 commits into from
Jun 9, 2023

Conversation

jovial
Copy link
Contributor

@jovial jovial commented May 30, 2023

This element is for baking in the configuration needed to correctly license the VGPU.

@jovial jovial marked this pull request as draft May 30, 2023 15:40
This element is for baking in the configuration needed to correctly
license the VGPU.
@jovial jovial changed the title Adds nvidia-vgpu element nvidia vgpu related elements May 31, 2023
@jovial
Copy link
Contributor Author

jovial commented May 31, 2023

Sample build:

os_images_list:
  - name: "Rocky-9-GRID-{{ timestamp }}"
    type: qcow2
    force_rebuild: false
    elements:
      - "rocky-container"
      - "rpm"
      - "nvidia-vgpu"
      - "cloud-init"
      - "epel"
      - "cloud-init-growpart"
      - "selinux-permissive"
      - "dhcp-all-interfaces"
      - "vm"
      - "extra-repos"
      # Need cuda-toolkit to compile these
      #- "nvidia-cuda-samples"
      - "grub2"
      - "stable-interface-names"
      - "openssh-server"
    is_public: True
    packages:
      - "dkms"
      - "git"
      - "tmux"
      - "cuda-minimal-build-12-1"
      - "cuda-demo-suite-12-1"
      - "cuda-libraries-12-1"
      # Limited space in /var ...
      #- "cuda-toolkit"
      - "vim-enhanced"
    env:
      DIB_CONTAINERFILE_NETWORK_DRIVER: host
      DIB_CONTAINERFILE_RUNTIME: docker
      DIB_RPMS: "http://10.106.12.23:80/pulp/content/nvidia/nvidia-linux-grid-525-525.105.17-1.x86_64.rpm](http://10.106.12.23/pulp/content/nvidia/nvidia-linux-grid-525-525.105.17-1.x86_64.rpm)"
      YUM: dnf
      DIB_EXTRA_REPOS: "https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/cuda-rhel9.repo"
      DIB_NVIDIA_VGPU_CLIENT_TOKEN: "{{ lookup('file' , 'secrets/client_configuration_token_05-30-2023-12-41-40.tok') }}"
      DIB_CLOUD_INIT_GROWPART_DEVICES:
        - "/"
      DIB_RELEASE: "9"
    properties:
      os_type: "linux"
      os_distro: "rocky"
      os_version: "9"

os_images_git_elements:
  - repo: "https://github.com/stackhpc/stackhpc-image-elements"
    local: "{{ playbook_dir }}/stackhpc-image-elements"
    version: feature/vgpu
    elements_path: elements

@jovial jovial marked this pull request as ready for review May 31, 2023 09:15
@jovial jovial merged commit 293fc07 into master Jun 9, 2023
@jovial jovial deleted the feature/vgpu branch June 9, 2023 15:04
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