Instructions to use mobilint/AlexNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Mobilint
How to use mobilint/AlexNet with Mobilint:
# pip install mblt-model-zoo from mblt_model_zoo.vision import MBLT_Engine model = MBLT_Engine( model_cls="AlexNet", 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/alexnet_IMAGENET1K_V1.mxq +2 -2
- aries-rb/metadata.json +14 -8
README.md
CHANGED
|
@@ -9,11 +9,11 @@ tags:
|
|
| 9 |
|
| 10 |
# AlexNet_IMAGENET1K_V1
|
| 11 |
|
| 12 |
-
`aries-rb/` holds the MXQ reproduced from the published arxiv folder (https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/AlexNet_IMAGENET1K_V1). 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
|
| 13 |
|
| 14 |
It was evaluated with qbruntime 1.5.0 in `async` inference mode on imagenet (50000 samples): top1_accuracy 0.56216, top5_accuracy 0.79048. Only the evaluated core mode was measured.
|
| 15 |
|
| 16 |
-
SHA-256: `
|
| 17 |
|
| 18 |
aries-rb/best_result.json contains legacy build values and is retained for mblt-vision-python compile defaults.
|
| 19 |
The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an older revision.
|
|
@@ -28,7 +28,7 @@ The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an olde
|
|
| 28 |
"compile": {
|
| 29 |
"image_tag": "1.4-cuda12.8.1-ubuntu22.04",
|
| 30 |
"image_digest": "sha256:7910f1661605b82eb9616f6ac99fd6461dbb865dcadaa810cce22c638ceffd44",
|
| 31 |
-
"inference_scheme": "
|
| 32 |
"device": "gpu"
|
| 33 |
},
|
| 34 |
"evaluation": {
|
|
@@ -41,8 +41,11 @@ The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an olde
|
|
| 41 |
"top5_accuracy": 0.79048
|
| 42 |
},
|
| 43 |
"protocol": null,
|
| 44 |
-
"eval_data_identity":
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
| 46 |
"inference_mode": "async",
|
| 47 |
"image_tag": "1.4-cpu-ubuntu22.04",
|
| 48 |
"image_digest": "sha256:62b5bc714571dffd94fb561275767ca80d15337a433630a3ae7936305d531a7b"
|
|
@@ -51,16 +54,19 @@ The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an olde
|
|
| 51 |
"top1_accuracy": 99.40937223695843
|
| 52 |
},
|
| 53 |
"content_sha256": "9755257bdda55cfd3a9f8cd28416a767e41ab1a16096e03b0d78b40c8a9b6b67",
|
| 54 |
-
"attempt_id": "AlexNet_IMAGENET1K_V1-jinman-
|
| 55 |
"superseded_attempt_ids": [],
|
| 56 |
-
"sha256": "
|
| 57 |
"format": "MXQv7",
|
| 58 |
"supported_modes": [
|
| 59 |
-
"single"
|
|
|
|
|
|
|
|
|
|
| 60 |
],
|
| 61 |
-
"size":
|
| 62 |
"ops_commits": {
|
| 63 |
-
"selection": "
|
| 64 |
},
|
| 65 |
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/AlexNet_IMAGENET1K_V1",
|
| 66 |
"publication": {
|
|
|
|
| 9 |
|
| 10 |
# AlexNet_IMAGENET1K_V1
|
| 11 |
|
| 12 |
+
`aries-rb/` holds the MXQ reproduced from the published arxiv folder (https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/AlexNet_IMAGENET1K_V1). 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.
|
| 13 |
|
| 14 |
It was evaluated with qbruntime 1.5.0 in `async` inference mode on imagenet (50000 samples): top1_accuracy 0.56216, top5_accuracy 0.79048. Only the evaluated core mode was measured.
|
| 15 |
|
| 16 |
+
SHA-256: `7ebba46a0902c58bcd8e04746a8b5b3d6ead6f7e984b0a062c757836cbd5bd1a` (61517249 bytes). Verify a download with `sha256sum <file>.mxq` and compare the digest with this value and with `aries-rb/metadata.json`.
|
| 17 |
|
| 18 |
aries-rb/best_result.json contains legacy build values and is retained for mblt-vision-python compile defaults.
|
| 19 |
The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an older revision.
|
|
|
|
| 28 |
"compile": {
|
| 29 |
"image_tag": "1.4-cuda12.8.1-ubuntu22.04",
|
| 30 |
"image_digest": "sha256:7910f1661605b82eb9616f6ac99fd6461dbb865dcadaa810cce22c638ceffd44",
|
| 31 |
+
"inference_scheme": "all",
|
| 32 |
"device": "gpu"
|
| 33 |
},
|
| 34 |
"evaluation": {
|
|
|
|
| 41 |
"top5_accuracy": 0.79048
|
| 42 |
},
|
| 43 |
"protocol": null,
|
| 44 |
+
"eval_data_identity": {
|
| 45 |
+
"annotation_sha256": "f00550c10ff1d4110abc683786b6cc09d5082dadd3cee1568f5cfa1dad962960",
|
| 46 |
+
"sample_list_sha256": "54446819dced83110352e5a0361ff05b19c331c5a9802dcb0222e6d1e44a0547"
|
| 47 |
+
},
|
| 48 |
+
"identity_audit": "verified",
|
| 49 |
"inference_mode": "async",
|
| 50 |
"image_tag": "1.4-cpu-ubuntu22.04",
|
| 51 |
"image_digest": "sha256:62b5bc714571dffd94fb561275767ca80d15337a433630a3ae7936305d531a7b"
|
|
|
|
| 54 |
"top1_accuracy": 99.40937223695843
|
| 55 |
},
|
| 56 |
"content_sha256": "9755257bdda55cfd3a9f8cd28416a767e41ab1a16096e03b0d78b40c8a9b6b67",
|
| 57 |
+
"attempt_id": "AlexNet_IMAGENET1K_V1-jinman-coreall-513ca25dceae",
|
| 58 |
"superseded_attempt_ids": [],
|
| 59 |
+
"sha256": "7ebba46a0902c58bcd8e04746a8b5b3d6ead6f7e984b0a062c757836cbd5bd1a",
|
| 60 |
"format": "MXQv7",
|
| 61 |
"supported_modes": [
|
| 62 |
+
"single",
|
| 63 |
+
"multi",
|
| 64 |
+
"global4",
|
| 65 |
+
"global8"
|
| 66 |
],
|
| 67 |
+
"size": 61517249,
|
| 68 |
"ops_commits": {
|
| 69 |
+
"selection": "417dd6508f5a1f5fce40ca68dbdf1cd0e9e2ccf5"
|
| 70 |
},
|
| 71 |
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/AlexNet_IMAGENET1K_V1",
|
| 72 |
"publication": {
|
aries-rb/alexnet_IMAGENET1K_V1.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:7ebba46a0902c58bcd8e04746a8b5b3d6ead6f7e984b0a062c757836cbd5bd1a
|
| 3 |
+
size 61517249
|
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.79048
|
| 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.40937223695843
|
| 31 |
},
|
| 32 |
"content_sha256": "9755257bdda55cfd3a9f8cd28416a767e41ab1a16096e03b0d78b40c8a9b6b67",
|
| 33 |
-
"attempt_id": "AlexNet_IMAGENET1K_V1-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/AlexNet_IMAGENET1K_V1",
|
| 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.79048
|
| 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.40937223695843
|
| 34 |
},
|
| 35 |
"content_sha256": "9755257bdda55cfd3a9f8cd28416a767e41ab1a16096e03b0d78b40c8a9b6b67",
|
| 36 |
+
"attempt_id": "AlexNet_IMAGENET1K_V1-jinman-coreall-513ca25dceae",
|
| 37 |
"superseded_attempt_ids": [],
|
| 38 |
+
"sha256": "7ebba46a0902c58bcd8e04746a8b5b3d6ead6f7e984b0a062c757836cbd5bd1a",
|
| 39 |
"format": "MXQv7",
|
| 40 |
"supported_modes": [
|
| 41 |
+
"single",
|
| 42 |
+
"multi",
|
| 43 |
+
"global4",
|
| 44 |
+
"global8"
|
| 45 |
],
|
| 46 |
+
"size": 61517249,
|
| 47 |
"ops_commits": {
|
| 48 |
+
"selection": "417dd6508f5a1f5fce40ca68dbdf1cd0e9e2ccf5"
|
| 49 |
},
|
| 50 |
"arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/AlexNet_IMAGENET1K_V1",
|
| 51 |
"publication": {
|