IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bda32e1 verified
raw
history blame
10.1 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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.3.1",
"optimum_benchmark_commit": "2c8ab57de1af767ec2e6a2cf774f52cea6a0db26",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1009.246208,
"max_global_vram": 897.138688,
"max_process_vram": 201094.086656,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 129,
"total": 0.9984888381958006,
"mean": 0.007740223551905433,
"stdev": 0.00046162605843065314,
"p50": 0.007902422904968261,
"p90": 0.0081489839553833,
"p95": 0.008306680297851561,
"p99": 0.008732127990722658,
"values": [
0.007960662841796876,
0.008158743858337402,
0.008289785385131835,
0.008378904342651367,
0.008438744544982911,
0.008317943572998046,
0.008235704421997071,
0.008204343795776368,
0.008192824363708497,
0.008128984451293945,
0.008144184112548828,
0.008045944213867187,
0.008066742897033692,
0.008073464393615722,
0.008125783920288086,
0.008092023849487305,
0.008080504417419433,
0.008036023139953613,
0.008092344284057617,
0.008080504417419433,
0.0081489839553833,
0.008086104393005372,
0.00812226390838623,
0.0081489839553833,
0.00807826328277588,
0.008089943885803223,
0.008038904190063477,
0.008040183067321778,
0.008062103271484374,
0.009672509193420411,
0.008577465057373047,
0.00809394359588623,
0.008022903442382812,
0.007899703025817871,
0.007918262958526611,
0.007901302814483643,
0.007902422904968261,
0.007888503074645996,
0.008722105026245118,
0.0087360258102417,
0.008011862754821778,
0.00794722318649292,
0.007975382804870606,
0.007947863101959229,
0.007930583953857422,
0.007900183200836181,
0.007882742881774903,
0.007961303234100341,
0.007958902835845947,
0.00797234296798706,
0.00794594383239746,
0.007895062923431397,
0.007944502830505372,
0.007905784130096436,
0.007936023235321044,
0.00793250322341919,
0.007948503971099854,
0.007956343173980713,
0.007949462890625,
0.007962742805480956,
0.007947382926940917,
0.007452501773834229,
0.007347062110900879,
0.0073177809715270995,
0.007276341915130615,
0.007091860771179199,
0.0070801801681518554,
0.007118740081787109,
0.007034739971160889,
0.007063540935516357,
0.007086901187896728,
0.007231380939483643,
0.007221621036529541,
0.0070792207717895505,
0.007031860828399658,
0.007903542995452881,
0.00788226318359375,
0.007856183052062989,
0.007945463180541993,
0.007706583023071289,
0.007618261814117432,
0.007586902141571045,
0.007894742965698242,
0.007891383171081543,
0.00794338321685791,
0.007948822975158691,
0.007899383068084716,
0.00798546314239502,
0.007902102947235107,
0.007926743030548095,
0.007912662982940674,
0.007949623107910156,
0.00786546277999878,
0.007842742919921875,
0.007856663227081298,
0.007935062885284424,
0.007933942794799805,
0.007520182132720947,
0.007493621826171875,
0.007500341892242432,
0.0074179420471191405,
0.0074622611999511715,
0.0072419409751892086,
0.007180020809173584,
0.007172660827636719,
0.0072734618186950685,
0.007276181221008301,
0.007227060794830323,
0.007067380905151367,
0.007060340881347656,
0.007051061153411866,
0.007086740970611572,
0.00709361982345581,
0.0071395401954650875,
0.007118899822235108,
0.007430421829223633,
0.0071043410301208495,
0.007320501804351807,
0.00712722110748291,
0.00709138011932373,
0.00733634090423584,
0.007099380970001221,
0.007326101779937744,
0.007100019931793213,
0.007064020156860352,
0.0070785808563232425,
0.007096820831298828,
0.007090419769287109,
0.007111220836639404
]
},
"throughput": {
"unit": "samples/s",
"value": 129.19523490427187
},
"energy": null,
"efficiency": null
}
}
}