
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
0743ad5
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.520384, | |
"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.69334375, | |
"mean": 7.69334375, | |
"stdev": 0.0, | |
"p50": 7.69334375, | |
"p90": 7.69334375, | |
"p95": 7.69334375, | |
"p99": 7.69334375, | |
"values": [ | |
7.69334375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.296272642361151e-06, | |
"ram": 2.339260062824213e-06, | |
"gpu": 6.4775051819999235e-06, | |
"total": 1.3113037887185288e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.48512, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9976008629798888, | |
"mean": 0.007281758123940795, | |
"stdev": 0.00033970504827116944, | |
"p50": 0.007324672222137451, | |
"p90": 0.007553433418273926, | |
"p95": 0.007673855781555176, | |
"p99": 0.008288829593658438, | |
"values": [ | |
0.009697279930114745, | |
0.008548352241516113, | |
0.007771135807037354, | |
0.0075632638931274416, | |
0.007671807765960693, | |
0.007450623989105225, | |
0.007359488010406494, | |
0.007368703842163086, | |
0.007341023921966553, | |
0.007480415821075439, | |
0.007358463764190673, | |
0.007358463764190673, | |
0.007246912002563477, | |
0.00729702377319336, | |
0.007365632057189942, | |
0.007546879768371582, | |
0.007395328044891358, | |
0.007367680072784424, | |
0.007682047843933106, | |
0.007352320194244385, | |
0.007316480159759522, | |
0.007356383800506592, | |
0.007415904045104981, | |
0.007367680072784424, | |
0.007391327857971191, | |
0.0074832639694213865, | |
0.007442431926727295, | |
0.007427264213562012, | |
0.007478367805480957, | |
0.007407616138458252, | |
0.007475200176239013, | |
0.007770112037658691, | |
0.0072724480628967286, | |
0.007226367950439453, | |
0.007280640125274658, | |
0.00733081579208374, | |
0.007368607997894287, | |
0.007328767776489258, | |
0.007318528175354004, | |
0.007506944179534912, | |
0.007416863918304443, | |
0.007451648235321045, | |
0.0074926080703735356, | |
0.0074670081138610836, | |
0.007386112213134765, | |
0.007610367774963379, | |
0.007827455997467042, | |
0.007455743789672851, | |
0.007622655868530274, | |
0.007458816051483155, | |
0.007374847888946533, | |
0.007406559944152832, | |
0.007270400047302246, | |
0.007327744007110596, | |
0.007316480159759522, | |
0.007384191989898681, | |
0.0074926080703735356, | |
0.0073062400817871095, | |
0.007319551944732666, | |
0.007522304058074952, | |
0.00734822416305542, | |
0.007322624206542969, | |
0.0073768959045410155, | |
0.007346176147460938, | |
0.007451648235321045, | |
0.007667744159698486, | |
0.007529471874237061, | |
0.007453695774078369, | |
0.007485599994659424, | |
0.007321631908416748, | |
0.007371776103973389, | |
0.007394400119781494, | |
0.007274496078491211, | |
0.007367680072784424, | |
0.007356416225433349, | |
0.007258111953735351, | |
0.007203839778900147, | |
0.007020544052124023, | |
0.007585855960845947, | |
0.007318528175354004, | |
0.00703276777267456, | |
0.006911808013916015, | |
0.0069283838272094726, | |
0.007105535984039306, | |
0.007245984077453613, | |
0.007229311943054199, | |
0.007324672222137451, | |
0.007293951988220215, | |
0.007353343963623047, | |
0.0074106879234313965, | |
0.007364607810974121, | |
0.007688191890716553, | |
0.0072499198913574215, | |
0.0071198720932006835, | |
0.006953983783721924, | |
0.006945663928985595, | |
0.006917119979858399, | |
0.006910016059875488, | |
0.0069929280281066895, | |
0.0069253120422363285, | |
0.006935359954833985, | |
0.006918144226074219, | |
0.0069253120422363285, | |
0.006917119979858399, | |
0.006843391895294189, | |
0.0068640317916870116, | |
0.006896639823913574, | |
0.0070225920677185055, | |
0.006893695831298828, | |
0.006860799789428711, | |
0.0076277761459350585, | |
0.007087103843688965, | |
0.0066979842185974124, | |
0.006706143856048584, | |
0.0070266880989074704, | |
0.0074106879234313965, | |
0.007031871795654297, | |
0.006990848064422607, | |
0.007001088142395019, | |
0.0069928960800170895, | |
0.0069847040176391605, | |
0.006941696166992187, | |
0.006955167770385742, | |
0.006965248107910156, | |
0.007097343921661377, | |
0.0069253120422363285, | |
0.006903808116912841, | |
0.007030784130096435, | |
0.006912000179290771, | |
0.006979423999786377, | |
0.007004159927368164, | |
0.006988800048828125, | |
0.006949888229370117, | |
0.006937439918518066, | |
0.006948863983154297, | |
0.007002111911773682, | |
0.006966303825378418 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.32947222075714 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.250654008487822e-08, | |
"ram": 4.51083965373235e-08, | |
"gpu": 1.7407807136111092e-07, | |
"total": 3.0169300798331266e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3314627.696162293 | |
} | |
} | |
} | |
} |