IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a1f9fa8 verified
raw
history blame
11.7 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": 1,
"num_choices": 2,
"sequence_length": 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": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-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.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": 1153.744896,
"max_global_vram": 68702.69952,
"max_process_vram": 51588.665344,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.6250595703125,
"mean": 8.6250595703125,
"stdev": 0.0,
"p50": 8.6250595703125,
"p90": 8.6250595703125,
"p95": 8.6250595703125,
"p99": 8.6250595703125,
"values": [
8.6250595703125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1238.134784,
"max_global_vram": 68702.69952,
"max_process_vram": 104047.992832,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9998998243808744,
"mean": 0.007298538864093975,
"stdev": 0.0009574924846410198,
"p50": 0.007132143020629883,
"p90": 0.007620749759674072,
"p95": 0.007985868644714355,
"p99": 0.009607458534240694,
"values": [
0.00826509952545166,
0.008213100433349609,
0.007946220874786377,
0.007726381778717041,
0.0076324610710144045,
0.007609422206878662,
0.007552620887756348,
0.007554542064666748,
0.00750750207901001,
0.007423982143402099,
0.007484622001647949,
0.007262382984161377,
0.00715358304977417,
0.007156463146209717,
0.007153263092041015,
0.007107983112335205,
0.0071151828765869144,
0.007107983112335205,
0.0071175827980041505,
0.0072310218811035155,
0.007097423076629639,
0.010362535476684571,
0.007107822895050049,
0.007123982906341553,
0.007035822868347168,
0.007102542877197265,
0.007047502994537353,
0.007025743007659912,
0.007122221946716308,
0.007059662818908691,
0.007081742763519287,
0.007371821880340576,
0.0071127829551696775,
0.0071006231307983395,
0.0072047820091247555,
0.007096622943878174,
0.007201901912689209,
0.0071550230979919435,
0.007096622943878174,
0.007100782871246338,
0.007235023021697998,
0.01635308074951172,
0.002299195051193237,
0.0070772628784179685,
0.0070999832153320315,
0.00712734317779541,
0.0071171030998229984,
0.007122861862182617,
0.007115023136138916,
0.007102542877197265,
0.007109582901000977,
0.007086701869964599,
0.0071171030998229984,
0.007091183185577393,
0.007148622989654541,
0.007117423057556152,
0.007122063159942627,
0.0071030230522155765,
0.007074062824249268,
0.007141423225402832,
0.007141423225402832,
0.007148942947387695,
0.0070999832153320315,
0.0072545428276062016,
0.007137261867523194,
0.007118863105773926,
0.0071340627670288086,
0.007156142234802246,
0.007138062953948974,
0.007132623195648193,
0.007131182193756104,
0.007129902839660644,
0.007119983196258545,
0.007348941802978516,
0.007132143020629883,
0.007130702018737793,
0.007140623092651367,
0.0071195030212402345,
0.007123022079467773,
0.007140303134918213,
0.007139822959899902,
0.007100782871246338,
0.007112462997436523,
0.007093102931976319,
0.0070841431617736815,
0.007093102931976319,
0.007092621803283692,
0.0070815830230712895,
0.007468301773071289,
0.007138702869415283,
0.007132781982421875,
0.007137742996215821,
0.007116783142089844,
0.007137901782989502,
0.007128942966461182,
0.0071249427795410155,
0.007129262924194336,
0.007158863067626953,
0.007149423122406006,
0.007134541988372802,
0.007127822875976563,
0.007090222835540771,
0.007105903148651123,
0.007096461772918701,
0.007085103034973145,
0.007124142169952392,
0.007125263214111328,
0.007167663097381592,
0.007138862133026123,
0.007113903045654297,
0.007120303153991699,
0.007485901832580567,
0.008015179634094238,
0.008029741287231445,
0.008038379669189454,
0.007612942218780517,
0.007396622180938721,
0.007442701816558838,
0.0074881410598754885,
0.007499182224273681,
0.00741422176361084,
0.007974541187286377,
0.007978540897369385,
0.007662861824035644,
0.00767694091796875,
0.007443982124328613,
0.007517742156982422,
0.007313101768493652,
0.007180943012237549,
0.007126543045043945,
0.0070932631492614745,
0.007100462913513184,
0.0071300630569458,
0.00713198184967041,
0.007137901782989502,
0.007138702869415283,
0.007149581909179688
]
},
"throughput": {
"unit": "samples/s",
"value": 137.01372543477413
},
"energy": null,
"efficiency": null
}
}
}