
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
ae311b7
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"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": 866.279424, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2271865234375, | |
"mean": 8.2271865234375, | |
"stdev": 0.0, | |
"p50": 8.2271865234375, | |
"p90": 8.2271865234375, | |
"p95": 8.2271865234375, | |
"p99": 8.2271865234375, | |
"values": [ | |
8.2271865234375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.292451573610774e-06, | |
"ram": 2.3368023005090428e-06, | |
"gpu": 6.248338332000042e-06, | |
"total": 1.2877592206119859e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1105.354752, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9962351980209352, | |
"mean": 0.0073252588089774626, | |
"stdev": 0.00022059992961566484, | |
"p50": 0.007422463893890381, | |
"p90": 0.007555583953857421, | |
"p95": 0.007634760022163391, | |
"p99": 0.007697715163230896, | |
"values": [ | |
0.007666687965393066, | |
0.007704383850097656, | |
0.00760319995880127, | |
0.007696383953094482, | |
0.007665631771087647, | |
0.007588863849639893, | |
0.007629951953887939, | |
0.007548927783966064, | |
0.007489535808563232, | |
0.007442431926727295, | |
0.0071833600997924804, | |
0.00733900785446167, | |
0.007547904014587403, | |
0.007434239864349365, | |
0.007404543876647949, | |
0.007359488010406494, | |
0.0074414081573486324, | |
0.0075673599243164065, | |
0.007586719989776611, | |
0.007465983867645264, | |
0.007514111995697022, | |
0.007479296207427978, | |
0.0074629120826721195, | |
0.007502816200256348, | |
0.007494656085968018, | |
0.0076984319686889645, | |
0.007548927783966064, | |
0.007675903797149658, | |
0.0075038719177246095, | |
0.007498623847961426, | |
0.007523327827453613, | |
0.007488512039184571, | |
0.007507967948913574, | |
0.007540736198425293, | |
0.007475200176239013, | |
0.007113728046417236, | |
0.0070032639503479, | |
0.006996992111206054, | |
0.0070563840866088865, | |
0.007032832145690918, | |
0.00704307222366333, | |
0.007146495819091797, | |
0.007134208202362061, | |
0.007152703762054444, | |
0.007543839931488037, | |
0.007557119846343994, | |
0.007554048061370849, | |
0.007502848148345947, | |
0.007590911865234375, | |
0.007553023815155029, | |
0.0074321599006652835, | |
0.007432096004486084, | |
0.007525375843048096, | |
0.007512063980102539, | |
0.007458816051483155, | |
0.007528448104858398, | |
0.007544832229614258, | |
0.007464960098266602, | |
0.007411712169647216, | |
0.00742195177078247, | |
0.007422976016998291, | |
0.007539711952209473, | |
0.0075304961204528805, | |
0.007375872135162354, | |
0.00743936014175415, | |
0.007483391761779785, | |
0.0074412479400634765, | |
0.0074711041450500485, | |
0.007485504150390625, | |
0.007423999786376953, | |
0.007554048061370849, | |
0.007649184226989746, | |
0.0075008001327514645, | |
0.007531424045562744, | |
0.007549952030181885, | |
0.0074997758865356446, | |
0.007461887836456299, | |
0.007475327968597412, | |
0.0074711041450500485, | |
0.007359488010406494, | |
0.007453695774078369, | |
0.0074670081138610836, | |
0.007390207767486572, | |
0.007377920150756836, | |
0.007196671962738037, | |
0.0073994240760803225, | |
0.007430079936981201, | |
0.007171072006225586, | |
0.007039999961853028, | |
0.007206912040710449, | |
0.00694271993637085, | |
0.006881279945373535, | |
0.006973440170288086, | |
0.006972383975982666, | |
0.007452672004699707, | |
0.007485439777374267, | |
0.007320576190948487, | |
0.007110655784606934, | |
0.007245823860168457, | |
0.007164959907531738, | |
0.007171999931335449, | |
0.0071905279159545895, | |
0.00709222412109375, | |
0.007108607769012451, | |
0.007102464199066162, | |
0.007117631912231445, | |
0.00707583999633789, | |
0.007081984043121338, | |
0.007105343818664551, | |
0.007071743965148926, | |
0.007074751853942871, | |
0.0070522880554199216, | |
0.00706553602218628, | |
0.007070720195770264, | |
0.00704204797744751, | |
0.007023615837097168, | |
0.007057407855987549, | |
0.007078911781311035, | |
0.007124991893768311, | |
0.007110655784606934, | |
0.007071743965148926, | |
0.007098368167877197, | |
0.00710041618347168, | |
0.007108607769012451, | |
0.007113728046417236, | |
0.007046144008636474, | |
0.00707583999633789, | |
0.007101439952850342, | |
0.007049248218536377, | |
0.0070728640556335445, | |
0.007048192024230957, | |
0.007008255958557129, | |
0.007041920185089112, | |
0.007021567821502686, | |
0.007050240039825439, | |
0.007062528133392334 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.51394798153086 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.313375623057371e-08, | |
"ram": 4.545519466809656e-08, | |
"gpu": 1.6619671415384653e-07, | |
"total": 2.947856650525168e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3392295.211579734 | |
} | |
} | |
} | |
} |