IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
780fde5 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.0.dev20231010+rocm5.7",
"_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": "6",
"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": 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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 955.55584,
"max_global_vram": 68702.69952,
"max_process_vram": 45204.0704,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 13.7415205078125,
"mean": 13.7415205078125,
"stdev": 0.0,
"p50": 13.7415205078125,
"p90": 13.7415205078125,
"p95": 13.7415205078125,
"p99": 13.7415205078125,
"values": [
13.7415205078125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1082.458112,
"max_global_vram": 68702.69952,
"max_process_vram": 231234.945024,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9967490847110749,
"mean": 0.007848417989850982,
"stdev": 0.0008680064205980454,
"p50": 0.007776010036468506,
"p90": 0.007982057857513427,
"p95": 0.008048506069183349,
"p99": 0.011394948940277077,
"values": [
0.007902568817138671,
0.007893128871917725,
0.007982729911804199,
0.008088810920715332,
0.008133130073547363,
0.008114890098571777,
0.00798160982131958,
0.007920650005340577,
0.008163689613342285,
0.007881289958953857,
0.007861770153045655,
0.007834410190582276,
0.007814410209655762,
0.00777216911315918,
0.007803689956665039,
0.007815529823303222,
0.007802249908447266,
0.007861130237579346,
0.007753609180450439,
0.007756330013275146,
0.0077548899650573735,
0.007737289905548095,
0.007762088775634766,
0.0077468900680542,
0.007733610153198242,
0.007769608974456787,
0.007773128986358643,
0.0077548899650573735,
0.007744009971618652,
0.007759368896484375,
0.0077145700454711915,
0.007752329826354981,
0.00775825023651123,
0.0077526488304138184,
0.00774960994720459,
0.0077433700561523435,
0.007759368896484375,
0.007745930194854736,
0.0077628898620605465,
0.007913449764251708,
0.007782730102539062,
0.007888168811798095,
0.014449459075927734,
0.00251792311668396,
0.0077905688285827635,
0.007786250114440918,
0.007819849967956543,
0.007814249992370605,
0.007806089878082276,
0.007782888889312744,
0.007828810214996339,
0.007847370147705078,
0.007807690143585205,
0.007840650081634521,
0.007811849117279053,
0.007845290184020996,
0.007801129817962647,
0.007791530132293701,
0.007813610076904298,
0.008053930282592773,
0.008035849571228028,
0.007990570068359374,
0.00795265007019043,
0.007996170043945313,
0.007909130096435547,
0.007941450119018555,
0.007873449802398682,
0.007991690158843994,
0.007934730052947998,
0.007919050216674805,
0.00786768913269043,
0.007846089839935302,
0.007847370147705078,
0.007787049770355225,
0.007819530010223388,
0.007786889076232911,
0.007708489894866943,
0.00767648983001709,
0.007702408790588379,
0.007725450038909912,
0.007743529796600342,
0.007693929195404053,
0.0077006502151489254,
0.007791369915008545,
0.007631689071655273,
0.007682409763336182,
0.007876649856567382,
0.007853129863739013,
0.007776010036468506,
0.007810888767242431,
0.0077292900085449215,
0.00770753002166748,
0.007674889087677002,
0.007687689781188965,
0.0077217698097229006,
0.0077544088363647465,
0.00772769021987915,
0.007719689846038818,
0.007686569213867188,
0.007706890106201172,
0.012530256271362304,
0.007810409069061279,
0.007699209213256836,
0.00798705005645752,
0.007858729839324952,
0.007757130146026611,
0.007963210105895997,
0.007639849185943603,
0.007602570056915284,
0.007695529937744141,
0.007760649204254151,
0.007766089916229248,
0.007700009822845459,
0.007706408977508545,
0.007666729927062989,
0.007688650131225586,
0.00762208890914917,
0.0076772899627685545,
0.0076718487739562986,
0.0076976089477539065,
0.007796009063720703,
0.0077713699340820315,
0.007747368812561035,
0.0076649699211120605,
0.007689770221710205,
0.007667529106140137,
0.007715849876403808
]
},
"throughput": {
"unit": "samples/s",
"value": 127.4142128124584
},
"energy": null,
"efficiency": null
}
}
}