IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
50c4482 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+rocm5.7",
"_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": "5",
"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": 2,
"sequence_length": 16,
"num_choices": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1180.848128,
"max_global_vram": 68702.69952,
"max_process_vram": 7470.460928,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.4443578491210938
],
"count": 1,
"total": 0.4443578491210938,
"mean": 0.4443578491210938,
"p50": 0.4443578491210938,
"p90": 0.4443578491210938,
"p95": 0.4443578491210938,
"p99": 0.4443578491210938,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1254.322176,
"max_global_vram": 68702.69952,
"max_process_vram": 94688.444416,
"max_reserved": 148.897792,
"max_allocated": 124.554752
},
"latency": {
"unit": "s",
"values": [
0.007440456867218018,
0.006714059829711914,
0.006694220066070557,
0.006671659946441651,
0.0066457390785217285,
0.006649580001831055,
0.006641899108886719,
0.006606699943542481,
0.006660620212554932,
0.006663019180297851,
0.006658699989318848,
0.006639820098876953,
0.006628300189971924,
0.006649419784545898,
0.0066457390785217285,
0.00662686014175415,
0.006641580104827881,
0.0066273388862609865,
0.006654699802398681,
0.006628139972686768,
0.006631019115447998,
0.006662539958953858,
0.006629580020904541,
0.006626060009002685,
0.006618539810180664,
0.006637420177459717,
0.006628139972686768,
0.006630380153656006,
0.006622220039367676,
0.006655020236968994,
0.006654059886932373,
0.006617739200592041,
0.006648300170898437,
0.006619339942932129,
0.006612460136413575,
0.006622379779815674,
0.006607018947601319,
0.006615660190582275,
0.006624300003051758,
0.006604139804840088,
0.0066083002090454104,
0.006613580226898194,
0.006611020088195801,
0.006765899181365967,
0.006669418811798096,
0.006654860019683838,
0.006650700092315674,
0.006628299236297607,
0.006633739948272705,
0.006648300170898437,
0.006652139186859131,
0.006619180202484131,
0.006634220123291016,
0.0066578989028930665,
0.006626699924468994,
0.0066154999732971195,
0.006648939132690429,
0.006629740238189697,
0.006649580001831055,
0.006657098770141602,
0.006661580085754394,
0.006645899772644043,
0.006644938945770264,
0.0067017397880554195,
0.006635659217834473,
0.006631340026855469,
0.006654379844665527,
0.006615979194641113,
0.00662686014175415,
0.0066326198577880855,
0.006621900081634521,
0.006627500057220459,
0.006659500122070313,
0.00660285997390747,
0.006631978988647461,
0.006643020153045655,
0.006619659900665284,
0.0066242990493774415,
0.006637100219726562,
0.006608459949493408,
0.006628139972686768,
0.006621580123901367,
0.006617740154266357,
0.006648139953613281,
0.006624138832092285,
0.006627339839935303,
0.00664222002029419,
0.0066273388862609865,
0.006623340129852295,
0.006605899810791015,
0.006645420074462891,
0.006624460220336914,
0.00662253999710083,
0.00661598014831543,
0.006618858814239502,
0.006637899875640869,
0.006623660087585449,
0.006616779804229736,
0.0066466999053955075,
0.00661870002746582,
0.006632460117340088,
0.006631978988647461,
0.006607180118560791,
0.006642859935760498,
0.006647180080413819,
0.006673258781433105,
0.0066466999053955075,
0.006624939918518066,
0.0066395001411437985,
0.006693260192871094,
0.006690858840942383,
0.0067833390235900876,
0.007551816940307618,
0.0075948572158813475,
0.00716605806350708,
0.0069534192085266115,
0.006902538776397705,
0.0069650979042053226,
0.006841578960418701,
0.006852138996124268,
0.006726540088653564,
0.006621260166168213,
0.006783339977264404,
0.006910859107971191,
0.007316937923431396,
0.00697917890548706,
0.007016297817230225,
0.007009899139404297,
0.006647499084472657,
0.006675819873809815,
0.006670699119567871,
0.006625420093536377,
0.006639019966125488,
0.0066409392356872555,
0.006600619792938233,
0.006638219833374023,
0.00664781904220581,
0.0066228599548339845,
0.006625899791717529,
0.006633100032806397,
0.006618218898773193,
0.006610380172729492,
0.006627820014953613,
0.006609419822692871,
0.006631659984588623,
0.006622700214385986,
0.006638060092926026,
0.006625898838043213,
0.006651979923248291
],
"count": 149,
"total": 0.9959035253524781,
"mean": 0.00668391627753341,
"p50": 0.006637100219726562,
"p90": 0.006783339214324951,
"p95": 0.006973546504974365,
"p99": 0.007498364105224611,
"stdev": 0.00015926956839879602,
"stdev_": 2.3828779683274526
},
"throughput": {
"unit": "samples/s",
"value": 299.22577078390145
},
"energy": null,
"efficiency": null
}
}
}