IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
114be0a verified
raw
history blame
12.2 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+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": 832.180224,
"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.65578759765625,
"mean": 7.65578759765625,
"stdev": 0.0,
"p50": 7.65578759765625,
"p90": 7.65578759765625,
"p95": 7.65578759765625,
"p99": 7.65578759765625,
"values": [
7.65578759765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.345849931250515e-06,
"ram": 2.3663745211247922e-06,
"gpu": 6.3813939939999335e-06,
"total": 1.309361844637524e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1023.369216,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 147,
"total": 1.0021038727760314,
"mean": 0.00681703314813627,
"stdev": 0.00028499305079151204,
"p50": 0.0068280320167541505,
"p90": 0.00722982406616211,
"p95": 0.007358156633377075,
"p99": 0.00774295555114746,
"values": [
0.007404543876647949,
0.007456768035888672,
0.007341055870056152,
0.007795711994171142,
0.007386112213134765,
0.007333888053894043,
0.007357439994812012,
0.007334911823272705,
0.007285759925842285,
0.0072641921043395995,
0.007332863807678222,
0.007681024074554443,
0.006756351947784424,
0.006506432056427002,
0.006544320106506347,
0.006536191940307618,
0.006527999877929688,
0.006567967891693115,
0.006509632110595703,
0.006532095909118653,
0.006561791896820069,
0.006489120006561279,
0.006521791934967041,
0.0065781760215759275,
0.006505472183227539,
0.0064839677810668945,
0.006497280120849609,
0.006479872226715088,
0.006510591983795166,
0.006527999877929688,
0.006561791896820069,
0.00653107213973999,
0.006526976108551025,
0.006511616230010986,
0.006498303890228272,
0.006479872226715088,
0.0065146880149841305,
0.006532095909118653,
0.0065064959526062015,
0.006564864158630371,
0.006498303890228272,
0.006462463855743408,
0.006510591983795166,
0.006510591983795166,
0.0064778242111206055,
0.006553599834442139,
0.0064737281799316405,
0.006510591983795166,
0.006499328136444092,
0.00648089599609375,
0.006526976108551025,
0.006510591983795166,
0.0065095357894897465,
0.006535200119018555,
0.006515711784362793,
0.006491136074066162,
0.00652185583114624,
0.006496255874633789,
0.007158783912658692,
0.006916192054748535,
0.006847487926483154,
0.006848512172698974,
0.006823935985565186,
0.006814720153808594,
0.0068055038452148435,
0.006818816184997558,
0.006969344139099121,
0.008179712295532226,
0.007358463764190673,
0.006903808116912841,
0.007449600219726562,
0.007206912040710449,
0.006860799789428711,
0.006841343879699707,
0.006812672138214112,
0.006852608203887939,
0.007007199764251709,
0.006887423992156983,
0.006814720153808594,
0.006884416103363037,
0.006864895820617676,
0.006849503993988037,
0.006859776020050049,
0.0068393278121948245,
0.006821887969970703,
0.006822912216186523,
0.006852640151977539,
0.006834176063537598,
0.006837279796600342,
0.006865920066833496,
0.006819839954376221,
0.006837247848510742,
0.0068321280479431154,
0.006851583957672119,
0.0068577280044555666,
0.006819839954376221,
0.00682700777053833,
0.006837247848510742,
0.0068403520584106444,
0.0068280320167541505,
0.006999104022979736,
0.0068915200233459475,
0.006862847805023193,
0.006821824073791504,
0.006842368125915528,
0.0068577280044555666,
0.006809599876403808,
0.006843391895294189,
0.0068873920440673825,
0.0068618240356445315,
0.0069283838272094726,
0.007155712127685547,
0.006880256175994873,
0.006899712085723877,
0.006802400112152099,
0.006829055786132812,
0.006830080032348633,
0.006815743923187256,
0.006860799789428711,
0.006856704235076904,
0.006852640151977539,
0.006841343879699707,
0.006863872051239014,
0.006875135898590088,
0.006811647891998291,
0.006822912216186523,
0.007135231971740722,
0.00683622407913208,
0.006838272094726563,
0.006850560188293457,
0.0068321280479431154,
0.006825984001159668,
0.006834176063537598,
0.0068689918518066405,
0.006808576107025147,
0.006821887969970703,
0.0068280320167541505,
0.006882304191589355,
0.0068280320167541505,
0.0067983360290527345,
0.006845439910888672,
0.006820864200592041,
0.006783999919891357,
0.006823935985565186,
0.006810624122619629,
0.0068280320167541505,
0.006811647891998291
]
},
"throughput": {
"unit": "samples/s",
"value": 146.69137999914128
},
"energy": {
"unit": "kWh",
"cpu": 7.855510868745489e-08,
"ram": 4.294893079344485e-08,
"gpu": 1.6605053754966866e-07,
"total": 2.875545770305684e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3477600.7056695027
}
}
}
}