-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmads_package.json
More file actions
42 lines (42 loc) · 1.78 KB
/
Copy pathmads_package.json
File metadata and controls
42 lines (42 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "onnx_agent",
"requirements": {
"Common": {
"note": [
"Requires MADS 2.2.0 or later",
"OpenCV must be installed for camera mode (see [OpenCV](https://opencv.org/))"
]
},
"Windows": {
"note": [
"Requires Windows 11 or later",
"GPU acceleration via DirectML is available on any DirectX 12 capable GPU (discrete or integrated). Set execution_provider = directml in mads.ini [agents] to enable; CPU is the default and always works."
],
"commands": [
"winget install OpenCV.OpenCV"
]
},
"Linux": {
"note": [
"Requires Ubuntu 22.04 or later",
"The package ships a GPU-capable ONNX Runtime core (built against CUDA 12) that runs on CPU by default — no NVIDIA driver or CUDA Toolkit is required for normal use.",
"To enable NVIDIA GPU (CUDA) inference: (1) install the NVIDIA CUDA Toolkit 12.x and cuDNN 9.x on the host, then (2) run scripts/enable-cuda.sh (see the project repository) to download and install the CUDA provider sidecar into $(mads -p)/lib. Set execution_provider = cuda in mads.ini [agents] once the sidecar is in place."
],
"commands": [
"sudo apt install libopencv-dev"
]
},
"macOS": {
"note": [
"Requires macOS 13 or later",
"GPU acceleration via Apple CoreML (ANE / GPU) is available out of the box. Set execution_provider = coreml (or auto) in mads.ini [agents] to enable; CPU is the default.",
"You might need to remove the quarantine protection on the binaries once installed"
],
"commands": [
"brew install opencv",
"xattr -d com.apple.quarantine $(mads -p)/bin/mads-onnx-*",
"xattr -d com.apple.quarantine $(mads -p)/lib/libonnxruntime.dylib"
]
}
}
}