Instructions to use mobilint/ViT_Base_Patch32_224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Mobilint
How to use mobilint/ViT_Base_Patch32_224 with Mobilint:
# pip install mblt-model-zoo from mblt_model_zoo.vision import MBLT_Engine model = MBLT_Engine( model_cls="ViT_Base_Patch32_224", 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 +20 -14
- aries-rb/metadata.json +17 -11
- aries-rb/vit_base_patch32_224.mxq +2 -2
README.md
CHANGED
|
@@ -11,11 +11,11 @@ base_model:
|
|
| 11 |
|
| 12 |
# ViT_Base_Patch32_224
|
| 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/ViT_Base_Patch32_224). 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.
|
| 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,39 +30,45 @@ 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": {
|
| 37 |
"dataset": "imagenet",
|
| 38 |
"sample_count": 50000,
|
| 39 |
"primary": {
|
| 40 |
-
"top1_accuracy": 0.
|
| 41 |
},
|
| 42 |
"secondary": {
|
| 43 |
-
"top5_accuracy": 0.
|
| 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"
|
| 51 |
},
|
| 52 |
"retention_percent": {
|
| 53 |
-
"top1_accuracy": 99.
|
| 54 |
},
|
| 55 |
"content_sha256": "81cf997e91a429e5bdab10af4ae4eff79995a86e9747f6983e2b30d6087e7db2",
|
| 56 |
-
"attempt_id": "
|
| 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/ViT_Base_Patch32_224",
|
| 68 |
"publication": {
|
|
|
|
| 11 |
|
| 12 |
# ViT_Base_Patch32_224
|
| 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/ViT_Base_Patch32_224). 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.80616, top5_accuracy 0.95562. Only the evaluated core mode was measured.
|
| 17 |
|
| 18 |
+
SHA-256: `729c013c5df25a4b3667e9df0d7bb711e23942d202884ecc1580bd1a878d5e6b` (104601164 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": {
|
| 37 |
"dataset": "imagenet",
|
| 38 |
"sample_count": 50000,
|
| 39 |
"primary": {
|
| 40 |
+
"top1_accuracy": 0.80616
|
| 41 |
},
|
| 42 |
"secondary": {
|
| 43 |
+
"top5_accuracy": 0.95562
|
| 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"
|
| 54 |
},
|
| 55 |
"retention_percent": {
|
| 56 |
+
"top1_accuracy": 99.87363413365048
|
| 57 |
},
|
| 58 |
"content_sha256": "81cf997e91a429e5bdab10af4ae4eff79995a86e9747f6983e2b30d6087e7db2",
|
| 59 |
+
"attempt_id": "ViT_Base_Patch32_224-jinman-coreall-6cc9a15acc17",
|
| 60 |
"superseded_attempt_ids": [],
|
| 61 |
+
"sha256": "729c013c5df25a4b3667e9df0d7bb711e23942d202884ecc1580bd1a878d5e6b",
|
| 62 |
"format": "MXQv7",
|
| 63 |
"supported_modes": [
|
| 64 |
+
"single",
|
| 65 |
+
"multi",
|
| 66 |
+
"global4",
|
| 67 |
+
"global8"
|
| 68 |
],
|
| 69 |
+
"size": 104601164,
|
| 70 |
"ops_commits": {
|
| 71 |
+
"selection": "6cc61b6c4600f8afef654f68ee851d2b65ebac1e"
|
| 72 |
},
|
| 73 |
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/ViT_Base_Patch32_224",
|
| 74 |
"publication": {
|
aries-rb/metadata.json
CHANGED
|
@@ -7,39 +7,45 @@
|
|
| 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": {
|
| 14 |
"dataset": "imagenet",
|
| 15 |
"sample_count": 50000,
|
| 16 |
"primary": {
|
| 17 |
-
"top1_accuracy": 0.
|
| 18 |
},
|
| 19 |
"secondary": {
|
| 20 |
-
"top5_accuracy": 0.
|
| 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"
|
| 28 |
},
|
| 29 |
"retention_percent": {
|
| 30 |
-
"top1_accuracy": 99.
|
| 31 |
},
|
| 32 |
"content_sha256": "81cf997e91a429e5bdab10af4ae4eff79995a86e9747f6983e2b30d6087e7db2",
|
| 33 |
-
"attempt_id": "
|
| 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/ViT_Base_Patch32_224",
|
| 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": {
|
| 14 |
"dataset": "imagenet",
|
| 15 |
"sample_count": 50000,
|
| 16 |
"primary": {
|
| 17 |
+
"top1_accuracy": 0.80616
|
| 18 |
},
|
| 19 |
"secondary": {
|
| 20 |
+
"top5_accuracy": 0.95562
|
| 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"
|
| 31 |
},
|
| 32 |
"retention_percent": {
|
| 33 |
+
"top1_accuracy": 99.87363413365048
|
| 34 |
},
|
| 35 |
"content_sha256": "81cf997e91a429e5bdab10af4ae4eff79995a86e9747f6983e2b30d6087e7db2",
|
| 36 |
+
"attempt_id": "ViT_Base_Patch32_224-jinman-coreall-6cc9a15acc17",
|
| 37 |
"superseded_attempt_ids": [],
|
| 38 |
+
"sha256": "729c013c5df25a4b3667e9df0d7bb711e23942d202884ecc1580bd1a878d5e6b",
|
| 39 |
"format": "MXQv7",
|
| 40 |
"supported_modes": [
|
| 41 |
+
"single",
|
| 42 |
+
"multi",
|
| 43 |
+
"global4",
|
| 44 |
+
"global8"
|
| 45 |
],
|
| 46 |
+
"size": 104601164,
|
| 47 |
"ops_commits": {
|
| 48 |
+
"selection": "6cc61b6c4600f8afef654f68ee851d2b65ebac1e"
|
| 49 |
},
|
| 50 |
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/ViT_Base_Patch32_224",
|
| 51 |
"publication": {
|
aries-rb/vit_base_patch32_224.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:729c013c5df25a4b3667e9df0d7bb711e23942d202884ecc1580bd1a878d5e6b
|
| 3 |
+
size 104601164
|