IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
38bb520 verified
raw
history blame
12.1 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.045248,
"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.42536376953125,
"mean": 7.42536376953125,
"stdev": 0.0,
"p50": 7.42536376953125,
"p90": 7.42536376953125,
"p95": 7.42536376953125,
"p99": 7.42536376953125,
"values": [
7.42536376953125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.435257116953532e-06,
"ram": 2.414298655439211e-06,
"gpu": 6.686116460000169e-06,
"total": 1.3535672232392911e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.724544,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 145,
"total": 1.0011827521324153,
"mean": 0.006904708635395972,
"stdev": 0.00023171707678370704,
"p50": 0.006960127830505371,
"p90": 0.007151820659637451,
"p95": 0.0072436223983764645,
"p99": 0.007486295127868653,
"values": [
0.007325695991516113,
0.007325695991516113,
0.00729702377319336,
0.007612480163574219,
0.007772160053253174,
0.0071905598640441895,
0.0071157760620117185,
0.007177152156829834,
0.0071485438346862796,
0.007135231971740722,
0.007150591850280762,
0.007036928176879883,
0.007060480117797851,
0.0070563840866088865,
0.007068672180175781,
0.0070225920677185055,
0.007074816226959229,
0.007214079856872559,
0.007134208202362061,
0.007036928176879883,
0.006949888229370117,
0.007054336071014404,
0.007131135940551757,
0.0071198720932006835,
0.007146495819091797,
0.007051263809204102,
0.007101439952850342,
0.0070266880989074704,
0.0070236802101135256,
0.0070256638526916505,
0.007068672180175781,
0.007019552230834961,
0.006914048194885254,
0.006909952163696289,
0.007000063896179199,
0.006986752033233643,
0.006978559970855713,
0.007001088142395019,
0.007209983825683594,
0.0071055998802185055,
0.007137279987335205,
0.007130112171173096,
0.007076863765716553,
0.007060480117797851,
0.0069918718338012695,
0.007041024208068848,
0.007020544052124023,
0.007069759845733643,
0.007066624164581299,
0.007251967906951904,
0.007020544052124023,
0.00693452787399292,
0.006985727787017822,
0.007000063896179199,
0.007105535984039306,
0.007006207942962647,
0.006967296123504638,
0.007021567821502686,
0.007027711868286133,
0.006951935768127441,
0.007017471790313721,
0.007037951946258545,
0.007079936027526855,
0.007179359912872315,
0.007090176105499267,
0.0071064958572387696,
0.007168000221252442,
0.007251008033752442,
0.007058495998382568,
0.007077888011932373,
0.007032832145690918,
0.00727347183227539,
0.007018496036529541,
0.006948863983154297,
0.006820864200592041,
0.006860799789428711,
0.006960127830505371,
0.006922239780426025,
0.007023615837097168,
0.006696959972381592,
0.0066744318008422855,
0.006707200050354004,
0.006814720153808594,
0.006961152076721191,
0.006953983783721924,
0.007107583999633789,
0.0071526398658752445,
0.006874112129211426,
0.006681600093841553,
0.006722559928894043,
0.0067420477867126466,
0.0066416640281677245,
0.006714367866516113,
0.006690815925598144,
0.006635519981384277,
0.006801407814025879,
0.006760447978973389,
0.006640575885772705,
0.006649856090545654,
0.006659071922302246,
0.0066344962120056155,
0.0067123198509216305,
0.006716415882110595,
0.006687744140625,
0.006663167953491211,
0.006663199901580811,
0.006645760059356689,
0.006642687797546387,
0.0066641921997070315,
0.006636544227600098,
0.0066406397819519045,
0.006677504062652588,
0.006636544227600098,
0.006637631893157959,
0.006651968002319336,
0.006635519981384277,
0.0066304001808166506,
0.006647808074951172,
0.006645760059356689,
0.0066447358131408694,
0.0066344962120056155,
0.0067276802062988285,
0.006619135856628418,
0.006623231887817383,
0.0066406397819519045,
0.006636544227600098,
0.006636544227600098,
0.00662937593460083,
0.006628352165222168,
0.006639616012573242,
0.006636544227600098,
0.006625279903411865,
0.006667200088500976,
0.006676479816436768,
0.006632480144500732,
0.0066529598236083985,
0.006663167953491211,
0.006654975891113281,
0.006648831844329834,
0.006658048152923584,
0.00662937593460083,
0.006725632190704346,
0.006645760059356689,
0.006639616012573242,
0.006636544227600098
]
},
"throughput": {
"unit": "samples/s",
"value": 144.82870354205062
},
"energy": {
"unit": "kWh",
"cpu": 7.80655517738465e-08,
"ram": 4.268312534662505e-08,
"gpu": 1.687409975657874e-07,
"total": 2.894896746862589e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3454354.6365989493
}
}
}
}