Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Issacwww committed Oct 8, 2024
1 parent c5e7cc7 commit dfa6d78
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
limits:
cpu: "4"
memory: 4Gi
nvidia.com/gpu: {{.GpuPerNode}}
requests:
cpu: "1"
memory: 1Gi
Expand Down
3 changes: 2 additions & 1 deletion e2e2/test/images/nvidia/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ RUN apt install -y \
cmake \
apt-utils \
libhwloc-dev \
cuda-demo-suite-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION}
cuda-demo-suite-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} \
datacenter-gpu-manager

RUN mkdir -p /var/run/sshd \
&& sed -i 's/[ #]\(.*StrictHostKeyChecking \).*/ \1no/g' /etc/ssh/ssh_config \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name, index, pci.bus_id
NVIDIA A10G, 0, 00000000:00:1E.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/sys/devices/system/node/node0/cpulist:0-31
/sys/devices/system/node/node0/distance:10
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name, pci.bus_id, persistence_mode
NVIDIA A10G, 00000000:00:1E.0, Enabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
GPU0 CPU Affinity NUMA Affinity GPU NUMA ID
GPU0 X 0-31 0 N/A

0 comments on commit dfa6d78

Please sign in to comment.