IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1cdf028
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "bc4d55acdaf328bd5108ceb452b0f0a0c042200e", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 979.869696, | |
"max_global_vram": 411.27936, | |
"max_process_vram": 46582.784, | |
"max_reserved": 125.82912, | |
"max_allocated": 103.077376 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4297763671875, | |
"mean": 7.4297763671875, | |
"stdev": 0.0, | |
"p50": 7.4297763671875, | |
"p90": 7.4297763671875, | |
"p95": 7.4297763671875, | |
"p99": 7.4297763671875, | |
"values": [ | |
7.4297763671875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1828.716544, | |
"max_global_vram": 516.640768, | |
"max_process_vram": 275392.18432, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9975348253250126, | |
"mean": 0.007500261844548964, | |
"stdev": 0.00027822567354065543, | |
"p50": 0.007388307094573975, | |
"p90": 0.00781477003097534, | |
"p95": 0.008212112426757812, | |
"p99": 0.008493142890930177, | |
"values": [ | |
0.008546544075012206, | |
0.00793358612060547, | |
0.007607666015625, | |
0.007640145778656006, | |
0.007745905876159668, | |
0.007634545803070068, | |
0.007643826007843017, | |
0.007552785873413086, | |
0.007551506042480469, | |
0.007536945819854736, | |
0.007505106925964356, | |
0.007627185821533203, | |
0.007491826057434082, | |
0.007490386009216308, | |
0.00746878719329834, | |
0.007517426013946533, | |
0.007495185852050781, | |
0.007495506763458252, | |
0.007466066837310791, | |
0.007454545974731446, | |
0.00747534704208374, | |
0.007455666065216065, | |
0.007436625957489014, | |
0.008866703987121582, | |
0.008347504615783692, | |
0.007367025852203369, | |
0.007378867149353027, | |
0.007366066932678223, | |
0.007361587047576904, | |
0.007466705799102783, | |
0.007377427101135254, | |
0.0073371071815490725, | |
0.007521107196807862, | |
0.007706225872039795, | |
0.007520626068115235, | |
0.007375186920166016, | |
0.0074086270332336425, | |
0.007508786201477051, | |
0.007346547126770019, | |
0.007762546062469482, | |
0.007529266834259033, | |
0.007333265781402588, | |
0.007354227066040039, | |
0.007380785942077636, | |
0.007383827209472656, | |
0.007514225959777832, | |
0.0074225468635559086, | |
0.007835824966430665, | |
0.007758865833282471, | |
0.0073780670166015624, | |
0.007602546215057373, | |
0.007397106170654297, | |
0.0074084668159484866, | |
0.007377106189727783, | |
0.007370226860046387, | |
0.007383666038513184, | |
0.007355506896972656, | |
0.007384146213531494, | |
0.00737550687789917, | |
0.0073614268302917485, | |
0.00737438678741455, | |
0.007386867046356201, | |
0.0073750271797180175, | |
0.007378706932067871, | |
0.007260305881500244, | |
0.007388307094573975, | |
0.007405426025390625, | |
0.00739998722076416, | |
0.007380465984344483, | |
0.007383347034454346, | |
0.007377265930175781, | |
0.007376467227935791, | |
0.007369105815887451, | |
0.007388947010040284, | |
0.0073843059539794925, | |
0.007358706951141357, | |
0.007301746845245361, | |
0.007279985904693603, | |
0.0072972669601440426, | |
0.007283347129821777, | |
0.007253265857696533, | |
0.0072550268173217775, | |
0.007280306816101074, | |
0.007487666130065918, | |
0.007276307106018067, | |
0.00729582691192627, | |
0.007274546146392822, | |
0.007259507179260254, | |
0.007263987064361572, | |
0.00749358606338501, | |
0.007286386966705322, | |
0.007289105892181396, | |
0.007274547100067139, | |
0.007282546997070313, | |
0.007449585914611817, | |
0.007333106994628906, | |
0.007301426887512207, | |
0.0072875070571899415, | |
0.007482866764068604, | |
0.007309745788574218, | |
0.007307346820831299, | |
0.007438705921173096, | |
0.007290067195892334, | |
0.00767918586730957, | |
0.007263986110687256, | |
0.007398227214813233, | |
0.00738654613494873, | |
0.00739838695526123, | |
0.007506546020507813, | |
0.007283987045288086, | |
0.007383346080780029, | |
0.007375987052917481, | |
0.0073828668594360354, | |
0.007359187126159668, | |
0.007404626846313477, | |
0.007372786998748779, | |
0.007362387180328369, | |
0.007373266220092774, | |
0.007407347202301026, | |
0.007381425857543945, | |
0.007366227149963379, | |
0.008006864547729493, | |
0.008343344688415527, | |
0.008223344802856445, | |
0.00837966537475586, | |
0.008336944580078125, | |
0.008204624176025391, | |
0.007827826023101806, | |
0.007741586208343506, | |
0.007670226097106933, | |
0.007689266204833984, | |
0.007868464946746825, | |
0.007835025787353516 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.32867848164253 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |