IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
61460ba verified
raw
history blame
11.6 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.223-212.873.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 866.164736,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.13115625,
"mean": 8.13115625,
"stdev": 0.0,
"p50": 8.13115625,
"p90": 8.13115625,
"p95": 8.13115625,
"p99": 8.13115625,
"values": [
8.13115625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.264463659028195e-06,
"ram": 2.321882265832606e-06,
"gpu": 4.6055592399999856e-06,
"total": 1.1191905164860788e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1105.362944,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9961942086219787,
"mean": 0.007379216360162805,
"stdev": 0.0002261516115296982,
"p50": 0.007453695774078369,
"p90": 0.007634739303588867,
"p95": 0.0076995487213134765,
"p99": 0.00777979923248291,
"values": [
0.007758848190307617,
0.007790592193603516,
0.00774348783493042,
0.0076943359375,
0.007711711883544922,
0.007641088008880615,
0.007600128173828125,
0.007544832229614258,
0.007514111995697022,
0.007590911865234375,
0.007583744049072265,
0.0076308479309082035,
0.007632895946502686,
0.007453695774078369,
0.007466015815734864,
0.007589888095855713,
0.007483391761779785,
0.007532544136047363,
0.007579648017883301,
0.007557119846343994,
0.007631872177124023,
0.007466015815734864,
0.007478271961212158,
0.007549952030181885,
0.00765337610244751,
0.007575551986694336,
0.007575551986694336,
0.007586751937866211,
0.0075345921516418455,
0.007576576232910156,
0.007541759967803955,
0.007522304058074952,
0.007521344184875488,
0.00800870418548584,
0.007572480201721191,
0.007482367992401123,
0.007576576232910156,
0.007756800174713135,
0.007528448104858398,
0.00744652795791626,
0.007536640167236328,
0.007486464023590088,
0.007553023815155029,
0.007204864025115967,
0.007233535766601563,
0.007168000221252442,
0.007180287837982178,
0.007234560012817383,
0.007113728046417236,
0.007116703987121582,
0.007192575931549072,
0.007176191806793213,
0.007206912040710449,
0.007138368129730225,
0.007504896163940429,
0.007556096076965332,
0.007438303947448731,
0.007491583824157715,
0.007486432075500488,
0.007512063980102539,
0.007628799915313721,
0.007432191848754883,
0.007453695774078369,
0.007504896163940429,
0.0075304961204528805,
0.007561215877532959,
0.007444479942321777,
0.007481311798095703,
0.007547904014587403,
0.007647232055664062,
0.007718912124633789,
0.007617536067962646,
0.0076401281356811524,
0.00758681583404541,
0.007516160011291504,
0.007591936111450195,
0.007552000045776367,
0.007418879985809326,
0.007643136024475097,
0.007425024032592774,
0.007414783954620361,
0.00733081579208374,
0.007312384128570557,
0.00750275182723999,
0.007312384128570557,
0.007108607769012451,
0.007113728046417236,
0.0073431038856506346,
0.007635968208312988,
0.007352320194244385,
0.007371776103973389,
0.007532544136047363,
0.007531583786010742,
0.007521312236785888,
0.007255040168762207,
0.007206912040710449,
0.007168000221252442,
0.007122943878173828,
0.007130112171173096,
0.0072540159225463864,
0.00718943977355957,
0.007081984043121338,
0.007090176105499267,
0.007074816226959229,
0.007094272136688232,
0.007134208202362061,
0.007093247890472412,
0.0070830078125,
0.007147520065307617,
0.007105535984039306,
0.007087103843688965,
0.007057407855987549,
0.007081984043121338,
0.0071188478469848635,
0.007113728046417236,
0.0070830078125,
0.007077888011932373,
0.007080959796905518,
0.007102464199066162,
0.007112703800201416,
0.007109632015228271,
0.007073791980743408,
0.007080959796905518,
0.007174143791198731,
0.00708403205871582,
0.007156735897064209,
0.007105535984039306,
0.007094272136688232,
0.007093247890472412,
0.007072768211364746,
0.007120895862579346,
0.0070830078125,
0.007113728046417236,
0.007094272136688232,
0.007046144008636474
]
},
"throughput": {
"unit": "samples/s",
"value": 135.51574465258494
},
"energy": {
"unit": "kWh",
"cpu": 7.911015355555591e-08,
"ram": 4.324635170595651e-08,
"gpu": 1.6072420265333318e-07,
"total": 2.830807079148456e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3532561.46406421
}
}
}
}