IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
978f64f verified
raw
history blame
11.7 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": "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": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"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.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1105.833984,
"max_global_vram": 68702.69952,
"max_process_vram": 4412.985344,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.06413388061523438
],
"count": 1,
"total": 0.06413388061523438,
"mean": 0.06413388061523438,
"p50": 0.06413388061523438,
"p90": 0.06413388061523438,
"p95": 0.06413388061523438,
"p99": 0.06413388061523438,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1223.72096,
"max_global_vram": 68702.69952,
"max_process_vram": 273623.781376,
"max_reserved": 555.74528,
"max_allocated": 499.506688
},
"latency": {
"unit": "s",
"values": [
0.007714593887329101,
0.00752675199508667,
0.007444831848144531,
0.007433311939239502,
0.007372831821441651,
0.007145791053771972,
0.007148510932922363,
0.007006750106811523,
0.007222431182861328,
0.0070049910545349125,
0.006976830005645752,
0.006992990970611572,
0.006972030162811279,
0.006984670162200928,
0.0076253128051757815,
0.007440032005310059,
0.007679393768310547,
0.007488831996917724,
0.007423391819000244,
0.0075062718391418455,
0.007134591102600098,
0.007301792144775391,
0.007288832187652588,
0.007426432132720947,
0.007050110816955567,
0.007278110980987549,
0.0071763510704040525,
0.0069531497955322265,
0.0071077108383178714,
0.0071835508346557615,
0.006967870235443116,
0.007012509822845459,
0.0069281902313232425,
0.0071329898834228515,
0.0071445112228393556,
0.007089310169219971,
0.007311231136322022,
0.0074939532279968265,
0.0073373122215271,
0.007477952003479004,
0.007475872993469238,
0.00725875186920166,
0.007495552062988281,
0.00768899393081665,
0.007680512905120849,
0.007946115016937256,
0.007681952953338623,
0.0076088328361511234,
0.007639073848724366,
0.007164670944213867,
0.007264191150665283,
0.007134590148925781,
0.007247711181640625,
0.006948989868164062,
0.006966910839080811,
0.006926589965820312,
0.006972990036010742,
0.007316351890563965,
0.007056830883026123,
0.007193470954895019,
0.007167390823364258,
0.00715571117401123,
0.007201151847839355,
0.0076558728218078615,
0.007669312953948975,
0.007655233860015869,
0.007660192966461182,
0.00765427303314209,
0.00763571310043335,
0.007619553089141846,
0.0076326727867126465,
0.007867874145507813,
0.007648993968963623,
0.0076467528343200685,
0.0076326727867126465,
0.00768195390701294,
0.007679072856903077,
0.007625153064727783,
0.007660513877868653,
0.007635232925415039,
0.007642592906951904,
0.007688193798065185,
0.007631072998046875,
0.0076365132331848145,
0.007668673992156982,
0.007604193210601806,
0.007671553134918213,
0.007630753040313721,
0.007619392871856689,
0.007633472919464111,
0.007640832901000976,
0.0076869139671325686,
0.007661793231964111,
0.007664032936096191,
0.007612672805786133,
0.007650113105773926,
0.007621792793273926,
0.007645792961120605,
0.0076681928634643555,
0.007670114040374756,
0.007664833068847656,
0.007655552864074707,
0.007650434017181396,
0.007615393161773682,
0.007620032787322998,
0.0076278729438781735,
0.007846434116363526,
0.007732354164123535,
0.0078110737800598145,
0.007701313018798828,
0.007668832778930664,
0.007633792877197266,
0.007617312908172608,
0.007632513046264649,
0.0076224331855773925,
0.007620832920074463,
0.007737314224243164,
0.016076229095458985,
0.007464832782745361,
0.00765267276763916,
0.007653152942657471,
0.007624513149261475,
0.007613633155822754,
0.0076297931671142575,
0.007598913192749023,
0.007363070964813232,
0.007125950813293457,
0.00729315185546875,
0.007648993015289307,
0.007798433780670166,
0.0075301132202148435,
0.007286111831665039,
0.007447711944580078
],
"count": 133,
"total": 1.0005755357742308,
"mean": 0.007523124329129554,
"p50": 0.007615393161773682,
"p90": 0.007681953716278076,
"p95": 0.007734338188171387,
"p99": 0.007921077938079835,
"stdev": 0.000787903643383418,
"stdev_": 10.473090818566606
},
"throughput": {
"unit": "samples/s",
"value": 132.92349777179646
},
"energy": null,
"efficiency": null
}
}
}