IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
9c73c21
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": 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": "error", | |
"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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"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": 1468.551168, | |
"max_global_vram": 11.083776, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.198884765625, | |
"mean": 8.198884765625, | |
"stdev": 0.0, | |
"p50": 8.198884765625, | |
"p90": 8.198884765625, | |
"p95": 8.198884765625, | |
"p99": 8.198884765625, | |
"values": [ | |
8.198884765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1555.058688, | |
"max_global_vram": 11.149312, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 0.9973487052917481, | |
"mean": 0.007915465915013874, | |
"stdev": 0.0016974927588645442, | |
"p50": 0.00778341817855835, | |
"p90": 0.008183257102966308, | |
"p95": 0.008470535993576049, | |
"p99": 0.011413087606430054, | |
"values": [ | |
0.008505255699157714, | |
0.008432777404785156, | |
0.008134536743164063, | |
0.0080906982421875, | |
0.008168936729431153, | |
0.008136616706848145, | |
0.00807437801361084, | |
0.008108138084411621, | |
0.008206856727600098, | |
0.008430855751037598, | |
0.00848189640045166, | |
0.008168777465820313, | |
0.007971337795257568, | |
0.007876617908477783, | |
0.007937737941741943, | |
0.007917576789855958, | |
0.008077096939086915, | |
0.008038217544555665, | |
0.008010058403015137, | |
0.007927816867828369, | |
0.007943498134613038, | |
0.007884458065032959, | |
0.007858858108520508, | |
0.007945737838745116, | |
0.009254533767700196, | |
0.007929577827453613, | |
0.007792297840118408, | |
0.007768938064575195, | |
0.0077823781967163086, | |
0.007782698154449463, | |
0.00784509801864624, | |
0.007785737991333008, | |
0.007752618789672852, | |
0.007801578044891357, | |
0.007803338050842285, | |
0.0077926177978515625, | |
0.007770537853240967, | |
0.007787497997283935, | |
0.007799017906188965, | |
0.007758858203887939, | |
0.007779818058013916, | |
0.007792458057403564, | |
0.0077756581306457516, | |
0.007801097869873047, | |
0.007785737991333008, | |
0.007802217960357666, | |
0.007846538066864014, | |
0.007784138202667237, | |
0.007800618171691895, | |
0.007803018093109131, | |
0.02376873207092285, | |
0.0023219130039215086, | |
0.002319833993911743, | |
0.0033753499984741212, | |
0.007830698013305664, | |
0.0077687778472900395, | |
0.008212777137756347, | |
0.008160616874694824, | |
0.007958218097686768, | |
0.007777098178863525, | |
0.007742857933044434, | |
0.007781097888946533, | |
0.007729738235473633, | |
0.007782057762145996, | |
0.007733898162841797, | |
0.007797098159790039, | |
0.007747178077697754, | |
0.00773917818069458, | |
0.007766538143157959, | |
0.0077185378074646, | |
0.007772617816925049, | |
0.007733098030090332, | |
0.007777738094329834, | |
0.007706217765808106, | |
0.0077455778121948244, | |
0.007767337799072266, | |
0.007977417945861816, | |
0.007765738010406495, | |
0.007752458095550537, | |
0.007752778053283692, | |
0.007808777809143066, | |
0.007774538993835449, | |
0.0077313389778137205, | |
0.0077287788391113285, | |
0.007739017963409424, | |
0.007722218036651612, | |
0.0077358179092407225, | |
0.007732297897338867, | |
0.007725098133087158, | |
0.007690698146820068, | |
0.007702377796173096, | |
0.0077098989486694336, | |
0.0076911778450012205, | |
0.00770813798904419, | |
0.007759818077087402, | |
0.01213260555267334, | |
0.0060270228385925296, | |
0.007703338146209717, | |
0.007772458076477051, | |
0.007727818012237549, | |
0.007694377899169922, | |
0.007708457946777344, | |
0.007711338043212891, | |
0.007748298168182373, | |
0.007732297897338867, | |
0.007726058959960937, | |
0.007754539012908936, | |
0.007737419128417969, | |
0.0077089381217956545, | |
0.007740138053894043, | |
0.007751498222351074, | |
0.007730857849121094, | |
0.007748938083648681, | |
0.007715497970581055, | |
0.008514375686645507, | |
0.008101416587829589, | |
0.008014217376708984, | |
0.008038216590881348, | |
0.008042858123779298, | |
0.008436454772949218, | |
0.008642054557800294, | |
0.008197577476501464, | |
0.008149896621704102, | |
0.008167496681213379, | |
0.008087336540222168, | |
0.008134376525878907 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.33495118755081 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |