IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7359135 verified
raw
history blame
12.2 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": "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.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 952.60672,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 174,
"total": 0.9984920992851257,
"mean": 0.005738460340719114,
"stdev": 0.0002747587016252903,
"p50": 0.005604351997375488,
"p90": 0.006007808208465576,
"p95": 0.006096691203117371,
"p99": 0.006708858942985535,
"values": [
0.006335487842559814,
0.0060026879310607914,
0.006135807991027832,
0.006045695781707764,
0.006115327835083008,
0.006031360149383545,
0.006119423866271972,
0.006034431934356689,
0.006080512046813965,
0.0059985918998718265,
0.006025216102600098,
0.006056960105895996,
0.006004735946655273,
0.005986303806304932,
0.0059269118309021,
0.005937151908874512,
0.005896192073822021,
0.006000639915466309,
0.005963776111602783,
0.005966847896575928,
0.005916672229766846,
0.005955584049224853,
0.0058726401329040525,
0.005971968173980713,
0.00597811222076416,
0.005985280036926269,
0.005917695999145508,
0.005946368217468262,
0.005900288105010986,
0.005889023780822754,
0.005955520153045654,
0.005889023780822754,
0.005790719985961914,
0.005697535991668701,
0.005825535774230957,
0.005832704067230224,
0.005801983833312988,
0.006086656093597412,
0.005954559803009033,
0.005915647983551026,
0.006015999794006348,
0.006003712177276611,
0.005994495868682862,
0.005982207775115967,
0.005944320201873779,
0.0058429441452026365,
0.005959680080413818,
0.005957632064819336,
0.005963776111602783,
0.005923840045928955,
0.005953536033630371,
0.005773312091827393,
0.005889023780822754,
0.005866464138031006,
0.0059770879745483394,
0.0059534721374511716,
0.005997568130493164,
0.005857279777526855,
0.005882880210876465,
0.005912576198577881,
0.005880832195281982,
0.0058726401329040525,
0.005921792030334472,
0.006007808208465576,
0.006007808208465576,
0.005966847896575928,
0.0059996161460876465,
0.005903359889984131,
0.005989376068115234,
0.00591974401473999,
0.005874688148498535,
0.005946368217468262,
0.005757952213287353,
0.005805056095123291,
0.005691423892974854,
0.005617663860321045,
0.005730303764343261,
0.005855231761932373,
0.005616640090942383,
0.005475327968597412,
0.005500927925109863,
0.005505023956298828,
0.0055582718849182125,
0.005530623912811279,
0.005581823825836182,
0.005758975982666016,
0.006597631931304931,
0.006707200050354004,
0.006804480075836182,
0.006713344097137451,
0.006490111827850342,
0.00591264009475708,
0.0055920639038085935,
0.005690368175506591,
0.005526527881622314,
0.005511168003082275,
0.00556441593170166,
0.005569536209106446,
0.005541888236999512,
0.005495808124542236,
0.0054876160621643065,
0.0055203838348388675,
0.005439551830291748,
0.005475327968597412,
0.00552243185043335,
0.005472256183624268,
0.00551526403427124,
0.005486591815948487,
0.005508096218109131,
0.005534719944000244,
0.005497856140136719,
0.005489664077758789,
0.005536704063415527,
0.005483520030975342,
0.005508096218109131,
0.005509119987487793,
0.005481472015380859,
0.005519360065460205,
0.005499904155731201,
0.00552243185043335,
0.005497856140136719,
0.00550707197189331,
0.0055203838348388675,
0.005494783878326416,
0.005481472015380859,
0.005529600143432617,
0.005463039875030518,
0.0055101442337036136,
0.005512191772460938,
0.005493760108947754,
0.00551526403427124,
0.005464064121246338,
0.00552345609664917,
0.005533696174621582,
0.00551423978805542,
0.005514272212982178,
0.005510176181793213,
0.0054917120933532714,
0.005532671928405761,
0.005489664077758789,
0.00550707197189331,
0.005492735862731934,
0.005468160152435303,
0.005574656009674072,
0.005478400230407715,
0.005473279953002929,
0.005508096218109131,
0.005463039875030518,
0.005512191772460938,
0.005478400230407715,
0.005465087890625,
0.005511168003082275,
0.005462016105651855,
0.005495808124542236,
0.005469183921813964,
0.005478400230407715,
0.005489664077758789,
0.005499904155731201,
0.0055808000564575196,
0.005587967872619629,
0.005501920223236084,
0.005561344146728516,
0.005504000186920166,
0.005480447769165039,
0.005534719944000244,
0.005467135906219483,
0.005502975940704345,
0.0055214080810546875,
0.00546611213684082,
0.005491680145263672,
0.005479423999786377,
0.005467135906219483,
0.005509119987487793,
0.005506048202514649
]
},
"throughput": {
"unit": "samples/s",
"value": 174.26277095690185
},
"energy": {
"unit": "kWh",
"cpu": 6.20223248053457e-08,
"ram": 3.391107152550101e-08,
"gpu": 1.316478656439793e-07,
"total": 2.2758126197482602e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4394034.866150866
}
}
}
}