IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2d1b5f2 verified
raw
history blame
11 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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": {},
"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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 969.244672,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 145,
"total": 0.9968442878723148,
"mean": 0.006874788192222859,
"stdev": 0.0002594637250787333,
"p50": 0.006868000030517578,
"p90": 0.007154073715209961,
"p95": 0.00722718734741211,
"p99": 0.007482490921020508,
"values": [
0.007562240123748779,
0.007209951877593994,
0.00738099193572998,
0.007269375801086426,
0.00724889612197876,
0.007243680000305176,
0.007227392196655274,
0.007105535984039306,
0.0072499198913574215,
0.007112671852111816,
0.0071055998802185055,
0.007114751815795899,
0.007088128089904785,
0.007226367950439453,
0.007010303974151612,
0.007030784130096435,
0.007151616096496582,
0.006904831886291504,
0.00693452787399292,
0.006889440059661865,
0.006870016098022461,
0.006837247848510742,
0.007202816009521484,
0.007132160186767578,
0.007146495819091797,
0.007120895862579346,
0.007159808158874512,
0.00714137601852417,
0.007107583999633789,
0.0068986878395080565,
0.006949888229370117,
0.0069324798583984375,
0.00694374418258667,
0.006767615795135498,
0.0067051520347595215,
0.00675328016281128,
0.006723584175109864,
0.00683622407913208,
0.006776832103729248,
0.006825984001159668,
0.006803423881530762,
0.00688640022277832,
0.006939648151397705,
0.00690176010131836,
0.006916096210479736,
0.007093247890472412,
0.007108672142028809,
0.007071743965148926,
0.007147552013397217,
0.008334336280822753,
0.007201791763305664,
0.007131135940551757,
0.007155712127685547,
0.007086048126220703,
0.006987775802612305,
0.007065599918365479,
0.007109632015228271,
0.007216127872467041,
0.00703382396697998,
0.007103487968444824,
0.006871039867401123,
0.006830080032348633,
0.006820864200592041,
0.006812672138214112,
0.006833087921142578,
0.00692633581161499,
0.006933504104614257,
0.006952960014343262,
0.0070266880989074704,
0.006952960014343262,
0.00687820816040039,
0.006862815856933594,
0.006881279945373535,
0.006988800048828125,
0.00708403205871582,
0.007101439952850342,
0.007029759883880615,
0.006946815967559815,
0.0067870721817016606,
0.006923264026641846,
0.007009280204772949,
0.006758399963378906,
0.006665152072906494,
0.0067010560035705566,
0.00677785587310791,
0.006938623905181885,
0.0069324798583984375,
0.006817791938781738,
0.007005184173583984,
0.006988768100738525,
0.0070553598403930665,
0.0067573761940002445,
0.006669312000274658,
0.006669312000274658,
0.006714367866516113,
0.006652927875518798,
0.006714367866516113,
0.006749184131622315,
0.00674403190612793,
0.006639616012573242,
0.006711296081542969,
0.006688767910003662,
0.006625279903411865,
0.006738944053649902,
0.006649856090545654,
0.006614016056060791,
0.0066713600158691405,
0.006669312000274658,
0.006652927875518798,
0.0066641921997070315,
0.0066744318008422855,
0.006635519981384277,
0.0066641921997070315,
0.006683648109436035,
0.006799359798431396,
0.006661119937896728,
0.006689792156219483,
0.006650879859924317,
0.006700032234191895,
0.006688767910003662,
0.00667852783203125,
0.006897664070129395,
0.0067870721817016606,
0.006654975891113281,
0.006668288230895996,
0.006659103870391846,
0.006649856090545654,
0.0066406397819519045,
0.006672383785247803,
0.006617087841033936,
0.006397952079772949,
0.006440959930419922,
0.006403071880340576,
0.00643174409866333,
0.006426655769348145,
0.0063805761337280276,
0.006435840129852295,
0.006396927833557129,
0.006419456005096436,
0.006425600051879882,
0.006868000030517578,
0.0066928319931030275,
0.006711296081542969,
0.006670335769653321,
0.006686719894409179
]
},
"throughput": {
"unit": "samples/s",
"value": 145.45902681500144
},
"energy": {
"unit": "kWh",
"cpu": 7.754683862497778e-08,
"ram": 4.239591293588477e-08,
"gpu": 1.612691921960794e-07,
"total": 2.8121194375694196e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3556036.726748432
}
}
}
}