IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5eb014b verified
raw
history blame
12.3 kB
{
"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.33.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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 719.839232,
"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.23047021484375,
"mean": 7.23047021484375,
"stdev": 0.0,
"p50": 7.23047021484375,
"p90": 7.23047021484375,
"p95": 7.23047021484375,
"p99": 7.23047021484375,
"values": [
7.23047021484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0363873508241442e-06,
"ram": 5.522441405544972e-07,
"gpu": 0.0,
"total": 1.5886314913786414e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 913.354752,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 150,
"total": 0.9978899526596073,
"mean": 0.006652599684397379,
"stdev": 0.00023945371693781674,
"p50": 0.006703616142272949,
"p90": 0.006903091096878052,
"p95": 0.006952601718902587,
"p99": 0.00703496208190918,
"values": [
0.006996992111206054,
0.007030784130096435,
0.007038976192474365,
0.007005184173583984,
0.006964223861694336,
0.0069632000923156735,
0.006976511955261231,
0.006837247848510742,
0.0069027838706970214,
0.0068260798454284665,
0.006812672138214112,
0.006922239780426025,
0.0067983360290527345,
0.006622208118438721,
0.006820864200592041,
0.006813695907592773,
0.006770688056945801,
0.006872064113616944,
0.006913023948669434,
0.006803455829620361,
0.006758399963378906,
0.00676966381072998,
0.006809599876403808,
0.006870016098022461,
0.0068873920440673825,
0.006823935985565186,
0.006905856132507324,
0.006880256175994873,
0.006760447978973389,
0.0068249602317810056,
0.006800384044647217,
0.006767615795135498,
0.006864895820617676,
0.00676966381072998,
0.007935008049011231,
0.00679423999786377,
0.006837247848510742,
0.006716415882110595,
0.006927360057830811,
0.0068577280044555666,
0.0068280320167541505,
0.006881279945373535,
0.006898623943328857,
0.006927360057830811,
0.006899712085723877,
0.006829055786132812,
0.006779839992523193,
0.006729728221893311,
0.006882304191589355,
0.006822912216186523,
0.006763519763946534,
0.006848512172698974,
0.00679423999786377,
0.006661119937896728,
0.006766592025756836,
0.006776832103729248,
0.006700032234191895,
0.006939648151397705,
0.006747136116027832,
0.006707200050354004,
0.006865920066833496,
0.0067717118263244626,
0.00672051191329956,
0.006817791938781738,
0.006759424209594727,
0.006803455829620361,
0.006892543792724609,
0.006899712085723877,
0.006887423992156983,
0.006890495777130127,
0.006796288013458252,
0.00677785587310791,
0.006842368125915528,
0.006711296081542969,
0.006746111869812011,
0.006872064113616944,
0.006699007987976074,
0.006632448196411133,
0.006593535900115967,
0.006573056221008301,
0.006784031867980957,
0.006606847763061524,
0.006337535858154297,
0.0064316802024841305,
0.0066406397819519045,
0.006448128223419189,
0.006626304149627686,
0.006617087841033936,
0.006527999877929688,
0.006676479816436768,
0.006917119979858399,
0.006618112087249756,
0.006546432018280029,
0.006505472183227539,
0.006425600051879882,
0.00653004789352417,
0.006426623821258545,
0.006498303890228272,
0.0064849920272827145,
0.006345727920532227,
0.006449151992797852,
0.006423488140106202,
0.006307839870452881,
0.006441984176635742,
0.006366208076477051,
0.006404064178466797,
0.006461440086364746,
0.006348800182342529,
0.006436863899230957,
0.006575104236602783,
0.0064143362045288085,
0.006435840129852295,
0.006393856048583985,
0.006358016014099121,
0.0063836159706115725,
0.006396927833557129,
0.006404096126556396,
0.00638259220123291,
0.006359039783477783,
0.006450175762176514,
0.00643891191482544,
0.006408192157745361,
0.00638976001739502,
0.006370304107666015,
0.006402048110961914,
0.006471680164337158,
0.006359039783477783,
0.0063569917678833006,
0.006411263942718506,
0.006392831802368164,
0.006352896213531494,
0.0064174079895019534,
0.006372352123260498,
0.006440959930419922,
0.00638259220123291,
0.006358016014099121,
0.006393856048583985,
0.006338560104370118,
0.006389823913574219,
0.0064102401733398436,
0.006329343795776367,
0.006407167911529541,
0.0063569917678833006,
0.006523935794830322,
0.006395904064178467,
0.006336512088775635,
0.006419456005096436,
0.006366208076477051,
0.006351871967315674,
0.006367199897766114
]
},
"throughput": {
"unit": "samples/s",
"value": 150.31717635819
},
"energy": {
"unit": "kWh",
"cpu": 7.231698490093718e-08,
"ram": 3.953816530047523e-08,
"gpu": 1.3292185430488237e-07,
"total": 2.447770045062948e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4085351.081148162
}
}
}
}