IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
023ff39 verified
raw
history blame
12.3 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": {},
"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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 791.187456,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.52911865234375,
"mean": 7.52911865234375,
"stdev": 0.0,
"p50": 7.52911865234375,
"p90": 7.52911865234375,
"p95": 7.52911865234375,
"p99": 7.52911865234375,
"values": [
7.52911865234375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.299301251388915e-06,
"ram": 2.340809606920582e-06,
"gpu": 6.721394265999845e-06,
"total": 1.3361505124309342e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 979.111936,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 151,
"total": 0.9994751667976384,
"mean": 0.006619040839719457,
"stdev": 0.00023499950729520335,
"p50": 0.006583327770233154,
"p90": 0.006749184131622315,
"p95": 0.007313920021057129,
"p99": 0.0074414081573486324,
"values": [
0.007393280029296875,
0.007352320194244385,
0.0074670081138610836,
0.0073768959045410155,
0.007315455913543701,
0.007304192066192627,
0.007346176147460938,
0.007312384128570557,
0.007505856037139893,
0.006481919765472412,
0.006369279861450195,
0.006366208076477051,
0.006362112045288086,
0.006391808032989502,
0.0063610877990722655,
0.006375423908233643,
0.006311935901641846,
0.006364128112792969,
0.006405119895935059,
0.0062494721412658695,
0.006323200225830078,
0.00624124813079834,
0.006335487842559814,
0.006311935901641846,
0.006310912132263183,
0.006311935901641846,
0.006331391811370849,
0.006612991809844971,
0.006646719932556153,
0.0066119680404663084,
0.006627327919006347,
0.006565887928009034,
0.006567935943603515,
0.006635519981384277,
0.00659660816192627,
0.00659660816192627,
0.006590464115142822,
0.006550591945648193,
0.006524928092956543,
0.007415808200836181,
0.006653952121734619,
0.006551551818847656,
0.006599679946899414,
0.006519807815551758,
0.006483903884887695,
0.006535168170928955,
0.006535168170928955,
0.006542335987091064,
0.0065382399559021,
0.0065146880149841305,
0.006501376152038574,
0.006368256092071533,
0.006310912132263183,
0.006468607902526856,
0.006404096126556396,
0.006428671836853027,
0.006334464073181153,
0.006322175979614258,
0.00637440013885498,
0.0064849920272827145,
0.0066447358131408694,
0.006669312000274658,
0.006568960189819336,
0.006617087841033936,
0.006635519981384277,
0.006589439868927002,
0.006628352165222168,
0.0066744318008422855,
0.0066641921997070315,
0.006658048152923584,
0.006659071922302246,
0.006615039825439453,
0.006672383785247803,
0.006665215969085693,
0.00659660816192627,
0.006687744140625,
0.0067358717918396,
0.006622208118438721,
0.006703104019165039,
0.006754303932189941,
0.006711296081542969,
0.006749184131622315,
0.00672870397567749,
0.006723584175109864,
0.006584352016448975,
0.006627327919006347,
0.006606912136077881,
0.006560768127441406,
0.006675519943237305,
0.006632448196411133,
0.006564799785614014,
0.006597631931304931,
0.006583327770233154,
0.006586368083953857,
0.006632448196411133,
0.006574079990386963,
0.006650879859924317,
0.006905856132507324,
0.006821887969970703,
0.006661119937896728,
0.0067358717918396,
0.006694911956787109,
0.0066447358131408694,
0.006729728221893311,
0.006650879859924317,
0.0065627841949462895,
0.0067041277885437015,
0.006616032123565674,
0.006560832023620605,
0.006731776237487793,
0.006765567779541016,
0.006652927875518798,
0.0065812478065490725,
0.0065781760215759275,
0.00653926420211792,
0.006563839912414551,
0.006582272052764892,
0.006553599834442139,
0.006605823993682861,
0.006534143924713135,
0.006568960189819336,
0.0067461438179016115,
0.006756351947784424,
0.00669593620300293,
0.006615039825439453,
0.0066007041931152345,
0.0065484800338745115,
0.006567935943603515,
0.006556672096252441,
0.006575104236602783,
0.0065812478065490725,
0.006554624080657959,
0.006616064071655273,
0.006563839912414551,
0.006545407772064209,
0.00657203197479248,
0.006563839912414551,
0.006545407772064209,
0.00658022403717041,
0.006591487884521485,
0.006518784046173095,
0.006586368083953857,
0.0065474557876586915,
0.0065136637687683106,
0.006559743881225586,
0.006559743881225586,
0.0065484800338745115,
0.006595583915710449,
0.006540287971496582,
0.006559743881225586,
0.0065771517753601075
]
},
"throughput": {
"unit": "samples/s",
"value": 151.07929142833092
},
"energy": {
"unit": "kWh",
"cpu": 7.777302322530664e-08,
"ram": 4.2523539600353063e-08,
"gpu": 1.6759817329411867e-07,
"total": 2.878947361197784e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3473491.7820239365
}
}
}
}