cuda
/
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
06ef91a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 827.633664, | |
"max_global_vram": 1030.22592, | |
"max_process_vram": 0.0, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4666650390625, | |
"mean": 7.4666650390625, | |
"stdev": 0.0, | |
"p50": 7.4666650390625, | |
"p90": 7.4666650390625, | |
"p95": 7.4666650390625, | |
"p99": 7.4666650390625, | |
"values": [ | |
7.4666650390625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.513998809027347e-06, | |
"ram": 7.952328206934987e-07, | |
"gpu": 3.3247248819989056e-06, | |
"total": 5.633956511719751e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1036.099584, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 406.847488, | |
"max_allocated": 363.853824 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 191, | |
"total": 0.997859230995178, | |
"mean": 0.005224393879555906, | |
"stdev": 0.00011460457107277367, | |
"p50": 0.005201920032501221, | |
"p90": 0.005283840179443359, | |
"p95": 0.005430272102355957, | |
"p99": 0.005725491380691528, | |
"values": [ | |
0.00573747205734253, | |
0.005538815975189209, | |
0.0055808000564575196, | |
0.005568511962890625, | |
0.005390336036682129, | |
0.005434368133544922, | |
0.005375999927520752, | |
0.005344255924224854, | |
0.005430272102355957, | |
0.005384191989898681, | |
0.005430272102355957, | |
0.00611737585067749, | |
0.005442560195922852, | |
0.005269504070281982, | |
0.005198847770690918, | |
0.0052008957862854, | |
0.005274623870849609, | |
0.005210112094879151, | |
0.005178368091583252, | |
0.005228544235229492, | |
0.005188608169555664, | |
0.005184512138366699, | |
0.005186560153961181, | |
0.005538815975189209, | |
0.005197824001312256, | |
0.005223423957824707, | |
0.005269504070281982, | |
0.005189631938934326, | |
0.00521727991104126, | |
0.005232639789581299, | |
0.005197824001312256, | |
0.005190591812133789, | |
0.005219264030456543, | |
0.005231616020202637, | |
0.005152768135070801, | |
0.005193727970123291, | |
0.005165056228637695, | |
0.005185535907745361, | |
0.005197792053222656, | |
0.0051998720169067385, | |
0.005177408218383789, | |
0.005171199798583984, | |
0.005213183879852295, | |
0.005134335994720459, | |
0.0051660799980163576, | |
0.005182464122772217, | |
0.0051701760292053225, | |
0.005182464122772217, | |
0.005183487892150879, | |
0.005204991817474365, | |
0.005171199798583984, | |
0.005193727970123291, | |
0.0052070398330688475, | |
0.005158847808837891, | |
0.005167103767395019, | |
0.00517523193359375, | |
0.005179391860961914, | |
0.005167103767395019, | |
0.005189631938934326, | |
0.00517632007598877, | |
0.005192704200744629, | |
0.005155839920043945, | |
0.005228544235229492, | |
0.005185535907745361, | |
0.00515174388885498, | |
0.005231616020202637, | |
0.005345280170440674, | |
0.0052295680046081545, | |
0.0052705278396606445, | |
0.0052008957862854, | |
0.005188608169555664, | |
0.005175295829772949, | |
0.005213183879852295, | |
0.005164031982421875, | |
0.00520908784866333, | |
0.005237760066986084, | |
0.005204991817474365, | |
0.0052008957862854, | |
0.005214208126068115, | |
0.005228576183319092, | |
0.00516812801361084, | |
0.005248000144958496, | |
0.005184512138366699, | |
0.005221375942230225, | |
0.005208064079284668, | |
0.005189631938934326, | |
0.005191679954528809, | |
0.005171199798583984, | |
0.005231616020202637, | |
0.005201920032501221, | |
0.005157887935638428, | |
0.0052460160255432126, | |
0.005157887935638428, | |
0.005252096176147461, | |
0.0052276158332824705, | |
0.005191679954528809, | |
0.005165056228637695, | |
0.0052336640357971195, | |
0.005228544235229492, | |
0.005198847770690918, | |
0.005238783836364746, | |
0.005223423957824707, | |
0.005238783836364746, | |
0.0051701760292053225, | |
0.005232639789581299, | |
0.005216256141662597, | |
0.005157887935638428, | |
0.005237760066986084, | |
0.005283840179443359, | |
0.005207104206085205, | |
0.005201920032501221, | |
0.005198847770690918, | |
0.005221375942230225, | |
0.005255167961120606, | |
0.005208064079284668, | |
0.005208064079284668, | |
0.005254144191741943, | |
0.0052285118103027346, | |
0.005172224044799805, | |
0.005150720119476319, | |
0.0052111358642578124, | |
0.005193696022033691, | |
0.005183487892150879, | |
0.005216256141662597, | |
0.005235712051391602, | |
0.005169151782989502, | |
0.00526035213470459, | |
0.005203968048095703, | |
0.0052070398330688475, | |
0.005190656185150146, | |
0.005265408039093018, | |
0.005340159893035889, | |
0.005179391860961914, | |
0.005295104026794434, | |
0.005224448204040527, | |
0.005215231895446777, | |
0.005277696132659912, | |
0.0051803522109985355, | |
0.005227519989013672, | |
0.005231616020202637, | |
0.005250048160552978, | |
0.005184512138366699, | |
0.005285888195037842, | |
0.005244927883148193, | |
0.00521830415725708, | |
0.0051998720169067385, | |
0.00522547197341919, | |
0.0051968002319335935, | |
0.005185535907745361, | |
0.005257215976715088, | |
0.005214208126068115, | |
0.0051968002319335935, | |
0.005227519989013672, | |
0.00515993595123291, | |
0.005202943801879883, | |
0.005180319786071777, | |
0.005221375942230225, | |
0.0051998720169067385, | |
0.00517632007598877, | |
0.005218368053436279, | |
0.005172224044799805, | |
0.0051998720169067385, | |
0.005219327926635742, | |
0.005724160194396972, | |
0.0051701760292053225, | |
0.005216256141662597, | |
0.0052111358642578124, | |
0.005158912181854248, | |
0.0052111358642578124, | |
0.00516812801361084, | |
0.005189631938934326, | |
0.005253119945526123, | |
0.005161983966827393, | |
0.0052070398330688475, | |
0.0052008957862854, | |
0.005264383792877197, | |
0.005070847988128662, | |
0.005127168178558349, | |
0.005123007774353028, | |
0.0050841598510742185, | |
0.005117951869964599, | |
0.005115903854370117, | |
0.005135359764099121, | |
0.0050769920349121095, | |
0.005107711791992187, | |
0.005105663776397705, | |
0.0050698561668396, | |
0.0050657281875610355, | |
0.005116928100585938, | |
0.005089280128479004, | |
0.005089280128479004 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 191.40976409018452 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.137511028422066e-08, | |
"ram": 3.348662643095392e-08, | |
"gpu": 3.4033246012370896e-07, | |
"total": 4.3519419683888353e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 2297824.7579211574 | |
} | |
} | |
} | |
} |