
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
af665db
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"model": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_kwargs": {}, | |
"no_weights": false, | |
"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, | |
"latency": true, | |
"memory": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 953.044992, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 190, | |
"total": 0.9980964503288272, | |
"mean": 0.005253139212256984, | |
"stdev": 0.00019157397428242983, | |
"p50": 0.005165056228637695, | |
"p90": 0.005382041549682618, | |
"p95": 0.005691955280303955, | |
"p99": 0.006011862936019896, | |
"values": [ | |
0.0062576642036437985, | |
0.005907423973083496, | |
0.005803008079528809, | |
0.005776415824890137, | |
0.00572211217880249, | |
0.0057118721008300784, | |
0.005647359848022461, | |
0.005832704067230224, | |
0.005692416191101074, | |
0.005682176113128662, | |
0.0056514558792114256, | |
0.005691391944885254, | |
0.006135807991027832, | |
0.005643263816833496, | |
0.005370880126953125, | |
0.005431359767913819, | |
0.005996543884277344, | |
0.005399551868438721, | |
0.005337088108062744, | |
0.005380095958709717, | |
0.0051773438453674315, | |
0.005142560005187988, | |
0.005232639789581299, | |
0.0051773438453674315, | |
0.005146624088287354, | |
0.0051701760292053225, | |
0.00515993595123291, | |
0.0051281280517578125, | |
0.005125120162963868, | |
0.005148672103881836, | |
0.005234687805175781, | |
0.005126143932342529, | |
0.005152768135070801, | |
0.005140543937683106, | |
0.0053012480735778805, | |
0.0051803522109985355, | |
0.00516096019744873, | |
0.005144576072692871, | |
0.005138432025909424, | |
0.005169151782989502, | |
0.005150720119476319, | |
0.005134335994720459, | |
0.0051701760292053225, | |
0.005195839881896973, | |
0.005131264209747314, | |
0.00517632007598877, | |
0.005125120162963868, | |
0.00516812801361084, | |
0.005149695873260498, | |
0.005173247814178467, | |
0.005156864166259765, | |
0.005174272060394287, | |
0.0051701760292053225, | |
0.005149759769439697, | |
0.005128191947937012, | |
0.00531660795211792, | |
0.005127168178558349, | |
0.00515993595123291, | |
0.0052111358642578124, | |
0.005171199798583984, | |
0.0051701760292053225, | |
0.005148672103881836, | |
0.005163008213043213, | |
0.005150752067565918, | |
0.005193727970123291, | |
0.00520908784866333, | |
0.005144576072692871, | |
0.005158912181854248, | |
0.0051435518264770505, | |
0.00515993595123291, | |
0.00515993595123291, | |
0.00515993595123291, | |
0.005192704200744629, | |
0.0051333122253417966, | |
0.005134335994720459, | |
0.005132287979125977, | |
0.0051404800415039064, | |
0.0051404800415039064, | |
0.005134335994720459, | |
0.005146624088287354, | |
0.005146592140197754, | |
0.005130239963531494, | |
0.00515993595123291, | |
0.005214272022247314, | |
0.005134335994720459, | |
0.005141503810882568, | |
0.005154816150665284, | |
0.00548038387298584, | |
0.00522547197341919, | |
0.005164031982421875, | |
0.005142528057098389, | |
0.005125120162963868, | |
0.005144576072692871, | |
0.0051333122253417966, | |
0.005148672103881836, | |
0.005138432025909424, | |
0.005156864166259765, | |
0.005149727821350098, | |
0.005122047901153564, | |
0.005138432025909424, | |
0.005132287979125977, | |
0.005236703872680664, | |
0.005150720119476319, | |
0.005121024131774903, | |
0.005129216194152832, | |
0.005120063781738281, | |
0.005337088108062744, | |
0.005538879871368408, | |
0.005320703983306885, | |
0.005364799976348877, | |
0.005320703983306885, | |
0.005313536167144775, | |
0.005349376201629639, | |
0.0053524160385131836, | |
0.005323775768280029, | |
0.005362688064575195, | |
0.005337088108062744, | |
0.005345280170440674, | |
0.0053350400924682614, | |
0.005346303939819336, | |
0.005355519771575928, | |
0.005339136123657226, | |
0.005315584182739258, | |
0.005338111877441406, | |
0.005341184139251709, | |
0.0053043198585510255, | |
0.005324895858764648, | |
0.005325727939605713, | |
0.0053268160820007324, | |
0.005343232154846191, | |
0.00531660795211792, | |
0.0053350400924682614, | |
0.005325823783874512, | |
0.005194752216339111, | |
0.00515180778503418, | |
0.005149695873260498, | |
0.005174272060394287, | |
0.005145599842071533, | |
0.005135359764099121, | |
0.005165056228637695, | |
0.005158912181854248, | |
0.005154816150665284, | |
0.005166016101837158, | |
0.005142528057098389, | |
0.005144576072692871, | |
0.005163008213043213, | |
0.005165056228637695, | |
0.005144576072692871, | |
0.00516096019744873, | |
0.005161983966827393, | |
0.00517632007598877, | |
0.00521830415725708, | |
0.005154816150665284, | |
0.00515174388885498, | |
0.005148672103881836, | |
0.005130239963531494, | |
0.0051660799980163576, | |
0.005146624088287354, | |
0.005121088027954102, | |
0.005169151782989502, | |
0.005138432025909424, | |
0.005128191947937012, | |
0.005146687984466553, | |
0.0051660799980163576, | |
0.005197824001312256, | |
0.005137407779693603, | |
0.0051660799980163576, | |
0.005135424137115478, | |
0.005106719970703125, | |
0.005122047901153564, | |
0.005142528057098389, | |
0.005141503810882568, | |
0.005135359764099121, | |
0.0051456642150878905, | |
0.005137407779693603, | |
0.00515174388885498, | |
0.005156864166259765, | |
0.0051363840103149415, | |
0.0051363520622253415, | |
0.005348351955413819, | |
0.005322751998901368, | |
0.005320703983306885, | |
0.005315584182739258, | |
0.005362688064575195, | |
0.0053350400924682614, | |
0.005368832111358642, | |
0.00531660795211792, | |
0.005339168071746826, | |
0.005352447986602784, | |
0.00535756778717041 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 190.3623642158067 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.25782272620508e-08, | |
"ram": 3.421471130445503e-08, | |
"gpu": 1.307939642842104e-07, | |
"total": 2.275869028507162e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4393925.957399851 | |
} | |
} | |
} | |
} |