Open abilashravi-ta opened 2 years ago
Looks like a bug on this line: https://github.com/microsoft/onnxruntime/blob/0292356bd7ce5b379be8ee9820bfbf4fd321ebc5/onnxruntime/core/framework/allocation_planner.cc#L889
Where it's ignoring the return value, and it's marked as no_discard. Marked as a bug. Will update here once the fix is known in case you want to patch it locally.
Change merged! (had 1 more change than what I mentioned above). You might be able to cherrypick it into your local branch, but its trivial to manually apply.
@RyanUnderhill, I added the changes in ceaaf397ac0d50dc1a3579dfa8483b1c85518037 to my local and I'm able to build onnxruntime (v1.10.0) successfully with --enable_memory_profile
and --enable_cuda_profiling
flags.!
I'm referring to this Onnx performance tuning section. The .json
file that it talks about can be generated by building onnxruntime with just --enable_cuda_profiling
flag. It does not mention how to do memory profiling i.e. what additional info/features I get by building with --enable_memory_profile
flag. Can u point out me to some resource.?
same question
@abilashravi-ta @ken012git There is information on the pull request that added it here: https://github.com/microsoft/onnxruntime/pull/5658
Description I am trying to build onnxruntime (v1.10.0) from source following these instructions with additional flags
--enable_memory_profile --enable_cuda_profiling
to have profiling enabled.When I use the following command to build and install
I get some build errors like this (I added
set(CMAKE_VERBOSE_MAKEFILE on)
in the CMakeLists.txt file to get more details)System information
Here is the full build recording build_recording.txt
There build file generation is successful when I use
But it fails when I use
I have also added the location of
cupti
library toPATH
. This is how myPATH
variable looks likeAny suggestion would be helpful.!