IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
113ca5e verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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": "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,
"memory": true,
"latency": true,
"energy": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 716.3904,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.2106875,
"mean": 7.2106875,
"stdev": 0.0,
"p50": 7.2106875,
"p90": 7.2106875,
"p95": 7.2106875,
"p99": 7.2106875,
"values": [
7.2106875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.618866403897604e-07,
"ram": 4.568722797108649e-07,
"gpu": 1.7669458579998298e-06,
"total": 3.0857047781004553e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 915.529728,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 143,
"total": 1.0020183043479918,
"mean": 0.007007121009426516,
"stdev": 0.00020550518328249812,
"p50": 0.007009280204772949,
"p90": 0.007160217571258545,
"p95": 0.007374028968811036,
"p99": 0.007742764291763308,
"values": [
0.00758681583404541,
0.007614496231079101,
0.007444479942321777,
0.007379968166351319,
0.007320576190948487,
0.007307263851165771,
0.00783564805984497,
0.006907904148101806,
0.006721471786499024,
0.006788095951080322,
0.006814720153808594,
0.006804480075836182,
0.006799359798431396,
0.006850560188293457,
0.007037951946258545,
0.007162879943847656,
0.006848480224609375,
0.006890495777130127,
0.00689356803894043,
0.00690067195892334,
0.006819839954376221,
0.0068986878395080565,
0.007088128089904785,
0.007095295906066895,
0.007038911819458008,
0.00709939193725586,
0.007019519805908203,
0.007049215793609619,
0.006876160144805908,
0.006847487926483154,
0.006876160144805908,
0.006844319820404053,
0.006782976150512696,
0.006872064113616944,
0.007023615837097168,
0.00698252820968628,
0.007000063896179199,
0.007124991893768311,
0.007145472049713135,
0.007094272136688232,
0.007013408184051514,
0.007019519805908203,
0.007087103843688965,
0.007084991931915283,
0.007045119762420654,
0.006848512172698974,
0.007073791980743408,
0.007071743965148926,
0.008140800476074218,
0.007066624164581299,
0.0069550080299377445,
0.007068672180175781,
0.007027711868286133,
0.0069928960800170895,
0.007016448020935059,
0.007077888011932373,
0.006918144226074219,
0.006833151817321777,
0.006796319961547851,
0.006853631973266602,
0.006871039867401123,
0.006801407814025879,
0.007011328220367432,
0.006848512172698974,
0.006846464157104492,
0.006946815967559815,
0.006960127830505371,
0.007132160186767578,
0.006971392154693603,
0.006909952163696289,
0.00683622407913208,
0.00678710412979126,
0.00684441614151001,
0.006793216228485107,
0.00682700777053833,
0.0068403520584106444,
0.007051263809204102,
0.006871039867401123,
0.006847487926483154,
0.006803455829620361,
0.006747136116027832,
0.006773759841918945,
0.006941696166992187,
0.007010303974151612,
0.006975488185882568,
0.007057407855987549,
0.007020544052124023,
0.0069621758460998535,
0.00704307222366333,
0.0070605120658874514,
0.007053311824798584,
0.007045119762420654,
0.006987775802612305,
0.0071495680809020995,
0.00722431993484497,
0.007106560230255127,
0.007071743965148926,
0.007065599918365479,
0.007121920108795166,
0.0070347838401794436,
0.00707583999633789,
0.006989823818206787,
0.007051263809204102,
0.00695091199874878,
0.007069695949554444,
0.006870016098022461,
0.007051199913024902,
0.0070348801612854,
0.0070174398422241215,
0.006976511955261231,
0.007015488147735596,
0.007015423774719238,
0.006999040126800537,
0.007004159927368164,
0.006999040126800537,
0.007018496036529541,
0.007035903930664063,
0.007009280204772949,
0.006931456089019775,
0.007008255958557129,
0.007571455955505371,
0.0072325119972229,
0.007291903972625732,
0.00758784008026123,
0.007087039947509766,
0.007073791980743408,
0.00704204797744751,
0.007044095993041993,
0.006927360057830811,
0.007053311824798584,
0.0070563840866088865,
0.007028736114501953,
0.0068915200233459475,
0.00690176010131836,
0.006740992069244385,
0.00673689603805542,
0.006776832103729248,
0.00679423999786377,
0.006799359798431396,
0.006760447978973389,
0.006785024166107178,
0.007181312084197998,
0.006795263767242431
]
},
"throughput": {
"unit": "samples/s",
"value": 142.71196382290577
},
"energy": {
"unit": "kWh",
"cpu": 8.461046195219434e-08,
"ram": 4.623093621615719e-08,
"gpu": 1.6501997328571034e-07,
"total": 2.958613714540619e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3379961.348402216
}
}
}
}