IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e1beb18 verified
raw
history blame
11.8 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.1",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 867.934208,
"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.61332421875,
"mean": 8.61332421875,
"stdev": 0.0,
"p50": 8.61332421875,
"p90": 8.61332421875,
"p95": 8.61332421875,
"p99": 8.61332421875,
"values": [
8.61332421875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.325689985416325e-06,
"ram": 2.3506845986526482e-06,
"gpu": 4.877503901999907e-06,
"total": 1.155387848606888e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1108.176896,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0011137266159058,
"mean": 0.007254447294318158,
"stdev": 0.00046899560173531326,
"p50": 0.007231488227844239,
"p90": 0.007418470621109009,
"p95": 0.007472742319107056,
"p99": 0.009841376867294312,
"values": [
0.0074403839111328125,
0.007434239864349365,
0.007442431926727295,
0.007417856216430664,
0.007409632205963135,
0.007367680072784424,
0.007351295948028564,
0.007358463764190673,
0.00738099193572998,
0.0073471999168395995,
0.007459839820861816,
0.007361504077911377,
0.007367743968963623,
0.007268352031707764,
0.007235648155212403,
0.007267327785491944,
0.007472127914428711,
0.007414783954620361,
0.007513088226318359,
0.007311359882354736,
0.0074065918922424315,
0.007367680072784424,
0.007283679962158203,
0.007259136199951172,
0.007293951988220215,
0.007345151901245117,
0.007321631908416748,
0.007097343921661377,
0.007095295906066895,
0.00709222412109375,
0.00739737606048584,
0.007312384128570557,
0.007419904232025146,
0.007351295948028564,
0.007329792022705078,
0.007267295837402344,
0.007260191917419434,
0.007151616096496582,
0.007215104103088379,
0.007249887943267822,
0.0072642240524291996,
0.007269375801086426,
0.007321599960327148,
0.0072325119972229,
0.007303167819976806,
0.007411712169647216,
0.0073994240760803225,
0.007476223945617676,
0.007364607810974121,
0.007294976234436036,
0.0072468481063842774,
0.007290880203247071,
0.007359488010406494,
0.007374847888946533,
0.0073134078979492185,
0.007278592109680176,
0.007337952136993408,
0.007310336112976074,
0.007194623947143554,
0.007231488227844239,
0.0072980160713195805,
0.007215104103088379,
0.007368703842163086,
0.007244863986968994,
0.0072468481063842774,
0.007305215835571289,
0.0073400321006774905,
0.007245823860168457,
0.007032832145690918,
0.007078911781311035,
0.007109632015228271,
0.007146560192108155,
0.007146495819091797,
0.007181312084197998,
0.007158783912658692,
0.0071495680809020995,
0.007196671962738037,
0.007067647933959961,
0.007113728046417236,
0.007101439952850342,
0.007039999961853028,
0.007071743965148926,
0.007806975841522217,
0.007776256084442139,
0.007360511779785156,
0.009933823585510254,
0.010697695732116699,
0.009683967590332031,
0.007043039798736573,
0.007017471790313721,
0.007124991893768311,
0.007071743965148926,
0.007178239822387696,
0.007079967975616455,
0.007164927959442138,
0.00729702377319336,
0.00743833589553833,
0.007093247890472412,
0.0071198720932006835,
0.006967296123504638,
0.0070266880989074704,
0.007095359802246094,
0.00708403205871582,
0.006975488185882568,
0.007007232189178467,
0.006947840213775635,
0.0069918718338012695,
0.00688640022277832,
0.007021567821502686,
0.007019519805908203,
0.007029759883880615,
0.006990848064422607,
0.006936575889587402,
0.006967296123504638,
0.006970367908477783,
0.006831103801727295,
0.0068884482383728025,
0.006936575889587402,
0.006910975933074951,
0.00687820816040039,
0.00690176010131836,
0.006904831886291504,
0.007223296165466309,
0.006872096061706543,
0.006941696166992187,
0.006919104099273682,
0.006884352207183838,
0.006910016059875488,
0.006908927917480469,
0.0069324798583984375,
0.006906879901885986,
0.00690176010131836,
0.0069928960800170895,
0.006938623905181885,
0.007066624164581299,
0.007211008071899414,
0.007231488227844239,
0.006938623905181885
]
},
"throughput": {
"unit": "samples/s",
"value": 137.84647670997924
},
"energy": {
"unit": "kWh",
"cpu": 8.24188737509642e-08,
"ram": 4.503737217014664e-08,
"gpu": 1.7395461447222187e-07,
"total": 3.0141086039333277e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3317730.4848771137
}
}
}
}