microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.39k stars 2.89k forks source link

how to support cuda10.2? #9654

Open xinsuinizhuan opened 2 years ago

xinsuinizhuan commented 2 years ago

System information

@harshithapv harshithapv v1.8.1 96bb4b1 ONNX Runtime v1.8.1

This release contains fixes and key updates for 1.8.0. For all package installation details, please refer to https://www.onnxruntime.ai. Inference

Fixes for GPU package loading issues
Fix for memory issue for models with convolution nodes while using the EXHAUSTIVE algo search mode
ORT Mobile updates
    CoreML EP enabled in iOS mobile package
    Additional operators
    Bug fixes
    React Native package now available

Training

Performance updates for ONNX Runtime for PyTorch (training acceleration for PyTorch models)

Accelerates most popular Hugging Face models as well as GPT-Neo and Microsoft TNLG and TNLU models
Support for PyTorch 1.8.1 and 1.9
Support for CUDA 10.2 and 11.1
Preview packages for ROCm 4.2
pranavsharma commented 2 years ago

Can you please rephrase your question clearly? CUDA build instructions can be found here https://onnxruntime.ai/docs/build/eps.html#cuda.

xinsuinizhuan commented 2 years ago

I want use the onnxruntime to run my yolov5, windows10, VS2019, but my CUDA/cuDNN version is cuda10/v7.6.5.32。I only find the ONNX Runtime v1.8.1 Support for CUDA 10.2, so i use the onnxruntime 1.8.1 -gpu (https://github.com/microsoft/onnxruntime/releases onnxruntime-win-gpu-x64-1.8.1.zip) forward,but the speed is so slow, it should only run cpu。

pranavsharma commented 2 years ago

Newer versions of CUDA and ORT come with perf improvements. You may try building ORT 1.9 release or master branch with the ver of CUDA you have.

xinsuinizhuan commented 2 years ago

how to build? I could not download the cmake external, and i manul download them the put to the file,like this,but still could not find them? 图片

xinsuinizhuan commented 2 years ago

Newer versions of CUDA and ORT come with perf improvements. You may try building ORT 1.9 release or master branch with the ver of CUDA you have.

could you provide a whol projection with all cmake external by the net pan?

pranavsharma commented 2 years ago

Can you use the build cmd here https://onnxruntime.ai/docs/build/eps.html#build-instructions?

xinsuinizhuan commented 2 years ago

Can you use the build cmd here https://onnxruntime.ai/docs/build/eps.html#build-instructions?

Yes, the cmd is ok.But i can't download the cmake/external, so can't build. Could provide the cmake external file?

xinsuinizhuan commented 2 years ago

i download them with the error: 图片 i can download them manually, but don't know where to put them

xinsuinizhuan commented 2 years ago

when i dowload the cmake external: lllstandout@LAPTOP-B27R8CMN MINGW64 /d/vison_software/onnxruntime/1.9/onnxruntime (rel-1.9.0) $ git submodule update --init --recursive fatal: could not get a repository handle for submodule 'src/3rdParty/eigen' fatal: could not get a repository handle for submodule 'cmake/external/json' (base)

xinsuinizhuan commented 2 years ago

could provide the whole source? I only want to compile in cuda10.2

stale[bot] commented 2 years ago

This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs. If further support is needed, please provide an update and/or more details.