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
cabadfe
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 826.425344, | |
"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.43332763671875, | |
"mean": 7.43332763671875, | |
"stdev": 0.0, | |
"p50": 7.43332763671875, | |
"p90": 7.43332763671875, | |
"p95": 7.43332763671875, | |
"p99": 7.43332763671875, | |
"values": [ | |
7.43332763671875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.4617531812507739e-06, | |
"ram": 7.853762618408165e-07, | |
"gpu": 1.7666680800004428e-06, | |
"total": 4.013797523092033e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1035.763712, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 406.847488, | |
"max_allocated": 363.853824 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 192, | |
"total": 0.996521149635314, | |
"mean": 0.005190214321017265, | |
"stdev": 0.00014740279758180107, | |
"p50": 0.005170703887939453, | |
"p90": 0.0053359614849090575, | |
"p95": 0.005379035234451294, | |
"p99": 0.0055619379663467425, | |
"values": [ | |
0.005419007778167725, | |
0.00537395191192627, | |
0.0053975038528442385, | |
0.005440512180328369, | |
0.005386240005493164, | |
0.0053647360801696775, | |
0.005350399971008301, | |
0.0053012480735778805, | |
0.00535756778717041, | |
0.005286911964416504, | |
0.00530841588973999, | |
0.005319647789001465, | |
0.005194752216339111, | |
0.005149631977081299, | |
0.005241856098175048, | |
0.005310463905334473, | |
0.00522649621963501, | |
0.005148672103881836, | |
0.005117951869964599, | |
0.00506982421875, | |
0.005145599842071533, | |
0.00521727991104126, | |
0.005175295829772949, | |
0.005235712051391602, | |
0.005343232154846191, | |
0.005258240222930908, | |
0.005262335777282715, | |
0.005350399971008301, | |
0.00521830415725708, | |
0.005131264209747314, | |
0.005126143932342529, | |
0.005310527801513672, | |
0.005272575855255127, | |
0.0052705278396606445, | |
0.00530841588973999, | |
0.005243904113769531, | |
0.005253119945526123, | |
0.00530025577545166, | |
0.005234687805175781, | |
0.0052008957862854, | |
0.005248000144958496, | |
0.005202943801879883, | |
0.005230591773986816, | |
0.005285888195037842, | |
0.005233727931976319, | |
0.0051435518264770505, | |
0.00511897611618042, | |
0.005074944019317627, | |
0.0050769920349121095, | |
0.0051476478576660155, | |
0.005215231895446777, | |
0.00515993595123291, | |
0.005203968048095703, | |
0.005277696132659912, | |
0.0051855998039245605, | |
0.00520908784866333, | |
0.00532480001449585, | |
0.005283840179443359, | |
0.005286911964416504, | |
0.00530947208404541, | |
0.005258240222930908, | |
0.005272575855255127, | |
0.005259263992309571, | |
0.005189631938934326, | |
0.005129216194152832, | |
0.0051743040084838866, | |
0.006148096084594727, | |
0.005294079780578613, | |
0.0053043198585510255, | |
0.00521727991104126, | |
0.005251039981842041, | |
0.0053350400924682614, | |
0.005169151782989502, | |
0.005112832069396973, | |
0.005169151782989502, | |
0.005195775985717774, | |
0.005163008213043213, | |
0.005192704200744629, | |
0.00535859203338623, | |
0.0052008957862854, | |
0.005111807823181152, | |
0.005220352172851562, | |
0.005174272060394287, | |
0.005179391860961914, | |
0.005232639789581299, | |
0.005156864166259765, | |
0.005129216194152832, | |
0.0051968002319335935, | |
0.005190656185150146, | |
0.005220352172851562, | |
0.005351424217224121, | |
0.005312511920928955, | |
0.005279744148254394, | |
0.0053309440612792965, | |
0.005312448024749756, | |
0.005280767917633057, | |
0.005285888195037842, | |
0.0052367358207702636, | |
0.005254144191741943, | |
0.0052633600234985355, | |
0.005172255992889404, | |
0.005135359764099121, | |
0.005219327926635742, | |
0.005243904113769531, | |
0.005122047901153564, | |
0.0051036162376403805, | |
0.005146624088287354, | |
0.0050503678321838375, | |
0.0050165758132934574, | |
0.005070847988128662, | |
0.005185535907745361, | |
0.005107679843902588, | |
0.004978687763214112, | |
0.004934656143188477, | |
0.004985856056213379, | |
0.004928512096405029, | |
0.004980735778808594, | |
0.005066751956939697, | |
0.005318655967712403, | |
0.005339136123657226, | |
0.005336063861846924, | |
0.005385248184204101, | |
0.005480447769165039, | |
0.005513216018676758, | |
0.005519360065460205, | |
0.005312479972839355, | |
0.005255167961120606, | |
0.005992447853088379, | |
0.0052367358207702636, | |
0.005183487892150879, | |
0.005131264209747314, | |
0.005139455795288086, | |
0.005212224006652832, | |
0.005145599842071533, | |
0.005122047901153564, | |
0.005165056228637695, | |
0.005131264209747314, | |
0.0051066880226135255, | |
0.00516096019744873, | |
0.005163008213043213, | |
0.005127168178558349, | |
0.005115871906280518, | |
0.005152768135070801, | |
0.005111807823181152, | |
0.005098527908325196, | |
0.005100543975830078, | |
0.0051404800415039064, | |
0.005105663776397705, | |
0.005094399929046631, | |
0.005100543975830078, | |
0.005102591991424561, | |
0.005091328144073487, | |
0.005094399929046631, | |
0.005053440093994141, | |
0.004936704158782959, | |
0.0049469761848449706, | |
0.004937727928161621, | |
0.004943871974945068, | |
0.0049489917755126955, | |
0.004933631896972656, | |
0.004936704158782959, | |
0.0049530878067016604, | |
0.005145599842071533, | |
0.005112832069396973, | |
0.005104640007019043, | |
0.005101568222045898, | |
0.005090303897857666, | |
0.005064703941345215, | |
0.005112832069396973, | |
0.005078015804290771, | |
0.005078015804290771, | |
0.0050728960037231445, | |
0.005135359764099121, | |
0.005094367980957032, | |
0.0050841598510742185, | |
0.005044223785400391, | |
0.005134335994720459, | |
0.005058559894561767, | |
0.0050769920349121095, | |
0.005097504138946533, | |
0.005083136081695557, | |
0.005089280128479004, | |
0.005086207866668701, | |
0.005111807823181152, | |
0.005099520206451416, | |
0.0050657281875610355, | |
0.005105663776397705, | |
0.005062655925750732, | |
0.0051025600433349605, | |
0.00506879997253418, | |
0.005106719970703125, | |
0.0050657281875610355 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 192.6702710426808 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.8903655693757976e-08, | |
"ram": 3.220513576238905e-08, | |
"gpu": 3.4336815750248495e-07, | |
"total": 4.34476948958632e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 2301618.077545498 | |
} | |
} | |
} | |
} |