IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
9d13a00
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": "6", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"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", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1177.632768, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 7174.139904, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.46650717163085936 | |
], | |
"count": 1, | |
"total": 0.46650717163085936, | |
"mean": 0.46650717163085936, | |
"p50": 0.46650717163085936, | |
"p90": 0.46650717163085936, | |
"p95": 0.46650717163085936, | |
"p99": 0.46650717163085936, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1262.12096, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 122026.217472, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007728335857391358, | |
0.007349453926086426, | |
0.007481295108795166, | |
0.007557294845581055, | |
0.007341454029083252, | |
0.00753073501586914, | |
0.0074304151535034176, | |
0.007392014980316162, | |
0.007511374950408936, | |
0.007460174083709717, | |
0.007403055191040039, | |
0.007130414009094238, | |
0.007066894054412842, | |
0.007106574058532715, | |
0.007072813987731933, | |
0.007088173866271972, | |
0.007116174221038819, | |
0.007032174110412598, | |
0.007160014152526856, | |
0.007064013957977295, | |
0.007136494159698486, | |
0.007024333000183105, | |
0.007024653911590576, | |
0.007171854972839355, | |
0.007046573162078858, | |
0.007144974231719971, | |
0.007051214218139649, | |
0.007049454212188721, | |
0.0071840138435363765, | |
0.00708289384841919, | |
0.007179053783416748, | |
0.0070459342002868654, | |
0.007144333839416504, | |
0.00707297420501709, | |
0.007061294078826904, | |
0.007066093921661377, | |
0.007037933826446533, | |
0.0070556941032409665, | |
0.007076333999633789, | |
0.007039854049682617, | |
0.007022414207458496, | |
0.007051693916320801, | |
0.007053614139556885, | |
0.007249613761901855, | |
0.0074280152320861815, | |
0.007439535140991211, | |
0.007474414825439453, | |
0.007483054161071778, | |
0.007493293762207031, | |
0.007306254863739013, | |
0.007033294200897217, | |
0.0069889740943908695, | |
0.00738145399093628, | |
0.007049133777618408, | |
0.007084494113922119, | |
0.007038733959197998, | |
0.007057933807373047, | |
0.007026733875274659, | |
0.007038253784179688, | |
0.007050734043121338, | |
0.007034413814544678, | |
0.007047533988952637, | |
0.007035533905029297, | |
0.007129293918609619, | |
0.007080173969268798, | |
0.007039693832397461, | |
0.007058094024658203, | |
0.007047214031219482, | |
0.007073453903198242, | |
0.007064174175262452, | |
0.007072494029998779, | |
0.0070628938674926756, | |
0.007041453838348389, | |
0.007033453941345215, | |
0.0070532941818237304, | |
0.007032494068145752, | |
0.007048173904418946, | |
0.007034893035888672, | |
0.007004013061523437, | |
0.007010094165802002, | |
0.007038733959197998, | |
0.0070268940925598145, | |
0.006963374137878418, | |
0.007365133762359619, | |
0.007051212787628174, | |
0.0070336141586303715, | |
0.007029774188995361, | |
0.007030573844909668, | |
0.007042893886566162, | |
0.007059534072875976, | |
0.007036814212799072, | |
0.007021294116973877, | |
0.007042573928833008, | |
0.007436975002288819, | |
0.0072188940048217775, | |
0.0070201740264892575, | |
0.0070108938217163085, | |
0.007448494911193848, | |
0.007431213855743408, | |
0.007430095195770264, | |
0.007352334976196289, | |
0.0073449740409851074, | |
0.007429134845733642, | |
0.007414575099945068, | |
0.007436494827270507, | |
0.007467535018920899, | |
0.007508974075317382, | |
0.007406734943389893, | |
0.007393294811248779, | |
0.00739185380935669, | |
0.007437614917755127, | |
0.007443534851074219, | |
0.007486414909362793, | |
0.007512334823608398, | |
0.007076014041900635, | |
0.00706753396987915, | |
0.007036014080047608, | |
0.00727009391784668, | |
0.007521454811096191, | |
0.007056494235992431, | |
0.007051534175872802, | |
0.00703265380859375, | |
0.007058894157409668, | |
0.007031214237213135, | |
0.007054734230041504, | |
0.007037774085998535, | |
0.007029613018035888, | |
0.007027692794799804, | |
0.007320174217224121, | |
0.0070342540740966795, | |
0.007035213947296143, | |
0.007017293930053711, | |
0.007029613971710205, | |
0.007054574012756347, | |
0.007033294200897217, | |
0.006988973140716553, | |
0.007048654079437256, | |
0.007050734043121338, | |
0.007026893138885498 | |
], | |
"count": 139, | |
"total": 0.9962296466827387, | |
"mean": 0.007167119760307476, | |
"p50": 0.007061294078826904, | |
"p90": 0.007450830745697022, | |
"p95": 0.007494861793518066, | |
"p99": 0.007547202110290528, | |
"stdev": 0.00018044711141184348, | |
"stdev_": 2.5177074954319187 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.52606255279025 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |