IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f429d49 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.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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 788.873216,
"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.44885546875,
"mean": 7.44885546875,
"stdev": 0.0,
"p50": 7.44885546875,
"p90": 7.44885546875,
"p95": 7.44885546875,
"p99": 7.44885546875,
"values": [
7.44885546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.395415551132626e-06,
"ram": 2.393384477356051e-06,
"gpu": 6.821394346000036e-06,
"total": 1.3610194374488713e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.429056,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 150,
"total": 0.9973160028457642,
"mean": 0.006648773352305094,
"stdev": 0.0001619051375875208,
"p50": 0.006615551948547363,
"p90": 0.006809292888641357,
"p95": 0.0069054976224899286,
"p99": 0.007303301053047179,
"values": [
0.006916096210479736,
0.006892543792724609,
0.0069212160110473635,
0.006815743923187256,
0.006818816184997558,
0.006841343879699707,
0.006808576107025147,
0.006790272235870361,
0.007334911823272705,
0.006746111869812011,
0.006585343837738037,
0.006529024124145508,
0.006573919773101807,
0.006587327957153321,
0.006595583915710449,
0.006639776229858399,
0.006515872001647949,
0.006481919765472412,
0.0065157761573791505,
0.006503424167633057,
0.006518784046173095,
0.006456319808959961,
0.006432767868041992,
0.006808576107025147,
0.006951903820037842,
0.0069417920112609865,
0.007270400047302246,
0.007589888095855713,
0.0065484800338745115,
0.006307839870452881,
0.006426623821258545,
0.006418432235717773,
0.006261760234832763,
0.006651904106140137,
0.006582272052764892,
0.006584320068359375,
0.006739967823028564,
0.006595583915710449,
0.006594560146331787,
0.006709248065948486,
0.0065064959526062015,
0.006571936130523682,
0.006779903888702392,
0.0065710082054138185,
0.006793216228485107,
0.006602752208709717,
0.0066744318008422855,
0.006707200050354004,
0.006689792156219483,
0.00667852783203125,
0.0065474557876586915,
0.006756351947784424,
0.006630239963531494,
0.006594560146331787,
0.0068280320167541505,
0.006621183872222901,
0.006779903888702392,
0.006602848052978515,
0.006799359798431396,
0.006554624080657959,
0.006754303932189941,
0.00682700777053833,
0.0069928960800170895,
0.006738944053649902,
0.006818816184997558,
0.006680575847625733,
0.006774784088134766,
0.006706175804138184,
0.006615039825439453,
0.006740992069244385,
0.006632448196411133,
0.006617248058319092,
0.006683648109436035,
0.006788095951080322,
0.006662144184112549,
0.006618112087249756,
0.006740992069244385,
0.006796288013458252,
0.006657023906707763,
0.006776735782623291,
0.006669312000274658,
0.006668288230895996,
0.006696959972381592,
0.006646815776824951,
0.006649792194366455,
0.006592512130737305,
0.006626399993896484,
0.006545536041259766,
0.006648831844329834,
0.0066304001808166506,
0.006535168170928955,
0.006592512130737305,
0.006662144184112549,
0.006595744132995606,
0.0066109118461608884,
0.0066344962120056155,
0.006558720111846924,
0.006692863941192627,
0.006750207901000976,
0.006586368083953857,
0.00667849588394165,
0.0066979842185974124,
0.006678431987762451,
0.006667263984680176,
0.006684671878814697,
0.0066007041931152345,
0.006721536159515381,
0.006649856090545654,
0.0066344962120056155,
0.006616064071655273,
0.006668288230895996,
0.006527999877929688,
0.006589375972747803,
0.00658841609954834,
0.0065372161865234375,
0.00653004789352417,
0.006549503803253174,
0.006552576065063476,
0.006575104236602783,
0.00658022403717041,
0.00653004789352417,
0.006585343837738037,
0.006560768127441406,
0.006520832061767578,
0.006575104236602783,
0.006509568214416504,
0.006556672096252441,
0.006567935943603515,
0.006523007869720459,
0.006590464115142822,
0.00656163215637207,
0.0065812478065490725,
0.006570015907287598,
0.00663865613937378,
0.006497280120849609,
0.0065474557876586915,
0.006592512130737305,
0.006493184089660644,
0.00658739185333252,
0.0066007041931152345,
0.006561791896820069,
0.00655456018447876,
0.0065382080078125,
0.00662937593460083,
0.00652288007736206,
0.0064767999649047855,
0.00643891191482544,
0.00643071985244751,
0.006574079990386963,
0.006759488105773926
]
},
"throughput": {
"unit": "samples/s",
"value": 150.40368305731243
},
"energy": {
"unit": "kWh",
"cpu": 7.721856451481796e-08,
"ram": 4.216511224125804e-08,
"gpu": 1.6643591958441506e-07,
"total": 2.8581959634049106e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3498710.420151599
}
}
}
}