
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
44cc529
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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.41.0", | |
"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.108736, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 191, | |
"total": 0.9953270072937009, | |
"mean": 0.005211136163841368, | |
"stdev": 0.0003816408883697684, | |
"p50": 0.005111807823181152, | |
"p90": 0.005309408187866211, | |
"p95": 0.005338639974594116, | |
"p99": 0.007524761629104614, | |
"values": [ | |
0.008008671760559081, | |
0.007583744049072265, | |
0.007518208026885987, | |
0.0074414081573486324, | |
0.006013951778411865, | |
0.005665791988372803, | |
0.005615615844726562, | |
0.006046720027923584, | |
0.005309408187866211, | |
0.005086207866668701, | |
0.005083136081695557, | |
0.0050800638198852536, | |
0.005093376159667969, | |
0.005073919773101807, | |
0.0050841598510742185, | |
0.005195839881896973, | |
0.005083136081695557, | |
0.005085184097290039, | |
0.005108736038208008, | |
0.005096415996551514, | |
0.005063680171966553, | |
0.005086207866668701, | |
0.0051036162376403805, | |
0.005062655925750732, | |
0.005082079887390137, | |
0.005396480083465576, | |
0.005306367874145508, | |
0.005271615982055664, | |
0.005288928031921387, | |
0.005318624019622803, | |
0.005275648117065429, | |
0.005306367874145508, | |
0.005279744148254394, | |
0.005238783836364746, | |
0.005258240222930908, | |
0.00511078405380249, | |
0.005093376159667969, | |
0.005086207866668701, | |
0.005082111835479736, | |
0.005088255882263183, | |
0.0050800638198852536, | |
0.005093376159667969, | |
0.005108736038208008, | |
0.005073919773101807, | |
0.005203968048095703, | |
0.005313536167144775, | |
0.005257215976715088, | |
0.005328896045684814, | |
0.005286911964416504, | |
0.005283904075622558, | |
0.005242879867553711, | |
0.00531763219833374, | |
0.005092351913452148, | |
0.005087232112884522, | |
0.005116928100585938, | |
0.005116928100585938, | |
0.0051066880226135255, | |
0.005126143932342529, | |
0.005122047901153564, | |
0.005129216194152832, | |
0.005085184097290039, | |
0.005114880084991455, | |
0.005100543975830078, | |
0.005078015804290771, | |
0.0050954241752624516, | |
0.005102591991424561, | |
0.005106719970703125, | |
0.005091328144073487, | |
0.005111807823181152, | |
0.005117951869964599, | |
0.005092351913452148, | |
0.005089280128479004, | |
0.005094399929046631, | |
0.005256192207336426, | |
0.005254144191741943, | |
0.005158912181854248, | |
0.005122047901153564, | |
0.0050800638198852536, | |
0.0050769920349121095, | |
0.00511078405380249, | |
0.005093376159667969, | |
0.005073855876922608, | |
0.005111807823181152, | |
0.005183487892150879, | |
0.005086207866668701, | |
0.005090303897857666, | |
0.00511078405380249, | |
0.005117951869964599, | |
0.005081088066101074, | |
0.005097472190856934, | |
0.005130239963531494, | |
0.0050800638198852536, | |
0.00506879997253418, | |
0.005092351913452148, | |
0.00511078405380249, | |
0.005081088066101074, | |
0.005105663776397705, | |
0.005114880084991455, | |
0.005083136081695557, | |
0.005078015804290771, | |
0.005092351913452148, | |
0.005127168178558349, | |
0.00515174388885498, | |
0.0050769920349121095, | |
0.005112832069396973, | |
0.005088255882263183, | |
0.00521727991104126, | |
0.005312511920928955, | |
0.005232639789581299, | |
0.0051968002319335935, | |
0.005206079959869385, | |
0.005252096176147461, | |
0.005200960159301758, | |
0.005310463905334473, | |
0.005332992076873779, | |
0.005291007995605469, | |
0.005287936210632324, | |
0.005264351844787598, | |
0.005277696132659912, | |
0.005292031764984131, | |
0.0052633600234985355, | |
0.005336063861846924, | |
0.0050032639503479, | |
0.005014527797698975, | |
0.005015552043914795, | |
0.0050094079971313476, | |
0.005030911922454834, | |
0.005045248031616211, | |
0.005030911922454834, | |
0.005021632194519043, | |
0.005040128231048584, | |
0.0051333122253417966, | |
0.005178368091583252, | |
0.005039040088653564, | |
0.005057536125183106, | |
0.005053440093994141, | |
0.005041152000427246, | |
0.005044223785400391, | |
0.005063680171966553, | |
0.005051392078399658, | |
0.005044223785400391, | |
0.005057536125183106, | |
0.005078015804290771, | |
0.005047296047210693, | |
0.005044223785400391, | |
0.005121024131774903, | |
0.0051476478576660155, | |
0.005124095916748047, | |
0.005122047901153564, | |
0.005124095916748047, | |
0.005105663776397705, | |
0.005123072147369385, | |
0.005128223896026612, | |
0.005121024131774903, | |
0.005061632156372071, | |
0.005243904113769531, | |
0.0052971520423889164, | |
0.005283840179443359, | |
0.005295104026794434, | |
0.005341216087341309, | |
0.005320703983306885, | |
0.005272575855255127, | |
0.005260287761688232, | |
0.005192704200744629, | |
0.00520908784866333, | |
0.005244927883148193, | |
0.005221375942230225, | |
0.00521727991104126, | |
0.005237760066986084, | |
0.00522547197341919, | |
0.0052111358642578124, | |
0.00521830415725708, | |
0.005237760066986084, | |
0.005208032131195068, | |
0.005239808082580567, | |
0.0052408318519592285, | |
0.005097472190856934, | |
0.0050462718009948735, | |
0.005075967788696289, | |
0.005057536125183106, | |
0.0050503678321838375, | |
0.005062655925750732, | |
0.005093376159667969, | |
0.005045248031616211, | |
0.005039167881011963, | |
0.0050432000160217285, | |
0.005066751956939697, | |
0.005032959938049316, | |
0.005083136081695557, | |
0.0051363840103149415, | |
0.005037055969238281 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 191.89673202913468 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.2470603407475e-08, | |
"ram": 3.4154158963103414e-08, | |
"gpu": 1.3225010579999995e-07, | |
"total": 2.288748681705784e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4369199.676631639 | |
} | |
} | |
} | |
} |