IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
70a60b6 verified
raw
history blame
10.1 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"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": {},
"hub_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,
"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": "dc29eecfd7850e87154a5a92442eb64d237d0070",
"transformers_version": "4.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1004.261376,
"max_global_vram": 1878.827008,
"max_process_vram": 177118.37184,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 129,
"total": 0.9972229571342467,
"mean": 0.0077304105204205175,
"stdev": 0.00041681671055353726,
"p50": 0.0076808052062988285,
"p90": 0.008268454170227051,
"p95": 0.008280134010314941,
"p99": 0.008528716354370117,
"values": [
0.008065284729003907,
0.007769606113433838,
0.007991206169128419,
0.007874245166778565,
0.008052165985107423,
0.007551846027374268,
0.007830405235290527,
0.007899206161499023,
0.0077105660438537595,
0.007407205104827881,
0.007362565040588379,
0.007115204811096191,
0.007087046146392822,
0.007059364795684814,
0.007302404880523682,
0.007148324966430664,
0.007127204895019531,
0.007099365234375,
0.007098565101623535,
0.007087845802307129,
0.007130565166473389,
0.007096964836120606,
0.007152645111083984,
0.007260165214538574,
0.007377925872802734,
0.007200164794921875,
0.007214244842529297,
0.007233284950256348,
0.007908006191253663,
0.007720324993133545,
0.007874245166778565,
0.007960646152496339,
0.007951526165008545,
0.008029125213623046,
0.007926886081695556,
0.008003046035766601,
0.00959904670715332,
0.008619525909423827,
0.008290406227111816,
0.008220645904541015,
0.008185606002807617,
0.008229286193847656,
0.008270886421203614,
0.008214085578918458,
0.008275205612182618,
0.008289285659790039,
0.008275686264038086,
0.00824880599975586,
0.008247686386108398,
0.008255685806274414,
0.00826784610748291,
0.0082574462890625,
0.008273446083068847,
0.008236645698547363,
0.008224004745483399,
0.008239365577697754,
0.008276165962219239,
0.00823952579498291,
0.00824016571044922,
0.008267206192016601,
0.00829520606994629,
0.008211525917053222,
0.008281926155090331,
0.008277445793151856,
0.007952486038208008,
0.00778064489364624,
0.007854566097259522,
0.007547366142272949,
0.007544004917144775,
0.00733744478225708,
0.007352806091308593,
0.007499684810638427,
0.007622245788574219,
0.007407044887542725,
0.007368645191192627,
0.0073667259216308595,
0.007345284938812256,
0.007757925033569336,
0.00790000581741333,
0.007581766128540039,
0.0078668851852417,
0.007775045871734619,
0.007395205020904541,
0.00745456600189209,
0.0073664050102233885,
0.007330564975738525,
0.007538886070251465,
0.007768644809722901,
0.008092005729675293,
0.007716485977172852,
0.007719045162200928,
0.008289285659790039,
0.008237766265869141,
0.007852965831756592,
0.007876165866851807,
0.007904805183410645,
0.0077862458229064945,
0.0076808052062988285,
0.007702566146850586,
0.007704006195068359,
0.008003364562988282,
0.007390245914459228,
0.0074324851036071775,
0.0074232048988342285,
0.0073600058555603025,
0.007643525123596191,
0.00749600601196289,
0.0074420847892761235,
0.007399684906005859,
0.007365446090698242,
0.0075174450874328615,
0.0074707260131835936,
0.007396005153656006,
0.0076288051605224606,
0.007620645999908447,
0.007640804767608643,
0.007482245922088623,
0.007417284965515137,
0.007480646133422851,
0.007634085178375244,
0.007443044185638428,
0.007607046127319336,
0.007495365142822266,
0.007403046131134033,
0.007624965190887451,
0.007438566207885742,
0.00740784502029419,
0.007410085201263428,
0.007382084846496582
]
},
"throughput": {
"unit": "samples/s",
"value": 129.35923614385257
},
"energy": null,
"efficiency": null
}
}
}