IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
9d34772
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": "4", | |
"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": 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]", | |
"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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1117.949952, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49896.6528, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.38888671875, | |
"mean": 8.38888671875, | |
"stdev": 0.0, | |
"p50": 8.38888671875, | |
"p90": 8.38888671875, | |
"p95": 8.38888671875, | |
"p99": 8.38888671875, | |
"values": [ | |
8.38888671875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1202.159616, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 114948.354048, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9950259306430821, | |
"mean": 0.0072629629973947575, | |
"stdev": 0.0009518709666613538, | |
"p50": 0.0070788578987121585, | |
"p90": 0.0077893190383911135, | |
"p95": 0.007864454174041748, | |
"p99": 0.009456494331359835, | |
"values": [ | |
0.008084134101867676, | |
0.008029574394226075, | |
0.0078025350570678715, | |
0.007816615104675293, | |
0.007804454803466797, | |
0.007773415088653564, | |
0.007728775024414062, | |
0.007835175037384033, | |
0.00766893482208252, | |
0.00766541576385498, | |
0.007544614791870117, | |
0.007501736164093018, | |
0.0075068559646606445, | |
0.007438216209411621, | |
0.007133896827697754, | |
0.0071138968467712406, | |
0.007100616931915283, | |
0.007101576805114746, | |
0.007116457939147949, | |
0.007054378032684326, | |
0.007146697044372558, | |
0.0071183772087097166, | |
0.007134377002716064, | |
0.007059657096862793, | |
0.0071231770515441896, | |
0.007051817893981934, | |
0.0070556578636169435, | |
0.0071398172378540035, | |
0.007088457107543945, | |
0.007097257137298584, | |
0.007268937110900879, | |
0.007126057147979736, | |
0.010228446960449219, | |
0.007077416896820068, | |
0.007074057102203369, | |
0.007142056941986084, | |
0.006918858051300049, | |
0.006955018043518066, | |
0.007042218208312989, | |
0.006933578014373779, | |
0.006919178009033203, | |
0.007252137184143067, | |
0.0069425368309021, | |
0.00708109712600708, | |
0.006912618160247803, | |
0.007045097827911377, | |
0.006961738109588623, | |
0.006937257766723633, | |
0.007055817127227783, | |
0.00759773588180542, | |
0.00785245418548584, | |
0.007809575080871582, | |
0.007779494762420654, | |
0.007770215034484863, | |
0.007775014877319336, | |
0.007778055191040039, | |
0.007785735130310059, | |
0.007615174770355225, | |
0.007341416835784912, | |
0.007281735897064209, | |
0.00693901777267456, | |
0.006961896896362305, | |
0.006941098213195801, | |
0.0070902171134948734, | |
0.006994378089904785, | |
0.007012776851654053, | |
0.006941577911376953, | |
0.0069481368064880375, | |
0.006939817905426025, | |
0.006937417984008789, | |
0.006919658184051514, | |
0.006924138069152832, | |
0.006903017997741699, | |
0.0069046177864074704, | |
0.006913578033447266, | |
0.006902058124542237, | |
0.006907338142395019, | |
0.015928749084472657, | |
0.002301593065261841, | |
0.006633258819580078, | |
0.006968937873840332, | |
0.006945736885070801, | |
0.006956138134002685, | |
0.006919017791748047, | |
0.006927176952362061, | |
0.006907978057861328, | |
0.006921897888183594, | |
0.006933897972106934, | |
0.006941418170928955, | |
0.006918858051300049, | |
0.006947817802429199, | |
0.006912457942962647, | |
0.006940137863159179, | |
0.006953417778015137, | |
0.006912457942962647, | |
0.006896937847137451, | |
0.006961257934570313, | |
0.006972937107086181, | |
0.006940298080444336, | |
0.0069278178215026855, | |
0.006943017959594727, | |
0.006954378128051758, | |
0.006884138107299805, | |
0.00689005708694458, | |
0.006891977787017822, | |
0.006953897953033447, | |
0.0069556570053100585, | |
0.006918377876281738, | |
0.006961257934570313, | |
0.0069578981399536135, | |
0.006959497928619385, | |
0.006915818214416504, | |
0.007029898166656494, | |
0.00722189712524414, | |
0.0070788578987121585, | |
0.007352136135101319, | |
0.00739085578918457, | |
0.007927655220031738, | |
0.00791245412826538, | |
0.007931334972381592, | |
0.0076556549072265626, | |
0.007380136013031006, | |
0.007335017204284668, | |
0.007297255992889404, | |
0.007337256908416748, | |
0.00733405590057373, | |
0.007771655082702637, | |
0.00770813512802124, | |
0.007609415054321289, | |
0.007477735996246338, | |
0.007453256130218506, | |
0.007423495769500733, | |
0.007426375865936279, | |
0.007260457038879394, | |
0.00753661584854126, | |
0.007794694900512695, | |
0.00744541597366333 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.6848540132591 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |