IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
fa6bdff
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": "9a8b29987613b8b04c221447a49b37ee314548ff", | |
"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": 1825.370112, | |
"max_global_vram": 520.925184, | |
"max_process_vram": 90546.991104, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 161, | |
"total": 0.9983197822570798, | |
"mean": 0.006200743989174411, | |
"stdev": 0.00030610287677718345, | |
"p50": 0.006316984176635742, | |
"p90": 0.006516506195068359, | |
"p95": 0.006563385963439941, | |
"p99": 0.006731866359710695, | |
"values": [ | |
0.006570425987243653, | |
0.006525146007537842, | |
0.00650770616531372, | |
0.006498906135559082, | |
0.006647386074066162, | |
0.006554426193237305, | |
0.006461465835571289, | |
0.006532025814056396, | |
0.006268664836883545, | |
0.006191705226898193, | |
0.006346105098724365, | |
0.006193463802337647, | |
0.006440664768218994, | |
0.006521306037902832, | |
0.006358264923095703, | |
0.006293943881988525, | |
0.006497304916381836, | |
0.006551385879516602, | |
0.006567066192626953, | |
0.006516504764556885, | |
0.0064905848503112795, | |
0.006485146045684814, | |
0.006458265781402588, | |
0.006516506195068359, | |
0.006567706108093261, | |
0.006563385963439941, | |
0.006565465927124024, | |
0.006543546199798584, | |
0.006498745918273926, | |
0.006563705921173096, | |
0.007238429069519043, | |
0.00685858678817749, | |
0.006383385181427002, | |
0.006369784832000732, | |
0.0063433852195739744, | |
0.006556665897369385, | |
0.006401784896850586, | |
0.006344345092773438, | |
0.006342905044555664, | |
0.006340664863586426, | |
0.006373624801635742, | |
0.006351385116577148, | |
0.00634482479095459, | |
0.006347545146942139, | |
0.006367225170135498, | |
0.006371225833892822, | |
0.006341784954071045, | |
0.006368505001068115, | |
0.006379865169525147, | |
0.00630658483505249, | |
0.006347865104675293, | |
0.006341945171356201, | |
0.0063341050148010255, | |
0.006333624839782715, | |
0.006337464809417725, | |
0.00633442497253418, | |
0.006314105033874512, | |
0.006319224834442139, | |
0.006327064990997314, | |
0.006293304920196533, | |
0.006346105098724365, | |
0.006302264213562012, | |
0.006331385135650635, | |
0.006335704803466797, | |
0.006308825016021729, | |
0.006322905063629151, | |
0.006297945022583008, | |
0.00631202507019043, | |
0.00631426477432251, | |
0.006309144973754883, | |
0.006324504852294922, | |
0.006307545185089111, | |
0.006306904792785645, | |
0.0063200249671936035, | |
0.00631090497970581, | |
0.006316024780273438, | |
0.00631090497970581, | |
0.006319385051727295, | |
0.00631202507019043, | |
0.006311864852905274, | |
0.006316984176635742, | |
0.0063360252380371095, | |
0.006389305114746093, | |
0.006365624904632569, | |
0.006358584880828857, | |
0.006053783893585205, | |
0.006200823783874512, | |
0.005747063159942627, | |
0.006201145172119141, | |
0.006217625141143799, | |
0.006344504833221435, | |
0.006356345176696777, | |
0.006380024909973144, | |
0.006050583839416504, | |
0.006024343013763428, | |
0.0060473837852478025, | |
0.006054743766784668, | |
0.006073624134063721, | |
0.0059350628852844235, | |
0.006150424957275391, | |
0.006133463859558106, | |
0.006117303848266601, | |
0.0060249829292297365, | |
0.006090104103088379, | |
0.006176505088806152, | |
0.0060822639465332035, | |
0.006389305114746093, | |
0.006377145767211914, | |
0.006374744892120361, | |
0.006379384994506836, | |
0.006421626091003418, | |
0.006375704765319824, | |
0.0064097862243652345, | |
0.006369945049285889, | |
0.006388185024261475, | |
0.006380345821380615, | |
0.006378105163574219, | |
0.0063885049819946286, | |
0.00636450481414795, | |
0.006227224826812744, | |
0.006033304214477539, | |
0.005934903144836426, | |
0.006190424919128418, | |
0.006185944080352783, | |
0.006041624069213867, | |
0.005810742855072022, | |
0.00566306209564209, | |
0.005704983234405518, | |
0.005781783103942871, | |
0.005783863067626953, | |
0.005629941940307617, | |
0.005663063049316406, | |
0.005638261795043945, | |
0.0058689827919006345, | |
0.005803382873535156, | |
0.005824182987213135, | |
0.0059577832221984865, | |
0.005796503067016601, | |
0.005658903121948242, | |
0.005864983081817627, | |
0.005678583145141602, | |
0.005816503047943115, | |
0.005666101932525635, | |
0.005787542819976807, | |
0.005926583766937256, | |
0.005676502227783203, | |
0.005652341842651367, | |
0.0056497821807861325, | |
0.005633461952209473, | |
0.005629941940307617, | |
0.005668982982635498, | |
0.005662422180175781, | |
0.005670103073120117, | |
0.005631062030792236, | |
0.005657622814178467, | |
0.005664980888366699, | |
0.005671863079071045, | |
0.005646741867065429, | |
0.005673142910003662, | |
0.0056729822158813475, | |
0.005659543037414551 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 161.2709703457929 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |