IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b761bcc verified
raw
history blame
13.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 823.86944,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.09035059356689454
],
"count": 1,
"total": 0.09035059356689454,
"mean": 0.09035059356689454,
"p50": 0.09035059356689454,
"p90": 0.09035059356689454,
"p95": 0.09035059356689454,
"p99": 0.09035059356689454,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010669901789514002,
"ram": 5.846056502861201e-05,
"gpu": 0.00013953927829799938,
"total": 0.0003046988612217514
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.1984,
"max_global_vram": 1205.338112,
"max_process_vram": 0.0,
"max_reserved": 557.842432,
"max_allocated": 509.729792
},
"latency": {
"unit": "s",
"values": [
0.006586463928222657,
0.006255616188049316,
0.0062148160934448245,
0.006160384178161621,
0.006203392028808594,
0.006027232170104981,
0.006067168235778808,
0.006004735946655273,
0.006007743835449219,
0.006452127933502198,
0.006223872184753418,
0.0063272957801818845,
0.006201344013214111,
0.006160448074340821,
0.006500351905822754,
0.006142975807189942,
0.006192992210388184,
0.006116352081298828,
0.006235136032104492,
0.0062863359451293946,
0.006391808032989502,
0.006060031890869141,
0.006085663795471191,
0.006073344230651856,
0.006105088233947754,
0.0061562881469726565,
0.0061296639442443845,
0.006135807991027832,
0.006291456222534179,
0.006203392028808594,
0.0062977919578552245,
0.006360064029693604,
0.006175839900970459,
0.006179840087890625,
0.006303743839263916,
0.006210559844970703,
0.0060274238586425785,
0.00597811222076416,
0.006041600227355957,
0.005913599967956543,
0.005946368217468262,
0.005907392024993897,
0.005928031921386719,
0.005933055877685547,
0.006025216102600098,
0.005941376209259033,
0.005938176155090332,
0.006062143802642822,
0.006135903835296631,
0.005867519855499268,
0.005879680156707764,
0.00588595199584961,
0.006770688056945801,
0.006137663841247558,
0.00618393611907959,
0.006170591831207275,
0.00613263988494873,
0.0062904319763183595,
0.006229023933410644,
0.005944320201873779,
0.0058215360641479495,
0.00591974401473999,
0.005860352039337159,
0.005961728096008301,
0.0062679038047790524,
0.005948256015777588,
0.0059054079055786135,
0.005988351821899414,
0.005892096042633056,
0.005983263969421387,
0.005903359889984131,
0.005984255790710449,
0.0060067839622497555,
0.006055935859680176,
0.0060702719688415525,
0.006016191959381104,
0.005969056129455566,
0.006031328201293945,
0.0059361281394958495,
0.005932032108306885,
0.005922815799713135,
0.006116352081298828,
0.005982240200042724,
0.0057784318923950195,
0.005920767784118652,
0.005959680080413818,
0.005801983833312988,
0.00582860803604126,
0.0057784318923950195,
0.0056739521026611325,
0.005723135948181152,
0.005900288105010986,
0.0059054079055786135,
0.005878687858581543,
0.00582041597366333,
0.005745664119720459,
0.005982207775115967,
0.005891071796417236,
0.005860352039337159,
0.006221824169158936,
0.005925888061523437,
0.005914559841156006,
0.006033408164978027,
0.006097919940948486,
0.006172671794891358,
0.005937151908874512,
0.005834623813629151,
0.005873663902282715,
0.006054912090301514,
0.005807104110717773,
0.005883903980255127,
0.00585433578491211,
0.005892096042633056,
0.005810175895690918,
0.005898335933685303,
0.005755904197692871,
0.005950463771820068,
0.005974016189575195,
0.005782368183135986,
0.005705728054046631,
0.0058091521263122555,
0.00576204776763916,
0.005753856182098388,
0.005744639873504639,
0.0057487359046936035,
0.005829631805419922,
0.005791744232177734,
0.005775360107421875,
0.005775360107421875,
0.006440959930419922,
0.00694374418258667,
0.005984352111816406,
0.00576204776763916,
0.005665791988372803,
0.00614902400970459,
0.005736447811126709,
0.005650432109832764,
0.005751872062683105,
0.005745664119720459,
0.005725183963775635,
0.005615520000457764,
0.005658624172210694,
0.005848063945770264,
0.005610655784606933,
0.005662720203399658,
0.0056483840942382815,
0.005659647941589355,
0.00562278413772583,
0.005651391983032226,
0.005629824161529541,
0.005635072231292724,
0.0055214080810546875,
0.005669888019561768,
0.005576704025268555,
0.00555622386932373,
0.00570470380783081,
0.005603328227996827,
0.005555103778839112,
0.005548031806945801,
0.005599232196807862,
0.005599232196807862,
0.005595136165618897,
0.005532639980316162,
0.005548031806945801,
0.005552224159240723,
0.005534719944000244,
0.005575679779052735,
0.005543935775756836
],
"count": 168,
"total": 0.9987085123062135,
"mean": 0.005944693525632223,
"p50": 0.005930032014846802,
"p90": 0.0062308575630187985,
"p95": 0.006319052600860596,
"p99": 0.006647257890701297,
"stdev": 0.00024824389450946296,
"stdev_": 4.175890539000697
},
"throughput": {
"unit": "samples/s",
"value": 336.43450101782975
},
"energy": {
"unit": "kWh",
"cpu": 7.197484777356797e-08,
"ram": 3.932843882483766e-08,
"gpu": 1.5160113138181657e-07,
"total": 2.6290441798022214e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7607327.466632594
}
}
}
}