IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f62c92f
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.2.1", | |
"optimum_benchmark_commit": "9c5b122c5b131ce085c14c11b158b31af90e674e", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1832.603648, | |
"max_global_vram": 2740.228096, | |
"max_process_vram": 96678.719488, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 159, | |
"total": 0.9962482991218568, | |
"mean": 0.006265712573093439, | |
"stdev": 0.00024562418499579847, | |
"p50": 0.006225894927978515, | |
"p90": 0.006573892879486084, | |
"p95": 0.006589558029174805, | |
"p99": 0.006602661600112914, | |
"values": [ | |
0.006402214050292968, | |
0.0064895739555358885, | |
0.006146695137023926, | |
0.006215175151824951, | |
0.006141574859619141, | |
0.005984615802764892, | |
0.006375974178314209, | |
0.00620925521850586, | |
0.00602861499786377, | |
0.006229734897613525, | |
0.006249734878540039, | |
0.006150694847106933, | |
0.006012454986572265, | |
0.005944456100463867, | |
0.0059594960212707515, | |
0.005921095848083496, | |
0.006405253887176513, | |
0.00598365592956543, | |
0.006120134830474853, | |
0.005982056140899659, | |
0.006134695053100586, | |
0.005984936237335205, | |
0.006327013969421386, | |
0.005951496124267578, | |
0.006468294143676757, | |
0.006081095218658447, | |
0.006015016078948975, | |
0.006432454109191895, | |
0.006387013912200928, | |
0.006316133975982666, | |
0.006271975040435791, | |
0.006401413917541504, | |
0.006523814201354981, | |
0.006571333885192871, | |
0.006525252819061279, | |
0.006570374011993408, | |
0.006560772895812988, | |
0.006573254108428955, | |
0.006594374179840088, | |
0.00654429292678833, | |
0.006501413822174072, | |
0.006599974155426025, | |
0.006554694175720215, | |
0.006568132877349853, | |
0.006560934066772461, | |
0.006548772811889649, | |
0.006606372833251953, | |
0.006589414119720459, | |
0.006549253940582276, | |
0.006582212924957275, | |
0.006575654029846192, | |
0.006551332950592041, | |
0.006595172882080078, | |
0.006581573963165283, | |
0.006596453189849853, | |
0.006564133167266846, | |
0.006563173770904541, | |
0.006573732852935791, | |
0.006567973136901856, | |
0.006569573879241944, | |
0.006574532985687256, | |
0.006587334156036377, | |
0.0065886139869689945, | |
0.006546853065490722, | |
0.006328935146331787, | |
0.006372135162353515, | |
0.006404613971710205, | |
0.00642237377166748, | |
0.006461254119873047, | |
0.0061961350440979, | |
0.006046055793762207, | |
0.005998536109924317, | |
0.006185736179351807, | |
0.005996615886688233, | |
0.005968135833740234, | |
0.006229895114898682, | |
0.005918056011199951, | |
0.006082214832305908, | |
0.006346374034881592, | |
0.006099656105041504, | |
0.005974696159362793, | |
0.0060854158401489255, | |
0.0059969348907470705, | |
0.006209414958953857, | |
0.006288135051727295, | |
0.0059735760688781735, | |
0.006433894157409668, | |
0.006019656181335449, | |
0.006114214897155762, | |
0.006026375770568848, | |
0.006348773956298828, | |
0.006036136150360107, | |
0.006075496196746826, | |
0.006010695934295655, | |
0.006034696102142334, | |
0.006027815818786621, | |
0.006091334819793701, | |
0.006083334922790527, | |
0.0059974160194396975, | |
0.005983496189117431, | |
0.006061095237731934, | |
0.005997096061706543, | |
0.006102694988250733, | |
0.006060616016387939, | |
0.0060426959991455075, | |
0.006032774925231934, | |
0.00602461576461792, | |
0.006163334846496582, | |
0.006050535202026367, | |
0.006137895107269287, | |
0.005980616092681885, | |
0.005945735931396484, | |
0.006171175003051758, | |
0.006079014778137207, | |
0.005899336814880371, | |
0.0061393361091613766, | |
0.005977254867553711, | |
0.006029416084289551, | |
0.0062098951339721676, | |
0.006258213996887207, | |
0.005973415851593018, | |
0.005990375995635986, | |
0.0060433349609375, | |
0.00601421594619751, | |
0.006016615867614746, | |
0.006371813774108887, | |
0.006558053016662598, | |
0.0065842938423156736, | |
0.006557414054870606, | |
0.006538212776184082, | |
0.006566854000091553, | |
0.006522852897644043, | |
0.006452774047851563, | |
0.006379333972930909, | |
0.006391973972320557, | |
0.006259815216064453, | |
0.006499973773956299, | |
0.006590853214263916, | |
0.006591813087463379, | |
0.006523653984069824, | |
0.006562693119049072, | |
0.006421093940734863, | |
0.006543014049530029, | |
0.0061850957870483395, | |
0.006473574161529541, | |
0.006426214218139648, | |
0.007097891807556152, | |
0.006492613792419433, | |
0.006225894927978515, | |
0.006291014194488525, | |
0.005924295902252197, | |
0.00592957592010498, | |
0.005947015762329102, | |
0.006213894844055176, | |
0.006010216236114502, | |
0.006023015975952149, | |
0.005992936134338379, | |
0.005973415851593018, | |
0.005970853805541992 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 159.5987668336805 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |