attempt making pytorch work
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
vpl-gpu-rt # oneVPL runtime
|
||||
intel-vaapi-driver # fallback
|
||||
intel-compute-runtime # OpenCL/Level Zero
|
||||
level-zero # Level Zero API for compute
|
||||
];
|
||||
};
|
||||
|
||||
@@ -66,6 +67,11 @@
|
||||
# DXVK optimizations
|
||||
DXVK_HUD = "compiler"; # Monitor shader compilation
|
||||
# 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
|
||||
############################
|
||||
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
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user