Skip to content

Commit

Permalink
Add LXDVM GPU passthrough test to GPGPU provider
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-avalos committed Jan 21, 2025
1 parent 2f29bbb commit dad4bba
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions providers/gpgpu/units/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,18 @@ command: gpu_passthrough.py --vendor=nvidia --pci={pci_device_name} lxd
_purpose: Creates a LXD container and passes {pci_device_name} GPU through
_summary: Test LXD GPU passthrough on NVIDIA GPU {pci_device_name}
_template-summary: Test LXD GPU passthrough on NVIDIA GPU

unit: template
template-resource: graphics_card
template-filter: graphics_card.vendor == 'NVIDIA Corporation'
template-id: gpgpu/lxdvm-nvidia-gpu-passthrough-pci-device-name
id: gpgpu/lxdvm-nvidia-gpu-passthrough-{pci_device_name}
requires:
executable.name == 'lxc'
package.name == 'lxd' or package.name == 'lxd-installer' or snap.name == 'lxd'
category_id: gpgpu
plugin: shell
command: gpu_passthrough.py --vendor=nvidia --pci={pci_device_name} lxdvm
_purpose: Creates a LXD virtual machine and passes {pci_device_name} GPU through
_summary: Test LXD VM GPU passthrough on NVIDIA GPU {pci_device_name}
_template-summary: Test LXD VM GPU passthrough on NVIDIA GPU
1 change: 1 addition & 0 deletions providers/gpgpu/units/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ _description:
Automated Tests for GPGPU Passthrough (non-graphical)
include:
gpgpu/lxd-nvidia-gpu-passthrough-index
gpgpu/lxdvm-nvidia-gpu-passthrough-pci-device-name certification-status=blocker
bootstrap_include:
graphics_card
executable
Expand Down

0 comments on commit dad4bba

Please sign in to comment.