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] "utf8_range::utf8_validity" does not exist #21174

Closed
srijanie03 opened this issue Jun 25, 2024 · 5 comments
Closed

[Build] "utf8_range::utf8_validity" does not exist #21174

srijanie03 opened this issue Jun 25, 2024 · 5 comments
Labels
build build issues; typically submitted using template ep:CUDA issues related to the CUDA execution provider

Comments

@srijanie03
Copy link

Describe the issue

I am trying to build the ONNX Runtime Training for CUDA 12.4 following the instructions here:
https://onnxruntime.ai/docs/build/training.html#gpu--cuda

The error occurs at the end of the build with the Cmake unable to find the utf8_range::utf8_validity file.

I checked the utf8_range folder and it only contains :
utf8_range-config.cmake
utf8_range-targets-release.cmake
utf8_range-targets.cmake

Cmake version : 3.29.2

Urgency

Very urgent

Target platform

CUDA 12.4

Build script

./build.sh --config=RelWithDebInfo --enable_training --build_wheel --use_cuda --cuda_home /usr/local/cuda --cudnn_home /usr/local/cuda --cuda_version=12.4 --allow_running_as_root

Error / output

image

Visual Studio Version

No response

GCC / Compiler Version

11.4.0

@srijanie03 srijanie03 added the build build issues; typically submitted using template label Jun 25, 2024
@github-actions github-actions bot added the ep:CUDA issues related to the CUDA execution provider label Jun 25, 2024
@snnn
Copy link
Member

snnn commented Jun 26, 2024

Run

rm -rf /usr/lib/cmake/utf8-range

Then try it again.

@snnn
Copy link
Member

snnn commented Jun 26, 2024

The system environment was broken. It was not an onnxruntime issue.

@snnn snnn closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2024
@srijanie03
Copy link
Author

srijanie03 commented Jun 26, 2024

It still yields the same issue.

image

@snnn
Copy link
Member

snnn commented Jun 26, 2024

Then try this command instead:

rm -rf /usr/lib/cmake/utf8_range

@srijanie03
Copy link
Author

The build completed till 96% and then popped up new errors.

image

image

image

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

2 participants