
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3bfce94
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.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.2", | |
"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.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.99552, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.47599072265625, | |
"mean": 7.47599072265625, | |
"stdev": 0.0, | |
"p50": 7.47599072265625, | |
"p90": 7.47599072265625, | |
"p95": 7.47599072265625, | |
"p99": 7.47599072265625, | |
"values": [ | |
7.47599072265625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.479416377014584e-06, | |
"ram": 2.439520009535367e-06, | |
"gpu": 6.866672160002474e-06, | |
"total": 1.3785608546552425e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.969728, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 0.9984531197547915, | |
"mean": 0.006568770524702574, | |
"stdev": 0.00022687233690908527, | |
"p50": 0.006544400215148925, | |
"p90": 0.006794752025604248, | |
"p95": 0.007026995205879207, | |
"p99": 0.007362477874755859, | |
"values": [ | |
0.007367680072784424, | |
0.007334911823272705, | |
0.007366655826568603, | |
0.00724889612197876, | |
0.007260159969329834, | |
0.007252992153167725, | |
0.007226367950439453, | |
0.007358463764190673, | |
0.006518784046173095, | |
0.006407167911529541, | |
0.006817791938781738, | |
0.006713344097137451, | |
0.0066641921997070315, | |
0.006716415882110595, | |
0.006688767910003662, | |
0.006584320068359375, | |
0.0065781760215759275, | |
0.006416384220123291, | |
0.00662937593460083, | |
0.006635519981384277, | |
0.00659660816192627, | |
0.006560768127441406, | |
0.0064204797744750975, | |
0.006364160060882569, | |
0.006338560104370118, | |
0.0063836159706115725, | |
0.006340608119964599, | |
0.006405119895935059, | |
0.006436768054962158, | |
0.00638976001739502, | |
0.0064819521903991695, | |
0.00664569616317749, | |
0.006825920104980469, | |
0.0067123198509216305, | |
0.006811647891998291, | |
0.006799359798431396, | |
0.006797311782836914, | |
0.006700032234191895, | |
0.006730751991271973, | |
0.006796288013458252, | |
0.00672870397567749, | |
0.0066938881874084475, | |
0.00674508810043335, | |
0.006717440128326416, | |
0.006683648109436035, | |
0.006645760059356689, | |
0.006387712001800537, | |
0.006341631889343262, | |
0.006371327877044678, | |
0.006404096126556396, | |
0.00633241605758667, | |
0.006346752166748047, | |
0.006328320026397705, | |
0.0063508481979370115, | |
0.006472703933715821, | |
0.006642687797546387, | |
0.006599679946899414, | |
0.006592512130737305, | |
0.006585343837738037, | |
0.006603712081909179, | |
0.006543360233306885, | |
0.006608895778656006, | |
0.006648831844329834, | |
0.006554624080657959, | |
0.006780928134918213, | |
0.0067051520347595215, | |
0.0066416640281677245, | |
0.006754303932189941, | |
0.006706175804138184, | |
0.006672351837158203, | |
0.006687744140625, | |
0.006456319808959961, | |
0.0065454401969909665, | |
0.006801407814025879, | |
0.006687744140625, | |
0.00658739185333252, | |
0.0066007041931152345, | |
0.006677472114562989, | |
0.006558720111846924, | |
0.006721536159515381, | |
0.006700032234191895, | |
0.006708223819732666, | |
0.0066304001808166506, | |
0.006723584175109864, | |
0.006702079772949219, | |
0.006659071922302246, | |
0.006603775978088379, | |
0.006608895778656006, | |
0.006669312000274658, | |
0.00669593620300293, | |
0.006703104019165039, | |
0.006543360233306885, | |
0.006405151844024658, | |
0.0064542717933654785, | |
0.006568960189819336, | |
0.006552576065063476, | |
0.006863872051239014, | |
0.006622208118438721, | |
0.006656000137329102, | |
0.006625279903411865, | |
0.006659071922302246, | |
0.006553567886352539, | |
0.006384640216827392, | |
0.0064102401733398436, | |
0.00636518383026123, | |
0.006351871967315674, | |
0.006486015796661377, | |
0.006393856048583985, | |
0.0064737281799316405, | |
0.00643071985244751, | |
0.006387712001800537, | |
0.006395904064178467, | |
0.0065177597999572755, | |
0.006352896213531494, | |
0.006367231845855713, | |
0.006323200225830078, | |
0.006378496170043945, | |
0.006354944229125976, | |
0.006359039783477783, | |
0.006392831802368164, | |
0.006351871967315674, | |
0.006369279861450195, | |
0.006347775936126709, | |
0.006391808032989502, | |
0.006359039783477783, | |
0.006367231845855713, | |
0.006385663986206055, | |
0.00633241605758667, | |
0.006372352123260498, | |
0.006359039783477783, | |
0.006469632148742676, | |
0.006435840129852295, | |
0.00637337589263916, | |
0.006437888145446777, | |
0.006428671836853027, | |
0.006428671836853027, | |
0.00637440013885498, | |
0.006344704151153564, | |
0.006343743801116943, | |
0.006389823913574219, | |
0.006343679904937744, | |
0.00637440013885498, | |
0.0063949117660522465, | |
0.006426623821258545, | |
0.0064204797744750975, | |
0.006409215927124024, | |
0.006423552036285401, | |
0.006398975849151611, | |
0.006452223777770996, | |
0.006450175762176514, | |
0.0063805441856384275, | |
0.006440959930419922 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.23549007221237 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.954914231161678e-08, | |
"ram": 4.3486152191514055e-08, | |
"gpu": 1.72938244241596e-07, | |
"total": 2.959735387447268e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3378680.419341428 | |
} | |
} | |
} | |
} |