IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
039344f verified
raw
history blame
11.9 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.5.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.398208,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.269671875,
"mean": 8.269671875,
"stdev": 0.0,
"p50": 8.269671875,
"p90": 8.269671875,
"p95": 8.269671875,
"p99": 8.269671875,
"values": [
8.269671875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.798795306218886e-06,
"ram": 3.158471507906755e-06,
"gpu": 7.711395058007664e-06,
"total": 1.6668661872133303e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1106.35008,
"max_global_vram": 790.102016,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 142,
"total": 1.0019709439277642,
"mean": 0.007056133407942006,
"stdev": 0.0002538237519503064,
"p50": 0.0070589439868927,
"p90": 0.007288012981414795,
"p95": 0.007432956886291504,
"p99": 0.008083507404327393,
"values": [
0.007264256000518799,
0.007234560012817383,
0.00729804801940918,
0.007288832187652588,
0.007172095775604248,
0.007162879943847656,
0.00713318395614624,
0.0070860800743103025,
0.007105535984039306,
0.007086143970489502,
0.007905280113220215,
0.00760422420501709,
0.0074332160949707035,
0.007414783954620361,
0.00725708818435669,
0.007294976234436036,
0.007623680114746094,
0.007401472091674805,
0.0074280319213867185,
0.007617536067962646,
0.007475200176239013,
0.007417856216430664,
0.007096320152282715,
0.007044095993041993,
0.007064576148986816,
0.0071495680809020995,
0.007103424072265625,
0.007146495819091797,
0.007137279987335205,
0.007143424034118652,
0.007150591850280762,
0.007065599918365479,
0.007131135940551757,
0.00709222412109375,
0.007113728046417236,
0.007064576148986816,
0.006953983783721924,
0.0069928960800170895,
0.007011392116546631,
0.007057407855987549,
0.00704099178314209,
0.0072427520751953125,
0.007077888011932373,
0.007044095993041993,
0.007095295906066895,
0.0071188478469848635,
0.0071608638763427735,
0.007150591850280762,
0.007138304233551026,
0.007062528133392334,
0.007072768211364746,
0.0070266880989074704,
0.007101439952850342,
0.007155712127685547,
0.00709939193725586,
0.007014400005340577,
0.007073919773101806,
0.007109632015228271,
0.006978559970855713,
0.006980607986450196,
0.0070266880989074704,
0.007016448020935059,
0.007016448020935059,
0.007097343921661377,
0.007012351989746094,
0.007009280204772949,
0.0070348801612854,
0.007029759883880615,
0.007029759883880615,
0.007027711868286133,
0.007037951946258545,
0.007060480117797851,
0.007169023990631103,
0.007202816009521484,
0.007154687881469727,
0.007154687881469727,
0.007081984043121338,
0.007096320152282715,
0.00709939193725586,
0.007120895862579346,
0.006973440170288086,
0.00704204797744751,
0.007132160186767578,
0.007008255958557129,
0.007019519805908203,
0.006837247848510742,
0.007098368167877197,
0.007250944137573242,
0.007280640125274658,
0.008216575622558593,
0.00820736026763916,
0.007231488227844239,
0.00698367977142334,
0.0071157760620117185,
0.007063551902770996,
0.007127039909362793,
0.007256063938140869,
0.007196671962738037,
0.006988800048828125,
0.006895616054534912,
0.006847487926483154,
0.006781951904296875,
0.006866943836212158,
0.006846464157104492,
0.006858751773834228,
0.0068853759765625,
0.006879231929779053,
0.006813695907592773,
0.0067870721817016606,
0.006872064113616944,
0.0068577280044555666,
0.006823967933654785,
0.006846464157104492,
0.006852608203887939,
0.006845439910888672,
0.006814720153808594,
0.006866943836212158,
0.006849535942077637,
0.006822912216186523,
0.006843391895294189,
0.006881279945373535,
0.006837247848510742,
0.006810624122619629,
0.006849535942077637,
0.006850560188293457,
0.006866943836212158,
0.006672383785247803,
0.006666240215301514,
0.006652927875518798,
0.006621183872222901,
0.0066713600158691405,
0.006677504062652588,
0.006652927875518798,
0.0066826558113098145,
0.006601727962493896,
0.006626304149627686,
0.006676479816436768,
0.007021567821502686,
0.006851583957672119,
0.006881279945373535,
0.006860799789428711,
0.006821951866149902
]
},
"throughput": {
"unit": "samples/s",
"value": 141.72067649322696
},
"energy": {
"unit": "kWh",
"cpu": 8.11560409248433e-08,
"ram": 4.43471991886119e-08,
"gpu": 1.6229655297262065e-07,
"total": 2.877997930860758e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3474637.6613999777
}
}
}
}