
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
84e88f0
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_type": "resnet50", | |
"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": {}, | |
"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, | |
"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.285632, | |
"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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"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": 789.065728, | |
"max_global_vram": 688.390144, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.444892578125, | |
"mean": 7.444892578125, | |
"stdev": 0.0, | |
"p50": 7.444892578125, | |
"p90": 7.444892578125, | |
"p95": 7.444892578125, | |
"p99": 7.444892578125, | |
"values": [ | |
7.444892578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.3175957269138765e-06, | |
"ram": 2.350815343741317e-06, | |
"gpu": 4.9955595520095875e-06, | |
"total": 1.1663970622664782e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.982016, | |
"max_global_vram": 1040.71168, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 1.0021665611267094, | |
"mean": 0.006550108242658228, | |
"stdev": 0.00025552861428114747, | |
"p50": 0.006387712001800537, | |
"p90": 0.006841568088531495, | |
"p95": 0.006918553638458252, | |
"p99": 0.0073601843452453615, | |
"values": [ | |
0.007368703842163086, | |
0.006922239780426025, | |
0.0069027838706970214, | |
0.006912000179290771, | |
0.006895616054534912, | |
0.0068853759765625, | |
0.0070891518592834475, | |
0.00727347183227539, | |
0.007352320194244385, | |
0.0064542717933654785, | |
0.006335519790649414, | |
0.00636518383026123, | |
0.006335487842559814, | |
0.00637337589263916, | |
0.0063907837867736815, | |
0.006441984176635742, | |
0.0064778242111206055, | |
0.006387712001800537, | |
0.00643174409866333, | |
0.006429696083068847, | |
0.006351871967315674, | |
0.006372352123260498, | |
0.0063498239517211915, | |
0.0063569917678833006, | |
0.006344704151153564, | |
0.006359039783477783, | |
0.00637440013885498, | |
0.0063201279640197755, | |
0.006352896213531494, | |
0.006394879817962646, | |
0.006354879856109619, | |
0.006379519939422608, | |
0.006331391811370849, | |
0.006355967998504639, | |
0.006359039783477783, | |
0.006334464073181153, | |
0.006372352123260498, | |
0.00633241605758667, | |
0.00638259220123291, | |
0.0063508481979370115, | |
0.006346752166748047, | |
0.006364160060882569, | |
0.006334527969360352, | |
0.006364160060882569, | |
0.006371327877044678, | |
0.006344704151153564, | |
0.006372352123260498, | |
0.006354944229125976, | |
0.006355967998504639, | |
0.006293504238128662, | |
0.006288383960723877, | |
0.006298624038696289, | |
0.006285312175750732, | |
0.006372352123260498, | |
0.006338560104370118, | |
0.00637440013885498, | |
0.006364223957061768, | |
0.00633241605758667, | |
0.006372352123260498, | |
0.006346752166748047, | |
0.006457344055175781, | |
0.006378496170043945, | |
0.006368256092071533, | |
0.006368256092071533, | |
0.006348864078521728, | |
0.0063539199829101565, | |
0.006309887886047363, | |
0.0062863359451293946, | |
0.006301695823669433, | |
0.0062740478515625, | |
0.006375423908233643, | |
0.006335487842559814, | |
0.006362112045288086, | |
0.006367167949676514, | |
0.006348832130432129, | |
0.006360064029693604, | |
0.006367231845855713, | |
0.006354944229125976, | |
0.006406144142150879, | |
0.006354944229125976, | |
0.006364223957061768, | |
0.0063508481979370115, | |
0.006373439788818359, | |
0.006366208076477051, | |
0.006367231845855713, | |
0.006553631782531738, | |
0.006396927833557129, | |
0.006364223957061768, | |
0.006370304107666015, | |
0.006349760055541992, | |
0.006369279861450195, | |
0.006403071880340576, | |
0.0063498239517211915, | |
0.00637440013885498, | |
0.006331391811370849, | |
0.006352896213531494, | |
0.0063539199829101565, | |
0.0063498239517211915, | |
0.006710271835327148, | |
0.006532095909118653, | |
0.006676479816436768, | |
0.007748608112335205, | |
0.006821887969970703, | |
0.006975456237792969, | |
0.006793216228485107, | |
0.007068672180175781, | |
0.006842368125915528, | |
0.006721471786499024, | |
0.006852608203887939, | |
0.006773759841918945, | |
0.006737919807434082, | |
0.0067420158386230465, | |
0.006780928134918213, | |
0.00672051191329956, | |
0.006711296081542969, | |
0.00674508810043335, | |
0.0067276802062988285, | |
0.006708223819732666, | |
0.00674508810043335, | |
0.0068321280479431154, | |
0.006871039867401123, | |
0.006818816184997558, | |
0.006838367938995361, | |
0.0067348480224609375, | |
0.0067276802062988285, | |
0.0067358717918396, | |
0.006724607944488525, | |
0.006698016166687012, | |
0.006716415882110595, | |
0.006739967823028564, | |
0.0066979842185974124, | |
0.00674508810043335, | |
0.0067040958404541015, | |
0.006688735961914063, | |
0.006737919807434082, | |
0.006730751991271973, | |
0.0067123198509216305, | |
0.006707200050354004, | |
0.006916096210479736, | |
0.006722559928894043, | |
0.006713344097137451, | |
0.006737919807434082, | |
0.006719488143920899, | |
0.006737919807434082, | |
0.006716415882110595, | |
0.006714367866516113, | |
0.006751232147216797, | |
0.006731776237487793, | |
0.0067051839828491215, | |
0.00669593620300293, | |
0.006725632190704346, | |
0.006717440128326416, | |
0.006711296081542969 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.66923277502516 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.68480889638953e-08, | |
"ram": 4.201767048856622e-08, | |
"gpu": 1.7231976267533572e-07, | |
"total": 2.9118552212779727e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3434236.6773342323 | |
} | |
} | |
} | |
} |