IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
88182b5 verified
raw
history blame
10.2 kB
{
"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_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": {},
"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",
"numactl": false,
"numactl_kwargs": {},
"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.3.1",
"optimum_benchmark_commit": "f837debaab7bc93d6490c10e065312a52e57b795",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1842.118656,
"max_global_vram": 520.536064,
"max_process_vram": 71097.974784,
"max_reserved": 148.897792,
"max_allocated": 113.520128
},
"latency": {
"unit": "s",
"count": 132,
"total": 1.0000106859207154,
"mean": 0.007575838529702389,
"stdev": 0.00033007282849014936,
"p50": 0.007484693050384522,
"p90": 0.00805374813079834,
"p95": 0.008106058788299562,
"p99": 0.008137682695388794,
"values": [
0.0075766129493713376,
0.007546213150024414,
0.007625732898712158,
0.007547173023223877,
0.007736611843109131,
0.007851972103118896,
0.007316294193267822,
0.007622693061828613,
0.007323334217071533,
0.007436933994293213,
0.007367333889007568,
0.007312294006347656,
0.007224935054779053,
0.0073262138366699215,
0.007326854228973389,
0.007489414215087891,
0.007327814102172852,
0.007353094100952149,
0.007341413974761963,
0.007641252994537354,
0.007367332935333252,
0.007591813087463379,
0.007369413852691651,
0.0074082927703857425,
0.007471014022827149,
0.007435653209686279,
0.0074082942008972166,
0.007358373165130615,
0.007502694129943848,
0.007694212913513183,
0.007692933082580566,
0.0075017337799072265,
0.007483973026275635,
0.007506853103637696,
0.007779171943664551,
0.007673733234405518,
0.007599973201751709,
0.007746531963348389,
0.007637252807617187,
0.007514052867889405,
0.007467333793640137,
0.007759012222290039,
0.007724452018737793,
0.007434854030609131,
0.007211334228515625,
0.007464932918548584,
0.007367494106292724,
0.007181573867797852,
0.007417094230651855,
0.007338374137878418,
0.007286533832550048,
0.007371333122253418,
0.007496774196624756,
0.00727005386352539,
0.007260454177856445,
0.0073426938056945805,
0.007548933982849121,
0.007745252132415771,
0.007485413074493409,
0.007422694206237793,
0.007304934024810791,
0.00730061388015747,
0.007375013828277588,
0.007369894027709961,
0.007113094806671143,
0.007221254825592041,
0.007218533992767334,
0.007176293849945069,
0.007225574970245362,
0.007213735103607178,
0.007231974124908448,
0.007193734169006347,
0.008041412353515624,
0.007951490879058838,
0.008053892135620118,
0.007970372200012206,
0.00798221206665039,
0.008005891799926758,
0.00804189109802246,
0.007955331802368164,
0.007972930908203125,
0.0080242919921875,
0.007977731227874756,
0.007970051765441894,
0.008063651084899903,
0.007975492000579834,
0.008055651664733886,
0.008019651412963867,
0.008064130783081054,
0.008052452087402344,
0.00807341194152832,
0.008017890930175782,
0.008116930961608886,
0.008139170646667481,
0.008114530563354492,
0.008134370803833007,
0.008130690574645997,
0.00810861110687256,
0.008103970527648927,
0.00808941078186035,
0.008259170532226563,
0.008042851448059081,
0.008045090675354003,
0.007978372097015381,
0.007992452144622802,
0.008005730628967285,
0.008002531051635743,
0.007973412036895751,
0.008011011123657227,
0.0077705330848693846,
0.007167015075683594,
0.007183973789215088,
0.007298694133758545,
0.007196615219116211,
0.007186375141143799,
0.007203653812408447,
0.00730989408493042,
0.007179334163665772,
0.007203014850616455,
0.00727933406829834,
0.007192453861236572,
0.0072614140510559085,
0.007207973957061768,
0.007252134799957275,
0.007246055126190185,
0.007222215175628662,
0.007506052970886231,
0.007268454074859619,
0.007187973976135254,
0.00717709493637085,
0.007250854015350342,
0.00716269302368164
]
},
"throughput": {
"unit": "samples/s",
"value": 131.99858947353835
},
"energy": null,
"efficiency": null
}
}
}