IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cc04b75 verified
raw
history blame
13 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_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": "0",
"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": 2,
"sequence_length": 16,
"num_choices": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 817.205248,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.05967462539672851
],
"count": 1,
"total": 0.05967462539672851,
"mean": 0.05967462539672851,
"p50": 0.05967462539672851,
"p90": 0.05967462539672851,
"p95": 0.05967462539672851,
"p99": 0.05967462539672851,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.637184,
"max_global_vram": 1205.338112,
"max_process_vram": 0.0,
"max_reserved": 557.842432,
"max_allocated": 509.729792
},
"latency": {
"unit": "s",
"values": [
0.006237184047698975,
0.0059023361206054685,
0.005846047878265381,
0.005898240089416504,
0.0058716158866882326,
0.0058726401329040525,
0.00586240005493164,
0.005901311874389649,
0.005864448070526123,
0.005844992160797119,
0.005849088191986084,
0.005864448070526123,
0.005854207992553711,
0.005838912010192871,
0.005847040176391601,
0.0058716158866882326,
0.005839871883392334,
0.005850111961364746,
0.005832704067230224,
0.005825535774230957,
0.005857279777526855,
0.005828544139862061,
0.00586137580871582,
0.005844992160797119,
0.005855264186859131,
0.00582860803604126,
0.005868544101715088,
0.005851136207580566,
0.005852191925048828,
0.0058419198989868165,
0.0058429441452026365,
0.005835775852203369,
0.00586137580871582,
0.005837823867797852,
0.005832704067230224,
0.005857279777526855,
0.005825535774230957,
0.005822463989257813,
0.005858304023742676,
0.006154240131378174,
0.0060661759376525876,
0.006067200183868408,
0.006113279819488526,
0.00612556791305542,
0.006091775894165039,
0.006079487800598145,
0.006104063987731933,
0.006153215885162353,
0.006074368000030517,
0.006044672012329101,
0.006073344230651856,
0.00607539176940918,
0.0061634559631347655,
0.006085631847381592,
0.006104063987731933,
0.006082528114318848,
0.006095871925354004,
0.006074368000030517,
0.006072383880615234,
0.0060497279167175295,
0.006069248199462891,
0.006211584091186524,
0.005903359889984131,
0.005817344188690185,
0.005816319942474365,
0.005767168045043946,
0.005805056095123291,
0.005787648200988769,
0.005835775852203369,
0.005786623954772949,
0.0058716158866882326,
0.005859327793121338,
0.005904384136199951,
0.005858304023742676,
0.005907455921173096,
0.005865471839904785,
0.005884928226470947,
0.005846015930175781,
0.005850111961364746,
0.005883903980255127,
0.00587059211730957,
0.005910528182983398,
0.005855231761932373,
0.005899231910705566,
0.005832704067230224,
0.0058787841796875,
0.005857279777526855,
0.005895167827606201,
0.005882880210876465,
0.005883903980255127,
0.00586137580871582,
0.005899263858795166,
0.005857279777526855,
0.005884928226470947,
0.005849088191986084,
0.005897215843200684,
0.00586956787109375,
0.005896192073822021,
0.00582860803604126,
0.005819392204284668,
0.0058787841796875,
0.005830656051635743,
0.005875775814056397,
0.0058429441452026365,
0.005891071796417236,
0.005843967914581299,
0.005879807949066162,
0.005848063945770264,
0.005892096042633056,
0.005934080123901367,
0.006135807991027832,
0.00602726411819458,
0.006042623996734619,
0.00602623987197876,
0.006012928009033203,
0.0060026879310607914,
0.0060282878875732426,
0.005983232021331787,
0.006025216102600098,
0.006008831977844238,
0.005997568130493164,
0.006021120071411133,
0.0060067839622497555,
0.005979135990142822,
0.00582041597366333,
0.005791744232177734,
0.00582041597366333,
0.005806079864501953,
0.005860352039337159,
0.0058091521263122555,
0.005855231761932373,
0.005829631805419922,
0.005827583789825439,
0.005814271926879883,
0.005835807800292968,
0.00586240005493164,
0.0058009600639343266,
0.005827583789825439,
0.005815296173095703,
0.005825535774230957,
0.005803008079528809,
0.005815296173095703,
0.005798912048339844,
0.005899263858795166,
0.005856287956237793,
0.0058388481140136715,
0.005742591857910156,
0.005769216060638428,
0.00582144021987915,
0.0058091521263122555,
0.005834752082824707,
0.005815296173095703,
0.005880832195281982,
0.005850111961364746,
0.005810175895690918,
0.005846015930175781,
0.005856256008148194,
0.005818367958068848,
0.005830656051635743,
0.005853184223175049,
0.00582144021987915,
0.005822463989257813,
0.0058419198989868165,
0.00638259220123291,
0.007157760143280029,
0.006927360057830811,
0.006114304065704346,
0.00607539176940918,
0.006047743797302246
],
"count": 169,
"total": 1.0005085754394534,
"mean": 0.005920169085440551,
"p50": 0.00586137580871582,
"p90": 0.0060831488609313965,
"p95": 0.006131711959838867,
"p99": 0.006556917915344234,
"stdev": 0.0001656025176435396,
"stdev_": 2.797259930477412
},
"throughput": {
"unit": "samples/s",
"value": 337.82818888038054
},
"energy": {
"unit": "kWh",
"cpu": 7.060110020667535e-08,
"ram": 3.857630155138591e-08,
"gpu": 1.459128151428563e-07,
"total": 2.550902169009176e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7840363.398870925
}
}
}
}