IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2ac426b verified
raw
history blame
12.4 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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": 1,
"num_choices": 2,
"sequence_length": 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 787.709952,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.3971396484375,
"mean": 7.3971396484375,
"stdev": 0.0,
"p50": 7.3971396484375,
"p90": 7.3971396484375,
"p95": 7.3971396484375,
"p99": 7.3971396484375,
"values": [
7.3971396484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0462091597221088e-06,
"ram": 5.576769190873362e-07,
"gpu": 1.7294458279997448e-06,
"total": 3.33333190680919e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1077.129216,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 151,
"total": 1.0025102691650392,
"mean": 0.00663914085539761,
"stdev": 0.00026972433970469314,
"p50": 0.0066119680404663084,
"p90": 0.006802432060241699,
"p95": 0.0071823358535766605,
"p99": 0.00779366397857666,
"values": [
0.007286784172058106,
0.007333888053894043,
0.00728166389465332,
0.007307263851165771,
0.007245823860168457,
0.007714816093444824,
0.00672870397567749,
0.006462463855743408,
0.006446080207824707,
0.0065064959526062015,
0.006433792114257812,
0.006375423908233643,
0.00638156795501709,
0.0063170561790466305,
0.006334464073181153,
0.006299647808074951,
0.006822912216186523,
0.007046144008636474,
0.0071188478469848635,
0.006653952121734619,
0.006702079772949219,
0.006792255878448486,
0.006791168212890625,
0.006737919807434082,
0.0066406397819519045,
0.0065413122177124024,
0.006341631889343262,
0.006325247764587402,
0.006394879817962646,
0.006426623821258545,
0.00639788818359375,
0.0064542717933654785,
0.00633241605758667,
0.0063211522102355954,
0.006467616081237793,
0.008054783821105957,
0.007872511863708496,
0.006793216228485107,
0.00672870397567749,
0.006661119937896728,
0.006777823925018311,
0.006672383785247803,
0.006675456047058105,
0.006564864158630371,
0.0066119680404663084,
0.006585343837738037,
0.006692863941192627,
0.006686719894409179,
0.0064471039772033695,
0.00657203197479248,
0.006401023864746094,
0.006369279861450195,
0.006343679904937744,
0.006364160060882569,
0.006403071880340576,
0.006427648067474365,
0.006451200008392334,
0.006455296039581298,
0.006460415840148926,
0.006412288188934326,
0.006428671836853027,
0.006423552036285401,
0.006329343795776367,
0.006338560104370118,
0.006358016014099121,
0.006351871967315674,
0.0063610877990722655,
0.006330368041992188,
0.006367199897766114,
0.0063201279640197755,
0.006346752166748047,
0.006392831802368164,
0.006323200225830078,
0.00638156795501709,
0.006677504062652588,
0.00659660816192627,
0.006648831844329834,
0.006564864158630371,
0.006615039825439453,
0.006558720111846924,
0.0065443840026855465,
0.006549503803253174,
0.006584320068359375,
0.006546432018280029,
0.006564864158630371,
0.006586368083953857,
0.006551551818847656,
0.00657203197479248,
0.006573056221008301,
0.0065443840026855465,
0.006561791896820069,
0.006577087879180908,
0.006633503913879395,
0.006553599834442139,
0.006553599834442139,
0.006584320068359375,
0.006552576065063476,
0.006544415950775147,
0.006819839954376221,
0.006715392112731934,
0.006676479816436768,
0.006679488182067871,
0.006727615833282471,
0.006867968082427979,
0.006802432060241699,
0.006772736072540283,
0.0067983360290527345,
0.006731776237487793,
0.006744063854217529,
0.006759424209594727,
0.006691840171813965,
0.006714367866516113,
0.006755328178405762,
0.006665215969085693,
0.006672383785247803,
0.006702079772949219,
0.006707200050354004,
0.006652927875518798,
0.006738944053649902,
0.006718463897705078,
0.00669593620300293,
0.006699007987976074,
0.006987775802612305,
0.006766592025756836,
0.006785024166107178,
0.006689792156219483,
0.0068986878395080565,
0.006718495845794678,
0.00672870397567749,
0.006737919807434082,
0.006713344097137451,
0.0067358717918396,
0.00674508810043335,
0.006707200050354004,
0.006710271835327148,
0.00669593620300293,
0.0066641921997070315,
0.006707200050354004,
0.006676479816436768,
0.006646783828735352,
0.006617055892944336,
0.0066447358131408694,
0.00656390380859375,
0.006553599834442139,
0.006584320068359375,
0.006587423801422119,
0.0065669121742248536,
0.006560768127441406,
0.006551551818847656,
0.006602752208709717,
0.006710271835327148
]
},
"throughput": {
"unit": "samples/s",
"value": 150.62189849263427
},
"energy": {
"unit": "kWh",
"cpu": 7.913997651388812e-08,
"ram": 4.3269813963931375e-08,
"gpu": 1.4694826570666938e-07,
"total": 2.6935805618448887e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3712530.503691634
}
}
}
}