Instructions to use mobilint/ViT_Base_Patch16_224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Mobilint
How to use mobilint/ViT_Base_Patch16_224 with Mobilint:
# pip install mblt-model-zoo from mblt_model_zoo.vision import MBLT_Engine model = MBLT_Engine( model_cls="ViT_Base_Patch16_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 filesFiles changed (3)
- README.md+20-14
- aries-rb/metadata.json+17-11
- aries-rb/vit_base_patch16_224.mxq+2-2
10 unmodified lines11121314151617181920218 unmodified lines30313233343536373839404142434445464748495051525354555657585960616263646566676810 unmodified lines# ViT_Base_Patch16_224`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_Patch16_224). It was compiled by qbcompiler 1.3.0 in the image `mobilint/qbcompiler:1.3-cuda12.8.1-ubuntu22.04` (sha256:6ad69aaa9581487ac6a1864b88d4c2179c7a4a486a3ab1ac376dbdfe763415e7) with `--inference-scheme single`, so it supports the core mode(s) `single` only.It was evaluated with qbruntime 1.5.0 in `async` inference mode on imagenet (50000 samples): top1_accuracy 0.85136, top5_accuracy 0.97514. Only the evaluated core mode was measured.SHA-256: `d323742123ccaa8a3995f2b489c894d077081eb5d5b23ffca214b373fc096361` (101940222 bytes). Verify a download with `sha256sum <file>.mxq` and compare the digest with this value and with `aries-rb/metadata.json`.aries-rb/best_result.json contains legacy build values and is retained for mblt-vision-python compile defaults.The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an older revision.8 unmodified lines"compile": {"image_tag": "1.3-cuda12.8.1-ubuntu22.04","image_digest": "sha256:6ad69aaa9581487ac6a1864b88d4c2179c7a4a486a3ab1ac376dbdfe763415e7","inference_scheme": "single","device": "gpu"},"evaluation": {"dataset": "imagenet","sample_count": 50000,"primary": {"top1_accuracy": 0.85136},"secondary": {"top5_accuracy": 0.97514},"protocol": null,"eval_data_identity": null,"identity_audit": "absent","inference_mode": "async","image_tag": "1.3-cpu-ubuntu22.04","image_digest": "sha256:7c25b894fc0807acdf27f15c61b910b96dc66d3f5d97e04b595b2d7a8008e77c"},"retention_percent": {"top1_accuracy": 100.03760105282949},"content_sha256": "1110a36f513427d50fc9d64f7fde8fdaa86e30f7aaecd4f9e2dd979adec36dad","attempt_id": "srcmodes8-vit-base-patch16-224-20261009t164855","superseded_attempt_ids": [],"sha256": "d323742123ccaa8a3995f2b489c894d077081eb5d5b23ffca214b373fc096361","format": "MXQv7","supported_modes": ["single"],"size": 101940222,"ops_commits": {"selection": "2505304b714b87f620665f0d55ac9ce99d6c57e6"},"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/ViT_Base_Patch16_224","publication": {10 unmodified lines11121314151617181920218 unmodified lines30313233343536373839404142434445464748495051525354555657585960616263646566676869707172737410 unmodified lines# ViT_Base_Patch16_224`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_Patch16_224). It was compiled by qbcompiler 1.3.0 in the image `mobilint/qbcompiler:1.3-cuda12.8.1-ubuntu22.04` (sha256:6ad69aaa9581487ac6a1864b88d4c2179c7a4a486a3ab1ac376dbdfe763415e7) with `--inference-scheme all`, so it supports the core mode(s) `single`, `multi`, `global4`, `global8` only.It was evaluated with qbruntime 1.5.0 in `async` inference mode on imagenet (50000 samples): top1_accuracy 0.85182, top5_accuracy 0.97504. Only the evaluated core mode was measured.SHA-256: `558e3f9cdebec2ffed8672ce54527ff3c7971c8a406eff16cf534e3fc7cc2205` (106977184 bytes). Verify a download with `sha256sum <file>.mxq` and compare the digest with this value and with `aries-rb/metadata.json`.aries-rb/best_result.json contains legacy build values and is retained for mblt-vision-python compile defaults.The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an older revision.8 unmodified lines"compile": {"image_tag": "1.3-cuda12.8.1-ubuntu22.04","image_digest": "sha256:6ad69aaa9581487ac6a1864b88d4c2179c7a4a486a3ab1ac376dbdfe763415e7","inference_scheme": "all","device": "gpu"},"evaluation": {"dataset": "imagenet","sample_count": 50000,"primary": {"top1_accuracy": 0.85182},"secondary": {"top5_accuracy": 0.97504},"protocol": null,"eval_data_identity": {"annotation_sha256": "f00550c10ff1d4110abc683786b6cc09d5082dadd3cee1568f5cfa1dad962960","sample_list_sha256": "54446819dced83110352e5a0361ff05b19c331c5a9802dcb0222e6d1e44a0547"},"identity_audit": "verified","inference_mode": "async","image_tag": "1.3-cpu-ubuntu22.04","image_digest": "sha256:7c25b894fc0807acdf27f15c61b910b96dc66d3f5d97e04b595b2d7a8008e77c"},"retention_percent": {"top1_accuracy": 100.09165256627186},"content_sha256": "1110a36f513427d50fc9d64f7fde8fdaa86e30f7aaecd4f9e2dd979adec36dad","attempt_id": "ViT_Base_Patch16_224-jinman-coreall-a49a97cf1b19","superseded_attempt_ids": [],"sha256": "558e3f9cdebec2ffed8672ce54527ff3c7971c8a406eff16cf534e3fc7cc2205","format": "MXQv7","supported_modes": ["single","multi","global4","global8"],"size": 106977184,"ops_commits": {"selection": "d642f96eda9bcd0a04ac02d8b73b28aecfc0311f"},"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/ViT_Base_Patch16_224","publication": {
6 unmodified lines7891011121314151617181920212223242526272829303132333435363738394041424344456 unmodified lines"compile": {"image_tag": "1.3-cuda12.8.1-ubuntu22.04","image_digest": "sha256:6ad69aaa9581487ac6a1864b88d4c2179c7a4a486a3ab1ac376dbdfe763415e7","inference_scheme": "single","device": "gpu"},"evaluation": {"dataset": "imagenet","sample_count": 50000,"primary": {"top1_accuracy": 0.85136},"secondary": {"top5_accuracy": 0.97514},"protocol": null,"eval_data_identity": null,"identity_audit": "absent","inference_mode": "async","image_tag": "1.3-cpu-ubuntu22.04","image_digest": "sha256:7c25b894fc0807acdf27f15c61b910b96dc66d3f5d97e04b595b2d7a8008e77c"},"retention_percent": {"top1_accuracy": 100.03760105282949},"content_sha256": "1110a36f513427d50fc9d64f7fde8fdaa86e30f7aaecd4f9e2dd979adec36dad","attempt_id": "srcmodes8-vit-base-patch16-224-20261009t164855","superseded_attempt_ids": [],"sha256": "d323742123ccaa8a3995f2b489c894d077081eb5d5b23ffca214b373fc096361","format": "MXQv7","supported_modes": ["single"],"size": 101940222,"ops_commits": {"selection": "2505304b714b87f620665f0d55ac9ce99d6c57e6"},"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/ViT_Base_Patch16_224","publication": {6 unmodified lines7891011121314151617181920212223242526272829303132333435363738394041424344454647484950516 unmodified lines"compile": {"image_tag": "1.3-cuda12.8.1-ubuntu22.04","image_digest": "sha256:6ad69aaa9581487ac6a1864b88d4c2179c7a4a486a3ab1ac376dbdfe763415e7","inference_scheme": "all","device": "gpu"},"evaluation": {"dataset": "imagenet","sample_count": 50000,"primary": {"top1_accuracy": 0.85182},"secondary": {"top5_accuracy": 0.97504},"protocol": null,"eval_data_identity": {"annotation_sha256": "f00550c10ff1d4110abc683786b6cc09d5082dadd3cee1568f5cfa1dad962960","sample_list_sha256": "54446819dced83110352e5a0361ff05b19c331c5a9802dcb0222e6d1e44a0547"},"identity_audit": "verified","inference_mode": "async","image_tag": "1.3-cpu-ubuntu22.04","image_digest": "sha256:7c25b894fc0807acdf27f15c61b910b96dc66d3f5d97e04b595b2d7a8008e77c"},"retention_percent": {"top1_accuracy": 100.09165256627186},"content_sha256": "1110a36f513427d50fc9d64f7fde8fdaa86e30f7aaecd4f9e2dd979adec36dad","attempt_id": "ViT_Base_Patch16_224-jinman-coreall-a49a97cf1b19","superseded_attempt_ids": [],"sha256": "558e3f9cdebec2ffed8672ce54527ff3c7971c8a406eff16cf534e3fc7cc2205","format": "MXQv7","supported_modes": ["single","multi","global4","global8"],"size": 106977184,"ops_commits": {"selection": "d642f96eda9bcd0a04ac02d8b73b28aecfc0311f"},"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/ViT_Base_Patch16_224","publication": {
123version https://git-lfs.github.com/spec/v1oid sha256:d323742123ccaa8a3995f2b489c894d077081eb5d5b23ffca214b373fc096361size 101940222123version https://git-lfs.github.com/spec/v1oid sha256:558e3f9cdebec2ffed8672ce54527ff3c7971c8a406eff16cf534e3fc7cc2205size 106977184
README.md+20-14
aries-rb/metadata.json+17-11
aries-rb/vit_base_patch16_224.mxq+2-2