IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1eb06dd verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.224-212.876.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.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 866.336768,
"max_global_vram": 695.730176,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.254412109375,
"mean": 8.254412109375,
"stdev": 0.0,
"p50": 8.254412109375,
"p90": 8.254412109375,
"p95": 8.254412109375,
"p99": 8.254412109375,
"values": [
8.254412109375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.782074956249044e-06,
"ram": 3.150139191416622e-06,
"gpu": 8.316395541999944e-06,
"total": 1.724860968966561e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1106.30912,
"max_global_vram": 790.102016,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 138,
"total": 0.9970235528945923,
"mean": 0.00722480835430864,
"stdev": 0.00018207907504072396,
"p50": 0.007189504146575928,
"p90": 0.0074865377426147454,
"p95": 0.007569561576843262,
"p99": 0.0076544817924499515,
"values": [
0.0076605439186096195,
0.007618559837341309,
0.007699359893798828,
0.007570432186126709,
0.007260159969329834,
0.0072938880920410155,
0.007297920227050781,
0.007200767993927002,
0.007173120021820068,
0.007156608104705811,
0.007172095775604248,
0.007157760143280029,
0.007233535766601563,
0.007385087966918945,
0.007334911823272705,
0.007265279769897461,
0.007461887836456299,
0.0074629120826721195,
0.007443456172943115,
0.007546879768371582,
0.0074834561347961424,
0.007514111995697022,
0.007423999786376953,
0.007325727939605713,
0.007418879985809326,
0.007479296207427978,
0.00751913595199585,
0.007628799915313721,
0.007569407939910889,
0.007609344005584716,
0.007512063980102539,
0.007408639907836914,
0.007132160186767578,
0.007168000221252442,
0.007172095775604248,
0.007245823860168457,
0.0070256638526916505,
0.007067647933959961,
0.007472127914428711,
0.007402624130249023,
0.007413760185241699,
0.007453824043273926,
0.007465983867645264,
0.00738918399810791,
0.007138304233551026,
0.007243648052215577,
0.0072336320877075195,
0.007209983825683594,
0.007248928070068359,
0.0072130560874938965,
0.007160831928253173,
0.007101439952850342,
0.007166912078857422,
0.007219200134277344,
0.007236608028411865,
0.00722431993484497,
0.007211008071899414,
0.00719155216217041,
0.007121920108795166,
0.007036992073059082,
0.007090176105499267,
0.007142399787902832,
0.007144447803497315,
0.007181312084197998,
0.007015423774719238,
0.007128032207489013,
0.007097280025482178,
0.007144544124603271,
0.007120895862579346,
0.007102464199066162,
0.00729702377319336,
0.00723967981338501,
0.00729804801940918,
0.0072468481063842774,
0.007223296165466309,
0.007296000003814697,
0.007292928218841553,
0.007247871875762939,
0.007139328002929687,
0.007169023990631103,
0.0072130560874938965,
0.007073791980743408,
0.007282688140869141,
0.007145472049713135,
0.007529471874237061,
0.007375872135162354,
0.007313471794128418,
0.007405504226684571,
0.007333888053894043,
0.007062560081481934,
0.0069836158752441405,
0.007093247890472412,
0.007300096035003662,
0.007344128131866455,
0.007349247932434082,
0.007318528175354004,
0.007456768035888672,
0.007493728160858154,
0.00764415979385376,
0.007250944137573242,
0.007070720195770264,
0.007138304233551026,
0.006973440170288086,
0.00701423978805542,
0.007028736114501953,
0.007093247890472412,
0.007031807899475098,
0.00713318395614624,
0.007041024208068848,
0.007342080116271973,
0.007187456130981445,
0.007024640083312988,
0.0070563840866088865,
0.007014463901519776,
0.007039999961853028,
0.006961152076721191,
0.00704307222366333,
0.006982656002044678,
0.007036928176879883,
0.007069695949554444,
0.007017471790313721,
0.007117824077606201,
0.007014400005340577,
0.007016511917114257,
0.007098368167877197,
0.007048192024230957,
0.007001088142395019,
0.007004159927368164,
0.007015423774719238,
0.007045119762420654,
0.007028736114501953,
0.0069918718338012695,
0.006964223861694336,
0.007061503887176514,
0.007005184173583984,
0.007024640083312988,
0.007025599956512451,
0.007017471790313721
]
},
"throughput": {
"unit": "samples/s",
"value": 138.41197592509602
},
"energy": {
"unit": "kWh",
"cpu": 8.250338857542482e-08,
"ram": 4.508518047875803e-08,
"gpu": 1.7539172981944274e-07,
"total": 3.029802988736256e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3300544.635138486
}
}
}
}