IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a7abae1 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.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": 860.32384,
"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.90888134765625,
"mean": 7.90888134765625,
"stdev": 0.0,
"p50": 7.90888134765625,
"p90": 7.90888134765625,
"p95": 7.90888134765625,
"p99": 7.90888134765625,
"values": [
7.90888134765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.720398649305539e-06,
"ram": 3.1195314442020196e-06,
"gpu": 7.655283901999966e-06,
"total": 1.6495213995507523e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1099.677696,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 137,
"total": 1.001059904575348,
"mean": 0.007307006602739767,
"stdev": 0.0003225162851804191,
"p50": 0.007312416076660156,
"p90": 0.007523942470550537,
"p95": 0.007637811183929443,
"p99": 0.008403763465881346,
"values": [
0.009794560432434082,
0.008357888221740722,
0.0073257598876953125,
0.007304192066192627,
0.007245823860168457,
0.007269375801086426,
0.007204864025115967,
0.007121920108795166,
0.007126016139984131,
0.007124991893768311,
0.007182271957397461,
0.0071157760620117185,
0.007014400005340577,
0.007014400005340577,
0.007123968124389648,
0.007093247890472412,
0.00722431993484497,
0.007197696208953858,
0.007180287837982178,
0.007465983867645264,
0.007388160228729248,
0.007357439994812012,
0.007488512039184571,
0.007522304058074952,
0.007506944179534912,
0.007431168079376221,
0.007450623989105225,
0.0073441600799560545,
0.0074291200637817386,
0.007451615810394287,
0.007449600219726562,
0.007464960098266602,
0.007332831859588623,
0.007293951988220215,
0.007331840038299561,
0.007384064197540283,
0.007494656085968018,
0.007436287879943848,
0.00774345588684082,
0.007449600219726562,
0.0074926080703735356,
0.007480319976806641,
0.007526400089263916,
0.007634943962097168,
0.007453695774078369,
0.007393280029296875,
0.007413760185241699,
0.007448575973510742,
0.007484416007995606,
0.007443456172943115,
0.007483391761779785,
0.007442431926727295,
0.007341055870056152,
0.007414783954620361,
0.008429568290710449,
0.007748608112335205,
0.007555071830749512,
0.007407551765441895,
0.007443456172943115,
0.00743833589553833,
0.0074670081138610836,
0.007468031883239746,
0.007494656085968018,
0.007649280071258545,
0.007650303840637207,
0.007629824161529541,
0.007479296207427978,
0.00754585599899292,
0.007490560054779053,
0.007448575973510742,
0.00753766393661499,
0.007475200176239013,
0.00740556812286377,
0.0074301438331604,
0.007371647834777832,
0.00738099193572998,
0.007299071788787842,
0.0072540159225463864,
0.007394303798675537,
0.00727347183227539,
0.007054336071014404,
0.007029791831970215,
0.0070522880554199216,
0.007395328044891358,
0.0073359360694885255,
0.007387135982513428,
0.007337984085083008,
0.007437312126159668,
0.0074967041015625,
0.007602176189422607,
0.007371776103973389,
0.00709939193725586,
0.00703385591506958,
0.007060480117797851,
0.007067647933959961,
0.007079936027526855,
0.007062528133392334,
0.007046144008636474,
0.007044095993041993,
0.007071743965148926,
0.007044095993041993,
0.0070225920677185055,
0.007070720195770264,
0.007312416076660156,
0.007068607807159424,
0.007039999961853028,
0.006971392154693603,
0.007017471790313721,
0.007035903930664063,
0.007065599918365479,
0.007014400005340577,
0.007027711868286133,
0.00704204797744751,
0.007074816226959229,
0.0070225920677185055,
0.007032832145690918,
0.0071157760620117185,
0.007053311824798584,
0.007064544200897217,
0.007063488006591797,
0.00709939193725586,
0.007065599918365479,
0.007010303974151612,
0.006974463939666748,
0.007051263809204102,
0.007061503887176514,
0.007085055828094483,
0.007061471939086914,
0.007030784130096435,
0.007085055828094483,
0.007057407855987549,
0.007028736114501953,
0.007045119762420654,
0.007106560230255127,
0.007047167778015137,
0.007039999961853028,
0.007122879981994629
]
},
"throughput": {
"unit": "samples/s",
"value": 136.854946815711
},
"energy": {
"unit": "kWh",
"cpu": 8.15166312690265e-08,
"ram": 4.457203993243652e-08,
"gpu": 1.666706051780813e-07,
"total": 2.9275927637954435e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3415775.624146446
}
}
}
}