Skip to content

Commit

Permalink
feat: add cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Nov 28, 2024
1 parent 55ca480 commit ebf85fa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions vcpkg-overlay/ports/maa-onnxruntime/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@
},
"coreml": {
"description": "Build with CoreML support"
},
"tensorrt": {
"description": "Build with TensorRT support",
"dependencies": [
{
"name": "onnxruntime",
"default-features": false,
"features": [
"cuda"
]
}
]
}
}
}
5 changes: 3 additions & 2 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
"name": "maa-onnxruntime",
"platform": "windows",
"features": ["directml"]
"features": ["directml", "cuda"]
},
{
"name": "maa-onnxruntime",
Expand All @@ -29,7 +29,8 @@
},
{
"name": "maa-onnxruntime",
"platform": "linux"
"platform": "linux",
"features": ["cuda"]
},
"maa-fastdeploy",
"zlib",
Expand Down

0 comments on commit ebf85fa

Please sign in to comment.