IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
752f603 verified
raw
history blame
12.9 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.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",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 802.7136,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.21018214416503905
],
"count": 1,
"total": 0.21018214416503905,
"mean": 0.21018214416503905,
"p50": 0.21018214416503905,
"p90": 0.21018214416503905,
"p95": 0.21018214416503905,
"p99": 0.21018214416503905,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1088.917504,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.03808
},
"latency": {
"unit": "s",
"values": [
0.006237184047698975,
0.00603545618057251,
0.006058047771453858,
0.006139904022216797,
0.00608460807800293,
0.006030335903167725,
0.0060702719688415525,
0.006031360149383545,
0.00603545618057251,
0.006043647766113281,
0.006020095825195313,
0.006242303848266601,
0.006461311817169189,
0.006338560104370118,
0.006259744167327881,
0.006367231845855713,
0.006287424087524414,
0.006239168167114258,
0.0062044157981872555,
0.006238207817077636,
0.006268928050994873,
0.006245376110076905,
0.006301695823669433,
0.00626585578918457,
0.006254464149475098,
0.006238207817077636,
0.006292479991912842,
0.006326272010803223,
0.0063508481979370115,
0.006336512088775635,
0.006432767868041992,
0.006296576023101807,
0.006358016014099121,
0.0062638077735900875,
0.0062975997924804685,
0.006203392028808594,
0.0063211522102355954,
0.006346752166748047,
0.006271903991699219,
0.006391808032989502,
0.006220799922943115,
0.006294496059417724,
0.006358016014099121,
0.005997568130493164,
0.005903359889984131,
0.0059391999244689945,
0.005989376068115234,
0.005896031856536865,
0.006024191856384278,
0.006039552211761475,
0.005953536033630371,
0.005882880210876465,
0.005957632064819336,
0.005933055877685547,
0.006046720027923584,
0.006031360149383545,
0.0060067839622497555,
0.005952511787414551,
0.005975039958953857,
0.005937151908874512,
0.0062863359451293946,
0.00603545618057251,
0.006091775894165039,
0.006018080234527588,
0.006112256050109863,
0.006034431934356689,
0.0060590081214904785,
0.006025216102600098,
0.006033408164978027,
0.006069248199462891,
0.006047743797302246,
0.005883776187896729,
0.005850111961364746,
0.006039552211761475,
0.005960703849792481,
0.005781504154205322,
0.0058817601203918456,
0.005945343971252442,
0.005679103851318359,
0.005831615924835205,
0.0059688959121704105,
0.005760000228881836,
0.005653503894805908,
0.005601280212402344,
0.0060067839622497555,
0.006089663982391357,
0.006173696041107178,
0.006291456222534179,
0.0062259202003479,
0.0062228479385375976,
0.006403039932250976,
0.006318079948425293,
0.006347775936126709,
0.006020095825195313,
0.005903359889984131,
0.005873663902282715,
0.005866496086120605,
0.005839871883392334,
0.005858304023742676,
0.005830656051635743,
0.005901440143585205,
0.005907455921173096,
0.005888000011444092,
0.005825535774230957,
0.0060661759376525876,
0.005814271926879883,
0.005839680194854736,
0.005848991870880127,
0.005833727836608887,
0.005829631805419922,
0.005890048027038574,
0.005788671970367432,
0.0058551039695739744,
0.005865471839904785,
0.005921792030334472,
0.005825535774230957,
0.005863423824310303,
0.005796927928924561,
0.0058429441452026365,
0.005825503826141358,
0.005807968139648437,
0.005895232200622559,
0.005830656051635743,
0.00585203218460083,
0.006039552211761475,
0.005823488235473633,
0.005799935817718506,
0.006347775936126709,
0.005868544101715088,
0.005857279777526855,
0.005827583789825439,
0.00582144021987915,
0.005807104110717773,
0.005853184223175049,
0.005795839786529541,
0.006457344055175781,
0.006045536041259765,
0.005881855964660645,
0.005798912048339844,
0.0059012799263000485,
0.005780576229095459,
0.005983232021331787,
0.005817344188690185,
0.005904384136199951,
0.005899263858795166,
0.00581334400177002,
0.005882880210876465,
0.005940224170684814,
0.005902400016784668,
0.005794816017150879,
0.005827583789825439,
0.005864448070526123,
0.005908480167388916,
0.005815296173095703,
0.005824512004852295,
0.005775360107421875,
0.0058429441452026365,
0.005810239791870117,
0.005879807949066162,
0.005785600185394287,
0.005830656051635743,
0.005798912048339844,
0.0058091521263122555,
0.0059269118309021,
0.006012928009033203,
0.005846015930175781
],
"count": 166,
"total": 0.9975704331398009,
"mean": 0.00600946044060121,
"p50": 0.005955584049224853,
"p90": 0.006309887886047363,
"p95": 0.006350080132484436,
"p99": 0.006441369533538818,
"stdev": 0.0001963434944086403,
"stdev_": 3.2672399851757294
},
"throughput": {
"unit": "samples/s",
"value": 166.40429034922744
},
"energy": {
"unit": "kWh",
"cpu": 6.707284222378898e-08,
"ram": 3.6632466047945654e-08,
"gpu": 1.3312000605649968e-07,
"total": 2.3682531432823433e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4222521.578136801
}
}
}
}