2021-03-24 05:38:59 +08:00
|
|
|
{
|
|
|
|
"name": "mnn",
|
2021-07-23 06:31:44 +08:00
|
|
|
"version": "1.1.0",
|
2024-07-10 01:32:44 +08:00
|
|
|
"port-version": 6,
|
2021-03-24 05:38:59 +08:00
|
|
|
"description": "MNN is a blazing fast, lightweight deep learning framework, battle-tested by business-critical use cases in Alibaba",
|
|
|
|
"homepage": "https://www.mnn.zone/",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"supports": "!(arm | uwp | ios | android)",
|
|
|
|
"dependencies": [
|
|
|
|
"flatbuffers",
|
2021-07-23 06:31:44 +08:00
|
|
|
{
|
|
|
|
"name": "flatbuffers",
|
|
|
|
"host": true
|
|
|
|
},
|
2021-03-24 05:38:59 +08:00
|
|
|
"rapidjson",
|
2023-03-02 02:39:14 +08:00
|
|
|
"stb",
|
|
|
|
{
|
|
|
|
"name": "vcpkg-cmake",
|
|
|
|
"host": true
|
|
|
|
}
|
2021-03-24 05:38:59 +08:00
|
|
|
],
|
|
|
|
"features": {
|
|
|
|
"cuda": {
|
|
|
|
"description": "Enable CUDA API backend",
|
|
|
|
"dependencies": [
|
|
|
|
"cuda",
|
2023-07-22 00:04:10 +08:00
|
|
|
"cudnn",
|
|
|
|
{
|
|
|
|
"name": "mnn",
|
|
|
|
"features": [
|
|
|
|
"gpu"
|
|
|
|
]
|
|
|
|
}
|
2021-03-24 05:38:59 +08:00
|
|
|
]
|
|
|
|
},
|
2023-07-22 00:04:10 +08:00
|
|
|
"gpu": {
|
|
|
|
"description": "Enable MNN Gpu Debug"
|
|
|
|
},
|
2021-03-24 05:38:59 +08:00
|
|
|
"metal": {
|
2023-07-22 00:04:10 +08:00
|
|
|
"description": "Enable Metal API backend for Apple platforms",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "mnn",
|
|
|
|
"features": [
|
|
|
|
"gpu"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2021-03-24 05:38:59 +08:00
|
|
|
},
|
|
|
|
"opencl": {
|
|
|
|
"description": "Enable OpenCL API backend",
|
|
|
|
"dependencies": [
|
2023-07-22 00:04:10 +08:00
|
|
|
{
|
|
|
|
"name": "mnn",
|
|
|
|
"features": [
|
|
|
|
"system"
|
|
|
|
]
|
|
|
|
},
|
2021-03-24 05:38:59 +08:00
|
|
|
"opencl"
|
|
|
|
]
|
|
|
|
},
|
2023-07-22 00:04:10 +08:00
|
|
|
"system": {
|
|
|
|
"description": "For opencl and vulkan, use system lib or use dlopen"
|
|
|
|
},
|
2021-03-24 05:38:59 +08:00
|
|
|
"test": {
|
|
|
|
"description": "Build MNN test programs"
|
|
|
|
},
|
|
|
|
"tools": {
|
|
|
|
"description": "Build MNN tools",
|
|
|
|
"dependencies": [
|
|
|
|
"protobuf"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"vulkan": {
|
|
|
|
"description": "Enable Vulkan API backend",
|
|
|
|
"dependencies": [
|
2023-07-22 00:04:10 +08:00
|
|
|
{
|
|
|
|
"name": "mnn",
|
|
|
|
"features": [
|
|
|
|
"gpu",
|
|
|
|
"system"
|
|
|
|
]
|
|
|
|
},
|
2021-03-24 05:38:59 +08:00
|
|
|
"vulkan"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|