machinelearning icon indicating copy to clipboard operation
machinelearning copied to clipboard

ML.NET support CUDA 11

Open uzfm opened this issue 5 years ago • 10 comments

ML.NET support CUDA 11 Loading model from: F:\V2Sorter\DataSet\03.01.2021\imageClassifier_2.zip 2021-04-16 16:06:33.457209: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties: pciBusID: 0000:03:00.0 name: GeForce RTX 3080 computeCapability: 8.6 coreClock: 1.905GHz coreCount: 68 deviceMemorySize: 10.00GiB deviceMemoryBandwidth: 707.88GiB/s 2021-04-16 16:06:33.458465: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll 2021-04-16 16:06:33.459114: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll 2021-04-16 16:06:33.459639: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll 2021-04-16 16:06:33.460164: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cufft64_10.dll 2021-04-16 16:06:33.460705: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library curand64_10.dll 2021-04-16 16:06:33.461270: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusolver64_10.dll 2021-04-16 16:06:33.461946: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusparse64_11.dll 2021-04-16 16:06:33.462589: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudnn64_8.dll 2021-04-16 16:06:33.463409: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1862] Adding visible gpu devices: 0 2021-04-16 16:06:33.464111: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1261] Device interconnect StreamExecutor with strength 1 edge matrix: 2021-04-16 16:06:33.464830: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1267] 0 2021-04-16 16:06:33.465221: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1280] 0: N 2021-04-16 16:06:33.465788: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1406] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7745 MB memory) -> physical GPU (device: 0, name: GeForce RTX 3080, pci bus id: 0000:03:00.0, compute capability: 8.6) Exception thrown: 'System.EntryPointNotFoundException' in Microsoft.ML.Vision.dll device is disconnected Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll The thread 0x2f80 has exited with code 0 (0x0).

I'm using "SciSharp.TensorFlow.Redist-Windows-GPU" with CUDA 2.4.0 support but get the exception "Exception thrown: 'System.EntryPointNotFoundException' in Microsoft.ML.Vision.dll" what could be the problem?

uzfm avatar Apr 19 '21 08:04 uzfm

I am using a GeForce RTX 3080 GPU it only works with CUDA 11. When will ML.NET use CUDA 11?

uzfm avatar Apr 19 '21 08:04 uzfm

@Oceania2018 Haiping Chen might know more about this issue

LittleLittleCloud avatar Apr 21 '21 18:04 LittleLittleCloud

It will be supported once tensorflow 2.5.0 is released.

Oceania2018 avatar Apr 21 '21 20:04 Oceania2018

I'm going to close this for now as we can't add support for CUDA 11 until our other dependencies add it.

michaelgsharp avatar Apr 23 '21 22:04 michaelgsharp

any update for RTX 3080 GPU with CUDA 11. ????????

DanKao500 avatar Jun 11 '21 03:06 DanKao500

NO

It will be supported once tensorflow 2.5.0 is released

11 червня 2021, 06:48:43, від DanKao500 @.***>:

any update for RTX 3080 GPU with CUDA 11. ????????

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

uzfm avatar Jun 14 '21 21:06 uzfm

https://github.com/tensorflow/tensorflow/releases/tag/v2.5.0

tensorflow 2.5.0 is released.

NO It will be supported once tensorflow 2.5.0 is released 11 червня 2021, 06:48:43, від DanKao500 @.***>: any update for RTX 3080 GPU with CUDA 11. ???????? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

DanKao500 avatar Jun 15 '21 01:06 DanKao500

some info? atm v2.5 support cuda 11.2

bbday avatar Aug 11 '21 14:08 bbday

@bbday Right now MLNet image classification API still depends on TF.NET 0.2.3 and TF native 2.3.0 so it doesn't support cuda11.2, once its dependency being upgraded to 0.4.0 and using tf native 2.4, Cuda 11 will be supported.

I'm using "SciSharp.TensorFlow.Redist-Windows-GPU" with CUDA 2.4.0 support but get the exception "Exception thrown: 'System.EntryPointNotFoundException' in Microsoft.ML.Vision.dll" Is not supporting Cuda 11 blocking you? As far as I know, you can install multiple cuda environments on your PC. And from the exception message, I assume that you are using TF native 2.4, which is incompatible with what ML.Net used. Could you try TF native 2.3 instead and see if it fixes the problem you have?

@michaelgsharp For notification and Is there a plan for updating TF dependencies used by image classification API?

LittleLittleCloud avatar Aug 11 '21 17:08 LittleLittleCloud

I am using a GeForce RTX 3080 GPU it only works with CUDA 11. When will ML.NET use CUDA 11?

uzfm avatar Jan 27 '22 14:01 uzfm