attempt making pytorch work

This commit is contained in:
2026-02-28 16:34:56 +01:00
parent bb596a794e
commit b9da82b956

View File

@@ -38,6 +38,7 @@
vpl-gpu-rt # oneVPL runtime vpl-gpu-rt # oneVPL runtime
intel-vaapi-driver # fallback intel-vaapi-driver # fallback
intel-compute-runtime # OpenCL/Level Zero intel-compute-runtime # OpenCL/Level Zero
level-zero # Level Zero API for compute
]; ];
}; };
@@ -66,6 +67,11 @@
# DXVK optimizations # DXVK optimizations
DXVK_HUD = "compiler"; # Monitor shader compilation DXVK_HUD = "compiler"; # Monitor shader compilation
# DXVK_ASYNC = "1"; # Enable if you want async shader compilation (may cause issues) # DXVK_ASYNC = "1"; # Enable if you want async shader compilation (may cause issues)
# Intel IPEX / PyTorch settings
ZE_ENABLE_ALT_DRIVERS = "libze_intel_gpu.so.1"; # Enable Intel GPU driver for Level Zero
SYCL_CACHE_PERSISTENT = "1"; # Enable persistent SYCL cache
SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS = "1"; # Performance optimization
}; };
@@ -103,4 +109,15 @@
## User Access ## User Access
############################ ############################
users.users.andreas.extraGroups = [ "video" "render" ]; users.users.andreas.extraGroups = [ "video" "render" ];
############################
## System Packages for AI/ML
############################
environment.systemPackages = with pkgs; [
intel-compute-runtime
level-zero
# For checking GPU compute capabilities
clinfo
vulkan-tools
];
} }