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 +60 -10
- aries-rb/metadata.json +49 -0
- aries-rb/vit_base_patch32_224.mxq +2 -2
- aries/best_result.json +0 -1
- aries/global4/vit_base_patch32_224.mxq +0 -3
- aries/global8/vit_base_patch32_224.mxq +0 -3
- aries/multi/vit_base_patch32_224.mxq +0 -3
- aries/single/vit_base_patch32_224.mxq +0 -3
- aries/vit_base_patch32_224.mxq +0 -3
README.md
CHANGED
|
@@ -9,15 +9,65 @@ base_model:
|
|
| 9 |
- timm/vit_base_patch32_224.augreg_in21k_ft_in1k
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
| 13 |
-
<a href="https://mobilint.com">
|
| 14 |
-
<img src="https://raw.githubusercontent.com/mobilint/.github/main/assets/Mobilint_Logo_Primary.png"
|
| 15 |
-
width="50%"
|
| 16 |
-
alt="mobilint" />
|
| 17 |
-
</a>
|
| 18 |
-
</div>
|
| 19 |
|
|
|
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
- timm/vit_base_patch32_224.augreg_in21k_ft_in1k
|
| 10 |
---
|
| 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 single`, so it supports the core mode(s) `single` only.
|
| 15 |
|
| 16 |
+
It was evaluated with qbruntime 1.5.0 in `async` inference mode on imagenet (50000 samples): top1_accuracy 0.80634, top5_accuracy 0.9555. Only the evaluated core mode was measured.
|
| 17 |
+
|
| 18 |
+
SHA-256: `e276863fe0a391f1e457df78357689aa334c6aa5376d90433d2b077fa865ba21` (100961774 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.
|
| 22 |
+
|
| 23 |
+
```json
|
| 24 |
+
{
|
| 25 |
+
"schema_version": 2,
|
| 26 |
+
"model": "ViT_Base_Patch32_224",
|
| 27 |
+
"variant": "c0923-gptaq",
|
| 28 |
+
"qbcompiler": "1.4.0",
|
| 29 |
+
"qbruntime": "1.5.0",
|
| 30 |
+
"compile": {
|
| 31 |
+
"image_tag": "1.4-cuda12.8.1-ubuntu22.04",
|
| 32 |
+
"image_digest": "sha256:7910f1661605b82eb9616f6ac99fd6461dbb865dcadaa810cce22c638ceffd44",
|
| 33 |
+
"inference_scheme": "single",
|
| 34 |
+
"device": "gpu"
|
| 35 |
+
},
|
| 36 |
+
"evaluation": {
|
| 37 |
+
"dataset": "imagenet",
|
| 38 |
+
"sample_count": 50000,
|
| 39 |
+
"primary": {
|
| 40 |
+
"top1_accuracy": 0.80634
|
| 41 |
+
},
|
| 42 |
+
"secondary": {
|
| 43 |
+
"top5_accuracy": 0.9555
|
| 44 |
+
},
|
| 45 |
+
"protocol": null,
|
| 46 |
+
"eval_data_identity": null,
|
| 47 |
+
"identity_audit": "absent",
|
| 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.89593399241804
|
| 54 |
+
},
|
| 55 |
+
"content_sha256": "81cf997e91a429e5bdab10af4ae4eff79995a86e9747f6983e2b30d6087e7db2",
|
| 56 |
+
"attempt_id": "srcmodes8-vit-base-patch32-224-20261009t164855",
|
| 57 |
+
"superseded_attempt_ids": [],
|
| 58 |
+
"sha256": "e276863fe0a391f1e457df78357689aa334c6aa5376d90433d2b077fa865ba21",
|
| 59 |
+
"format": "MXQv7",
|
| 60 |
+
"supported_modes": [
|
| 61 |
+
"single"
|
| 62 |
+
],
|
| 63 |
+
"size": 100961774,
|
| 64 |
+
"ops_commits": {
|
| 65 |
+
"selection": "2505304b714b87f620665f0d55ac9ce99d6c57e6"
|
| 66 |
+
},
|
| 67 |
+
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/ViT_Base_Patch32_224",
|
| 68 |
+
"publication": {
|
| 69 |
+
"status": "public",
|
| 70 |
+
"reason": "approved"
|
| 71 |
+
}
|
| 72 |
+
}
|
| 73 |
+
```
|
aries-rb/metadata.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 2,
|
| 3 |
+
"model": "ViT_Base_Patch32_224",
|
| 4 |
+
"variant": "c0923-gptaq",
|
| 5 |
+
"qbcompiler": "1.4.0",
|
| 6 |
+
"qbruntime": "1.5.0",
|
| 7 |
+
"compile": {
|
| 8 |
+
"image_tag": "1.4-cuda12.8.1-ubuntu22.04",
|
| 9 |
+
"image_digest": "sha256:7910f1661605b82eb9616f6ac99fd6461dbb865dcadaa810cce22c638ceffd44",
|
| 10 |
+
"inference_scheme": "single",
|
| 11 |
+
"device": "gpu"
|
| 12 |
+
},
|
| 13 |
+
"evaluation": {
|
| 14 |
+
"dataset": "imagenet",
|
| 15 |
+
"sample_count": 50000,
|
| 16 |
+
"primary": {
|
| 17 |
+
"top1_accuracy": 0.80634
|
| 18 |
+
},
|
| 19 |
+
"secondary": {
|
| 20 |
+
"top5_accuracy": 0.9555
|
| 21 |
+
},
|
| 22 |
+
"protocol": null,
|
| 23 |
+
"eval_data_identity": null,
|
| 24 |
+
"identity_audit": "absent",
|
| 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.89593399241804
|
| 31 |
+
},
|
| 32 |
+
"content_sha256": "81cf997e91a429e5bdab10af4ae4eff79995a86e9747f6983e2b30d6087e7db2",
|
| 33 |
+
"attempt_id": "srcmodes8-vit-base-patch32-224-20261009t164855",
|
| 34 |
+
"superseded_attempt_ids": [],
|
| 35 |
+
"sha256": "e276863fe0a391f1e457df78357689aa334c6aa5376d90433d2b077fa865ba21",
|
| 36 |
+
"format": "MXQv7",
|
| 37 |
+
"supported_modes": [
|
| 38 |
+
"single"
|
| 39 |
+
],
|
| 40 |
+
"size": 100961774,
|
| 41 |
+
"ops_commits": {
|
| 42 |
+
"selection": "2505304b714b87f620665f0d55ac9ce99d6c57e6"
|
| 43 |
+
},
|
| 44 |
+
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/ViT_Base_Patch32_224",
|
| 45 |
+
"publication": {
|
| 46 |
+
"status": "public",
|
| 47 |
+
"reason": "approved"
|
| 48 |
+
}
|
| 49 |
+
}
|
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:e276863fe0a391f1e457df78357689aa334c6aa5376d90433d2b077fa865ba21
|
| 3 |
+
size 100961774
|
aries/best_result.json
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
{"acc": 0.80612, "timestamp": 1779496004, "checkpoint_dir_name": null, "done": true, "training_iteration": 1, "trial_id": "f54c2db3", "date": "2026-05-23_09-26-44", "time_this_iter_s": 635.8588342666626, "time_total_s": 635.8588342666626, "pid": 3506489, "hostname": "ae30e054f296", "node_ip": "172.17.0.3", "config": {"percentile": 0.013331777524562414, "topk": 0.0013517368646934114}, "time_since_restore": 635.8588342666626, "iterations_since_restore": 1, "experiment_tag": "9_percentile=0.0133,topk=0.0014"}
|
|
|
|
|
|
aries/global4/vit_base_patch32_224.mxq
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:98cac74ec8f33f9a571adcbbd0b401f483040315d5bc8f4f396749e30bcdb458
|
| 3 |
-
size 101394709
|
|
|
|
|
|
|
|
|
|
|
|
aries/global8/vit_base_patch32_224.mxq
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9628ca6b9e0cbb391e626445fe19bbfb31d5c6342c9c738a6becca1c494f9ddf
|
| 3 |
-
size 101556693
|
|
|
|
|
|
|
|
|
|
|
|
aries/multi/vit_base_patch32_224.mxq
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e2127098395a6495fc72e8673192861bc3c1d14f92764e137f341f24d1d39a49
|
| 3 |
-
size 102139613
|
|
|
|
|
|
|
|
|
|
|
|
aries/single/vit_base_patch32_224.mxq
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:95d7af1fcc522db8c68fa1c1b6511bfa37301552afd6c4e3b56d12197bebd709
|
| 3 |
-
size 101113029
|
|
|
|
|
|
|
|
|
|
|
|
aries/vit_base_patch32_224.mxq
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fb8db721890107d7c20727bac81f2a56d9448215bbf5ea07087597565f930b71
|
| 3 |
-
size 103773117
|
|
|
|
|
|
|
|
|
|
|
|