File tree Expand file tree Collapse file tree
StableDiffusion.NET/Backends Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -535,6 +535,7 @@ jobs:
535535 - windows-hip
536536 - windows-vulkan
537537 - linux-cpu
538+ - linux-wulkan
538539 - linux-cuda12
539540 - linux-sycl
540541 - linux-hip
Original file line number Diff line number Diff line change 1919 <file src =" StableDiffusion.NET.Backend.props" target =" build/net8.0/StableDiffusion.NET.Backend.Vulkan.props" />
2020
2121 <file src =" windows-vulkan/stable-diffusion.dll" target =" runtimes\win-x64\native\vulkan\stable-diffusion.dll" />
22+ <file src =" linux-vulkan/stable-diffusion.dll" target =" runtimes\linux-x64\native\vulkan\stable-diffusion.dll" />
2223
2324 <file src =" sd_net_vulkan.png" target =" sd_net_vulkan.png" />
2425 <file src =" readme.md" target =" readme.md" />
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class VulkanBackend : IBackend
1313
1414 public int Priority { get ; set ; } = 5 ;
1515
16- public bool IsAvailable => RuntimeInformation . IsOSPlatform ( OSPlatform . Windows )
16+ public bool IsAvailable => ( RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) || RuntimeInformation . IsOSPlatform ( OSPlatform . Linux ) )
1717 && ( RuntimeInformation . OSArchitecture == Architecture . X64 ) ;
1818
1919 public string PathPart => "vulkan" ;
You can’t perform that action at this time.
0 commit comments