Instructions to use mobilint/RepViT_M1_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Mobilint
How to use mobilint/RepViT_M1_1 with Mobilint:
# pip install mblt-model-zoo from mblt_model_zoo.vision import MBLT_Engine model = MBLT_Engine( model_cls="RepViT_M1_1", model_type="DEFAULT", model_path="", core_mode="global8", ) try: image = model.preprocess("path/to/image.jpg") output = model(image) result = model.postprocess(output) finally: model.dispose() - Notebooks
- Google Colab
- Kaggle
Publish approved Variant MXQ
Browse files- README.md +16 -10
- aries-rb/metadata.json +14 -8
- aries-rb/repvit_m1_1.mxq +2 -2
README.md
CHANGED
|
@@ -11,11 +11,11 @@ base_model:
|
|
| 11 |
|
| 12 |
# RepViT_M1_1
|
| 13 |
|
| 14 |
-
`aries-rb/` holds the MXQ reproduced from the published arxiv folder (https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/RepViT_M1_1). It was compiled by qbcompiler 1.4.0 in the image `mobilint/qbcompiler:1.4-cuda12.8.1-ubuntu22.04` (sha256:7910f1661605b82eb9616f6ac99fd6461dbb865dcadaa810cce22c638ceffd44) with `--inference-scheme
|
| 15 |
|
| 16 |
It was evaluated with qbruntime 1.5.0 in `async` inference mode on imagenet (50000 samples): top1_accuracy 0.80184, top5_accuracy 0.94956. Only the evaluated core mode was measured.
|
| 17 |
|
| 18 |
-
SHA-256: `
|
| 19 |
|
| 20 |
aries-rb/best_result.json contains legacy build values and is retained for mblt-vision-python compile defaults.
|
| 21 |
The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an older revision.
|
|
@@ -30,7 +30,7 @@ The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an olde
|
|
| 30 |
"compile": {
|
| 31 |
"image_tag": "1.4-cuda12.8.1-ubuntu22.04",
|
| 32 |
"image_digest": "sha256:7910f1661605b82eb9616f6ac99fd6461dbb865dcadaa810cce22c638ceffd44",
|
| 33 |
-
"inference_scheme": "
|
| 34 |
"device": "gpu"
|
| 35 |
},
|
| 36 |
"evaluation": {
|
|
@@ -43,8 +43,11 @@ The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an olde
|
|
| 43 |
"top5_accuracy": 0.94956
|
| 44 |
},
|
| 45 |
"protocol": null,
|
| 46 |
-
"eval_data_identity":
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
| 48 |
"inference_mode": "async",
|
| 49 |
"image_tag": "1.4-cpu-ubuntu22.04",
|
| 50 |
"image_digest": "sha256:62b5bc714571dffd94fb561275767ca80d15337a433630a3ae7936305d531a7b"
|
|
@@ -53,16 +56,19 @@ The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an olde
|
|
| 53 |
"top1_accuracy": 99.17134588270214
|
| 54 |
},
|
| 55 |
"content_sha256": "43d230c1a40291c0c792a6c64f0bb26d4f8dd5e3d0aafdc6c2836193d1a331c7",
|
| 56 |
-
"attempt_id": "RepViT_M1_1-jinman-
|
| 57 |
"superseded_attempt_ids": [],
|
| 58 |
-
"sha256": "
|
| 59 |
"format": "MXQv7",
|
| 60 |
"supported_modes": [
|
| 61 |
-
"single"
|
|
|
|
|
|
|
|
|
|
| 62 |
],
|
| 63 |
-
"size":
|
| 64 |
"ops_commits": {
|
| 65 |
-
"selection": "
|
| 66 |
},
|
| 67 |
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/RepViT_M1_1",
|
| 68 |
"publication": {
|
|
|
|
| 11 |
|
| 12 |
# RepViT_M1_1
|
| 13 |
|
| 14 |
+
`aries-rb/` holds the MXQ reproduced from the published arxiv folder (https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/RepViT_M1_1). It was compiled by qbcompiler 1.4.0 in the image `mobilint/qbcompiler:1.4-cuda12.8.1-ubuntu22.04` (sha256:7910f1661605b82eb9616f6ac99fd6461dbb865dcadaa810cce22c638ceffd44) with `--inference-scheme all`, so it supports the core mode(s) `single`, `multi`, `global4`, `global8` only.
|
| 15 |
|
| 16 |
It was evaluated with qbruntime 1.5.0 in `async` inference mode on imagenet (50000 samples): top1_accuracy 0.80184, top5_accuracy 0.94956. Only the evaluated core mode was measured.
|
| 17 |
|
| 18 |
+
SHA-256: `c22b4fd3503e7f8677f2fc238823bcc5289c185a7ffe98d2defd782f89bd8c06` (9655665 bytes). Verify a download with `sha256sum <file>.mxq` and compare the digest with this value and with `aries-rb/metadata.json`.
|
| 19 |
|
| 20 |
aries-rb/best_result.json contains legacy build values and is retained for mblt-vision-python compile defaults.
|
| 21 |
The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an older revision.
|
|
|
|
| 30 |
"compile": {
|
| 31 |
"image_tag": "1.4-cuda12.8.1-ubuntu22.04",
|
| 32 |
"image_digest": "sha256:7910f1661605b82eb9616f6ac99fd6461dbb865dcadaa810cce22c638ceffd44",
|
| 33 |
+
"inference_scheme": "all",
|
| 34 |
"device": "gpu"
|
| 35 |
},
|
| 36 |
"evaluation": {
|
|
|
|
| 43 |
"top5_accuracy": 0.94956
|
| 44 |
},
|
| 45 |
"protocol": null,
|
| 46 |
+
"eval_data_identity": {
|
| 47 |
+
"annotation_sha256": "f00550c10ff1d4110abc683786b6cc09d5082dadd3cee1568f5cfa1dad962960",
|
| 48 |
+
"sample_list_sha256": "54446819dced83110352e5a0361ff05b19c331c5a9802dcb0222e6d1e44a0547"
|
| 49 |
+
},
|
| 50 |
+
"identity_audit": "verified",
|
| 51 |
"inference_mode": "async",
|
| 52 |
"image_tag": "1.4-cpu-ubuntu22.04",
|
| 53 |
"image_digest": "sha256:62b5bc714571dffd94fb561275767ca80d15337a433630a3ae7936305d531a7b"
|
|
|
|
| 56 |
"top1_accuracy": 99.17134588270214
|
| 57 |
},
|
| 58 |
"content_sha256": "43d230c1a40291c0c792a6c64f0bb26d4f8dd5e3d0aafdc6c2836193d1a331c7",
|
| 59 |
+
"attempt_id": "RepViT_M1_1-jinman-coreall-83a3cb991f8c",
|
| 60 |
"superseded_attempt_ids": [],
|
| 61 |
+
"sha256": "c22b4fd3503e7f8677f2fc238823bcc5289c185a7ffe98d2defd782f89bd8c06",
|
| 62 |
"format": "MXQv7",
|
| 63 |
"supported_modes": [
|
| 64 |
+
"single",
|
| 65 |
+
"multi",
|
| 66 |
+
"global4",
|
| 67 |
+
"global8"
|
| 68 |
],
|
| 69 |
+
"size": 9655665,
|
| 70 |
"ops_commits": {
|
| 71 |
+
"selection": "417dd6508f5a1f5fce40ca68dbdf1cd0e9e2ccf5"
|
| 72 |
},
|
| 73 |
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/RepViT_M1_1",
|
| 74 |
"publication": {
|
aries-rb/metadata.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
"compile": {
|
| 8 |
"image_tag": "1.4-cuda12.8.1-ubuntu22.04",
|
| 9 |
"image_digest": "sha256:7910f1661605b82eb9616f6ac99fd6461dbb865dcadaa810cce22c638ceffd44",
|
| 10 |
-
"inference_scheme": "
|
| 11 |
"device": "gpu"
|
| 12 |
},
|
| 13 |
"evaluation": {
|
|
@@ -20,8 +20,11 @@
|
|
| 20 |
"top5_accuracy": 0.94956
|
| 21 |
},
|
| 22 |
"protocol": null,
|
| 23 |
-
"eval_data_identity":
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
| 25 |
"inference_mode": "async",
|
| 26 |
"image_tag": "1.4-cpu-ubuntu22.04",
|
| 27 |
"image_digest": "sha256:62b5bc714571dffd94fb561275767ca80d15337a433630a3ae7936305d531a7b"
|
|
@@ -30,16 +33,19 @@
|
|
| 30 |
"top1_accuracy": 99.17134588270214
|
| 31 |
},
|
| 32 |
"content_sha256": "43d230c1a40291c0c792a6c64f0bb26d4f8dd5e3d0aafdc6c2836193d1a331c7",
|
| 33 |
-
"attempt_id": "RepViT_M1_1-jinman-
|
| 34 |
"superseded_attempt_ids": [],
|
| 35 |
-
"sha256": "
|
| 36 |
"format": "MXQv7",
|
| 37 |
"supported_modes": [
|
| 38 |
-
"single"
|
|
|
|
|
|
|
|
|
|
| 39 |
],
|
| 40 |
-
"size":
|
| 41 |
"ops_commits": {
|
| 42 |
-
"selection": "
|
| 43 |
},
|
| 44 |
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/RepViT_M1_1",
|
| 45 |
"publication": {
|
|
|
|
| 7 |
"compile": {
|
| 8 |
"image_tag": "1.4-cuda12.8.1-ubuntu22.04",
|
| 9 |
"image_digest": "sha256:7910f1661605b82eb9616f6ac99fd6461dbb865dcadaa810cce22c638ceffd44",
|
| 10 |
+
"inference_scheme": "all",
|
| 11 |
"device": "gpu"
|
| 12 |
},
|
| 13 |
"evaluation": {
|
|
|
|
| 20 |
"top5_accuracy": 0.94956
|
| 21 |
},
|
| 22 |
"protocol": null,
|
| 23 |
+
"eval_data_identity": {
|
| 24 |
+
"annotation_sha256": "f00550c10ff1d4110abc683786b6cc09d5082dadd3cee1568f5cfa1dad962960",
|
| 25 |
+
"sample_list_sha256": "54446819dced83110352e5a0361ff05b19c331c5a9802dcb0222e6d1e44a0547"
|
| 26 |
+
},
|
| 27 |
+
"identity_audit": "verified",
|
| 28 |
"inference_mode": "async",
|
| 29 |
"image_tag": "1.4-cpu-ubuntu22.04",
|
| 30 |
"image_digest": "sha256:62b5bc714571dffd94fb561275767ca80d15337a433630a3ae7936305d531a7b"
|
|
|
|
| 33 |
"top1_accuracy": 99.17134588270214
|
| 34 |
},
|
| 35 |
"content_sha256": "43d230c1a40291c0c792a6c64f0bb26d4f8dd5e3d0aafdc6c2836193d1a331c7",
|
| 36 |
+
"attempt_id": "RepViT_M1_1-jinman-coreall-83a3cb991f8c",
|
| 37 |
"superseded_attempt_ids": [],
|
| 38 |
+
"sha256": "c22b4fd3503e7f8677f2fc238823bcc5289c185a7ffe98d2defd782f89bd8c06",
|
| 39 |
"format": "MXQv7",
|
| 40 |
"supported_modes": [
|
| 41 |
+
"single",
|
| 42 |
+
"multi",
|
| 43 |
+
"global4",
|
| 44 |
+
"global8"
|
| 45 |
],
|
| 46 |
+
"size": 9655665,
|
| 47 |
"ops_commits": {
|
| 48 |
+
"selection": "417dd6508f5a1f5fce40ca68dbdf1cd0e9e2ccf5"
|
| 49 |
},
|
| 50 |
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/RepViT_M1_1",
|
| 51 |
"publication": {
|
aries-rb/repvit_m1_1.mxq
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c22b4fd3503e7f8677f2fc238823bcc5289c185a7ffe98d2defd782f89bd8c06
|
| 3 |
+
size 9655665
|