IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
64ea7fa
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": 1464.930304, | |
"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.99927392578125, | |
"mean": 7.99927392578125, | |
"stdev": 0.0, | |
"p50": 7.99927392578125, | |
"p90": 7.99927392578125, | |
"p95": 7.99927392578125, | |
"p99": 7.99927392578125, | |
"values": [ | |
7.99927392578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 2442.518528, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.9947714557647706, | |
"mean": 0.007958171646118164, | |
"stdev": 0.0004949117403206781, | |
"p50": 0.007787975788116455, | |
"p90": 0.008611141204833984, | |
"p95": 0.00862752513885498, | |
"p99": 0.009410543556213383, | |
"values": [ | |
0.008099493980407714, | |
0.008106534957885742, | |
0.00798109483718872, | |
0.008013094902038574, | |
0.008022374153137207, | |
0.008072614669799805, | |
0.00790141487121582, | |
0.007857574939727783, | |
0.008055974960327148, | |
0.007857094764709473, | |
0.007797895908355713, | |
0.007832775115966797, | |
0.007803336143493652, | |
0.0078108558654785155, | |
0.007775176048278809, | |
0.008064775466918946, | |
0.007789256095886231, | |
0.007736935138702393, | |
0.007963815212249755, | |
0.007715335845947266, | |
0.0077252559661865235, | |
0.0076866960525512696, | |
0.007701416015625, | |
0.007673096179962158, | |
0.008065094947814941, | |
0.007697415828704834, | |
0.00771037483215332, | |
0.009592289924621583, | |
0.007970055103302003, | |
0.007969894886016845, | |
0.008347813606262206, | |
0.008630373001098634, | |
0.00861693286895752, | |
0.011228764533996582, | |
0.008835013389587403, | |
0.008607973098754882, | |
0.008600933074951172, | |
0.00858413314819336, | |
0.008634853363037109, | |
0.008589893341064454, | |
0.008593413352966308, | |
0.00859821319580078, | |
0.008629093170166016, | |
0.008612293243408203, | |
0.008636452674865723, | |
0.008599653244018554, | |
0.008615973472595215, | |
0.008606212615966797, | |
0.008615973472595215, | |
0.008609413146972656, | |
0.008583972930908203, | |
0.00862125301361084, | |
0.008617093086242675, | |
0.008594853401184082, | |
0.008510533332824708, | |
0.00803741455078125, | |
0.007668136119842529, | |
0.007588137149810791, | |
0.007586377143859863, | |
0.0075705361366271975, | |
0.007610216140747071, | |
0.007582856178283691, | |
0.007590536117553711, | |
0.007597576141357422, | |
0.007579815864562988, | |
0.007596776962280273, | |
0.007787975788116455, | |
0.007618055820465088, | |
0.0075868558883667, | |
0.007623976230621338, | |
0.007609735965728759, | |
0.007608615875244141, | |
0.007629255771636963, | |
0.007646215915679932, | |
0.007597896099090576, | |
0.007839816093444824, | |
0.007601417064666748, | |
0.007598536014556885, | |
0.007581575870513916, | |
0.007596615791320801, | |
0.007599656105041504, | |
0.007629576206207275, | |
0.007615335941314697, | |
0.0076114959716796875, | |
0.007833415031433106, | |
0.007652616024017334, | |
0.007606855869293213, | |
0.007642695903778076, | |
0.007643176078796387, | |
0.007617576122283936, | |
0.007647336006164551, | |
0.0076468558311462405, | |
0.007635176181793213, | |
0.007635496139526367, | |
0.007853254795074463, | |
0.007895336151123047, | |
0.007826695919036866, | |
0.008291334152221679, | |
0.008171174049377441, | |
0.008144615173339843, | |
0.007631176948547363, | |
0.007627976894378662, | |
0.00775437593460083, | |
0.007639976024627686, | |
0.007626696109771729, | |
0.007633895874023438, | |
0.00775485610961914, | |
0.0076114959716796875, | |
0.007657735824584961, | |
0.007619816780090332, | |
0.007643657207489014, | |
0.007623977184295654, | |
0.007631816864013672, | |
0.007626057147979736, | |
0.007626057147979736, | |
0.007657576084136963, | |
0.008003655433654786, | |
0.007870055198669434, | |
0.007904294967651368, | |
0.007841576099395751, | |
0.0076207761764526365, | |
0.007810375213623047, | |
0.007824135780334472, | |
0.007986215114593506, | |
0.007638536930084229 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.65700319969598 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |