IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1ad8ad1 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": "6",
"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": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1104.91648,
"max_global_vram": 68702.69952,
"max_process_vram": 3784.327168,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.07835257720947265
],
"count": 1,
"total": 0.07835257720947265,
"mean": 0.07835257720947265,
"p50": 0.07835257720947265,
"p90": 0.07835257720947265,
"p95": 0.07835257720947265,
"p99": 0.07835257720947265,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1227.767808,
"max_global_vram": 68702.69952,
"max_process_vram": 251923.755008,
"max_reserved": 555.74528,
"max_allocated": 499.442688
},
"latency": {
"unit": "s",
"values": [
0.007933770179748535,
0.007754889011383057,
0.00779265022277832,
0.007806570053100586,
0.007275369167327881,
0.007192648887634277,
0.007074728965759277,
0.006880328178405761,
0.006872008800506592,
0.006880329132080078,
0.006938087940216065,
0.006882568836212158,
0.007072809219360351,
0.006881288051605225,
0.006911849021911621,
0.007072649002075195,
0.006908648014068604,
0.0070272088050842285,
0.0074364891052246095,
0.007087368965148926,
0.007429289817810059,
0.006952487945556641,
0.007308329105377197,
0.007023529052734375,
0.007226889133453369,
0.007056169033050537,
0.006916648864746093,
0.007065449237823486,
0.0070905680656433104,
0.007318409919738769,
0.00714080810546875,
0.007046408176422119,
0.007281929016113281,
0.007273609161376953,
0.007180489063262939,
0.007310568809509277,
0.007224968910217285,
0.0070537691116333,
0.007390089035034179,
0.007594089031219483,
0.006982728958129882,
0.006938728809356689,
0.007167529106140136,
0.00718096923828125,
0.007294888973236084,
0.006960487842559814,
0.006966887950897217,
0.007133129119873047,
0.007288808822631836,
0.007223369121551514,
0.007256168842315674,
0.007132968902587891,
0.007381450176239013,
0.0073515291213989255,
0.007239048957824707,
0.006966567993164062,
0.007053607940673828,
0.007094248771667481,
0.007257608890533447,
0.007122249126434326,
0.007067849159240722,
0.007079369068145752,
0.0077769699096679685,
0.007830568790435791,
0.007732009887695313,
0.007332808971405029,
0.00729072904586792,
0.007346249103546142,
0.007236488819122314,
0.007359048843383789,
0.007285768985748291,
0.00747792911529541,
0.007430088996887207,
0.007545448780059814,
0.007623369216918945,
0.007730090141296387,
0.007807690143585205,
0.007766089916229248,
0.007895049095153808,
0.007848329067230224,
0.007804329872131348,
0.007832330226898193,
0.007836009979248047,
0.00782352876663208,
0.007831210136413575,
0.00785216999053955,
0.007839690208435059,
0.007782730102539062,
0.00789280891418457,
0.007770089149475098,
0.00779872989654541,
0.007833769798278808,
0.007931049823760986,
0.007847848892211915,
0.007905128955841065,
0.007824169158935548,
0.007878890037536621,
0.007888649940490723,
0.007807209968566895,
0.007807370185852051,
0.007861128807067871,
0.007821929931640626,
0.007729609966278076,
0.007260008811950684,
0.007288969039916992,
0.007132328987121582,
0.007267048835754394,
0.007259368896484375,
0.007791850090026855,
0.007790090084075928,
0.007786408901214599,
0.007756010055541992,
0.007824649810791015,
0.007783850193023681,
0.007849129199981689,
0.007819530010223388,
0.00779265022277832,
0.007803689956665039,
0.007644808769226074,
0.007644169807434082,
0.007768808841705322,
0.0077827291488647464,
0.007797929763793945,
0.007754089832305908,
0.007777449131011963,
0.007241929054260254,
0.006916968822479248,
0.007120648860931397,
0.007085769176483154,
0.0071000089645385745,
0.00767664909362793,
0.007789929866790771,
0.007646090030670166,
0.007740808010101318
],
"count": 134,
"total": 0.9959164328575135,
"mean": 0.0074322121855038325,
"p50": 0.007348889112472534,
"p90": 0.007835337924957275,
"p95": 0.007867345237731933,
"p99": 0.007922495937347411,
"stdev": 0.0003436879472669366,
"stdev_": 4.6243021416595615
},
"throughput": {
"unit": "samples/s",
"value": 134.5494416790806
},
"energy": null,
"efficiency": null
}
}
}