[submodule] Update ONNX to 1.18 (#152200)

Update ONNX to 1.18.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/152200
Approved by: https://github.com/justinchuby, https://github.com/malfet
This commit is contained in:
cyy
2025-05-13 04:18:45 +00:00
committed by PyTorch MergeBot
parent c4fb0b6f33
commit 15e08f9571
2 changed files with 2 additions and 1 deletions

View File

@ -1321,6 +1321,7 @@ if(CAFFE2_CMAKE_BUILDING_WITH_MAIN_REPO AND NOT INTERN_DISABLE_ONNX)
add_definitions(-DONNX_ML=1) add_definitions(-DONNX_ML=1)
endif() endif()
add_definitions(-DONNXIFI_ENABLE_EXT=1) add_definitions(-DONNXIFI_ENABLE_EXT=1)
set(Python3_EXECUTABLE "${Python_EXECUTABLE}")
if(NOT USE_SYSTEM_ONNX) if(NOT USE_SYSTEM_ONNX)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../third_party/onnx EXCLUDE_FROM_ALL) add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../third_party/onnx EXCLUDE_FROM_ALL)
endif() endif()