![IlyasMoutawwakil's picture](https://cdn-avatars.huggingface.co/v1/production/uploads/1642598610696-noauth.jpeg)
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1c35a18
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.934912, | |
"max_global_vram": 695.730176, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.364295166015625 | |
], | |
"count": 1, | |
"total": 0.364295166015625, | |
"mean": 0.364295166015625, | |
"p50": 0.364295166015625, | |
"p90": 0.364295166015625, | |
"p95": 0.364295166015625, | |
"p99": 0.364295166015625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.968868822847247e-05, | |
"ram": 5.461792607595669e-05, | |
"gpu": 0.00013573205303000005, | |
"total": 0.0002900386673344292 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1124.1472, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 133.139968 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007651328086853027, | |
0.007218175888061523, | |
0.007142399787902832, | |
0.007142399787902832, | |
0.007162879943847656, | |
0.007164864063262939, | |
0.007247871875762939, | |
0.007245823860168457, | |
0.007215104103088379, | |
0.007216127872467041, | |
0.007207935810089112, | |
0.007188416004180908, | |
0.007161856174468994, | |
0.007159808158874512, | |
0.007244736194610596, | |
0.007185408115386963, | |
0.007219200134277344, | |
0.007234560012817383, | |
0.007145535945892334, | |
0.007301119804382325, | |
0.007357439994812012, | |
0.007251967906951904, | |
0.007331840038299561, | |
0.007420928001403809, | |
0.007341023921966553, | |
0.007241727828979493, | |
0.007176191806793213, | |
0.007369664192199707, | |
0.007337984085083008, | |
0.007166975975036621, | |
0.007146495819091797, | |
0.007163904190063477, | |
0.007144447803497315, | |
0.007157695770263672, | |
0.0071833600997924804, | |
0.007209983825683594, | |
0.007218175888061523, | |
0.007250944137573242, | |
0.007218175888061523, | |
0.007180287837982178, | |
0.0071823358535766605, | |
0.007155712127685547, | |
0.007120895862579346, | |
0.007172095775604248, | |
0.007093247890472412, | |
0.006971392154693603, | |
0.00694271993637085, | |
0.00692633581161499, | |
0.006947840213775635, | |
0.0069212160110473635, | |
0.006912000179290771, | |
0.006838272094726563, | |
0.007492544174194336, | |
0.007353280067443848, | |
0.007344096183776855, | |
0.007346144199371338, | |
0.007385087966918945, | |
0.007451712131500244, | |
0.0074997758865356446, | |
0.007553023815155029, | |
0.007539711952209473, | |
0.007510015964508057, | |
0.007351295948028564, | |
0.007261184215545655, | |
0.007282688140869141, | |
0.00723967981338501, | |
0.0072540159225463864, | |
0.007261184215545655, | |
0.0072130560874938965, | |
0.00723967981338501, | |
0.007196671962738037, | |
0.007214144229888916, | |
0.00719155216217041, | |
0.007174143791198731, | |
0.007180287837982178, | |
0.007173183917999267, | |
0.007237631797790528, | |
0.007206912040710449, | |
0.007155712127685547, | |
0.0071833600997924804, | |
0.007177216053009033, | |
0.0072130560874938965, | |
0.0071823358535766605, | |
0.007154687881469727, | |
0.007171072006225586, | |
0.007175168037414551, | |
0.007198719978332519, | |
0.007196671962738037, | |
0.007151616096496582, | |
0.007192575931549072, | |
0.007177248001098633, | |
0.0072120318412780765, | |
0.007193600177764893, | |
0.007527423858642578, | |
0.00719155216217041, | |
0.007245823860168457, | |
0.007222271919250488, | |
0.007215104103088379, | |
0.0073697280883789065, | |
0.007516128063201904, | |
0.007337984085083008, | |
0.00719155216217041, | |
0.007200767993927002, | |
0.007181312084197998, | |
0.007153664112091064, | |
0.007155712127685547, | |
0.007187456130981445, | |
0.007274496078491211, | |
0.007262207984924316, | |
0.007256063938140869, | |
0.007170015811920166, | |
0.0071792640686035155, | |
0.007168000221252442, | |
0.007171072006225586, | |
0.00724070405960083, | |
0.007146560192108155, | |
0.007175168037414551, | |
0.0071905279159545895, | |
0.007196671962738037, | |
0.007198719978332519, | |
0.0071792640686035155, | |
0.007170048236846924, | |
0.007221248149871826, | |
0.00723967981338501, | |
0.007250944137573242, | |
0.007203839778900147, | |
0.0071526398658752445, | |
0.007228415966033935, | |
0.007216127872467041, | |
0.007202816009521484, | |
0.007214079856872559, | |
0.007162879943847656, | |
0.007096320152282715, | |
0.007081984043121338, | |
0.0070860800743103025, | |
0.007160831928253173, | |
0.007144447803497315, | |
0.007188479900360107 | |
], | |
"count": 138, | |
"total": 0.9959226875305173, | |
"mean": 0.007216831069061721, | |
"p50": 0.007196671962738037, | |
"p90": 0.007354528045654297, | |
"p95": 0.007493628931045533, | |
"p99": 0.0075480984258651735, | |
"stdev": 0.00012082976274285391, | |
"stdev_": 1.6742772774721926 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 277.12994538197296 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.501156657737954e-08, | |
"ram": 4.643606997028476e-08, | |
"gpu": 2.0595254571428595e-07, | |
"total": 3.3740018226195046e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 5927679.074124631 | |
} | |
} | |
} | |
} |