IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2140431
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]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"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.1", | |
"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": 1465.921536, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.96849072265625, | |
"mean": 7.96849072265625, | |
"stdev": 0.0, | |
"p50": 7.96849072265625, | |
"p90": 7.96849072265625, | |
"p95": 7.96849072265625, | |
"p99": 7.96849072265625, | |
"values": [ | |
7.96849072265625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1550.47936, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 1.0020476994514467, | |
"mean": 0.007952759519455926, | |
"stdev": 0.0003899351168821052, | |
"p50": 0.007858537435531616, | |
"p90": 0.008433255672454835, | |
"p95": 0.008625015020370483, | |
"p99": 0.008680495262145996, | |
"values": [ | |
0.008289896011352538, | |
0.007897576808929444, | |
0.007972297191619872, | |
0.008167496681213379, | |
0.00801341724395752, | |
0.008151816368103028, | |
0.008172296524047851, | |
0.008127656936645508, | |
0.007944138050079345, | |
0.0077236580848693845, | |
0.007712777137756348, | |
0.007682697772979736, | |
0.007841097831726073, | |
0.007826376914978027, | |
0.007595499038696289, | |
0.007580937862396241, | |
0.007572937965393067, | |
0.007617097854614258, | |
0.007600458145141602, | |
0.007585258960723877, | |
0.0075646181106567385, | |
0.0075633378028869625, | |
0.007539498805999756, | |
0.007498379230499268, | |
0.007597097873687744, | |
0.007695978164672852, | |
0.007778378009796143, | |
0.007862536907196046, | |
0.007825098037719726, | |
0.007831336975097657, | |
0.007770698070526123, | |
0.007791976928710937, | |
0.007770217895507812, | |
0.007724617958068848, | |
0.0076783781051635745, | |
0.007679977893829346, | |
0.007654218196868896, | |
0.007616298198699951, | |
0.0107542085647583, | |
0.008088296890258789, | |
0.007944137096405028, | |
0.007755497932434082, | |
0.008053096771240234, | |
0.00844509506225586, | |
0.008093096733093262, | |
0.007877577781677246, | |
0.008130057334899903, | |
0.007936296939849853, | |
0.007782057762145996, | |
0.008169257164001464, | |
0.008333256721496582, | |
0.008187175750732422, | |
0.007963656902313232, | |
0.007835497856140137, | |
0.008035337448120117, | |
0.00842141628265381, | |
0.007827817916870117, | |
0.008047817230224609, | |
0.007918537139892578, | |
0.007920297145843505, | |
0.00785549783706665, | |
0.0077500581741333004, | |
0.007828617095947265, | |
0.007621898174285889, | |
0.007884458065032959, | |
0.007956616878509522, | |
0.008085577011108399, | |
0.007861577033996581, | |
0.007605738162994384, | |
0.007617417812347412, | |
0.007625578880310058, | |
0.007645258903503418, | |
0.007639179229736328, | |
0.007608938217163086, | |
0.00780269718170166, | |
0.007619338989257813, | |
0.007716618061065674, | |
0.007950697898864746, | |
0.007956778049468994, | |
0.00776397705078125, | |
0.007628939151763916, | |
0.007614058971405029, | |
0.007751017093658447, | |
0.007752617835998535, | |
0.008118857383728027, | |
0.008220616340637208, | |
0.008151657104492187, | |
0.007757897853851318, | |
0.007781417846679688, | |
0.008090216636657715, | |
0.00817389678955078, | |
0.008008777618408203, | |
0.008033416748046874, | |
0.007996617794036865, | |
0.0076855778694152836, | |
0.007931818008422851, | |
0.007773897171020508, | |
0.00795533800125122, | |
0.007633738994598389, | |
0.00780797815322876, | |
0.007776457786560059, | |
0.007824137210845947, | |
0.007616299152374268, | |
0.007625419139862061, | |
0.007583658218383789, | |
0.007629417896270752, | |
0.007746377944946289, | |
0.007998056888580322, | |
0.00790365695953369, | |
0.00823421573638916, | |
0.00823133659362793, | |
0.008206855773925782, | |
0.008457096099853515, | |
0.00863613510131836, | |
0.008542216300964356, | |
0.008384776115417481, | |
0.00806589698791504, | |
0.00827277660369873, | |
0.008544775009155273, | |
0.008629895210266114, | |
0.008634056091308594, | |
0.008625575065612793, | |
0.008693095207214355, | |
0.008623334884643554, | |
0.008642695426940917, | |
0.008617094993591309 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.74251711667665 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |