IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e43b95d verified
raw
history blame
12.3 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",
"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.40.2",
"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": 949.39136,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 177,
"total": 0.9956015377044679,
"mean": 0.0056248674446580105,
"stdev": 0.0002228604366497081,
"p50": 0.005660672187805176,
"p90": 0.005865433502197265,
"p95": 0.005900492668151855,
"p99": 0.006125132846832281,
"values": [
0.00582041597366333,
0.005626880168914795,
0.0055920639038085935,
0.005734399795532226,
0.005638144016265869,
0.0057415680885314945,
0.0056780800819396975,
0.0057825279235839844,
0.005938176155090332,
0.006561791896820069,
0.006548543930053711,
0.005924863815307617,
0.005893119812011719,
0.005899263858795166,
0.0058757119178771975,
0.005863423824310303,
0.005851136207580566,
0.0057497920989990235,
0.005604351997375488,
0.005715968132019043,
0.005693439960479736,
0.005726208209991455,
0.005796864032745362,
0.005808127880096436,
0.005865471839904785,
0.005879807949066162,
0.005793824195861817,
0.005730303764343261,
0.005704671859741211,
0.005700607776641845,
0.005834752082824707,
0.005963776111602783,
0.005855231761932373,
0.005846015930175781,
0.005801983833312988,
0.0059054079055786135,
0.005865471839904785,
0.005754879951477051,
0.005805056095123291,
0.005796864032745362,
0.005784575939178467,
0.005892096042633056,
0.0057077760696411135,
0.005605375766754151,
0.005602303981781006,
0.005620736122131348,
0.0057190399169921875,
0.00571289587020874,
0.005646336078643799,
0.00571289587020874,
0.005718016147613526,
0.005786623954772949,
0.005775360107421875,
0.005991424083709717,
0.005818399906158447,
0.005830656051635743,
0.005832704067230224,
0.005858304023742676,
0.005734399795532226,
0.005816383838653565,
0.005752831935882568,
0.005851136207580566,
0.005776383876800537,
0.005763040065765381,
0.0057671360969543456,
0.005761023998260498,
0.005681151866912842,
0.005660672187805176,
0.005747712135314941,
0.005739520072937012,
0.005723135948181152,
0.005850111961364746,
0.005865407943725586,
0.0056780800819396975,
0.005610496044158936,
0.005932000160217285,
0.005760000228881836,
0.005786623954772949,
0.005683199882507324,
0.005747647762298584,
0.005915647983551026,
0.005746687889099121,
0.005718016147613526,
0.005835775852203369,
0.005864448070526123,
0.005824512004852295,
0.005844992160797119,
0.005846015930175781,
0.005828544139862061,
0.005803008079528809,
0.005876736164093017,
0.005781504154205322,
0.005703680038452149,
0.0058429441452026365,
0.005743616104125977,
0.005655519962310791,
0.005546016216278076,
0.005495808124542236,
0.005541888236999512,
0.005682176113128662,
0.005608448028564453,
0.0054282240867614745,
0.005426176071166992,
0.005403647899627686,
0.00542310380935669,
0.005511168003082275,
0.005591040134429932,
0.005604351997375488,
0.0055848960876464845,
0.005591040134429932,
0.005656576156616211,
0.0057497601509094234,
0.005874688148498535,
0.005574719905853271,
0.005464064121246338,
0.005378047943115235,
0.005361663818359375,
0.005401599884033203,
0.005361728191375733,
0.005371903896331787,
0.005400576114654541,
0.0053647360801696775,
0.005369855880737305,
0.005422080039978027,
0.0053821439743042,
0.005371903896331787,
0.0054282240867614745,
0.005372928142547607,
0.005414944171905517,
0.0054609918594360355,
0.005378047943115235,
0.00542310380935669,
0.005395455837249756,
0.0053647360801696775,
0.005423136234283447,
0.005349376201629639,
0.005342207908630371,
0.00537497615814209,
0.005377024173736572,
0.005348351955413819,
0.005386240005493164,
0.005386240005493164,
0.005407743930816651,
0.005378047943115235,
0.00535859203338623,
0.0053821439743042,
0.0053637118339538575,
0.005392384052276611,
0.005422080039978027,
0.005394368171691894,
0.005359615802764893,
0.005415999889373779,
0.005384191989898681,
0.0053975038528442385,
0.005378047943115235,
0.00536678409576416,
0.005351424217224121,
0.005390336036682129,
0.005372928142547607,
0.005344255924224854,
0.005408768177032471,
0.005361663818359375,
0.005387296199798584,
0.005350399971008301,
0.00536678409576416,
0.005381120204925537,
0.005404672145843506,
0.005352447986602784,
0.005362688064575195,
0.00535859203338623,
0.005331967830657959,
0.0053678078651428224,
0.005378047943115235,
0.005362688064575195,
0.005381120204925537,
0.0053637118339538575,
0.005347328186035156
]
},
"throughput": {
"unit": "samples/s",
"value": 177.78196727990618
},
"energy": {
"unit": "kWh",
"cpu": 6.145039593686163e-08,
"ram": 3.359552095158609e-08,
"gpu": 1.2508933438341953e-07,
"total": 2.201352512718672e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4542661.814599603
}
}
}
}