Some fixes for onnxruntime in TRD, but disabling it since still broken and untested#12964
Conversation
|
REQUEST FOR PRODUCTION RELEASES: This will add The following labels are available |
6d0f75c to
f3b6288
Compare
|
Error while checking build/O2/fullCI for f3b6288 at 2024-04-01 11:38: Full log here. |
|
@f3sch could you comment on @davidrohr 's question? |
|
Hi @davidrohr and @martenole, the changes to the cmake were made in #10672. Since this code is really not used and but can be revived anytime (VC tracked), I would be fine do drop it completely. |
|
Thx, I have disabled it now with |
|
Ah and now the CI is unfortunately reset. There was also at least one typo in ML.cxx due to which the compilation failed with ONNX enabled. But OK, fine to leave it out for now and once someone would want to work on that part again it cannot directly be enabled, but also some other fixes will need to be done. |
…n and untested (AliceO2Group#12964) * Fix TRD usage of onnxruntime * Disable ONNX in TRD for now
…n and untested (AliceO2Group#12964) * Fix TRD usage of onnxruntime * Disable ONNX in TRD for now
…n and untested (AliceO2Group#12964) * Fix TRD usage of onnxruntime * Disable ONNX in TRD for now
TRD tries to use onnxruntime it seems, but this code is buggy since it checks for
ONNXRuntime_FOUNDwhich is never said, so this code was never used. Also the CMake code was wrong lacking thePRIVATEkeyword, which was not seen, since it was never used.This fixes it (requires #12963) and enables the TRD ML.cxx compilation if onnruntime is present.
@martenole : Could you check if this code is actually sane, since it was never used before? The alternative would be to just drop it, but I would not compile something conditionally based on a broken condition.