IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
34b7c93 verified
raw
history blame
12.4 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.0+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.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 948.965376,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 179,
"total": 0.995474177360535,
"mean": 0.005561308253410808,
"stdev": 0.00021108473299964178,
"p50": 0.005473279953002929,
"p90": 0.005859532642364502,
"p95": 0.005887328100204468,
"p99": 0.005980569734573365,
"values": [
0.006243328094482422,
0.005866464138031006,
0.005996543884277344,
0.005921792030334472,
0.005976064205169678,
0.005922815799713135,
0.005921792030334472,
0.00586240005493164,
0.005859327793121338,
0.005797887802124023,
0.005829631805419922,
0.005854207992553711,
0.005900288105010986,
0.005732351779937744,
0.005689343929290771,
0.005724160194396972,
0.005718016147613526,
0.005925920009613037,
0.005822463989257813,
0.00587059211730957,
0.00577023983001709,
0.005745664119720459,
0.005746687889099121,
0.005848063945770264,
0.0058726401329040525,
0.0058009600639343266,
0.005855199813842774,
0.005843967914581299,
0.0057363839149475095,
0.005775360107421875,
0.005826560020446778,
0.005866432189941406,
0.005773312091827393,
0.00566476821899414,
0.00566476821899414,
0.005679103851318359,
0.0057077760696411135,
0.005686272144317627,
0.005700607776641845,
0.005799935817718506,
0.00582144021987915,
0.0058787841796875,
0.005860352039337159,
0.005850111961364746,
0.00582144021987915,
0.005777408123016357,
0.005756927967071533,
0.00582144021987915,
0.005845983982086181,
0.005754879951477051,
0.0056483840942382815,
0.005473279953002929,
0.005381120204925537,
0.0054876160621643065,
0.005434368133544922,
0.0055623679161071774,
0.005627903938293457,
0.005504000186920166,
0.005473279953002929,
0.0055316481590271,
0.00546611213684082,
0.005735487937927246,
0.005783552169799804,
0.005819392204284668,
0.005763072013854981,
0.005844064235687256,
0.0058858880996704105,
0.005929984092712402,
0.005867519855499268,
0.005839935779571533,
0.005830656051635743,
0.005849088191986084,
0.005643263816833496,
0.005790719985961914,
0.0056780800819396975,
0.005560319900512695,
0.005519360065460205,
0.005473279953002929,
0.005471231937408447,
0.005512191772460938,
0.005471231937408447,
0.005471231937408447,
0.0053985600471496585,
0.005409791946411133,
0.005477375984191894,
0.0054271998405456545,
0.00571289587020874,
0.00550707197189331,
0.005547008037567139,
0.005541888236999512,
0.005464064121246338,
0.005500927925109863,
0.00552345609664917,
0.005527552127838135,
0.005677055835723877,
0.005438464164733887,
0.005422080039978027,
0.005444608211517334,
0.0054200000762939455,
0.005425151824951172,
0.005458943843841553,
0.005405663967132568,
0.005392320156097412,
0.005408768177032471,
0.005403647899627686,
0.005458943843841553,
0.005481472015380859,
0.0055428481101989745,
0.005477375984191894,
0.005772287845611572,
0.005425151824951172,
0.005359615802764893,
0.005366847991943359,
0.005471231937408447,
0.005368832111358642,
0.005388288021087646,
0.005391359806060791,
0.005362688064575195,
0.005384191989898681,
0.0053821439743042,
0.005344255924224854,
0.00536575984954834,
0.005379072189331055,
0.005369855880737305,
0.005351424217224121,
0.005403647899627686,
0.005348351955413819,
0.005392384052276611,
0.00535756778717041,
0.005449728012084961,
0.005406720161437988,
0.005339136123657226,
0.005506048202514649,
0.005378047943115235,
0.005360576152801513,
0.0053770880699157714,
0.005372928142547607,
0.005348351955413819,
0.0053975038528442385,
0.005385216236114502,
0.005352447986602784,
0.00535859203338623,
0.005393407821655274,
0.005378047943115235,
0.0053534722328186036,
0.005356544017791748,
0.0053637118339538575,
0.005387263774871826,
0.005393407821655274,
0.005380095958709717,
0.005378047943115235,
0.005378047943115235,
0.0053637118339538575,
0.005298175811767578,
0.005281792163848877,
0.005296127796173096,
0.005339136123657226,
0.00537395191192627,
0.00541593599319458,
0.005393407821655274,
0.0052715520858764645,
0.005275648117065429,
0.005281792163848877,
0.0052633600234985355,
0.00529094409942627,
0.005388288021087646,
0.0053309440612792965,
0.005359615802764893,
0.00537286376953125,
0.005565440177917481,
0.005387263774871826,
0.005388288021087646,
0.005355519771575928,
0.005349376201629639,
0.005362688064575195,
0.00537497615814209,
0.005392384052276611,
0.005351424217224121,
0.005356544017791748
]
},
"throughput": {
"unit": "samples/s",
"value": 179.8138053913285
},
"energy": {
"unit": "kWh",
"cpu": 6.30772890562707e-08,
"ram": 3.448649967759457e-08,
"gpu": 1.2879590681914938e-07,
"total": 2.2635969555301466e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4417747.592197987
}
}
}
}