IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
fc489b6
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": "074fc31a7e13e70facbebbf8b363a0c312f75f69", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.590784, | |
"max_global_vram": 541.278208, | |
"max_process_vram": 85197.29152, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 167, | |
"total": 0.9968448228836064, | |
"mean": 0.005969130675949737, | |
"stdev": 0.00022807721841063515, | |
"p50": 0.005825882911682129, | |
"p90": 0.006291063976287842, | |
"p95": 0.0064155427932739255, | |
"p99": 0.006590847454071045, | |
"values": [ | |
0.0067335572242736815, | |
0.005891161918640137, | |
0.005842843055725098, | |
0.005785562992095947, | |
0.005825882911682129, | |
0.005793083190917969, | |
0.005802523136138916, | |
0.005823643207550049, | |
0.006086841106414795, | |
0.005967321872711181, | |
0.0060866808891296385, | |
0.006241720199584961, | |
0.006360118865966797, | |
0.006506678104400635, | |
0.0063045997619628905, | |
0.006094521045684815, | |
0.006139161109924317, | |
0.00617579984664917, | |
0.005983962059020996, | |
0.006177880764007568, | |
0.006150199890136719, | |
0.006243319988250733, | |
0.005967802047729493, | |
0.006225880146026611, | |
0.006017561912536621, | |
0.00610028076171875, | |
0.006092922210693359, | |
0.0060866808891296385, | |
0.006040280818939209, | |
0.00583948278427124, | |
0.005851962089538574, | |
0.006031960964202881, | |
0.00597004222869873, | |
0.00586588191986084, | |
0.006031641006469727, | |
0.005813723087310791, | |
0.005773723125457764, | |
0.00619212007522583, | |
0.006475158214569092, | |
0.006339640140533447, | |
0.0064130787849426265, | |
0.006416598796844483, | |
0.006333239078521728, | |
0.006221879959106445, | |
0.006196440219879151, | |
0.006396439075469971, | |
0.00642811918258667, | |
0.006439639091491699, | |
0.006203159809112548, | |
0.0060634808540344235, | |
0.006109080791473389, | |
0.005994521141052246, | |
0.006164761066436768, | |
0.006054041862487793, | |
0.006247479915618897, | |
0.00602412223815918, | |
0.006236440181732178, | |
0.006074522018432617, | |
0.006194361209869385, | |
0.006130199909210205, | |
0.006167961120605469, | |
0.0061790008544921875, | |
0.00610892105102539, | |
0.006262839794158936, | |
0.006086360931396484, | |
0.0063045997619628905, | |
0.005798363208770752, | |
0.005803802967071533, | |
0.00579468297958374, | |
0.00582252311706543, | |
0.005984601974487305, | |
0.0057884430885314945, | |
0.0058031630516052245, | |
0.0058338818550109865, | |
0.005807162761688233, | |
0.005804762840270996, | |
0.005789883136749267, | |
0.005771963119506836, | |
0.005803643226623535, | |
0.005804762840270996, | |
0.00579804277420044, | |
0.005804122924804688, | |
0.005808282852172852, | |
0.005813562870025634, | |
0.0057958030700683595, | |
0.005824602127075195, | |
0.00579852294921875, | |
0.005756762981414795, | |
0.005766363143920899, | |
0.005769083023071289, | |
0.005815483093261718, | |
0.005796923160552979, | |
0.005774202823638916, | |
0.005762042999267578, | |
0.0057604432106018065, | |
0.00579900312423706, | |
0.005776282787322998, | |
0.0057442841529846194, | |
0.005761242866516113, | |
0.005774682998657227, | |
0.005745243072509765, | |
0.005759162902832031, | |
0.006351799011230469, | |
0.006210840225219726, | |
0.006034521102905274, | |
0.006103160858154297, | |
0.006282040119171143, | |
0.006634037971496582, | |
0.0065685977935791015, | |
0.006506837844848633, | |
0.006218520164489746, | |
0.005990841865539551, | |
0.006229400157928467, | |
0.0060399618148803715, | |
0.0062569198608398435, | |
0.0061094012260437015, | |
0.006133720874786377, | |
0.006129559993743897, | |
0.0061124410629272465, | |
0.006015800952911377, | |
0.005775483131408692, | |
0.005836603164672852, | |
0.005805403232574463, | |
0.0058313231468200685, | |
0.005795642852783203, | |
0.005799482822418213, | |
0.005807803153991699, | |
0.005780282974243164, | |
0.005781083106994629, | |
0.005766842842102051, | |
0.0057774028778076175, | |
0.005811003208160401, | |
0.005879162788391113, | |
0.005798202991485596, | |
0.005807322978973389, | |
0.005813403129577637, | |
0.005791802883148193, | |
0.005778683185577393, | |
0.0057780427932739254, | |
0.005783483028411866, | |
0.005781403064727783, | |
0.00580860185623169, | |
0.005764762878417969, | |
0.005819482803344727, | |
0.005780922889709473, | |
0.005795322895050049, | |
0.00578812313079834, | |
0.005783642768859863, | |
0.005772122859954834, | |
0.0057695631980895995, | |
0.005807003021240234, | |
0.005742843151092529, | |
0.005745402812957764, | |
0.005743642807006836, | |
0.005750042915344238, | |
0.005736123085021973, | |
0.005769083023071289, | |
0.00573308277130127, | |
0.005800922870635986, | |
0.0058172430992126465, | |
0.005771964073181152, | |
0.005756284236907959, | |
0.005852122783660888, | |
0.005775322914123535, | |
0.005814521789550781, | |
0.005823001861572265, | |
0.005814521789550781 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 167.52858234937065 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |