IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c1e552e verified
raw
history blame
10.1 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"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,
"latency": true,
"memory": 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": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": "43734676b09236e2ae4d7c19f90e8e23d1f2f201",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1010.085888,
"max_global_vram": 897.14688,
"max_process_vram": 191229.145088,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 129,
"total": 0.9962326545715335,
"mean": 0.007722733756368475,
"stdev": 0.00042052770962378846,
"p50": 0.007609220027923584,
"p90": 0.007970145225524902,
"p95": 0.00813126392364502,
"p99": 0.008484643173217774,
"values": [
0.007882177829742432,
0.007883937835693359,
0.008162816047668458,
0.008346174240112305,
0.00830489444732666,
0.008083935737609863,
0.008047137260437012,
0.007947298049926757,
0.007978978157043458,
0.007897858142852782,
0.007843937873840332,
0.007811618804931641,
0.007773219108581543,
0.007788259029388428,
0.007790178775787354,
0.0077856979370117185,
0.007777059078216552,
0.00773193883895874,
0.0076772189140319825,
0.007848258018493653,
0.007918337821960449,
0.007847457885742188,
0.007788739204406738,
0.008004258155822754,
0.011775108337402343,
0.007805539131164551,
0.007531781196594239,
0.007524741172790527,
0.00755962085723877,
0.007667459964752197,
0.007413221836090088,
0.007489380836486817,
0.0074596209526062015,
0.0074700207710266114,
0.007536900043487549,
0.007546501159667969,
0.007521860122680664,
0.007518021106719971,
0.007505381107330322,
0.007477221012115479,
0.007444421768188477,
0.007566979885101318,
0.007530820846557617,
0.007775777816772461,
0.007881857872009278,
0.007508261203765869,
0.007470981121063232,
0.007735299110412598,
0.007482020854949951,
0.007646339893341065,
0.007654660224914551,
0.00748266077041626,
0.007494020938873291,
0.007738659858703614,
0.007484580993652344,
0.007510500907897949,
0.00792265796661377,
0.00775865888595581,
0.007771139144897461,
0.007502181053161621,
0.007537540912628174,
0.007500421047210693,
0.007491940975189209,
0.007526021003723144,
0.00747274112701416,
0.007609220027923584,
0.007561699867248535,
0.007546181201934814,
0.007506501197814941,
0.0075257010459899906,
0.007497060775756836,
0.007520101070404053,
0.00749626111984253,
0.007530820846557617,
0.007496581077575683,
0.007525061130523682,
0.00746842098236084,
0.007472580909729004,
0.007514340877532959,
0.007497221946716309,
0.007538980960845947,
0.007560259819030761,
0.007503460884094238,
0.00754154109954834,
0.00782361888885498,
0.008538492202758789,
0.008080897331237792,
0.007927777767181397,
0.007967936992645263,
0.007954017162322998,
0.008170975685119628,
0.008326655387878417,
0.007920417785644531,
0.007902338027954101,
0.007941856861114501,
0.008000097274780273,
0.007948418140411377,
0.007926177978515626,
0.007957537174224854,
0.007917858123779297,
0.007546660900115967,
0.007518661022186279,
0.007541380882263184,
0.007934497833251954,
0.007463942050933838,
0.007573700904846191,
0.007619140148162842,
0.007622981071472168,
0.007543941020965576,
0.0075098609924316405,
0.007567141056060791,
0.007625219821929932,
0.007614181041717529,
0.007579141139984131,
0.007598659992218018,
0.007645699024200439,
0.007582180976867676,
0.00757210111618042,
0.0076557788848876955,
0.007581380844116211,
0.00760538101196289,
0.007583140850067139,
0.007632579803466797,
0.007625858783721923,
0.007626019954681397,
0.007625539779663086,
0.007589701175689697,
0.007628419876098633,
0.0075877799987792965
]
},
"throughput": {
"unit": "samples/s",
"value": 129.48782536693824
},
"energy": null,
"efficiency": null
}
}
}