IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4b729df verified
raw
history blame
11.7 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": "5",
"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.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1079.5008,
"max_global_vram": 68702.69952,
"max_process_vram": 55571.49696,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 15.69282421875,
"mean": 15.69282421875,
"stdev": 0.0,
"p50": 15.69282421875,
"p90": 15.69282421875,
"p95": 15.69282421875,
"p99": 15.69282421875,
"values": [
15.69282421875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1196.470272,
"max_global_vram": 68702.69952,
"max_process_vram": 239959.969792,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 138,
"total": 0.9996499910354613,
"mean": 0.007243840514749721,
"stdev": 0.0010836604027506147,
"p50": 0.00706374192237854,
"p90": 0.007684444999694825,
"p95": 0.007925348377227784,
"p99": 0.012262095708847018,
"values": [
0.00782077980041504,
0.007933101177215577,
0.007654699802398681,
0.007418861865997314,
0.007532940864562988,
0.00746398115158081,
0.007407502174377441,
0.007715021133422852,
0.007440301895141601,
0.007506220817565918,
0.00841325855255127,
0.007752621173858642,
0.007573101043701172,
0.00742254114151001,
0.007248941898345947,
0.0070830221176147465,
0.007179662227630616,
0.0075007820129394534,
0.006997582912445069,
0.007175821781158448,
0.007095181941986084,
0.007072622776031494,
0.006975821971893311,
0.006994223117828369,
0.007013902187347412,
0.007032301902770996,
0.007006382942199707,
0.0070409421920776365,
0.0070436630249023436,
0.007055982112884522,
0.00711390209197998,
0.007044143199920654,
0.007035821914672852,
0.007018541812896729,
0.007086223125457764,
0.007076461791992187,
0.007042541980743409,
0.007023822784423828,
0.007035501956939697,
0.00701166296005249,
0.007006863117218018,
0.007009262084960937,
0.007043822765350342,
0.0070419020652771,
0.007066542148590088,
0.007066543102264404,
0.007048781871795654,
0.007079661846160889,
0.0070339031219482425,
0.007043022155761719,
0.007056941986083984,
0.007047822952270508,
0.007027341842651367,
0.007047983169555664,
0.007164622783660889,
0.007030702114105224,
0.007007981777191162,
0.007012143135070801,
0.007055342197418213,
0.014522523880004882,
0.0023996739387512206,
0.005583186149597168,
0.006997743129730225,
0.00706430196762085,
0.007037102222442627,
0.007083823204040527,
0.007070862770080567,
0.007071661949157715,
0.007043982982635498,
0.007072143077850342,
0.007062541961669922,
0.0070529432296752926,
0.00704990291595459,
0.00727006196975708,
0.007030382156372071,
0.00698654317855835,
0.007021582126617432,
0.007046061992645264,
0.007047342777252197,
0.007070062160491944,
0.007038702011108398,
0.007051662921905517,
0.007070062160491944,
0.007107021808624267,
0.006980302810668945,
0.007050221920013428,
0.007038063049316407,
0.007018861770629883,
0.007015821933746338,
0.007040782928466797,
0.007019822120666504,
0.007006543159484863,
0.0070195021629333495,
0.00697342300415039,
0.007014222145080566,
0.014781562805175782,
0.0033982319831848146,
0.007223182201385498,
0.007096302032470703,
0.007063982009887696,
0.0070675029754638675,
0.007049263000488281,
0.007035501956939697,
0.007096622943878174,
0.00703790283203125,
0.007063343048095703,
0.00704414176940918,
0.007059503078460694,
0.007144143104553222,
0.00707902193069458,
0.007063501834869384,
0.007048782825469971,
0.007074862003326416,
0.0070438218116760255,
0.0070767831802368165,
0.007018861770629883,
0.007042061805725097,
0.007804941177368164,
0.007979340076446533,
0.007896940231323242,
0.008020939826965333,
0.007594060897827148,
0.0075830211639404295,
0.007409101963043213,
0.0073846220970153805,
0.007420620918273926,
0.007441102027893066,
0.007455020904541016,
0.0074286208152771,
0.007671340942382813,
0.007402222156524658,
0.007352780818939209,
0.0073222222328186036,
0.007486861228942871,
0.007923980236053467,
0.007923500061035156,
0.008015661239624024,
0.007543181896209717
]
},
"throughput": {
"unit": "samples/s",
"value": 138.04831814889158
},
"energy": null,
"efficiency": null
}
}
}