IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6130080 verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-211.872.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.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 853.168128,
"max_global_vram": 688.390144,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.71521435546875,
"mean": 7.71521435546875,
"stdev": 0.0,
"p50": 7.71521435546875,
"p90": 7.71521435546875,
"p95": 7.71521435546875,
"p99": 7.71521435546875,
"values": [
7.71521435546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.2862017361118084e-06,
"ram": 2.333386912747869e-06,
"gpu": 7.089172338000261e-06,
"total": 1.3708760986859939e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1091.3792,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 141,
"total": 1.0008666882514954,
"mean": 0.007098345306748194,
"stdev": 0.00017668742351852418,
"p50": 0.007078911781311035,
"p90": 0.0071782078742980955,
"p95": 0.007243711948394776,
"p99": 0.007788320159912109,
"values": [
0.007746560096740723,
0.007727104187011719,
0.007746560096740723,
0.007816160202026367,
0.007715839862823487,
0.008201215744018555,
0.00713318395614624,
0.006783999919891357,
0.006820864200592041,
0.006793216228485107,
0.006758399963378906,
0.006785024166107178,
0.006873087882995605,
0.006853631973266602,
0.007064576148986816,
0.00699286413192749,
0.007007232189178467,
0.006988800048828125,
0.006937600135803222,
0.006939583778381347,
0.0070256638526916505,
0.007080959796905518,
0.007018496036529541,
0.007069695949554444,
0.007032832145690918,
0.007062528133392334,
0.007036928176879883,
0.007037951946258545,
0.007102464199066162,
0.007101439952850342,
0.007074816226959229,
0.007013376235961914,
0.007104512214660645,
0.007113728046417236,
0.007078911781311035,
0.007018496036529541,
0.007108607769012451,
0.007079936027526855,
0.007071743965148926,
0.007096320152282715,
0.007129087924957276,
0.007132160186767578,
0.007066624164581299,
0.007107583999633789,
0.007081984043121338,
0.007085055828094483,
0.007117824077606201,
0.0070860800743103025,
0.00722431993484497,
0.006969344139099121,
0.006957056045532227,
0.006967296123504638,
0.006974463939666748,
0.006947840213775635,
0.007107583999633789,
0.007057407855987549,
0.007073760032653809,
0.007035903930664063,
0.007127039909362793,
0.007087103843688965,
0.007088128089904785,
0.0070830078125,
0.007175168037414551,
0.007049215793609619,
0.007101439952850342,
0.007051263809204102,
0.007035903930664063,
0.007037983894348144,
0.007094272136688232,
0.007087103843688965,
0.007047167778015137,
0.007031807899475098,
0.007053311824798584,
0.007080959796905518,
0.007113728046417236,
0.007041024208068848,
0.007193600177764893,
0.007121920108795166,
0.007128064155578613,
0.007080959796905518,
0.007036928176879883,
0.007078911781311035,
0.007109632015228271,
0.0071055998802185055,
0.007061503887176514,
0.007108607769012451,
0.007088128089904785,
0.007069695949554444,
0.007054336071014404,
0.007053311824798584,
0.007066624164581299,
0.00713318395614624,
0.007136256217956543,
0.007063551902770996,
0.007074816226959229,
0.007112703800201416,
0.007076863765716553,
0.007078911781311035,
0.00703385591506958,
0.007093247890472412,
0.007278592109680176,
0.0071782078742980955,
0.007188479900360107,
0.007153664112091064,
0.007181312084197998,
0.007243711948394776,
0.007223296165466309,
0.007146495819091797,
0.007020576000213623,
0.007117824077606201,
0.007070720195770264,
0.007120895862579346,
0.007090176105499267,
0.007088064193725586,
0.007077888011932373,
0.007186431884765625,
0.00709222412109375,
0.007037951946258545,
0.007053343772888183,
0.007049215793609619,
0.007069695949554444,
0.007063551902770996,
0.007080959796905518,
0.00708403205871582,
0.007096320152282715,
0.007164927959442138,
0.007062560081481934,
0.00708403205871582,
0.0071157760620117185,
0.007064576148986816,
0.007031807899475098,
0.007062528133392334,
0.007078911781311035,
0.007072768211364746,
0.007076863765716553,
0.007031807899475098,
0.007106560230255127,
0.007058432102203369,
0.0070860800743103025,
0.007016448020935059,
0.00707583999633789
]
},
"throughput": {
"unit": "samples/s",
"value": 140.87790277676805
},
"energy": {
"unit": "kWh",
"cpu": 8.403793990839402e-08,
"ram": 4.594620921777407e-08,
"gpu": 1.8825468173049338e-07,
"total": 3.1823883085666145e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3142294.0981404367
}
}
}
}