IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
01b88c9
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": "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, | |
"latency": true, | |
"memory": 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", | |
"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.2.1", | |
"optimum_benchmark_commit": "0b24af9d7b7751f74b160dfade73ef78e10964d6", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1821.360128, | |
"max_global_vram": 2719.289344, | |
"max_process_vram": 103914.385408, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 165, | |
"total": 0.9939166703224185, | |
"mean": 0.006023737395893444, | |
"stdev": 0.00029154818130622956, | |
"p50": 0.006043824195861816, | |
"p90": 0.006387374877929688, | |
"p95": 0.006407758331298828, | |
"p99": 0.006445460910797119, | |
"values": [ | |
0.006364462852478027, | |
0.006006383895874023, | |
0.005693103790283203, | |
0.00606766414642334, | |
0.006237742900848389, | |
0.006160623073577881, | |
0.006221743106842041, | |
0.006292303085327148, | |
0.006145583152770996, | |
0.006043824195861816, | |
0.006193263053894043, | |
0.006366703033447265, | |
0.006429102897644043, | |
0.006407503128051758, | |
0.005999503135681153, | |
0.006193743228912353, | |
0.005923183917999267, | |
0.00620814323425293, | |
0.006062384128570557, | |
0.005933104038238525, | |
0.006037743091583252, | |
0.005807344913482666, | |
0.00583934497833252, | |
0.0056697440147399905, | |
0.005946544170379639, | |
0.005920464038848877, | |
0.006023344039916992, | |
0.005969264030456543, | |
0.006284943103790283, | |
0.0059995040893554685, | |
0.006036143779754638, | |
0.005914544105529785, | |
0.005969903945922852, | |
0.005845424175262451, | |
0.006383822917938232, | |
0.006402702808380127, | |
0.006356462955474853, | |
0.006351822853088379, | |
0.00639374303817749, | |
0.0063543829917907715, | |
0.006338862895965576, | |
0.006361262798309326, | |
0.0063727831840515135, | |
0.0063708629608154295, | |
0.006328622817993164, | |
0.006383663177490235, | |
0.006337583065032959, | |
0.006357101917266845, | |
0.006414382934570312, | |
0.006144622802734375, | |
0.0063897428512573245, | |
0.006395662784576416, | |
0.006383821964263916, | |
0.006433743000030518, | |
0.0064078221321105956, | |
0.006408302783966064, | |
0.006417901992797852, | |
0.006296782970428467, | |
0.006474702835083008, | |
0.0063961420059204105, | |
0.006440622806549072, | |
0.006399342060089111, | |
0.006404942989349365, | |
0.006454061985015869, | |
0.006369422912597656, | |
0.006241743087768555, | |
0.00597822380065918, | |
0.006295823097229004, | |
0.006147822856903076, | |
0.006201743125915527, | |
0.005970223903656006, | |
0.005937263965606689, | |
0.00572814416885376, | |
0.005669264793395996, | |
0.005662703990936279, | |
0.006034383773803711, | |
0.0056401448249816894, | |
0.005856305122375488, | |
0.00569374418258667, | |
0.005701105117797852, | |
0.005708303928375244, | |
0.005709105014801026, | |
0.00584974479675293, | |
0.0062313427925109865, | |
0.006048142910003662, | |
0.006027823925018311, | |
0.006123342990875244, | |
0.006071023941040039, | |
0.006022542953491211, | |
0.005909423828125, | |
0.005709424972534179, | |
0.00547630500793457, | |
0.0056780648231506345, | |
0.005677104949951172, | |
0.005731025218963623, | |
0.0054699058532714845, | |
0.0057084641456604, | |
0.005453104972839355, | |
0.005461266040802002, | |
0.005468465805053711, | |
0.005470065116882325, | |
0.005782063961029053, | |
0.005455985069274903, | |
0.0055020651817321775, | |
0.0054860649108886715, | |
0.005495345115661621, | |
0.005477264881134033, | |
0.0056132650375366215, | |
0.005527665138244629, | |
0.005716464996337891, | |
0.005623983860015869, | |
0.005474705219268799, | |
0.005600305080413819, | |
0.005564624786376953, | |
0.00563630485534668, | |
0.005744944095611573, | |
0.005651024818420411, | |
0.005668464183807373, | |
0.0056945447921752925, | |
0.0056347050666809085, | |
0.00562766408920288, | |
0.005824785232543945, | |
0.005742064952850342, | |
0.00585374402999878, | |
0.005898543834686279, | |
0.0058073439598083495, | |
0.006048783779144287, | |
0.0062313427925109865, | |
0.006210223197937011, | |
0.006195503234863281, | |
0.006198702812194824, | |
0.006241743087768555, | |
0.006110864162445068, | |
0.00621038293838501, | |
0.006229582786560058, | |
0.006198223114013672, | |
0.006216463088989258, | |
0.006226862907409668, | |
0.006272782802581787, | |
0.006212303161621094, | |
0.0062479829788208005, | |
0.006210224151611328, | |
0.006217103958129883, | |
0.006237263202667236, | |
0.00621902322769165, | |
0.006234862804412842, | |
0.006238382816314697, | |
0.006211503028869629, | |
0.00618686294555664, | |
0.006229262828826904, | |
0.006191183090209961, | |
0.006178224086761474, | |
0.006223183155059814, | |
0.006007503032684327, | |
0.005905903816223144, | |
0.00599070405960083, | |
0.005908304214477539, | |
0.005829423904418945, | |
0.006179022789001465, | |
0.006005583763122558, | |
0.006003024101257325, | |
0.0058092641830444335, | |
0.005883503913879395, | |
0.005994863986968994, | |
0.005964142799377441 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 166.00989290830123 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |