IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
05dd7ca verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.6.0.dev20240917+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.224-212.876.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.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 877.715456,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.778857421875,
"mean": 8.778857421875,
"stdev": 0.0,
"p50": 8.778857421875,
"p90": 8.778857421875,
"p95": 8.778857421875,
"p99": 8.778857421875,
"values": [
8.778857421875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.311860497218985e-06,
"ram": 2.3343790388193155e-06,
"gpu": 6.462782947996848e-06,
"total": 1.3109022484035148e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1115.541504,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9992230386734011,
"mean": 0.007627656783766419,
"stdev": 0.0003879872891155899,
"p50": 0.007731200218200684,
"p90": 0.00787660789489746,
"p95": 0.007953919887542724,
"p99": 0.008765849590301513,
"values": [
0.007858176231384278,
0.007924736022949219,
0.00790835189819336,
0.007855103969573975,
0.007952383995056152,
0.00790118408203125,
0.007874559879302979,
0.008145919799804687,
0.007919616222381591,
0.007780352115631104,
0.007817215919494629,
0.007819263935089112,
0.007797760009765625,
0.007705599784851074,
0.007655424118041992,
0.007658495903015137,
0.007755775928497314,
0.007771135807037354,
0.0077916159629821775,
0.00780185604095459,
0.007786496162414551,
0.007774208068847656,
0.007955455780029297,
0.007681024074554443,
0.007776256084442139,
0.007863296031951903,
0.007775231838226319,
0.007773183822631836,
0.007778304100036621,
0.007799839973449707,
0.007832575798034667,
0.007745535850524903,
0.0077209601402282715,
0.00775164794921875,
0.007762944221496582,
0.007812096118927002,
0.007658495903015137,
0.007677951812744141,
0.007721983909606934,
0.007667712211608887,
0.007704576015472412,
0.007717887878417969,
0.007759871959686279,
0.007669760227203369,
0.007732223987579345,
0.007883776187896728,
0.007848959922790527,
0.00787660789489746,
0.00779366397857666,
0.007767039775848389,
0.007737343788146973,
0.007685120105743408,
0.007709695816040039,
0.007820288181304931,
0.007803872108459473,
0.0076871681213378906,
0.007770112037658691,
0.00773529577255249,
0.007678976058959961,
0.007717887878417969,
0.007740416049957275,
0.007731200218200684,
0.007729152202606201,
0.007819263935089112,
0.007725056171417236,
0.007627711772918701,
0.007664576053619385,
0.007714848041534424,
0.007692351818084717,
0.00774451208114624,
0.007678976058959961,
0.007675903797149658,
0.007769087791442871,
0.007825407981872558,
0.007817215919494629,
0.007788544178009033,
0.007809023857116699,
0.007817215919494629,
0.007745535850524903,
0.007767039775848389,
0.007760831832885742,
0.00773632001876831,
0.007774208068847656,
0.007697408199310303,
0.007671807765960693,
0.007625728130340576,
0.0074629120826721195,
0.007589888095855713,
0.007681024074554443,
0.007417856216430664,
0.007367680072784424,
0.007386112213134765,
0.0074332160949707035,
0.007650303840637207,
0.007847936153411865,
0.00774348783493042,
0.007734272003173828,
0.009025535583496093,
0.008757247924804687,
0.008769536018371582,
0.008631296157836914,
0.00855241584777832,
0.007553023815155029,
0.007113728046417236,
0.007154687881469727,
0.0070266880989074704,
0.007024640083312988,
0.007056352138519287,
0.0070430078506469726,
0.00694374418258667,
0.007015423774719238,
0.007087071895599365,
0.007009280204772949,
0.006972415924072266,
0.0069816322326660156,
0.007009280204772949,
0.007010303974151612,
0.006993919849395752,
0.00698367977142334,
0.0070041918754577635,
0.0070256638526916505,
0.006982656002044678,
0.0069928960800170895,
0.007002111911773682,
0.007006207942962647,
0.006980607986450196,
0.006976511955261231,
0.007005184173583984,
0.007011328220367432,
0.006970367908477783,
0.006976511955261231
]
},
"throughput": {
"unit": "samples/s",
"value": 131.10186107590116
},
"energy": {
"unit": "kWh",
"cpu": 8.349832801252736e-08,
"ram": 4.56294662612662e-08,
"gpu": 1.6843714570423914e-07,
"total": 2.9756493997803273e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3360610.9646984064
}
}
}
}