IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f484965 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1032.331264,
"max_global_vram": 68702.69952,
"max_process_vram": 50871.967744,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 9.4871650390625,
"mean": 9.4871650390625,
"stdev": 0.0,
"p50": 9.4871650390625,
"p90": 9.4871650390625,
"p95": 9.4871650390625,
"p99": 9.4871650390625,
"values": [
9.4871650390625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1151.029248,
"max_global_vram": 68702.69952,
"max_process_vram": 216482.684928,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9946798086166383,
"mean": 0.007832124477296363,
"stdev": 0.0008801078935647533,
"p50": 0.007743494987487793,
"p90": 0.007894502544403076,
"p95": 0.008066325283050537,
"p99": 0.008724138507843017,
"values": [
0.00823885440826416,
0.00803933334350586,
0.00794893503189087,
0.007893414974212646,
0.007890374183654784,
0.007855013847351074,
0.0080894136428833,
0.007901733875274658,
0.00789613389968872,
0.007881575107574463,
0.007930694103240966,
0.007811654090881348,
0.0077854151725769045,
0.007806694984436035,
0.007857894897460938,
0.007775654792785644,
0.007776134967803955,
0.007796295166015625,
0.007779014110565185,
0.007839815139770508,
0.007758374214172363,
0.016996103286743162,
0.0044756650924682615,
0.007839654922485352,
0.00782413387298584,
0.007843655109405517,
0.007843974113464356,
0.008738532066345214,
0.008134694099426269,
0.007699174880981445,
0.007681574821472168,
0.007727173805236817,
0.007694055080413818,
0.00767325496673584,
0.0077218952178955075,
0.0077102150917053225,
0.007695334911346436,
0.007679494857788086,
0.007718854904174804,
0.00770381498336792,
0.007746695041656494,
0.007738694190979004,
0.007733574867248535,
0.007702374935150146,
0.0077033348083496095,
0.00769181489944458,
0.007841254234313965,
0.007687974929809571,
0.007687495231628418,
0.008683172225952149,
0.008077893257141113,
0.007740294933319092,
0.0077247748374938965,
0.00771037483215332,
0.00774253511428833,
0.007710054874420166,
0.007696615219116211,
0.007710054874420166,
0.007715014934539795,
0.007733254909515381,
0.007705894947052002,
0.007759974956512451,
0.007785735130310059,
0.007788293838500977,
0.007789255142211914,
0.007773894786834717,
0.007778055191040039,
0.007797094821929931,
0.007790214061737061,
0.0077938947677612305,
0.007793094158172607,
0.007810854911804199,
0.007825094223022461,
0.007793735027313233,
0.007779494762420654,
0.007764295101165771,
0.007751335144042968,
0.007729414939880371,
0.007698375225067139,
0.007695334911346436,
0.007721574783325196,
0.007697094917297363,
0.007731335163116455,
0.007751814842224121,
0.007739014148712158,
0.007753415107727051,
0.007710054874420166,
0.007711494922637939,
0.007711655139923096,
0.007696615219116211,
0.007743494987487793,
0.007689734935760498,
0.0077102150917053225,
0.0077082948684692384,
0.007700614929199219,
0.007713095188140869,
0.007802215099334717,
0.007691014766693116,
0.007755014896392822,
0.007754213809967041,
0.007722215175628662,
0.007729094982147217,
0.007739974975585938,
0.007768614768981934,
0.007684134960174561,
0.008027334213256836,
0.007729734897613525,
0.007730374813079834,
0.007761254787445069,
0.0076959748268127445,
0.0077175750732421874,
0.007721735000610352,
0.007758534908294677,
0.0077249350547790524,
0.0077078151702880855,
0.007727015018463135,
0.007720294952392578,
0.007747815132141113,
0.0077126150131225585,
0.007747495174407959,
0.007755014896392822,
0.007747014045715332,
0.007741573810577392,
0.00778893518447876,
0.007696774959564209,
0.007699335098266601,
0.007750374794006348
]
},
"throughput": {
"unit": "samples/s",
"value": 127.67927819569057
},
"energy": null,
"efficiency": null
}
}
}