IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
cca53a3 verified
raw
history blame
14.1 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.4.1+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": 828.305408,
"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.4544609375,
"mean": 7.4544609375,
"stdev": 0.0,
"p50": 7.4544609375,
"p90": 7.4544609375,
"p95": 7.4544609375,
"p99": 7.4544609375,
"values": [
7.4544609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.5443008368055506e-06,
"ram": 8.280535129178523e-07,
"gpu": 1.61916796199979e-06,
"total": 3.9915223117231925e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1037.713408,
"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.997671614170074,
"mean": 0.005196206323802472,
"stdev": 0.00012541529635831593,
"p50": 0.00516044807434082,
"p90": 0.005293567800521851,
"p95": 0.005420507311820984,
"p99": 0.005708369865417481,
"values": [
0.00563097620010376,
0.005411839962005615,
0.005426176071166992,
0.005453824043273926,
0.005421088218688965,
0.005446656227111817,
0.005657599925994873,
0.005693439960479736,
0.006096896171569824,
0.00537395191192627,
0.005273600101470947,
0.0051660799980163576,
0.005228544235229492,
0.005145599842071533,
0.005212160110473632,
0.005175295829772949,
0.005221375942230225,
0.0051559038162231445,
0.005228544235229492,
0.005125120162963868,
0.00520908784866333,
0.005156864166259765,
0.005153791904449463,
0.005153791904449463,
0.005208064079284668,
0.005202943801879883,
0.005152768135070801,
0.005183487892150879,
0.005164031982421875,
0.0051138558387756345,
0.005174272060394287,
0.00515993595123291,
0.005129216194152832,
0.005161983966827393,
0.005102591991424561,
0.005166143894195557,
0.005098495960235596,
0.005202943801879883,
0.005130239963531494,
0.005156864166259765,
0.005090303897857666,
0.005223392009735107,
0.005127168178558349,
0.005175295829772949,
0.005130239963531494,
0.005185535907745361,
0.005098495960235596,
0.005198847770690918,
0.0051138558387756345,
0.005148672103881836,
0.005081088066101074,
0.005186560153961181,
0.0051066560745239254,
0.005166016101837158,
0.0051363840103149415,
0.005197824001312256,
0.005099520206451416,
0.005314559936523438,
0.005112832069396973,
0.005175295829772949,
0.005102591991424561,
0.005185535907745361,
0.005104640007019043,
0.005185535907745361,
0.005141503810882568,
0.005189631938934326,
0.005294079780578613,
0.005213183879852295,
0.005137407779693603,
0.005162943840026855,
0.005102591991424561,
0.005215231895446777,
0.005142528057098389,
0.005175295829772949,
0.005140448093414306,
0.005426176071166992,
0.00511897611618042,
0.005220352172851562,
0.005134335994720459,
0.005138432025909424,
0.005141503810882568,
0.00520908784866333,
0.005157887935638428,
0.005142528057098389,
0.005171199798583984,
0.005171199798583984,
0.005135359764099121,
0.005161983966827393,
0.005137407779693603,
0.005157887935638428,
0.005327807903289795,
0.005340159893035889,
0.005244927883148193,
0.0051333122253417966,
0.005257215976715088,
0.0051363840103149415,
0.0052008957862854,
0.005155839920043945,
0.005220352172851562,
0.005105663776397705,
0.0052408318519592285,
0.005123072147369385,
0.0052408318519592285,
0.005102591991424561,
0.005203968048095703,
0.005124095916748047,
0.005201888084411621,
0.0051404800415039064,
0.005215231895446777,
0.005114880084991455,
0.0052111358642578124,
0.005156864166259765,
0.005183519840240479,
0.005097472190856934,
0.005201920032501221,
0.005137375831604004,
0.00517632007598877,
0.0051179838180541995,
0.005180416107177735,
0.005148672103881836,
0.005186560153961181,
0.005119999885559082,
0.005201920032501221,
0.005114880084991455,
0.0052070398330688475,
0.005132287979125977,
0.005414912223815918,
0.005420032024383545,
0.005213183879852295,
0.00516812801361084,
0.005192704200744629,
0.005236703872680664,
0.005284863948822022,
0.005300159931182861,
0.005274623870849609,
0.005245952129364013,
0.005288959980010987,
0.005272575855255127,
0.005260287761688232,
0.0052715520858764645,
0.005284863948822022,
0.005255167961120606,
0.005137407779693603,
0.005303232192993164,
0.005145599842071533,
0.005261312007904053,
0.005156832218170166,
0.005153759956359864,
0.005129216194152832,
0.005158912181854248,
0.005116928100585938,
0.005117951869964599,
0.005092351913452148,
0.005156864166259765,
0.005123072147369385,
0.0051476478576660155,
0.005146656036376953,
0.005181439876556396,
0.005155839920043945,
0.005154816150665284,
0.005116928100585938,
0.005155839920043945,
0.005097472190856934,
0.005859327793121338,
0.0051363840103149415,
0.005124095916748047,
0.005165056228637695,
0.0051363840103149415,
0.005130239963531494,
0.005126143932342529,
0.005105663776397705,
0.00510975980758667,
0.005139455795288086,
0.005129216194152832,
0.005146624088287354,
0.00511078405380249,
0.005131264209747314,
0.005126143932342529,
0.005117951869964599,
0.005104640007019043,
0.005272575855255127,
0.00516812801361084,
0.005163040161132813,
0.005165056228637695,
0.00516096019744873,
0.005104640007019043,
0.005172224044799805,
0.00510969591140747,
0.0051333122253417966,
0.0051066880226135255,
0.0051701760292053225,
0.005134367942810058
]
},
"throughput": {
"unit": "samples/s",
"value": 192.44809341370063
},
"energy": {
"unit": "kWh",
"cpu": 6.060521213860686e-08,
"ram": 3.304544174687813e-08,
"gpu": 3.314245848673451e-07,
"total": 4.250752387528301e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2352524.7034713146
}
}
}
}