Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] ‘struct onnxruntime::ProviderHostCPU’ has no member named ‘UpsampleBase__AdjustOutputSizeAsPolicy’ #21204

Open
MiroPsota opened this issue Jun 28, 2024 · 0 comments
Labels
build build issues; typically submitted using template ep:CUDA issues related to the CUDA execution provider

Comments

@MiroPsota
Copy link

Describe the issue

Error as described, even with different library versions.
CPU only builds fine.
CUDA from https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run
CUDNN from
https://developer.nvidia.com/downloads/compute/cudnn/secure/8.9.2/local_installers/11.x/cudnn-linux-x86_64-8.9.2.26_cuda11-archive.tar.xz/

Urgency

No response

Target platform

Ubuntu 24.04

Build script

git clone -b v1.18.1 --depth 1 https://github.com/microsoft/onnxruntime.git

export CC=/usr/bin/gcc-11
export CXX=/usr/bin/g++-11

cd onnxruntime
./build.sh \
  --config Release \
  --build_shared_lib \
  --parallel \
  --compile_no_warning_as_error \
  --skip_submodule_sync \
  --use_cuda \
  --cuda_home <path>/cuda-11.8.0 \
  --cudnn_home <path>/cudnn-linux-x86_64-8.9.2.26_cuda11-archive \
  --cmake_extra_defines \
    CMAKE_CC_COMPILER=/usr/bin/gcc-11 \
    CMAKE_CXX_COMPILER=/usr/bin/g++-11 \
    CMAKE_CUDA_ARCHITECTURES=86 \
    CMAKE_CUDA_HOST_COMPILER=/usr/bin/g++-11 \
    onnxruntime_DISABLE_CONTRIB_OPS=ON \
    onnxruntime_BUILD_UNIT_TESTS=OFF \
  --skip_tests

Error / output

/onnxruntime/onnxruntime/core/providers/shared_library/provider_bridge_provider.cc:580:14: error: ‘struct onnxruntime::ProviderHostCPU’ has no member named ‘UpsampleBase__AdjustOutputSizeAsPolicy’

Visual Studio Version

No response

GCC / Compiler Version

11.4

@MiroPsota MiroPsota added the build build issues; typically submitted using template label Jun 28, 2024
@github-actions github-actions bot added the ep:CUDA issues related to the CUDA execution provider label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template ep:CUDA issues related to the CUDA execution provider
Projects
None yet
Development

No branches or pull requests

1 participant