IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6740312
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": false, | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "77ca106f4cf33f416814fc4a120313d806701176", | |
"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": 982.962176, | |
"max_global_vram": 2695.753728, | |
"max_process_vram": 53081.45664, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.400158203125, | |
"mean": 8.400158203125, | |
"stdev": 0.0, | |
"p50": 8.400158203125, | |
"p90": 8.400158203125, | |
"p95": 8.400158203125, | |
"p99": 8.400158203125, | |
"values": [ | |
8.400158203125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.869312, | |
"max_global_vram": 2807.103488, | |
"max_process_vram": 267285.782528, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 119, | |
"total": 0.996347873687744, | |
"mean": 0.008372671207460033, | |
"stdev": 0.0002527756407943869, | |
"p50": 0.008276939392089844, | |
"p90": 0.008714666366577148, | |
"p95": 0.008818330001831055, | |
"p99": 0.00894718692779541, | |
"values": [ | |
0.008554218292236328, | |
0.00864589786529541, | |
0.008924137115478516, | |
0.008929737091064453, | |
0.008815978050231934, | |
0.00881309700012207, | |
0.008766697883605958, | |
0.008598538398742675, | |
0.008511338233947754, | |
0.008448617935180664, | |
0.008444138526916504, | |
0.008362378120422363, | |
0.00831165885925293, | |
0.008334698677062989, | |
0.008319178581237792, | |
0.008323179244995118, | |
0.008308138847351074, | |
0.008349418640136719, | |
0.008307497978210449, | |
0.00831773853302002, | |
0.008361099243164062, | |
0.00849789810180664, | |
0.008635658264160156, | |
0.008721418380737304, | |
0.008651658058166504, | |
0.008639018058776855, | |
0.008587018013000488, | |
0.008531179428100586, | |
0.00847437858581543, | |
0.008416618347167969, | |
0.008653898239135743, | |
0.008579498291015624, | |
0.00851853847503662, | |
0.008531338691711425, | |
0.008714378356933594, | |
0.008839497566223145, | |
0.008888618469238281, | |
0.00875741672515869, | |
0.008664137840270996, | |
0.010058215141296387, | |
0.008951017379760742, | |
0.008715818405151367, | |
0.008345099449157714, | |
0.008235818862915039, | |
0.00820413875579834, | |
0.00818509864807129, | |
0.008228939056396484, | |
0.008175019264221192, | |
0.008213739395141601, | |
0.00822141933441162, | |
0.008210699081420898, | |
0.008208779335021973, | |
0.008239659309387207, | |
0.008224458694458007, | |
0.008253579139709472, | |
0.008231180191040039, | |
0.008236139297485352, | |
0.008199339866638183, | |
0.00823853874206543, | |
0.008228459358215333, | |
0.008221098899841309, | |
0.008272619247436523, | |
0.008298699378967284, | |
0.008284298896789551, | |
0.008182218551635742, | |
0.008291178703308106, | |
0.008288779258728028, | |
0.008249898910522462, | |
0.008268299102783204, | |
0.008270379066467284, | |
0.008277579307556153, | |
0.008208619117736817, | |
0.008245899200439452, | |
0.008231979370117187, | |
0.008269099235534668, | |
0.008229418754577637, | |
0.00816429901123047, | |
0.008132939338684081, | |
0.00832029914855957, | |
0.00820573902130127, | |
0.008297577857971191, | |
0.00820573902130127, | |
0.008311498641967773, | |
0.008316779136657714, | |
0.008307659149169921, | |
0.008222859382629394, | |
0.008276939392089844, | |
0.008249738693237304, | |
0.008279499053955077, | |
0.008215819358825684, | |
0.008229578971862793, | |
0.008275979042053223, | |
0.008202858924865723, | |
0.008169259071350098, | |
0.008316779136657714, | |
0.008187338829040528, | |
0.008290699005126953, | |
0.00819197940826416, | |
0.008304779052734374, | |
0.00829533863067627, | |
0.00826365852355957, | |
0.008265579223632812, | |
0.008223658561706542, | |
0.008278698921203613, | |
0.008118220329284668, | |
0.008258378982543946, | |
0.008257899284362793, | |
0.008224939346313477, | |
0.008149099349975587, | |
0.008118060111999512, | |
0.00822141933441162, | |
0.008258699417114258, | |
0.008254218101501464, | |
0.00826845932006836, | |
0.008256299018859863, | |
0.00824621868133545, | |
0.00825309944152832, | |
0.008257259368896484, | |
0.008257259368896484 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 119.43619607431879 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |