
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
063f424
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 853.21728, | |
"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.67922705078125, | |
"mean": 7.67922705078125, | |
"stdev": 0.0, | |
"p50": 7.67922705078125, | |
"p90": 7.67922705078125, | |
"p95": 7.67922705078125, | |
"p99": 7.67922705078125, | |
"values": [ | |
7.67922705078125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.4082484666664835e-06, | |
"ram": 2.3998376191052143e-06, | |
"gpu": 4.8225038579999486e-06, | |
"total": 1.1630589943771645e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.36224, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9988185281753542, | |
"mean": 0.007185744807016936, | |
"stdev": 0.000149928208037554, | |
"p50": 0.007160831928253173, | |
"p90": 0.007275699138641357, | |
"p95": 0.007567462301254273, | |
"p99": 0.007849717788696291, | |
"values": [ | |
0.007976960182189942, | |
0.007642111778259277, | |
0.007613376140594482, | |
0.007624703884124756, | |
0.00760422420501709, | |
0.00758681583404541, | |
0.00801689624786377, | |
0.007407616138458252, | |
0.007186431884765625, | |
0.00720684814453125, | |
0.007204864025115967, | |
0.0071792640686035155, | |
0.007153664112091064, | |
0.0071485438346862796, | |
0.007171072006225586, | |
0.007188479900360107, | |
0.0071495680809020995, | |
0.007171072006225586, | |
0.00719155216217041, | |
0.007163904190063477, | |
0.007163871765136718, | |
0.007129087924957276, | |
0.007163839817047119, | |
0.0071833600997924804, | |
0.0071823358535766605, | |
0.007263232231140137, | |
0.00714035177230835, | |
0.007154687881469727, | |
0.007136223793029785, | |
0.0071833600997924804, | |
0.007155712127685547, | |
0.007137279987335205, | |
0.0071526398658752445, | |
0.00714035177230835, | |
0.007144447803497315, | |
0.007136256217956543, | |
0.007139328002929687, | |
0.007066624164581299, | |
0.007050240039825439, | |
0.007358463764190673, | |
0.007565311908721924, | |
0.007304192066192627, | |
0.007256063938140869, | |
0.0072202239036560055, | |
0.007171072006225586, | |
0.007158783912658692, | |
0.007154687881469727, | |
0.007122943878173828, | |
0.00715667200088501, | |
0.007137279987335205, | |
0.007146431922912598, | |
0.00714137601852417, | |
0.007117824077606201, | |
0.007135231971740722, | |
0.007163904190063477, | |
0.007160831928253173, | |
0.007161856174468994, | |
0.007156735897064209, | |
0.007156735897064209, | |
0.007159808158874512, | |
0.007185408115386963, | |
0.0071188478469848635, | |
0.007175168037414551, | |
0.007127039909362793, | |
0.007078911781311035, | |
0.007051263809204102, | |
0.007073791980743408, | |
0.007126016139984131, | |
0.007155744075775147, | |
0.007188543796539306, | |
0.007170048236846924, | |
0.007153664112091064, | |
0.007147520065307617, | |
0.007176256179809571, | |
0.007172063827514648, | |
0.007165952205657959, | |
0.0072540159225463864, | |
0.007197696208953858, | |
0.0071905279159545895, | |
0.007203839778900147, | |
0.007211008071899414, | |
0.007054399967193603, | |
0.007045119762420654, | |
0.007062528133392334, | |
0.007063551902770996, | |
0.007166975975036621, | |
0.00719155216217041, | |
0.007170048236846924, | |
0.00709939193725586, | |
0.007063551902770996, | |
0.007055391788482666, | |
0.007046144008636474, | |
0.007155712127685547, | |
0.0071833600997924804, | |
0.007203872203826904, | |
0.007273439884185791, | |
0.007069695949554444, | |
0.007078911781311035, | |
0.007070720195770264, | |
0.007151616096496582, | |
0.007162879943847656, | |
0.007145472049713135, | |
0.0070830078125, | |
0.007096320152282715, | |
0.007181312084197998, | |
0.007235583782196045, | |
0.007237631797790528, | |
0.007071743965148926, | |
0.007146495819091797, | |
0.007021503925323486, | |
0.007050240039825439, | |
0.007064576148986816, | |
0.007044095993041993, | |
0.007027711868286133, | |
0.007102464199066162, | |
0.007175072193145752, | |
0.007181312084197998, | |
0.007177216053009033, | |
0.007046144008636474, | |
0.007007232189178467, | |
0.0070564160346984865, | |
0.007062528133392334, | |
0.007128064155578613, | |
0.0071792640686035155, | |
0.007259136199951172, | |
0.007241727828979493, | |
0.007329792022705078, | |
0.007284736156463623, | |
0.007177216053009033, | |
0.00719155216217041, | |
0.007177216053009033, | |
0.007192575931549072, | |
0.007209983825683594, | |
0.007181312084197998, | |
0.007126016139984131, | |
0.00714035177230835, | |
0.007286784172058106, | |
0.007237631797790528, | |
0.007051263809204102 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.16441883985252 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.457496558806049e-08, | |
"ram": 4.621264863861031e-08, | |
"gpu": 1.7600486893617109e-07, | |
"total": 3.067924831628419e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3259532.2730551115 | |
} | |
} | |
} | |
} |