IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
49b8e9f verified
raw
history blame
11.1 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.435264,
"max_global_vram": 68702.69952,
"max_process_vram": 51176.861696,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 9.796236328125,
"mean": 9.796236328125,
"stdev": 0.0,
"p50": 9.796236328125,
"p90": 9.796236328125,
"p95": 9.796236328125,
"p99": 9.796236328125,
"values": [
9.796236328125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1196.42112,
"max_global_vram": 68702.69952,
"max_process_vram": 252628.004864,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 125,
"total": 0.9985414254665373,
"mean": 0.007988331403732299,
"stdev": 0.0012301193633842949,
"p50": 0.007905738830566406,
"p90": 0.008065547180175782,
"p95": 0.00810548267364502,
"p99": 0.012635256919860869,
"values": [
0.008097739219665527,
0.008018058776855469,
0.008101899147033692,
0.008075339317321777,
0.008106378555297852,
0.008062859535217286,
0.008378539085388183,
0.008067338943481446,
0.008032138824462891,
0.008025738716125488,
0.007987180233001708,
0.007964138984680175,
0.007974538803100586,
0.007950860023498535,
0.007960459232330323,
0.007884779930114745,
0.00792077922821045,
0.007871500015258789,
0.007951659202575683,
0.00787966012954712,
0.007905738830566406,
0.007915500164031983,
0.007825739860534668,
0.007848139762878417,
0.007835820198059082,
0.00785517978668213,
0.007873260021209716,
0.0078818998336792,
0.007852458953857422,
0.007892940044403076,
0.007806859970092774,
0.007830379009246826,
0.01852987289428711,
0.002336313962936401,
0.005396786212921142,
0.00785998010635376,
0.00784957981109619,
0.007827020168304444,
0.00789870023727417,
0.007858699798583984,
0.007896780014038086,
0.007881258964538574,
0.007900300025939942,
0.007896618843078613,
0.007945899963378905,
0.008012779235839844,
0.007971339225769043,
0.007924620151519776,
0.007938539028167725,
0.007877260208129884,
0.00791261911392212,
0.007902219772338867,
0.00789565896987915,
0.007911019802093506,
0.007909578800201416,
0.007987020015716552,
0.007893579006195068,
0.007879499912261962,
0.007844299793243407,
0.007842219829559327,
0.007819180011749267,
0.00785181999206543,
0.007882699966430665,
0.008090378761291504,
0.00801837921142578,
0.00797790002822876,
0.00794253921508789,
0.007904139995574952,
0.007904778957366944,
0.007980460166931153,
0.008108939170837402,
0.007963980197906494,
0.008075498580932617,
0.007978538990020751,
0.008006218910217286,
0.008011659622192384,
0.013979483604431152,
0.006547183036804199,
0.008047019004821777,
0.00796125888824463,
0.007926060199737548,
0.007931499004364014,
0.007877099990844726,
0.007977259159088135,
0.007859819889068604,
0.007929738998413085,
0.007889900207519531,
0.007886858940124511,
0.007872779846191407,
0.007861899852752685,
0.00782637882232666,
0.00791614007949829,
0.008268617630004882,
0.00818701934814453,
0.008041739463806152,
0.007989419937133788,
0.007984458923339844,
0.007922060012817382,
0.007937900066375733,
0.007877580165863037,
0.007890378952026367,
0.007911499977111816,
0.0079945387840271,
0.0078850998878479,
0.007866219997406006,
0.00789981985092163,
0.007936299800872803,
0.007911980152130127,
0.007903820037841796,
0.00791629981994629,
0.007880780220031738,
0.007882859230041504,
0.007920300006866455,
0.007844139099121093,
0.007812300205230713,
0.007905739784240723,
0.007875339031219482,
0.007847179889678955,
0.007848939895629882,
0.007922539234161377,
0.00788205909729004,
0.007858699798583984,
0.007828139781951904,
0.007836619853973388,
0.00784798002243042
]
},
"throughput": {
"unit": "samples/s",
"value": 125.18258813508677
},
"energy": null,
"efficiency": null
}
}
}