microsoft / microsoft/onnxruntime-inference-examples

c_cxx fns_candy_style_transfer does not compile with newest onnxruntime

Open
#54 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.7k
Forks
414
Avg merge
1d 6h
Merged PRs (30d)
14

Description

When use the onnxruntime compiled from source code with latest change, error: 'EXHAUSTIVE' undeclared occurs.
Looks like the EXHAUSTIVE has been replaced by OrtCudnnConvAlgoSearchExhaustive in this commit. In this case, how to support different versions of onnxruntime?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by building the c_cxx fns_candy_style_transfer example against an ONNX Runtime version built from current source, then inspect the reference to EXHAUSTIVE and the linked upstream change. Done means the example compiles with the newer API while retaining compatibility with supported ONNX Runtime versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.