IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
932e93d verified
raw
history blame
11.1 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": "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.3",
"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.711616,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 147,
"total": 1.001563037872314,
"mean": 0.006813353999131392,
"stdev": 0.00034952252851460866,
"p50": 0.0067686400413513184,
"p90": 0.006897068691253662,
"p95": 0.007010406351089477,
"p99": 0.008439193391799911,
"values": [
0.009764863967895507,
0.009291775703430176,
0.0073051838874816895,
0.007023615837097168,
0.006979584217071533,
0.0068915200233459475,
0.00743833589553833,
0.006714367866516113,
0.006551551818847656,
0.006394879817962646,
0.006362112045288086,
0.0063498239517211915,
0.006416384220123291,
0.006433792114257812,
0.006391808032989502,
0.0064143362045288085,
0.006395904064178467,
0.006691840171813965,
0.006799359798431396,
0.006762495994567871,
0.00672870397567749,
0.006804480075836182,
0.006765567779541016,
0.006719488143920899,
0.006758399963378906,
0.006750207901000976,
0.007169023990631103,
0.006896671772003174,
0.006773759841918945,
0.006821887969970703,
0.006726655960083008,
0.006837247848510742,
0.006809599876403808,
0.006739967823028564,
0.006756351947784424,
0.006887423992156983,
0.006941696166992187,
0.0067420477867126466,
0.006783999919891357,
0.006888383865356445,
0.006856704235076904,
0.006778880119323731,
0.006808544158935547,
0.006862847805023193,
0.006778880119323731,
0.006782976150512696,
0.006780928134918213,
0.006739967823028564,
0.006780928134918213,
0.006756351947784424,
0.006726655960083008,
0.006756351947784424,
0.006760447978973389,
0.006770688056945801,
0.006750207901000976,
0.006759424209594727,
0.006781951904296875,
0.006760447978973389,
0.0068249602317810056,
0.006776832103729248,
0.00674508810043335,
0.006766592025756836,
0.006863872051239014,
0.006967296123504638,
0.00673689603805542,
0.00678604793548584,
0.006796288013458252,
0.006721536159515381,
0.006775743961334228,
0.0067942080497741695,
0.0067707200050354,
0.006755328178405762,
0.006808576107025147,
0.006781951904296875,
0.006713344097137451,
0.006894591808319092,
0.006767615795135498,
0.0067255678176879885,
0.00676966381072998,
0.006739967823028564,
0.006765567779541016,
0.006718463897705078,
0.006778880119323731,
0.006760447978973389,
0.006722559928894043,
0.0071495680809020995,
0.006811647891998291,
0.006739967823028564,
0.006754303932189941,
0.00683622407913208,
0.006788095951080322,
0.006721536159515381,
0.0067717118263244626,
0.006770688056945801,
0.006726655960083008,
0.006759424209594727,
0.006795263767242431,
0.006749184131622315,
0.006799359798431396,
0.006897664070129395,
0.006818816184997558,
0.006876160144805908,
0.007166975975036621,
0.006957056045532227,
0.006815743923187256,
0.006738944053649902,
0.006797311782836914,
0.006781951904296875,
0.0067686400413513184,
0.006790143966674805,
0.006746111869812011,
0.006686719894409179,
0.006770688056945801,
0.006789087772369385,
0.0067645440101623535,
0.006704192161560058,
0.0067717118263244626,
0.0068915200233459475,
0.006724607944488525,
0.006748159885406494,
0.006751232147216797,
0.006744063854217529,
0.006903808116912841,
0.006755360126495361,
0.006739967823028564,
0.006707200050354004,
0.00675328016281128,
0.006780928134918213,
0.006809599876403808,
0.006772736072540283,
0.0067717118263244626,
0.006758399963378906,
0.006814720153808594,
0.006780928134918213,
0.006765567779541016,
0.006718431949615479,
0.006760447978973389,
0.00673689603805542,
0.006689824104309082,
0.006730751991271973,
0.0067717118263244626,
0.006718463897705078,
0.006730783939361573,
0.0067358717918396,
0.006975488185882568,
0.006754271984100342,
0.006753312110900879
]
},
"throughput": {
"unit": "samples/s",
"value": 146.77059200615236
},
"energy": {
"unit": "kWh",
"cpu": 7.811686383527623e-08,
"ram": 4.262225019175129e-08,
"gpu": 1.661203814342106e-07,
"total": 2.868594954612381e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3486027.18690595
}
}
}
}