microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
97ec95075187b3e6bfbe2820572f9edc93e6ac5b

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

cmake/noexcep_ops.cmake

13lines · modecode

1# If the oeprator needs the cpp exceptions supports, write down their names
2if (OCOS_ENABLE_GPT2_TOKENIZER)
3 message(FATAL_ERROR "GPT2_TOKENIZER operator needs c++ exceptions support")
4endif()
5if (OCOS_ENABLE_BERT_TOKENIZER)
6 message(FATAL_ERROR "BERT_TOKENIZE operator needs c++ exceptions support")
7endif()
8if (OCOS_ENABLE_BLINGFIRE)
9 message(FATAL_ERROR "BLINGFIRE operator needs c++ exceptions support")
10endif()
11if (OCOS_ENABLE_SPM_TOKENIZER)
12 message(FATAL_ERROR "SPM_TOKENIZER operator needs c++ exceptions support")
13endif()
14