Simplify ep kernels installation (#19412)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
7
tools/ep_kernels/configure_system_drivers.sh
Normal file
7
tools/ep_kernels/configure_system_drivers.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
set -ex
|
||||
|
||||
# turn on IBGDA
|
||||
echo 'options nvidia NVreg_EnableStreamMemOPs=1 NVreg_RegistryDwords="PeerMappingOverride=1;"' | tee -a /etc/modprobe.d/nvidia.conf
|
||||
update-initramfs -u
|
||||
|
||||
echo "Please reboot the system to apply the changes"
|
||||
Reference in New Issue
Block a user