IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1b75466 verified
raw
history blame
9.96 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.2.1",
"optimum_benchmark_commit": "c551ed4717b9f9db50458281347948dd265d9e3b",
"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": 1007.128576,
"max_global_vram": 3096.096768,
"max_process_vram": 184400.490496,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 126,
"total": 0.9982106800079347,
"mean": 0.007922306984189957,
"stdev": 0.000374018476587722,
"p50": 0.007923651933670044,
"p90": 0.00810749101638794,
"p95": 0.00817017126083374,
"p99": 0.008276490449905395,
"values": [
0.008038690567016601,
0.008162851333618165,
0.008203330993652344,
0.008231810569763184,
0.008277570724487305,
0.008172611236572265,
0.008135010719299316,
0.008087171554565429,
0.00793261194229126,
0.007955811977386474,
0.00791997194290161,
0.007942371845245362,
0.007909891128540038,
0.007916612148284912,
0.007649572849273681,
0.0077502121925354,
0.007605253219604492,
0.007329412937164307,
0.007829572200775146,
0.007959171772003174,
0.008092290878295898,
0.008105731010437012,
0.008111491203308105,
0.007986690998077393,
0.008092611312866212,
0.007983971118927001,
0.008028132438659668,
0.008018852233886719,
0.00806333065032959,
0.00797693109512329,
0.007970372200012206,
0.00799661111831665,
0.008083491325378419,
0.008152610778808593,
0.008073090553283691,
0.008109251022338866,
0.008206851005554199,
0.011403639793395997,
0.008273249626159667,
0.007899971961975097,
0.007863492012023925,
0.007857411861419679,
0.007928610801696778,
0.007852451801300049,
0.007886851787567139,
0.007864612102508545,
0.007880452156066895,
0.007901251792907715,
0.007899652004241944,
0.00794893217086792,
0.007920931816101075,
0.007907172203063965,
0.007943330764770508,
0.007892772197723389,
0.007974370956420899,
0.007872292041778564,
0.007880452156066895,
0.007923171997070313,
0.007930051803588868,
0.007899971961975097,
0.007917411804199219,
0.007881892204284669,
0.007937091827392578,
0.007896612167358399,
0.007865252017974854,
0.007943012237548829,
0.007548293113708496,
0.007919012069702148,
0.007757573127746582,
0.007355652809143067,
0.007612613201141358,
0.00777213191986084,
0.007945891857147216,
0.008039011001586913,
0.008132451057434082,
0.007703011989593506,
0.007897572040557861,
0.007949730873107911,
0.007972611904144286,
0.007924450874328613,
0.007929091930389404,
0.007924292087554932,
0.007941091060638427,
0.007957411766052245,
0.007949730873107911,
0.007943012237548829,
0.007952130794525147,
0.007924131870269776,
0.007894852161407472,
0.007893412113189698,
0.007892131805419922,
0.007834692001342774,
0.007891972064971924,
0.00785997200012207,
0.007873732089996338,
0.007885732173919678,
0.00788013219833374,
0.008009250640869141,
0.007895651817321778,
0.007820772171020509,
0.007881091117858887,
0.007838372230529786,
0.00791405200958252,
0.007949091911315919,
0.007901251792907715,
0.00787581205368042,
0.007926051139831542,
0.007920291900634766,
0.00793117094039917,
0.007960452079772948,
0.008031650543212891,
0.007979331970214843,
0.007928291797637939,
0.007965732097625732,
0.007972132205963135,
0.007923171997070313,
0.007963971138000488,
0.00791677188873291,
0.00731421422958374,
0.007399973869323731,
0.007493732929229736,
0.00764797306060791,
0.007407172203063965,
0.007124295234680176,
0.007089734077453613,
0.007163495063781738
]
},
"throughput": {
"unit": "samples/s",
"value": 126.22585845204385
},
"energy": null,
"efficiency": null
}
}
}