
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1368989
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 790.458368, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.41691796875, | |
"mean": 7.41691796875, | |
"stdev": 0.0, | |
"p50": 7.41691796875, | |
"p90": 7.41691796875, | |
"p95": 7.41691796875, | |
"p99": 7.41691796875, | |
"values": [ | |
7.41691796875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.373283849822151e-06, | |
"ram": 2.3652813880191085e-06, | |
"gpu": 6.573060814000055e-06, | |
"total": 1.3311626051841314e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.310272, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 1.0019503359794617, | |
"mean": 0.006769934702563931, | |
"stdev": 0.00032091958367498987, | |
"p50": 0.006690304040908814, | |
"p90": 0.0070813696384429935, | |
"p95": 0.007153920030593872, | |
"p99": 0.008083773350715638, | |
"values": [ | |
0.009346048355102539, | |
0.008578047752380372, | |
0.006972415924072266, | |
0.006889472007751465, | |
0.00679423999786377, | |
0.006821887969970703, | |
0.006815743923187256, | |
0.006925343990325928, | |
0.006684671878814697, | |
0.006715392112731934, | |
0.006738944053649902, | |
0.0066641921997070315, | |
0.006821887969970703, | |
0.006591487884521485, | |
0.006624224185943603, | |
0.006692863941192627, | |
0.00672870397567749, | |
0.006707200050354004, | |
0.006749184131622315, | |
0.006750207901000976, | |
0.006643712043762207, | |
0.0066375679969787596, | |
0.006730720043182373, | |
0.00673689603805542, | |
0.006706175804138184, | |
0.0067338237762451176, | |
0.006754303932189941, | |
0.006854656219482422, | |
0.006729728221893311, | |
0.006731776237487793, | |
0.007526400089263916, | |
0.007116799831390381, | |
0.007150591850280762, | |
0.007094272136688232, | |
0.00707583999633789, | |
0.00709939193725586, | |
0.007142399787902832, | |
0.007057407855987549, | |
0.007143424034118652, | |
0.007129087924957276, | |
0.007264256000518799, | |
0.007155712127685547, | |
0.007221248149871826, | |
0.0071823358535766605, | |
0.007515135765075683, | |
0.006788095951080322, | |
0.006771743774414063, | |
0.006680575847625733, | |
0.006688767910003662, | |
0.006657023906707763, | |
0.006608895778656006, | |
0.0066007041931152345, | |
0.006681600093841553, | |
0.006661119937896728, | |
0.006755328178405762, | |
0.006726655960083008, | |
0.0065710082054138185, | |
0.006614016056060791, | |
0.006589439868927002, | |
0.0066447358131408694, | |
0.006667263984680176, | |
0.006639616012573242, | |
0.006752255916595459, | |
0.006817791938781738, | |
0.006758399963378906, | |
0.006807551860809326, | |
0.006848512172698974, | |
0.006714367866516113, | |
0.006714367866516113, | |
0.006907904148101806, | |
0.006738944053649902, | |
0.0066304001808166506, | |
0.006810624122619629, | |
0.006620160102844238, | |
0.006576128005981445, | |
0.006449183940887451, | |
0.006531040191650391, | |
0.006730751991271973, | |
0.006541376113891602, | |
0.006366208076477051, | |
0.006348800182342529, | |
0.006450175762176514, | |
0.0063632001876831054, | |
0.00643174409866333, | |
0.006499328136444092, | |
0.006453248023986816, | |
0.0065177597999572755, | |
0.0067348480224609375, | |
0.007051263809204102, | |
0.006758463859558105, | |
0.006684671878814697, | |
0.0066109437942504885, | |
0.006680575847625733, | |
0.006726655960083008, | |
0.006666240215301514, | |
0.0066447358131408694, | |
0.006650879859924317, | |
0.00682700777053833, | |
0.006709248065948486, | |
0.006711264133453369, | |
0.006649856090545654, | |
0.006721536159515381, | |
0.006670335769653321, | |
0.006654975891113281, | |
0.006778880119323731, | |
0.006681600093841553, | |
0.006652927875518798, | |
0.006651904106140137, | |
0.006687744140625, | |
0.006689792156219483, | |
0.0066447358131408694, | |
0.0066826238632202144, | |
0.006822912216186523, | |
0.006817791938781738, | |
0.006682591915130615, | |
0.006691840171813965, | |
0.006650847911834717, | |
0.006702079772949219, | |
0.0066713600158691405, | |
0.0066344962120056155, | |
0.006685696125030518, | |
0.0066938881874084475, | |
0.006653952121734619, | |
0.00672870397567749, | |
0.006713344097137451, | |
0.0066406397819519045, | |
0.006685696125030518, | |
0.006668288230895996, | |
0.006843423843383789, | |
0.006681600093841553, | |
0.006692863941192627, | |
0.006672383785247803, | |
0.006669312000274658, | |
0.006690815925598144, | |
0.006687744140625, | |
0.006660096168518067, | |
0.006684671878814697, | |
0.006638591766357422, | |
0.0066713600158691405, | |
0.006668288230895996, | |
0.006667263984680176, | |
0.006632448196411133, | |
0.006677504062652588, | |
0.006657023906707763, | |
0.00683622407913208, | |
0.006683648109436035, | |
0.006657023906707763, | |
0.0066375679969787596 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.71191214315212 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.91744656032986e-08, | |
"ram": 4.3285370554479466e-08, | |
"gpu": 1.679779121600009e-07, | |
"total": 2.9043774831777895e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3443078.61423668 | |
} | |
} | |
} | |
} |