IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
def5118 verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 832.827392,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.75252490234375,
"mean": 7.75252490234375,
"stdev": 0.0,
"p50": 7.75252490234375,
"p90": 7.75252490234375,
"p95": 7.75252490234375,
"p99": 7.75252490234375,
"values": [
7.75252490234375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.307184139582769e-06,
"ram": 2.345027761729645e-06,
"gpu": 4.612781468000095e-06,
"total": 1.126499336931251e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1022.767104,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.998927071094513,
"mean": 0.007399459785885281,
"stdev": 0.0002052855825628738,
"p50": 0.007473152160644531,
"p90": 0.007614054203033447,
"p95": 0.007687475156784058,
"p99": 0.007909539918899535,
"values": [
0.007708672046661377,
0.007684095859527588,
0.007697408199310303,
0.007702527999877929,
0.007629824161529541,
0.007540736198425293,
0.0075335679054260255,
0.007542784214019775,
0.007571455955505371,
0.007601151943206787,
0.00754585599899292,
0.007546879768371582,
0.007631872177124023,
0.007562240123748779,
0.00748748779296875,
0.007625664234161377,
0.007592959880828858,
0.007610367774963379,
0.007570432186126709,
0.00745472002029419,
0.00743936014175415,
0.007627744197845459,
0.007554048061370849,
0.007560192108154297,
0.007525375843048096,
0.007521279811859131,
0.007483391761779785,
0.007516160011291504,
0.007484416007995606,
0.0075038719177246095,
0.007549952030181885,
0.00742195177078247,
0.007407616138458252,
0.007435264110565186,
0.007522304058074952,
0.007473152160644531,
0.008007648468017579,
0.007988224029541016,
0.007508992195129394,
0.007636991977691651,
0.00758681583404541,
0.007590911865234375,
0.007561215877532959,
0.0074967041015625,
0.007480319976806641,
0.007519231796264648,
0.007514111995697022,
0.007450687885284424,
0.007525375843048096,
0.00769536018371582,
0.0074301438331604,
0.007445504188537597,
0.007494656085968018,
0.007481344223022461,
0.007575551986694336,
0.007493631839752197,
0.007409664154052734,
0.007505919933319092,
0.007468031883239746,
0.00749567985534668,
0.00749567985534668,
0.007488480091094971,
0.007756800174713135,
0.007607295989990235,
0.007591936111450195,
0.007584767818450928,
0.007493631839752197,
0.007507967948913574,
0.00752019214630127,
0.007493567943572998,
0.007472127914428711,
0.00753766393661499,
0.007373824119567871,
0.00738099193572998,
0.007234560012817383,
0.0072540159225463864,
0.007616511821746826,
0.007360511779785156,
0.0071495680809020995,
0.007392255783081054,
0.00759500789642334,
0.007540736198425293,
0.0075008001327514645,
0.0074628801345825195,
0.007422976016998291,
0.007491615772247315,
0.007553023815155029,
0.007528448104858398,
0.00713318395614624,
0.007134208202362061,
0.007135231971740722,
0.007142399787902832,
0.007174143791198731,
0.007145472049713135,
0.007202816009521484,
0.007184383869171143,
0.007159808158874512,
0.007144447803497315,
0.0071485438346862796,
0.00714137601852417,
0.007166975975036621,
0.007144447803497315,
0.007151616096496582,
0.007134208202362061,
0.007138304233551026,
0.0071823358535766605,
0.007127039909362793,
0.0071188478469848635,
0.007132160186767578,
0.007233535766601563,
0.007142399787902832,
0.007131135940551757,
0.007123968124389648,
0.007105472087860107,
0.0071198720932006835,
0.007194623947143554,
0.00723967981338501,
0.007090176105499267,
0.0071198720932006835,
0.0071188478469848635,
0.007157760143280029,
0.007204864025115967,
0.007104512214660645,
0.007147520065307617,
0.007209983825683594,
0.007105535984039306,
0.007345151901245117,
0.007105567932128906,
0.007142399787902832,
0.007138304233551026,
0.007105504035949707,
0.0071792640686035155,
0.007154687881469727,
0.007158783912658692,
0.007268352031707764
]
},
"throughput": {
"unit": "samples/s",
"value": 135.14500097798134
},
"energy": {
"unit": "kWh",
"cpu": 8.129426465468122e-08,
"ram": 4.444837349736265e-08,
"gpu": 1.6575165467123396e-07,
"total": 2.9149429282327783e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3430598.898916566
}
}
}
}