
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
4472a65
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 949.075968, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 184, | |
"total": 0.9985727677345277, | |
"mean": 0.005427025911600694, | |
"stdev": 0.0003647908306567643, | |
"p50": 0.005387263774871826, | |
"p90": 0.005484339237213135, | |
"p95": 0.005877862405776977, | |
"p99": 0.007598366799354552, | |
"values": [ | |
0.007996416091918946, | |
0.007669760227203369, | |
0.007583744049072265, | |
0.006887423992156983, | |
0.005888000011444092, | |
0.005900288105010986, | |
0.00582041597366333, | |
0.005889984130859375, | |
0.006202367782592774, | |
0.005371903896331787, | |
0.0051036162376403805, | |
0.005124095916748047, | |
0.005075967788696289, | |
0.005171199798583984, | |
0.005102591991424561, | |
0.005142528057098389, | |
0.0050769920349121095, | |
0.0050841598510742185, | |
0.005096415996551514, | |
0.005048319816589355, | |
0.005100543975830078, | |
0.005114880084991455, | |
0.0050841598510742185, | |
0.005086239814758301, | |
0.0051435518264770505, | |
0.005097472190856934, | |
0.005064703941345215, | |
0.005032927989959717, | |
0.005037055969238281, | |
0.005075967788696289, | |
0.005039103984832764, | |
0.00526643180847168, | |
0.005639167785644531, | |
0.00643174409866333, | |
0.005726240158081055, | |
0.0060364799499511715, | |
0.005497856140136719, | |
0.005412864208221436, | |
0.005420095920562744, | |
0.005460927963256836, | |
0.005396480083465576, | |
0.005400576114654541, | |
0.005439487934112549, | |
0.005400576114654541, | |
0.0054282240867614745, | |
0.00538105583190918, | |
0.005395455837249756, | |
0.005435391902923584, | |
0.005377024173736572, | |
0.0053821439743042, | |
0.0053944320678710935, | |
0.00536678409576416, | |
0.005369855880737305, | |
0.005477375984191894, | |
0.00535859203338623, | |
0.005649407863616943, | |
0.00536678409576416, | |
0.005385216236114502, | |
0.00538316822052002, | |
0.005375999927520752, | |
0.005481472015380859, | |
0.0054241280555725096, | |
0.005371903896331787, | |
0.005372928142547607, | |
0.005396480083465576, | |
0.005379072189331055, | |
0.005395455837249756, | |
0.0053975038528442385, | |
0.005387296199798584, | |
0.005403647899627686, | |
0.005393407821655274, | |
0.005501952171325684, | |
0.005412864208221436, | |
0.0053637118339538575, | |
0.00537395191192627, | |
0.005416959762573242, | |
0.005380095958709717, | |
0.005400576114654541, | |
0.005391359806060791, | |
0.00537497615814209, | |
0.005386240005493164, | |
0.005410816192626953, | |
0.005378047943115235, | |
0.0053944640159606936, | |
0.005381120204925537, | |
0.005387167930603027, | |
0.005449728012084961, | |
0.005372928142547607, | |
0.005374944210052491, | |
0.005429247856140137, | |
0.0053606400489807126, | |
0.0054067840576171875, | |
0.0054026880264282226, | |
0.005379072189331055, | |
0.0053975038528442385, | |
0.005451776027679443, | |
0.005380095958709717, | |
0.00542310380935669, | |
0.005401599884033203, | |
0.005385216236114502, | |
0.0053944320678710935, | |
0.005375999927520752, | |
0.005395455837249756, | |
0.005413887977600097, | |
0.005387263774871826, | |
0.005410816192626953, | |
0.005434368133544922, | |
0.005413824081420898, | |
0.005409791946411133, | |
0.005426176071166992, | |
0.005437439918518067, | |
0.005463039875030518, | |
0.005391359806060791, | |
0.005416959762573242, | |
0.0054241280555725096, | |
0.0053975038528442385, | |
0.005381120204925537, | |
0.005443583965301513, | |
0.005398528099060058, | |
0.005402624130249023, | |
0.005405663967132568, | |
0.005410816192626953, | |
0.005419007778167725, | |
0.005653503894805908, | |
0.0054271998405456545, | |
0.005485568046569824, | |
0.005421055793762207, | |
0.005404672145843506, | |
0.005445631980895996, | |
0.005372928142547607, | |
0.005399551868438721, | |
0.005440512180328369, | |
0.005390336036682129, | |
0.005391359806060791, | |
0.005431295871734619, | |
0.00541593599319458, | |
0.005412864208221436, | |
0.005375999927520752, | |
0.005404672145843506, | |
0.005505023956298828, | |
0.005391359806060791, | |
0.00530944013595581, | |
0.00532480001449585, | |
0.005292031764984131, | |
0.005326879978179932, | |
0.0053637118339538575, | |
0.005387263774871826, | |
0.0053821439743042, | |
0.005410816192626953, | |
0.00537497615814209, | |
0.00531763219833374, | |
0.005328832149505615, | |
0.0052971520423889164, | |
0.005313536167144775, | |
0.0053012480735778805, | |
0.005306367874145508, | |
0.005299200057983398, | |
0.005347328186035156, | |
0.005283840179443359, | |
0.005303296089172363, | |
0.00530944013595581, | |
0.005279744148254394, | |
0.005298175811767578, | |
0.005337088108062744, | |
0.005311488151550293, | |
0.005318655967712403, | |
0.005306367874145508, | |
0.005291007995605469, | |
0.005306303977966309, | |
0.005355519771575928, | |
0.005406720161437988, | |
0.00543228816986084, | |
0.005413887977600097, | |
0.0054241280555725096, | |
0.005325823783874512, | |
0.005312511920928955, | |
0.005298175811767578, | |
0.005315584182739258, | |
0.0053043198585510255, | |
0.005320703983306885, | |
0.005331967830657959, | |
0.005288959980010987, | |
0.005327871799468994, | |
0.005320703983306885 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 184.26298607906432 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.185572559910792e-08, | |
"ram": 3.3818513691130644e-08, | |
"gpu": 1.2782706985416635e-07, | |
"total": 2.235013091444049e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4474246.722885623 | |
} | |
} | |
} | |
} |