Click here to see the table of contents.
Note that this README is automatically generated - don't edit!
- Category: AI/ML frameworks.
- CM GitHub repository: mlcommons@ck
- GitHub directory for this script: GitHub
- CM meta description for this script: _cm.json
- CM "database" tags to find this script: install,onnxruntime,get,prebuilt,lib,lang-c,lang-cpp
- Output cached? True
cm pull repo mlcommons@ck
-
cm run script --tags=install,onnxruntime,get,prebuilt,lib,lang-c,lang-cpp[,variations]
-
cmr "install onnxruntime get prebuilt lib lang-c lang-cpp[ variations]"
variations
can be seen here
Click here to expand this section.
import cmind
r = cmind.access({'action':'run'
'automation':'script',
'tags':'install,onnxruntime,get,prebuilt,lib,lang-c,lang-cpp'
'out':'con',
...
(other input keys for this script)
...
})
if r['return']>0:
print (r['error'])
cmr "cm gui" --script="install,onnxruntime,get,prebuilt,lib,lang-c,lang-cpp"
Use this online GUI to generate CM CMD.
cm docker script "install onnxruntime get prebuilt lib lang-c lang-cpp[ variations]"
-
Group "device"
Click here to expand this section.
_cpu
(default)- Environment variables:
- CM_ONNXRUNTIME_DEVICE: ``
- Workflow:
- Environment variables:
_cuda
- Environment variables:
- CM_ONNXRUNTIME_DEVICE:
gpu
- CM_ONNXRUNTIME_DEVICE:
- Workflow:
- Environment variables:
_cpu
Click here to expand this section.
These keys can be updated via --env.KEY=VALUE
or env
dictionary in @input.json
or using script flags.
Default version: 1.16.3
Click here to expand this section.
- Read "deps" on other CM scripts from meta
- detect,os
- CM script: detect-os
- detect,os
- Run "preprocess" function from customize.py
- Read "prehook_deps" on other CM scripts from meta
- Run native script if exists
- Read "posthook_deps" on other CM scripts from meta
- Run "postrocess" function from customize.py
- Read "post_deps" on other CM scripts from meta
cmr "install onnxruntime get prebuilt lib lang-c lang-cpp[,variations]" -j
+CPLUS_INCLUDE_PATH
+C_INCLUDE_PATH
+DYLD_FALLBACK_LIBRARY_PATH
+LD_LIBRARY_PATH
+PATH
CM_ONNXRUNTIME_INCLUDE_PATH
CM_ONNXRUNTIME_LIB_PATH
CM_ONNXRUNTIME_INCLUDE_PATH
CM_ONNXRUNTIME_LIB_PATH