
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b925ee3
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": 789.262336, | |
"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.4966240234375, | |
"mean": 7.4966240234375, | |
"stdev": 0.0, | |
"p50": 7.4966240234375, | |
"p90": 7.4966240234375, | |
"p95": 7.4966240234375, | |
"p99": 7.4966240234375, | |
"values": [ | |
7.4966240234375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.323230683803559e-06, | |
"ram": 2.3531065194322308e-06, | |
"gpu": 6.547505237999851e-06, | |
"total": 1.322384244123564e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 975.95392, | |
"max_global_vram": 1040.71168, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9959956784248355, | |
"mean": 0.006775480805611123, | |
"stdev": 0.00043532384391619836, | |
"p50": 0.006710271835327148, | |
"p90": 0.006842572689056396, | |
"p95": 0.006989004755020141, | |
"p99": 0.009268879089355468, | |
"values": [ | |
0.009438207626342773, | |
0.00920473575592041, | |
0.009323519706726074, | |
0.009065471649169921, | |
0.007049248218536377, | |
0.007337984085083008, | |
0.006598656177520752, | |
0.0064471039772033695, | |
0.006388735771179199, | |
0.0064143362045288085, | |
0.0063907837867736815, | |
0.006481919765472412, | |
0.006710271835327148, | |
0.006662144184112549, | |
0.006662144184112549, | |
0.006665215969085693, | |
0.006819839954376221, | |
0.006689792156219483, | |
0.006703104019165039, | |
0.006671296119689941, | |
0.006669312000274658, | |
0.006675456047058105, | |
0.006708223819732666, | |
0.006650879859924317, | |
0.006704160213470459, | |
0.0064143362045288085, | |
0.0063170561790466305, | |
0.0064174079895019534, | |
0.006384640216827392, | |
0.006407167911529541, | |
0.0064143681526184085, | |
0.00636518383026123, | |
0.006406208038330078, | |
0.006936575889587402, | |
0.0067348480224609375, | |
0.0068392958641052244, | |
0.006761472225189209, | |
0.006681600093841553, | |
0.006709248065948486, | |
0.00672051191329956, | |
0.006686719894409179, | |
0.006726687908172608, | |
0.006730751991271973, | |
0.006670335769653321, | |
0.0067041277885437015, | |
0.00672051191329956, | |
0.006692863941192627, | |
0.006687744140625, | |
0.006715392112731934, | |
0.00667955207824707, | |
0.006686719894409179, | |
0.0067348480224609375, | |
0.006722559928894043, | |
0.006665215969085693, | |
0.006702079772949219, | |
0.0067123198509216305, | |
0.0066938881874084475, | |
0.006711264133453369, | |
0.006730751991271973, | |
0.006690815925598144, | |
0.0067276802062988285, | |
0.006718463897705078, | |
0.006654975891113281, | |
0.006699007987976074, | |
0.006696959972381592, | |
0.006668288230895996, | |
0.006670335769653321, | |
0.006696959972381592, | |
0.006673408031463623, | |
0.006692895889282227, | |
0.006709248065948486, | |
0.0068280320167541505, | |
0.00676966381072998, | |
0.006692863941192627, | |
0.006702079772949219, | |
0.006635519981384277, | |
0.0066795840263366695, | |
0.006767615795135498, | |
0.0066406397819519045, | |
0.006715392112731934, | |
0.006690815925598144, | |
0.006656000137329102, | |
0.0067041277885437015, | |
0.006672383785247803, | |
0.0066447358131408694, | |
0.006746111869812011, | |
0.006977536201477051, | |
0.0067051520347595215, | |
0.006723584175109864, | |
0.006917119979858399, | |
0.006731776237487793, | |
0.006711296081542969, | |
0.006743040084838867, | |
0.006765567779541016, | |
0.0067051520347595215, | |
0.006755328178405762, | |
0.006859807968139648, | |
0.006718463897705078, | |
0.006847487926483154, | |
0.006774784088134766, | |
0.006762495994567871, | |
0.0067041277885437015, | |
0.007024576187133789, | |
0.006993919849395752, | |
0.006754303932189941, | |
0.006756351947784424, | |
0.006766592025756836, | |
0.006724607944488525, | |
0.0067276802062988285, | |
0.006789120197296142, | |
0.006788095951080322, | |
0.0067010560035705566, | |
0.00679423999786377, | |
0.0067276802062988285, | |
0.00667955207824707, | |
0.006738848209381103, | |
0.0067348480224609375, | |
0.006731776237487793, | |
0.006751232147216797, | |
0.006702047824859619, | |
0.006686751842498779, | |
0.006709248065948486, | |
0.006746111869812011, | |
0.0067276802062988285, | |
0.00667955207824707, | |
0.006706175804138184, | |
0.006711296081542969, | |
0.006677472114562989, | |
0.00674508810043335, | |
0.006723584175109864, | |
0.006686719894409179, | |
0.006711296081542969, | |
0.006711296081542969, | |
0.006659071922302246, | |
0.006708223819732666, | |
0.0067123198509216305, | |
0.006710271835327148, | |
0.00694374418258667, | |
0.006755328178405762, | |
0.006761472225189209, | |
0.006710271835327148, | |
0.0067338237762451176, | |
0.006757440090179444, | |
0.006708223819732666, | |
0.006970335960388183, | |
0.006756351947784424, | |
0.0067358717918396 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.59100183293984 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.090272354340788e-08, | |
"ram": 4.422188938158053e-08, | |
"gpu": 1.838040019183607e-07, | |
"total": 3.089286148433491e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3236993.76474749 | |
} | |
} | |
} | |
} |