IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
364ad9a verified
raw
history blame
13 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"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": {},
"hub_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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 949.22752,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 194,
"total": 0.9954816336631774,
"mean": 0.00513134862712978,
"stdev": 0.00015633832072656738,
"p50": 0.005063168048858643,
"p90": 0.0052330496311187745,
"p95": 0.005537331318855285,
"p99": 0.005659617137908934,
"values": [
0.005822463989257813,
0.005525504112243652,
0.005636096000671387,
0.005606400012969971,
0.005606400012969971,
0.005647359848022461,
0.0056217598915100095,
0.005627903938293457,
0.005566463947296142,
0.005559296131134033,
0.006020095825195313,
0.005323775768280029,
0.005097472190856934,
0.005105663776397705,
0.005033984184265137,
0.005063680171966553,
0.005081088066101074,
0.005044223785400391,
0.0050360321998596195,
0.005025792121887207,
0.005049344062805176,
0.005032959938049316,
0.005107711791992187,
0.0050432000160217285,
0.005066751956939697,
0.004985856056213379,
0.005002143859863281,
0.005070847988128662,
0.00501964807510376,
0.005047296047210693,
0.005079040050506592,
0.0050657281875610355,
0.005049344062805176,
0.005032959938049316,
0.005048319816589355,
0.00506982421875,
0.005049344062805176,
0.004991040229797363,
0.0050135040283203125,
0.005049344062805176,
0.005041152000427246,
0.005035071849822998,
0.005063680171966553,
0.0050165758132934574,
0.0050421757698059086,
0.005061632156372071,
0.005093376159667969,
0.005088255882263183,
0.0050330238342285154,
0.00497049617767334,
0.0050728960037231445,
0.005048319816589355,
0.005055488109588623,
0.005048319816589355,
0.005038080215454102,
0.005048319816589355,
0.005045248031616211,
0.0050728960037231445,
0.005014656066894531,
0.004956223964691162,
0.005031936168670655,
0.00506060791015625,
0.0050360321998596195,
0.005035007953643799,
0.005057536125183106,
0.005078015804290771,
0.005045248031616211,
0.00506063985824585,
0.005022719860076904,
0.005047296047210693,
0.0050063362121582035,
0.005005311965942383,
0.005025792121887207,
0.005045248031616211,
0.005040128231048584,
0.005062655925750732,
0.0050421757698059086,
0.005028863906860351,
0.005028863906860351,
0.005040128231048584,
0.005059584140777588,
0.005035007953643799,
0.005040128231048584,
0.005017600059509277,
0.005059584140777588,
0.005032959938049316,
0.005189663887023925,
0.005055520057678222,
0.0050421757698059086,
0.005032959938049316,
0.005057536125183106,
0.005055488109588623,
0.005025856018066406,
0.005053440093994141,
0.005021696090698242,
0.004977663993835449,
0.005056447982788086,
0.0050503678321838375,
0.005074944019317627,
0.00506982421875,
0.00506060791015625,
0.00506060791015625,
0.005063680171966553,
0.005025792121887207,
0.0050421757698059086,
0.005063680171966553,
0.005090303897857666,
0.005038080215454102,
0.005064703941345215,
0.005039103984832764,
0.005073919773101807,
0.005053440093994141,
0.005048319816589355,
0.005061632156372071,
0.0050503678321838375,
0.005045248031616211,
0.005037024021148682,
0.005050303936004638,
0.004985856056213379,
0.004989952087402344,
0.005039103984832764,
0.005056511878967285,
0.005033984184265137,
0.005055488109588623,
0.005041152000427246,
0.00506982421875,
0.005165056228637695,
0.005291007995605469,
0.005282815933227539,
0.005228544235229492,
0.005163072109222412,
0.005370880126953125,
0.005325823783874512,
0.005197824001312256,
0.005259263992309571,
0.0052070398330688475,
0.0052111358642578124,
0.005229472160339355,
0.005212160110473632,
0.005212160110473632,
0.005193727970123291,
0.005190656185150146,
0.005117856025695801,
0.005221375942230225,
0.005243904113769531,
0.005204991817474365,
0.005216256141662597,
0.005251071929931641,
0.005208064079284668,
0.005214208126068115,
0.005224448204040527,
0.005189631938934326,
0.005219327926635742,
0.005164031982421875,
0.005149695873260498,
0.005190656185150146,
0.00522547197341919,
0.005230591773986816,
0.005193727970123291,
0.005201920032501221,
0.005201920032501221,
0.005192704200744629,
0.0052070398330688475,
0.005214208126068115,
0.0051660799980163576,
0.0051363840103149415,
0.0051957440376281736,
0.005231616020202637,
0.005193727970123291,
0.0052111358642578124,
0.005228544235229492,
0.005184512138366699,
0.0051998720169067385,
0.005220352172851562,
0.005202943801879883,
0.0051578240394592285,
0.005160831928253174,
0.005183487892150879,
0.0052008957862854,
0.00522649621963501,
0.005210112094879151,
0.005221375942230225,
0.0052336640357971195,
0.005179391860961914,
0.005041215896606445,
0.0050462718009948735,
0.005032991886138916,
0.005017600059509277,
0.0050462718009948735,
0.005055488109588623,
0.005071872234344482,
0.0050503678321838375,
0.005051392078399658,
0.005078015804290771
]
},
"throughput": {
"unit": "samples/s",
"value": 194.88054167922516
},
"energy": {
"unit": "kWh",
"cpu": 6.189936754742155e-08,
"ram": 3.384163789519334e-08,
"gpu": 1.302706481979171e-07,
"total": 2.26011653640532e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4424550.610078206
}
}
}
}