rocm
/
cuda_inference_transformers_image-classification_google
/vit-base-patch16-224
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
85e077e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "transformers", | |
"model_type": "vit", | |
"model": "google/vit-base-patch16-224", | |
"processor": "google/vit-base-patch16-224", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": true, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": false, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "86906b8c1093b2f4cd2981b46a0b533238abf100", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.801664, | |
"max_global_vram": 689.364992, | |
"max_process_vram": 48905.240576, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.0183359375, | |
"mean": 8.0183359375, | |
"stdev": 0.0, | |
"p50": 8.0183359375, | |
"p90": 8.0183359375, | |
"p95": 8.0183359375, | |
"p99": 8.0183359375, | |
"values": [ | |
8.0183359375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1069.03552, | |
"max_global_vram": 777.068544, | |
"max_process_vram": 196158.070784, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 0.9969930992126466, | |
"mean": 0.006828719857620867, | |
"stdev": 0.00011787233350557916, | |
"p50": 0.006810151576995849, | |
"p90": 0.006906391859054565, | |
"p95": 0.006945592164993286, | |
"p99": 0.007019711470603943, | |
"values": [ | |
0.006981912136077881, | |
0.006840312957763672, | |
0.006874711990356446, | |
0.006885752201080322, | |
0.006903831958770752, | |
0.00688975191116333, | |
0.006882071971893311, | |
0.006939832210540771, | |
0.006879032135009766, | |
0.006822391986846924, | |
0.006825431823730469, | |
0.00683391284942627, | |
0.0068375921249389645, | |
0.006790232181549072, | |
0.0068284721374511715, | |
0.006815991878509522, | |
0.006782233238220215, | |
0.006754552841186524, | |
0.006773752212524414, | |
0.0067879920005798336, | |
0.006751512050628662, | |
0.006769913196563721, | |
0.0067695918083190915, | |
0.006752791881561279, | |
0.006805272102355957, | |
0.006793272018432617, | |
0.0067785530090332035, | |
0.006770071983337403, | |
0.006751031875610352, | |
0.006841911792755127, | |
0.006782712936401367, | |
0.006849913120269775, | |
0.006840472221374512, | |
0.0067548718452453615, | |
0.006744952201843262, | |
0.0067670331001281735, | |
0.006736952781677246, | |
0.006783351898193359, | |
0.006796311855316162, | |
0.006779831886291504, | |
0.00671599292755127, | |
0.006794392108917236, | |
0.006779032230377197, | |
0.006776472091674804, | |
0.0067919921875, | |
0.006769913196563721, | |
0.006718711853027344, | |
0.006763031959533691, | |
0.006746551990509033, | |
0.0067198328971862795, | |
0.006719831943511963, | |
0.0068068718910217286, | |
0.006759992122650146, | |
0.006784953117370605, | |
0.0067407917976379395, | |
0.006745912075042724, | |
0.006771992206573487, | |
0.006751832962036133, | |
0.00677231216430664, | |
0.006795032024383545, | |
0.00681823205947876, | |
0.006833591938018799, | |
0.006827032089233399, | |
0.006831832885742187, | |
0.006798711776733399, | |
0.006779352188110352, | |
0.006831831932067871, | |
0.006808311939239502, | |
0.006806393146514892, | |
0.006771671772003174, | |
0.006777272224426269, | |
0.006729911804199218, | |
0.006777592182159424, | |
0.0067999930381774905, | |
0.006763031959533691, | |
0.006842072010040283, | |
0.00804719066619873, | |
0.0068471918106079105, | |
0.006823832035064697, | |
0.006784471988677978, | |
0.0068228721618652345, | |
0.00680815315246582, | |
0.0067929520606994625, | |
0.006809912204742432, | |
0.0067947120666503906, | |
0.006800312042236328, | |
0.006825273036956787, | |
0.006906871795654297, | |
0.006957111835479736, | |
0.006831672191619873, | |
0.006815832138061523, | |
0.0068852720260620115, | |
0.0068668718338012694, | |
0.006787831783294678, | |
0.006892151832580566, | |
0.0069283127784729006, | |
0.00692335319519043, | |
0.007033751010894775, | |
0.006992472171783447, | |
0.006927351951599121, | |
0.0069191927909851075, | |
0.006860311985015869, | |
0.006905911922454834, | |
0.006947512149810791, | |
0.006813111782073974, | |
0.006824952125549316, | |
0.0068638319969177245, | |
0.006833752155303955, | |
0.006810552120208741, | |
0.006775352954864502, | |
0.006805592060089112, | |
0.006862711906433105, | |
0.00679423189163208, | |
0.006784791946411133, | |
0.0067985520362854, | |
0.006762392997741699, | |
0.006812471866607666, | |
0.006824952125549316, | |
0.007000951766967773, | |
0.007002552032470703, | |
0.006899032115936279, | |
0.006814712047576904, | |
0.006773591995239258, | |
0.006818393230438233, | |
0.006793911933898926, | |
0.00679151201248169, | |
0.006797912120819091, | |
0.006937592029571533, | |
0.006839672088623047, | |
0.006840792179107666, | |
0.0068361530303955075, | |
0.006845751762390137, | |
0.0068454318046569824, | |
0.0068155121803283696, | |
0.006869592189788818, | |
0.006820151805877686, | |
0.006840632915496826, | |
0.006788153171539307, | |
0.006853591918945312, | |
0.006810390949249267, | |
0.006815671920776367, | |
0.006779831886291504, | |
0.0068335928916931155, | |
0.006808311939239502, | |
0.006803351879119873, | |
0.0068380718231201175 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.44033154823268 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |