IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b949dc3 verified
raw
history blame
11.2 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "4",
"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": 1079.083008,
"max_global_vram": 68702.69952,
"max_process_vram": 47923.63008,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.8135244140625,
"mean": 8.8135244140625,
"stdev": 0.0,
"p50": 8.8135244140625,
"p90": 8.8135244140625,
"p95": 8.8135244140625,
"p99": 8.8135244140625,
"values": [
8.8135244140625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1196.654592,
"max_global_vram": 68702.69952,
"max_process_vram": 245055.410176,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9954644894599914,
"mean": 0.007838303066614106,
"stdev": 0.0017967840254529107,
"p50": 0.007603178024291992,
"p90": 0.008305288124084473,
"p95": 0.00842946319580078,
"p99": 0.01714163967132568,
"values": [
0.007962216854095459,
0.007910377025604248,
0.007850697994232178,
0.00805485725402832,
0.008079656600952148,
0.007998376846313477,
0.009103652954101562,
0.00787789821624756,
0.007878697872161866,
0.007771017074584961,
0.00772333812713623,
0.01681083106994629,
0.006656140804290772,
0.00763165807723999,
0.007603178024291992,
0.0075633378028869625,
0.007518698215484619,
0.007482058048248291,
0.007532779216766357,
0.007483017921447754,
0.007492137908935547,
0.007454218864440918,
0.007459658145904541,
0.00747885799407959,
0.00745021915435791,
0.008802213668823243,
0.00787805700302124,
0.007823977947235107,
0.007749096870422363,
0.007756457805633545,
0.007542218208312988,
0.007854056835174561,
0.007866377830505372,
0.008082696914672852,
0.007962856769561768,
0.007961737155914307,
0.008030536651611329,
0.007920456886291503,
0.00798125696182251,
0.00812733554840088,
0.007870856761932374,
0.007713578224182129,
0.007860937118530274,
0.0080919771194458,
0.007944296836853028,
0.007715016841888428,
0.007766697883605957,
0.0076594982147216795,
0.007773097038269043,
0.007798538208007812,
0.007731657028198242,
0.0073950190544128415,
0.007492618083953857,
0.007407019138336182,
0.007467018127441406,
0.00745245885848999,
0.007279499053955078,
0.007248779773712158,
0.007243020057678223,
0.007261898994445801,
0.007271979808807373,
0.007291499137878418,
0.007386378765106201,
0.00729085922241211,
0.007275498867034912,
0.007261898994445801,
0.007279658794403076,
0.007329578876495361,
0.007311978816986084,
0.0072969388961792,
0.0073497390747070315,
0.017257869720458983,
0.0027924718856811525,
0.007377418994903564,
0.0073964581489562985,
0.00739133882522583,
0.0073404588699340825,
0.007339657783508301,
0.00739949893951416,
0.007421419143676757,
0.007386699199676514,
0.007374858856201172,
0.007432298183441162,
0.007482059001922607,
0.00743021821975708,
0.007417098999023437,
0.0074586977958679196,
0.007448139190673828,
0.00738861894607544,
0.0074390192031860355,
0.007411178112030029,
0.007387339115142822,
0.007344139099121094,
0.007322059154510498,
0.007533419132232666,
0.007398539066314698,
0.007364778995513916,
0.008376935958862304,
0.00878813362121582,
0.008234375953674317,
0.007958696842193604,
0.008121256828308105,
0.007822697162628173,
0.007403179168701172,
0.007316938877105713,
0.007366858959197998,
0.007406698226928711,
0.007794857978820801,
0.00781261682510376,
0.0077687778472900395,
0.00775197696685791,
0.007926537036895751,
0.008344936370849609,
0.02017898178100586,
0.00256367301940918,
0.004028947830200196,
0.008270536422729492,
0.007942697048187257,
0.00820573616027832,
0.008348296165466309,
0.008301416397094726,
0.008301896095275879,
0.008310376167297363,
0.008333576202392579,
0.008324616432189942,
0.008451974868774415,
0.008284134864807129
]
},
"throughput": {
"unit": "samples/s",
"value": 127.57863424027667
},
"energy": null,
"efficiency": null
}
}
}