
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a1ee9da
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", | |
"model": "timm/resnet50.a1_in1k", | |
"library": "timm", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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.0", | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 951.15264, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 183, | |
"total": 0.9946094741821286, | |
"mean": 0.005435024449082672, | |
"stdev": 0.00014938957509801122, | |
"p50": 0.005414912223815918, | |
"p90": 0.00561356782913208, | |
"p95": 0.005713919878005982, | |
"p99": 0.005816852426528931, | |
"values": [ | |
0.00582860803604126, | |
0.00561356782913208, | |
0.00570470380783081, | |
0.005747712135314941, | |
0.0057149438858032225, | |
0.005750783920288086, | |
0.005662720203399658, | |
0.00572211217880249, | |
0.005636096000671387, | |
0.005642240047454834, | |
0.005650432109832764, | |
0.005641215801239013, | |
0.005808127880096436, | |
0.005576704025268555, | |
0.005867519855499268, | |
0.005526527881622314, | |
0.005530623912811279, | |
0.005414912223815918, | |
0.005356544017791748, | |
0.005341184139251709, | |
0.005435391902923584, | |
0.005460031986236572, | |
0.0055285758972167965, | |
0.005567488193511963, | |
0.0058122239112854005, | |
0.005814271926879883, | |
0.005653503894805908, | |
0.005500927925109863, | |
0.0054579200744628905, | |
0.005429247856140137, | |
0.005541888236999512, | |
0.005541920185089111, | |
0.005557248115539551, | |
0.005525504112243652, | |
0.0055552000999450684, | |
0.005571584224700928, | |
0.005549056053161621, | |
0.0054917120933532714, | |
0.0054988799095153805, | |
0.005554175853729248, | |
0.00556441593170166, | |
0.005533696174621582, | |
0.005501952171325684, | |
0.005361663818359375, | |
0.005375999927520752, | |
0.005413887977600097, | |
0.005411839962005615, | |
0.00547430419921875, | |
0.005591040134429932, | |
0.005410816192626953, | |
0.005483520030975342, | |
0.005438464164733887, | |
0.005536767959594726, | |
0.005610496044158936, | |
0.005575679779052735, | |
0.00561356782913208, | |
0.005563392162322998, | |
0.005608479976654052, | |
0.005549056053161621, | |
0.005495808124542236, | |
0.005439487934112549, | |
0.005548064231872559, | |
0.005666880130767822, | |
0.005560319900512695, | |
0.005489664077758789, | |
0.005502975940704345, | |
0.005542943954467774, | |
0.005426176071166992, | |
0.005381120204925537, | |
0.005409791946411133, | |
0.005485568046569824, | |
0.0054271998405456545, | |
0.005409823894500732, | |
0.005561344146728516, | |
0.005563392162322998, | |
0.005401535987854004, | |
0.005450751781463623, | |
0.005416959762573242, | |
0.005421055793762207, | |
0.005477375984191894, | |
0.005401567935943603, | |
0.005443583965301513, | |
0.005464064121246338, | |
0.005389311790466309, | |
0.005441535949707031, | |
0.005574656009674072, | |
0.005581888198852539, | |
0.005606400012969971, | |
0.005529600143432617, | |
0.0055511040687561035, | |
0.005571584224700928, | |
0.0055214080810546875, | |
0.005543935775756836, | |
0.005519360065460205, | |
0.005441504001617432, | |
0.0054579200744628905, | |
0.005526527881622314, | |
0.005405695915222168, | |
0.005321728229522705, | |
0.005274655818939209, | |
0.005172224044799805, | |
0.0052633600234985355, | |
0.005416959762573242, | |
0.005361728191375733, | |
0.0051660799980163576, | |
0.005122047901153564, | |
0.005134335994720459, | |
0.00521727991104126, | |
0.005174272060394287, | |
0.00515174388885498, | |
0.005608448028564453, | |
0.005417984008789062, | |
0.005411839962005615, | |
0.005526527881622314, | |
0.005602303981781006, | |
0.005768191814422607, | |
0.005348351955413819, | |
0.0052971520423889164, | |
0.005356544017791748, | |
0.005303296089172363, | |
0.005313536167144775, | |
0.00535859203338623, | |
0.0052930560111999515, | |
0.005313536167144775, | |
0.005344255924224854, | |
0.0053012480735778805, | |
0.005327871799468994, | |
0.005361663818359375, | |
0.005284863948822022, | |
0.005320703983306885, | |
0.005326848030090332, | |
0.005314559936523438, | |
0.005319680213928223, | |
0.005342207908630371, | |
0.0053012480735778805, | |
0.005328896045684814, | |
0.00530944013595581, | |
0.005294079780578613, | |
0.005294079780578613, | |
0.00531660795211792, | |
0.005276671886444092, | |
0.0052899842262268066, | |
0.005525504112243652, | |
0.0053012480735778805, | |
0.005280767917633057, | |
0.005295104026794434, | |
0.005279744148254394, | |
0.005302271842956543, | |
0.005321728229522705, | |
0.005277696132659912, | |
0.005283840179443359, | |
0.00530944013595581, | |
0.005286943912506103, | |
0.005280767917633057, | |
0.005305344104766845, | |
0.005303296089172363, | |
0.005291007995605469, | |
0.005325823783874512, | |
0.0052715520858764645, | |
0.005284863948822022, | |
0.00530841588973999, | |
0.005313536167144775, | |
0.005285888195037842, | |
0.00531763219833374, | |
0.005285888195037842, | |
0.005315584182739258, | |
0.005313536167144775, | |
0.005294079780578613, | |
0.0052971520423889164, | |
0.00532480001449585, | |
0.0053043198585510255, | |
0.005311488151550293, | |
0.005342207908630371, | |
0.005314559936523438, | |
0.005319680213928223, | |
0.005315584182739258, | |
0.0053012480735778805, | |
0.00530944013595581, | |
0.005307424068450928, | |
0.005488639831542969, | |
0.005313471794128418, | |
0.005305344104766845, | |
0.005288959980010987 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 183.99181261618443 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.097039520910322e-08, | |
"ram": 3.333720737058544e-08, | |
"gpu": 1.2648585617435873e-07, | |
"total": 2.2079345875404737e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4529119.683359591 | |
} | |
} | |
} | |
} |