IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
81262f9
verified
{ | |
"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.360704, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 6158.82752, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.44501007080078125 | |
], | |
"count": 1, | |
"total": 0.44501007080078125, | |
"mean": 0.44501007080078125, | |
"p50": 0.44501007080078125, | |
"p90": 0.44501007080078125, | |
"p95": 0.44501007080078125, | |
"p99": 0.44501007080078125, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1253.830656, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 113712.037888, | |
"max_reserved": 148.897792, | |
"max_allocated": 124.554752 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007405109882354736, | |
0.006918388843536377, | |
0.006847189903259277, | |
0.006917270183563232, | |
0.006923989772796631, | |
0.006900629997253418, | |
0.006929749965667724, | |
0.006935349941253662, | |
0.006856150150299072, | |
0.006930069923400879, | |
0.006920470237731934, | |
0.006917589187622071, | |
0.006910550117492676, | |
0.006839990139007568, | |
0.006868470191955567, | |
0.0069076700210571286, | |
0.006833270072937012, | |
0.006907989978790283, | |
0.006876150131225586, | |
0.006862870216369629, | |
0.006922389984130859, | |
0.006811349868774414, | |
0.006865910053253174, | |
0.006905910015106201, | |
0.006831349849700928, | |
0.006923190116882324, | |
0.006849269866943359, | |
0.0068678297996520995, | |
0.006830230236053467, | |
0.006788949966430664, | |
0.006824150085449219, | |
0.006809750080108643, | |
0.006828629970550537, | |
0.006799990177154541, | |
0.006810709953308105, | |
0.006815189838409424, | |
0.0068084697723388675, | |
0.006831669807434082, | |
0.006813590049743652, | |
0.006795989990234375, | |
0.006827189922332764, | |
0.006816150188446045, | |
0.006809589862823487, | |
0.006818550109863281, | |
0.006812150001525879, | |
0.006806550025939942, | |
0.006801430225372314, | |
0.0067774300575256345, | |
0.006826230049133301, | |
0.006785270214080811, | |
0.006820469856262207, | |
0.006788790225982666, | |
0.0068103899955749515, | |
0.006823349952697754, | |
0.006840789794921875, | |
0.0068196702003479005, | |
0.006817590236663818, | |
0.006841269969940186, | |
0.006833270072937012, | |
0.007255829811096191, | |
0.006835830211639404, | |
0.006837430000305175, | |
0.006856790065765381, | |
0.006890069961547851, | |
0.0068415899276733395, | |
0.006834869861602783, | |
0.0068697500228881835, | |
0.006839990139007568, | |
0.006832630157470703, | |
0.006848949909210205, | |
0.006847990036010742, | |
0.006838070869445801, | |
0.006855830192565918, | |
0.006844150066375732, | |
0.006827990055084229, | |
0.006834549903869629, | |
0.0068484702110290525, | |
0.006839829921722412, | |
0.006848149776458741, | |
0.006834869861602783, | |
0.006835509777069091, | |
0.006803030014038086, | |
0.006825910091400146, | |
0.006821590900421143, | |
0.0068351907730102536, | |
0.006801431179046631, | |
0.006819349765777588, | |
0.006808790206909179, | |
0.006806709766387939, | |
0.006809430122375488, | |
0.006816949844360352, | |
0.006817910194396972, | |
0.006814229965209961, | |
0.0068251099586486815, | |
0.006819990158081055, | |
0.006796150207519531, | |
0.0068084697723388675, | |
0.006810070037841797, | |
0.006817269802093506, | |
0.0068036699295043945, | |
0.0073244690895080565, | |
0.006862070083618164, | |
0.006855830192565918, | |
0.006865749835968018, | |
0.006873909950256348, | |
0.0069027099609375, | |
0.006904789924621582, | |
0.006866710186004639, | |
0.006874869823455811, | |
0.00686014986038208, | |
0.006843669891357422, | |
0.006850709915161133, | |
0.006869110107421875, | |
0.006832310199737549, | |
0.006824470996856689, | |
0.006849269866943359, | |
0.006839990139007568, | |
0.0068428702354431156, | |
0.006835350036621094, | |
0.00681535005569458, | |
0.0068654298782348635, | |
0.006808790206909179, | |
0.0068550300598144535, | |
0.006857269763946533, | |
0.006830709934234619, | |
0.006814390182495117, | |
0.006842070102691651, | |
0.006851510047912597, | |
0.006859990119934082, | |
0.006865749835968018, | |
0.006866230010986328, | |
0.006838389873504639, | |
0.006834869861602783, | |
0.006846710205078125, | |
0.006828629970550537, | |
0.0068391900062561035, | |
0.006831510066986084, | |
0.006832950115203858, | |
0.006860949993133545, | |
0.006861908912658692, | |
0.006846869945526123, | |
0.006793590068817139, | |
0.006825590133666992, | |
0.006812630176544189, | |
0.006831669807434082, | |
0.00683119010925293 | |
], | |
"count": 146, | |
"total": 1.0005081424713136, | |
"mean": 0.006852795496378859, | |
"p50": 0.006835669994354247, | |
"p90": 0.006907829999923705, | |
"p95": 0.006922990083694458, | |
"p99": 0.007293581414222718, | |
"stdev": 7.735020335834241e-05, | |
"stdev_": 1.1287394085992446 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 291.8516977570447 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |