mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
Revert to cuda 9.1 for package release (#546)
This commit is contained in:
parent
47a9abd212
commit
94bd74190a
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ namespace Microsoft.ML.OnnxRuntime
|
|||
{
|
||||
public IntPtr _nativePtr;
|
||||
protected static readonly Lazy<SessionOptions> _default = new Lazy<SessionOptions>(MakeSessionOptionWithCpuProvider);
|
||||
private static string[] cudaDelayLoadedLibs = { "cublas64_100.dll", "cudnn64_7.dll" };
|
||||
private static string[] cudaDelayLoadedLibs = { "cublas64_91.dll", "cudnn64_7.dll" };
|
||||
|
||||
/// <summary>
|
||||
/// Constructs an empty SessionOptions
|
||||
|
|
@ -97,7 +97,7 @@ namespace Microsoft.ML.OnnxRuntime
|
|||
GetSystemDirectory(sysdir, (uint)sysdir.Capacity);
|
||||
throw new OnnxRuntimeException(
|
||||
ErrorCode.NoSuchFile,
|
||||
$"kernel32.LoadLibrary():'{dll}' not found. CUDA 10.0 is required for GPU execution. " +
|
||||
$"kernel32.LoadLibrary():'{dll}' not found. CUDA is required for GPU execution. " +
|
||||
$". Verify it is available in the system directory={sysdir}. Else copy it to the output folder."
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue