IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3adaf87 verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.233664,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.3847509765625,
"mean": 7.3847509765625,
"stdev": 0.0,
"p50": 7.3847509765625,
"p90": 7.3847509765625,
"p95": 7.3847509765625,
"p99": 7.3847509765625,
"values": [
7.3847509765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.310965048608782e-07,
"ram": 4.939362805978348e-07,
"gpu": 1.6458346500003614e-06,
"total": 3.0708674354590743e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1085.837312,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9997944660186768,
"mean": 0.007632018824570052,
"stdev": 0.0003697487962581213,
"p50": 0.007532544136047363,
"p90": 0.007895040035247802,
"p95": 0.008054783821105957,
"p99": 0.008628838729858396,
"values": [
0.011122688293457032,
0.007941120147705078,
0.008003520011901856,
0.007874559879302979,
0.00820633602142334,
0.008376319885253907,
0.00791651201248169,
0.00753766393661499,
0.007539711952209473,
0.00758681583404541,
0.0075642881393432615,
0.0076871681213378906,
0.007642111778259277,
0.0075304961204528805,
0.007519231796264648,
0.007508992195129394,
0.0077209601402282715,
0.007797760009765625,
0.007904255867004394,
0.007493631839752197,
0.007476255893707275,
0.007498752117156982,
0.0074629120826721195,
0.007481344223022461,
0.007611392021179199,
0.007540736198425293,
0.007487520217895508,
0.0074629120826721195,
0.007521279811859131,
0.007646207809448242,
0.007613440036773681,
0.007518208026885987,
0.007543807983398438,
0.007482336044311523,
0.007540736198425293,
0.007526400089263916,
0.007508992195129394,
0.007615488052368164,
0.008046591758728027,
0.007612415790557861,
0.007515135765075683,
0.007472127914428711,
0.007582719802856445,
0.007746560096740723,
0.007731200218200684,
0.007624703884124756,
0.007609344005584716,
0.00758681583404541,
0.007608320236206055,
0.007484416007995606,
0.007559167861938477,
0.007528448104858398,
0.007539711952209473,
0.007494656085968018,
0.007523295879364014,
0.007536640167236328,
0.007508992195129394,
0.007567296028137207,
0.007507967948913574,
0.007464960098266602,
0.007459871768951416,
0.007460864067077637,
0.007491583824157715,
0.007480319976806641,
0.007539711952209473,
0.007460864067077637,
0.00748748779296875,
0.007469056129455566,
0.007484416007995606,
0.007479296207427978,
0.0075304961204528805,
0.0074505600929260256,
0.007571455955505371,
0.007895040035247802,
0.007725056171417236,
0.007782400131225586,
0.008324095726013184,
0.007727104187011719,
0.007507967948913574,
0.007488512039184571,
0.007527423858642578,
0.007450592041015625,
0.007566336154937744,
0.007490560054779053,
0.0075304961204528805,
0.007504896163940429,
0.007452672004699707,
0.007460864067077637,
0.007558144092559814,
0.007700479984283447,
0.007642111778259277,
0.007535615921020508,
0.007560192108154297,
0.007544832229614258,
0.007583712100982666,
0.007640063762664795,
0.007528448104858398,
0.0074711041450500485,
0.007526400089263916,
0.007904255867004394,
0.007565311908721924,
0.0074659519195556644,
0.0075008001327514645,
0.0076308479309082035,
0.007522304058074952,
0.0074967041015625,
0.007461887836456299,
0.007458816051483155,
0.007629824161529541,
0.007648255825042725,
0.008062975883483887,
0.007552000045776367,
0.007484416007995606,
0.008695808410644532,
0.007623680114746094,
0.007476223945617676,
0.008472576141357421,
0.0074670081138610836,
0.007531519889831543,
0.007510015964508057,
0.007573503971099854,
0.007501823902130127,
0.00753056001663208,
0.007478271961212158,
0.007483391761779785,
0.007484416007995606,
0.007556096076965332,
0.007536640167236328,
0.007525375843048096,
0.007532544136047363,
0.007475200176239013
]
},
"throughput": {
"unit": "samples/s",
"value": 131.02693048668348
},
"energy": {
"unit": "kWh",
"cpu": 8.802530233538984e-08,
"ram": 4.812604050341509e-08,
"gpu": 1.603499225185177e-07,
"total": 2.965012653573226e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3372666.8882673057
}
}
}
}