
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
5f1dea4
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 853.331968, | |
"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.6788623046875, | |
"mean": 7.6788623046875, | |
"stdev": 0.0, | |
"p50": 7.6788623046875, | |
"p90": 7.6788623046875, | |
"p95": 7.6788623046875, | |
"p99": 7.6788623046875, | |
"values": [ | |
7.6788623046875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.289383215277731e-06, | |
"ram": 2.335292652026112e-06, | |
"gpu": 6.591949717999791e-06, | |
"total": 1.3216625585303632e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.48864, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 1.0010312943458555, | |
"mean": 0.007583570411711029, | |
"stdev": 0.0004349352468533882, | |
"p50": 0.007401471853256226, | |
"p90": 0.007881318330764771, | |
"p95": 0.007962382578849792, | |
"p99": 0.00988062707901001, | |
"values": [ | |
0.010162176132202149, | |
0.009894911766052245, | |
0.009848832130432129, | |
0.007457791805267334, | |
0.00742195177078247, | |
0.007407616138458252, | |
0.007360511779785156, | |
0.007334911823272705, | |
0.007351295948028564, | |
0.0074065918922424315, | |
0.007368703842163086, | |
0.007219136238098145, | |
0.007258048057556152, | |
0.007324672222137451, | |
0.007305215835571289, | |
0.00744755220413208, | |
0.007378943920135498, | |
0.007365632057189942, | |
0.007372799873352051, | |
0.007334911823272705, | |
0.007326720237731933, | |
0.007388160228729248, | |
0.00738918399810791, | |
0.007378943920135498, | |
0.007345183849334717, | |
0.00739628791809082, | |
0.007332863807678222, | |
0.007355391979217529, | |
0.0073768959045410155, | |
0.007388160228729248, | |
0.0073359360694885255, | |
0.00723967981338501, | |
0.007278528213500977, | |
0.007539743900299072, | |
0.007344128131866455, | |
0.00773529577255249, | |
0.007783423900604248, | |
0.007768064022064209, | |
0.007833600044250488, | |
0.008027135848999023, | |
0.007918591976165772, | |
0.007898111820220948, | |
0.007868415832519531, | |
0.007813119888305664, | |
0.007779327869415284, | |
0.00821555233001709, | |
0.00818892765045166, | |
0.007886847972869874, | |
0.007898111820220948, | |
0.00783564805984497, | |
0.007716864109039307, | |
0.007723999977111816, | |
0.007764992237091065, | |
0.007759871959686279, | |
0.007882751941680909, | |
0.007734272003173828, | |
0.007758848190307617, | |
0.007776256084442139, | |
0.007747583866119385, | |
0.0077619199752807615, | |
0.007767039775848389, | |
0.007766016006469726, | |
0.007905280113220215, | |
0.007858176231384278, | |
0.007854080200195313, | |
0.007885824203491211, | |
0.007838784217834472, | |
0.007809023857116699, | |
0.007812096118927002, | |
0.007746560096740723, | |
0.007767039775848389, | |
0.0077506561279296875, | |
0.007705599784851074, | |
0.007643136024475097, | |
0.007508992195129394, | |
0.007758848190307617, | |
0.007707647800445557, | |
0.007482367992401123, | |
0.007420928001403809, | |
0.007409599781036377, | |
0.007734272003173828, | |
0.00780083179473877, | |
0.007809023857116699, | |
0.007795711994171142, | |
0.007855103969573975, | |
0.008015904426574707, | |
0.007748608112335205, | |
0.007520224094390869, | |
0.007425983905792236, | |
0.007420928001403809, | |
0.007396351814270019, | |
0.007392255783081054, | |
0.007391232013702393, | |
0.007412799835205078, | |
0.007352320194244385, | |
0.007299007892608643, | |
0.007358431816101074, | |
0.007346176147460938, | |
0.007313375949859619, | |
0.007319551944732666, | |
0.007350272178649903, | |
0.007288832187652588, | |
0.007360511779785156, | |
0.007357439994812012, | |
0.007360479831695557, | |
0.007375872135162354, | |
0.007477248191833496, | |
0.007331840038299561, | |
0.007305215835571289, | |
0.007284736156463623, | |
0.007296000003814697, | |
0.007292928218841553, | |
0.0073656001091003415, | |
0.007344128131866455, | |
0.007311295986175537, | |
0.007301119804382325, | |
0.007358463764190673, | |
0.007366655826568603, | |
0.007323679924011231, | |
0.007290880203247071, | |
0.00729702377319336, | |
0.007311359882354736, | |
0.007303232192993164, | |
0.007319551944732666, | |
0.007269375801086426, | |
0.007245823860168457, | |
0.0072765440940856935, | |
0.007292928218841553, | |
0.007334911823272705, | |
0.007372799873352051, | |
0.007358463764190673, | |
0.007284736156463623 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.86400939269143 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.76960968981448e-08, | |
"ram": 4.794303963226712e-08, | |
"gpu": 1.8611331761482136e-07, | |
"total": 3.2175245414523326e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3107979.401918153 | |
} | |
} | |
} | |
} |