Add pinned BiRefNet Core ML GPU 1024 FP16 package
Browse files
BiRefNet_1024_fp16.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac7298614fbc0af03f675f166b878feb371827732ec2219a426636c0e50b449e
|
| 3 |
+
size 3386367
|
BiRefNet_1024_fp16.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3c815201e41044b3fec8d7a9dd68cd0844e670ee0157cac5c92c326d9db7d1d
|
| 3 |
+
size 492760224
|
BiRefNet_1024_fp16.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"091D6E1A-9CD5-43E9-9108-DD6178D993DA": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Specification",
|
| 7 |
+
"name": "model.mlmodel",
|
| 8 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
| 9 |
+
},
|
| 10 |
+
"D22A1FC6-6662-462B-A73A-1BE7C3160649": {
|
| 11 |
+
"author": "com.apple.CoreML",
|
| 12 |
+
"description": "CoreML Model Weights",
|
| 13 |
+
"name": "weights",
|
| 14 |
+
"path": "com.apple.CoreML/weights"
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"rootModelIdentifier": "091D6E1A-9CD5-43E9-9108-DD6178D993DA"
|
| 18 |
+
}
|
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
PROVENANCE.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"artifact_id": "birefnet-coreml-gpu",
|
| 4 |
+
"source": {
|
| 5 |
+
"repository": "ZhengPeng7/BiRefNet",
|
| 6 |
+
"revision": "e2bf8e4460fc8fa32bba5ea4d94b3233d367b0e4"
|
| 7 |
+
},
|
| 8 |
+
"build_recipe": {
|
| 9 |
+
"repository": "imperatormk/coreml-birefnet",
|
| 10 |
+
"revision": "42fa0eb3a65efffb5a543af358f7a9a827c93d6e"
|
| 11 |
+
},
|
| 12 |
+
"input_size": 1024,
|
| 13 |
+
"compute_precision": "float16",
|
| 14 |
+
"compute_units": "cpuAndGPU",
|
| 15 |
+
"notes": "real deformable convolution via grid-sample decomposition; fuse_transpose_matmul removed"
|
| 16 |
+
}
|
README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# BiRefNet Core ML GPU
|
| 2 |
+
|
| 3 |
+
MIT license. This package is a Core ML GPU conversion of
|
| 4 |
+
[ZhengPeng7/BiRefNet](https://huggingface.co/ZhengPeng7/BiRefNet)
|
| 5 |
+
revision `e2bf8e4460fc8fa32bba5ea4d94b3233d367b0e4`.
|
| 6 |
+
|
| 7 |
+
The conversion follows
|
| 8 |
+
[imperatormk/coreml-birefnet](https://github.com/imperatormk/coreml-birefnet)
|
| 9 |
+
revision `42fa0eb3a65efffb5a543af358f7a9a827c93d6e`.
|
| 10 |
+
|
| 11 |
+
- File: `BiRefNet_1024_fp16.mlpackage`
|
| 12 |
+
- Input name: `image`, shape `(1, 3, 1024, 1024)`, float32 NCHW
|
| 13 |
+
- Output name: `mask`
|
| 14 |
+
- Precision: float16
|
| 15 |
+
- Compute units: CPU and GPU
|