IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b10c02f verified
raw
history blame
11.7 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.225-213.878.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.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 869.240832,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3641702270507812
],
"count": 1,
"total": 0.3641702270507812,
"mean": 0.3641702270507812,
"p50": 0.3641702270507812,
"p90": 0.3641702270507812,
"p95": 0.3641702270507812,
"p99": 0.3641702270507812,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1109.766144,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 122.937344
},
"latency": {
"unit": "s",
"values": [
0.007858176231384278,
0.007541759967803955,
0.007484416007995606,
0.00744755220413208,
0.007318528175354004,
0.0073134078979492185,
0.007391232013702393,
0.007378943920135498,
0.007425024032592774,
0.0074291200637817386,
0.007428095817565918,
0.0074035201072692874,
0.007444479942321777,
0.007475200176239013,
0.0075038719177246095,
0.007549952030181885,
0.007542784214019775,
0.007497727870941162,
0.007494656085968018,
0.00745472002029419,
0.007611392021179199,
0.007476223945617676,
0.007459839820861816,
0.007407584190368652,
0.007442431926727295,
0.007448575973510742,
0.0074301438331604,
0.007383039951324463,
0.00733900785446167,
0.007432191848754883,
0.007394303798675537,
0.007542784214019775,
0.007390207767486572,
0.007371776103973389,
0.00745472002029419,
0.007414783954620361,
0.007370751857757568,
0.007415808200836181,
0.007464896202087403,
0.007449600219726562,
0.007521279811859131,
0.007541759967803955,
0.007562240123748779,
0.007508992195129394,
0.007524352073669433,
0.007592959880828858,
0.007468031883239746,
0.007501823902130127,
0.007519231796264648,
0.007415808200836181,
0.007355391979217529,
0.00749567985534668,
0.0073134078979492185,
0.007314432144165039,
0.007290880203247071,
0.007225344181060791,
0.007379968166351319,
0.00733081579208374,
0.007710720062255859,
0.007928832054138184,
0.008032256126403809,
0.00743936014175415,
0.007279615879058838,
0.007203839778900147,
0.00724889612197876,
0.007371776103973389,
0.007724031925201416,
0.008285120010375976,
0.008181792259216308,
0.008051712036132813,
0.007064576148986816,
0.007050240039825439,
0.007079936027526855,
0.007070720195770264,
0.007061503887176514,
0.007002143859863281,
0.007053311824798584,
0.007073791980743408,
0.007048192024230957,
0.007005184173583984,
0.006990880012512207,
0.006999040126800537,
0.007016448020935059,
0.007037951946258545,
0.006967296123504638,
0.007019519805908203,
0.007038976192474365,
0.0069928960800170895,
0.006969344139099121,
0.007003136157989502,
0.007001088142395019,
0.007029759883880615,
0.006971392154693603,
0.0069632000923156735,
0.0069959678649902345,
0.007036928176879883,
0.006945792198181152,
0.006974463939666748,
0.006985727787017822,
0.007003136157989502,
0.006965248107910156,
0.007321599960327148,
0.0070225920677185055,
0.007016448020935059,
0.006980607986450196,
0.006989823818206787,
0.006996992111206054,
0.006993919849395752,
0.007011328220367432,
0.006937600135803222,
0.007054336071014404,
0.006978559970855713,
0.006975488185882568,
0.007073791980743408,
0.006976511955261231,
0.007000063896179199,
0.006950975894927979,
0.0069621758460998535,
0.006993919849395752,
0.006985727787017822,
0.007005184173583984,
0.00694374418258667,
0.006966271877288818,
0.006965248107910156,
0.007180287837982178,
0.006964223861694336,
0.006980607986450196,
0.0069918718338012695,
0.006996992111206054,
0.006970367908477783,
0.007024672031402588,
0.006996992111206054,
0.0070225920677185055,
0.006982656002044678,
0.006979584217071533,
0.00698367977142334,
0.007000063896179199,
0.006949888229370117
],
"count": 138,
"total": 1.0009487700462343,
"mean": 0.007253251956856769,
"p50": 0.0072371201515197756,
"p90": 0.007542067241668701,
"p95": 0.007712716841697693,
"p99": 0.008133662576675414,
"stdev": 0.00028400285264113033,
"stdev_": 3.9155244341491797
},
"throughput": {
"unit": "samples/s",
"value": 137.8691938385875
},
"energy": {
"unit": "kWh",
"cpu": 8.111973884132446e-08,
"ram": 4.43243060332634e-08,
"gpu": 1.7219762634246692e-07,
"total": 2.9764167121705477e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3359744.608041632
}
}
}
}