
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b3716f8
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": true, | |
"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.3.1", | |
"optimum_benchmark_commit": null, | |
"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": 720.867328, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.17296142578125, | |
"mean": 7.17296142578125, | |
"stdev": 0.0, | |
"p50": 7.17296142578125, | |
"p90": 7.17296142578125, | |
"p95": 7.17296142578125, | |
"p99": 7.17296142578125, | |
"values": [ | |
7.17296142578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0828349325391982e-06, | |
"ram": 5.780841112628347e-07, | |
"gpu": 1.9119459739999276e-06, | |
"total": 3.5728650178019604e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 913.600512, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 162, | |
"total": 0.995846784591675, | |
"mean": 0.0061472023740226835, | |
"stdev": 0.0002124310838564534, | |
"p50": 0.006061568021774292, | |
"p90": 0.006338457679748536, | |
"p95": 0.0063894013881683346, | |
"p99": 0.00688883524417877, | |
"values": [ | |
0.006846528053283691, | |
0.0069550080299377445, | |
0.006822912216186523, | |
0.006717440128326416, | |
0.006815743923187256, | |
0.007315455913543701, | |
0.006351871967315674, | |
0.006030335903167725, | |
0.006076416015625, | |
0.006151167869567871, | |
0.006033472061157227, | |
0.006025216102600098, | |
0.00608358383178711, | |
0.006002719879150391, | |
0.006022111892700195, | |
0.00601804780960083, | |
0.006009856224060059, | |
0.006016064167022705, | |
0.006030367851257324, | |
0.006017951965332031, | |
0.006086656093597412, | |
0.0060026879310607914, | |
0.00602623987197876, | |
0.0060293121337890625, | |
0.0060364799499511715, | |
0.006015999794006348, | |
0.006057983875274659, | |
0.006014976024627685, | |
0.006067200183868408, | |
0.005993472099304199, | |
0.0059996161460876465, | |
0.005994495868682862, | |
0.006042623996734619, | |
0.005993567943572998, | |
0.006000639915466309, | |
0.00604256010055542, | |
0.006073408126831055, | |
0.006086656093597412, | |
0.0060128321647644044, | |
0.006013951778411865, | |
0.006030335903167725, | |
0.00601804780960083, | |
0.006014976024627685, | |
0.005996543884277344, | |
0.006003712177276611, | |
0.00607539176940918, | |
0.006000639915466309, | |
0.005953536033630371, | |
0.005911551952362061, | |
0.005934080123901367, | |
0.005900288105010986, | |
0.006001664161682129, | |
0.005931039810180664, | |
0.005952511787414551, | |
0.006007808208465576, | |
0.0063907837867736815, | |
0.00628223991394043, | |
0.006295455932617188, | |
0.006293504238128662, | |
0.006279200077056885, | |
0.006288383960723877, | |
0.006237184047698975, | |
0.006335487842559814, | |
0.006243328094482422, | |
0.006308671951293946, | |
0.006253503799438477, | |
0.006352896213531494, | |
0.006298624038696289, | |
0.006319968223571777, | |
0.0063539199829101565, | |
0.006359039783477783, | |
0.005997568130493164, | |
0.005952511787414551, | |
0.005958655834197998, | |
0.006025152206420898, | |
0.006067200183868408, | |
0.006061056137084961, | |
0.005990399837493897, | |
0.005989376068115234, | |
0.006067200183868408, | |
0.006062079906463623, | |
0.006038527965545654, | |
0.00601308822631836, | |
0.006009632110595703, | |
0.006046720027923584, | |
0.005989376068115234, | |
0.0060661759376525876, | |
0.006034431934356689, | |
0.006017024040222168, | |
0.005900288105010986, | |
0.005956607818603516, | |
0.005959680080413818, | |
0.005986303806304932, | |
0.005938079833984375, | |
0.006049791812896729, | |
0.0059269118309021, | |
0.006003647804260254, | |
0.005923840045928955, | |
0.005952320098876953, | |
0.005903359889984131, | |
0.005902175903320313, | |
0.006037504196166992, | |
0.006007808208465576, | |
0.006024191856384278, | |
0.006082560062408447, | |
0.006176767826080322, | |
0.006603775978088379, | |
0.006326272010803223, | |
0.006328320026397705, | |
0.006289408206939697, | |
0.006307807922363282, | |
0.006337535858154297, | |
0.006330368041992188, | |
0.006335552215576172, | |
0.006242176055908203, | |
0.006319104194641113, | |
0.006345727920532227, | |
0.006268928050994873, | |
0.006363135814666748, | |
0.006253568172454834, | |
0.006304768085479737, | |
0.006280223846435547, | |
0.006271999835968017, | |
0.006313983917236328, | |
0.00624128007888794, | |
0.006291456222534179, | |
0.006248447895050049, | |
0.0062453441619873045, | |
0.006338560104370118, | |
0.0062228479385375976, | |
0.00628323221206665, | |
0.006253600120544434, | |
0.006315008163452148, | |
0.006280191898345947, | |
0.006310912132263183, | |
0.006293504238128662, | |
0.006266880035400391, | |
0.006354944229125976, | |
0.006273119926452637, | |
0.006270847797393799, | |
0.006191103935241699, | |
0.0061224961280822755, | |
0.006240255832672119, | |
0.006118400096893311, | |
0.0061859841346740725, | |
0.006097919940948486, | |
0.0062259202003479, | |
0.006141952037811279, | |
0.005971968173980713, | |
0.005958655834197998, | |
0.006047743797302246, | |
0.0060005121231079105, | |
0.006009696006774902, | |
0.0060067839622497555, | |
0.006013951778411865, | |
0.005983200073242188, | |
0.006049791812896729, | |
0.005961728096008301, | |
0.0060702719688415525, | |
0.006012928009033203, | |
0.006000639915466309, | |
0.006446080207824707 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 162.6756269202843 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.3390863886913e-08, | |
"ram": 4.006689578607179e-08, | |
"gpu": 1.400789872345648e-07, | |
"total": 2.535367469075496e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3944201.431142614 | |
} | |
} | |
} | |
} |