
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
509df30
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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.762048, | |
"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.5270625, | |
"mean": 7.5270625, | |
"stdev": 0.0, | |
"p50": 7.5270625, | |
"p90": 7.5270625, | |
"p95": 7.5270625, | |
"p99": 7.5270625, | |
"values": [ | |
7.5270625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.324950443373786e-06, | |
"ram": 2.3541709719569326e-06, | |
"gpu": 6.7244498240005834e-06, | |
"total": 1.3403571239331303e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 977.170432, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9969283189773559, | |
"mean": 0.006781825299165687, | |
"stdev": 0.00022802551853861797, | |
"p50": 0.006726655960083008, | |
"p90": 0.007093043327331543, | |
"p95": 0.00714250226020813, | |
"p99": 0.007689093217849731, | |
"values": [ | |
0.006876160144805908, | |
0.006906784057617187, | |
0.007081984043121338, | |
0.006903808116912841, | |
0.006821023941040039, | |
0.006866911888122559, | |
0.006787871837615967, | |
0.0069847040176391605, | |
0.006732800006866455, | |
0.006703104019165039, | |
0.006714367866516113, | |
0.006698080062866211, | |
0.006766560077667236, | |
0.0066078720092773435, | |
0.0065474557876586915, | |
0.006688767910003662, | |
0.006651904106140137, | |
0.0067952961921691896, | |
0.006808576107025147, | |
0.006821887969970703, | |
0.006723680019378662, | |
0.006789120197296142, | |
0.007011328220367432, | |
0.00659171199798584, | |
0.006594560146331787, | |
0.006804480075836182, | |
0.006834176063537598, | |
0.006792191982269287, | |
0.006825984001159668, | |
0.006750304222106934, | |
0.006751232147216797, | |
0.0067133760452270505, | |
0.006715392112731934, | |
0.006737919807434082, | |
0.006750336170196533, | |
0.0067470078468322755, | |
0.006606847763061524, | |
0.006752352237701416, | |
0.006620160102844238, | |
0.006662144184112549, | |
0.006622208118438721, | |
0.006645760059356689, | |
0.006730751991271973, | |
0.006654975891113281, | |
0.0067758078575134275, | |
0.006770688056945801, | |
0.006776832103729248, | |
0.007004159927368164, | |
0.006883296012878418, | |
0.006834208011627197, | |
0.006710271835327148, | |
0.0067420158386230465, | |
0.006845439910888672, | |
0.0067123198509216305, | |
0.006741983890533447, | |
0.006700160026550293, | |
0.006732672214508057, | |
0.006642687797546387, | |
0.00659555196762085, | |
0.006718463897705078, | |
0.006699007987976074, | |
0.006888383865356445, | |
0.006957056045532227, | |
0.006859776020050049, | |
0.006767615795135498, | |
0.006703104019165039, | |
0.006619103908538818, | |
0.006676576137542725, | |
0.007196671962738037, | |
0.007097343921661377, | |
0.007621632099151611, | |
0.007797760009765625, | |
0.007121920108795166, | |
0.007205887794494629, | |
0.00724889612197876, | |
0.007146495819091797, | |
0.00713318395614624, | |
0.0073994240760803225, | |
0.00709222412109375, | |
0.006968319892883301, | |
0.0070860800743103025, | |
0.006946815967559815, | |
0.006935391902923584, | |
0.007097343921661377, | |
0.006944767951965332, | |
0.00702675199508667, | |
0.006803455829620361, | |
0.006631423950195312, | |
0.006601696014404297, | |
0.006605823993682861, | |
0.006761312007904053, | |
0.006994880199432373, | |
0.007130112171173096, | |
0.007071616172790528, | |
0.007047167778015137, | |
0.007130112171173096, | |
0.007094272136688232, | |
0.006906879901885986, | |
0.006716415882110595, | |
0.006656000137329102, | |
0.006626304149627686, | |
0.006676383972167969, | |
0.0067338237762451176, | |
0.006627327919006347, | |
0.006726655960083008, | |
0.007746560096740723, | |
0.006743040084838867, | |
0.006619135856628418, | |
0.0066447358131408694, | |
0.006604800224304199, | |
0.006501376152038574, | |
0.006678463935852051, | |
0.006690815925598144, | |
0.0065669121742248536, | |
0.0065474557876586915, | |
0.006511616230010986, | |
0.006490111827850342, | |
0.006584320068359375, | |
0.006603903770446777, | |
0.006587423801422119, | |
0.006587584018707276, | |
0.006571104049682617, | |
0.006615039825439453, | |
0.006590464115142822, | |
0.006754303932189941, | |
0.006676479816436768, | |
0.006660096168518067, | |
0.006752255916595459, | |
0.00659660816192627, | |
0.006526976108551025, | |
0.006647647857666016, | |
0.006522719860076904, | |
0.006615039825439453, | |
0.006569983959197998, | |
0.006641759872436524, | |
0.0066938881874084475, | |
0.006606847763061524, | |
0.006625279903411865, | |
0.006525951862335205, | |
0.006493184089660644, | |
0.00655456018447876, | |
0.00658022403717041, | |
0.0065771517753601075, | |
0.006563839912414551, | |
0.0064880638122558594, | |
0.006960127830505371, | |
0.0066507840156555175 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.45292836178217 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.71132887785913e-08, | |
"ram": 4.2167276006977366e-08, | |
"gpu": 1.817696259350574e-07, | |
"total": 3.0105019072062605e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3321705.2532213735 | |
} | |
} | |
} | |
} |