mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2025-12-12 21:38:45 +00:00
Merge pull request #4 from DGdev91/master
Rocm Backend: Fix regex for detecting version in Linux
This commit is contained in:
commit
09355fcd6e
@ -82,7 +82,7 @@ public partial class RocmBackend : IBackend
|
||||
[GeneratedRegex(@".*?\\(?<version>\d+.\d*)\\")]
|
||||
private static partial Regex GetWindowsVersionRegex();
|
||||
|
||||
[GeneratedRegex(@"HIP_PATH\s*:\s*[\w\/]+-(?<version>[\d.]+)$")]
|
||||
[GeneratedRegex(@"HIP version\s*:\s*(?<version>[\d.]+(?:-\w+)?)")]
|
||||
private static partial Regex GetLinuxVersionRegex();
|
||||
|
||||
#endregion
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user