IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2d8ad59
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "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": 1078.218752, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 52074.283008, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 17.25134375, | |
"mean": 17.25134375, | |
"stdev": 0.0, | |
"p50": 17.25134375, | |
"p90": 17.25134375, | |
"p95": 17.25134375, | |
"p99": 17.25134375, | |
"values": [ | |
17.25134375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.790336, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 247226.589184, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9987708611488343, | |
"mean": 0.007398302675176551, | |
"stdev": 0.00035367343015142206, | |
"p50": 0.007304771900177002, | |
"p90": 0.007582530403137207, | |
"p95": 0.00800982551574707, | |
"p99": 0.008357321395874022, | |
"values": [ | |
0.007459170818328857, | |
0.007356290817260742, | |
0.007361411094665527, | |
0.007399171829223633, | |
0.007432131767272949, | |
0.007499811172485352, | |
0.008429727554321288, | |
0.00749277114868164, | |
0.007500610828399658, | |
0.007408290863037109, | |
0.007433571815490723, | |
0.007372292041778564, | |
0.007372291088104248, | |
0.007400131225585938, | |
0.007364451885223389, | |
0.007360130786895752, | |
0.00729933214187622, | |
0.0075158109664916995, | |
0.007526531219482422, | |
0.007306372165679932, | |
0.007304450988769531, | |
0.0072961320877075195, | |
0.007327170848846436, | |
0.0072673320770263675, | |
0.0073175721168518065, | |
0.007265892028808594, | |
0.007252451896667481, | |
0.007251811981201172, | |
0.007279332160949707, | |
0.007249251842498779, | |
0.0074498910903930664, | |
0.007401892185211182, | |
0.007268931865692139, | |
0.007262372016906739, | |
0.00728461217880249, | |
0.007318050861358643, | |
0.007318212032318115, | |
0.010551959037780763, | |
0.007517890930175781, | |
0.0071705331802368166, | |
0.007157412052154541, | |
0.0071854119300842284, | |
0.007211331844329834, | |
0.00720285177230835, | |
0.007182692050933838, | |
0.007161733150482178, | |
0.007204771995544434, | |
0.007188772201538086, | |
0.007211812019348144, | |
0.007210371971130371, | |
0.007315331935882568, | |
0.007181252002716064, | |
0.00721149206161499, | |
0.007247171878814697, | |
0.0072252521514892575, | |
0.007191652774810791, | |
0.007203173160552978, | |
0.007229251861572266, | |
0.0072110118865966796, | |
0.007220932006835937, | |
0.007301412105560303, | |
0.007583169937133789, | |
0.007237572193145752, | |
0.007281891822814942, | |
0.0072513318061828615, | |
0.007230371952056885, | |
0.007300292015075684, | |
0.007356131076812744, | |
0.007269412040710449, | |
0.007305252075195313, | |
0.007322851181030273, | |
0.007335492134094238, | |
0.0073482909202575684, | |
0.007314372062683106, | |
0.007299490928649902, | |
0.007285572052001953, | |
0.007286372184753418, | |
0.0073106918334960936, | |
0.0073298921585083, | |
0.007318851947784424, | |
0.0073034920692443845, | |
0.007508131027221679, | |
0.00731853199005127, | |
0.007320611953735351, | |
0.007336291790008545, | |
0.0073078122138977054, | |
0.007301732063293457, | |
0.007286211967468262, | |
0.0073097310066223145, | |
0.007281891822814942, | |
0.007292771816253662, | |
0.007299810886383057, | |
0.007252612113952637, | |
0.007262211799621582, | |
0.007342531204223633, | |
0.007353571891784668, | |
0.007349731922149658, | |
0.007297411918640136, | |
0.007313571929931641, | |
0.0072625322341918945, | |
0.007280611991882324, | |
0.007295812129974365, | |
0.007332292079925537, | |
0.007289091110229492, | |
0.007252612113952637, | |
0.007288131237030029, | |
0.007291972160339355, | |
0.007330690860748291, | |
0.007265892028808594, | |
0.007251972198486328, | |
0.007304771900177002, | |
0.007291491985321045, | |
0.007273891925811768, | |
0.007279972076416016, | |
0.0073297319412231445, | |
0.007309092044830322, | |
0.007281092166900635, | |
0.0072937321662902834, | |
0.007298050880432129, | |
0.007322532176971435, | |
0.007303812026977539, | |
0.0075569310188293454, | |
0.008161727905273437, | |
0.008149728775024415, | |
0.008136608123779298, | |
0.008216768264770509, | |
0.007681088924407959, | |
0.007600450992584228, | |
0.0076087708473205565, | |
0.00757820987701416, | |
0.007581571102142334, | |
0.007875968933105468, | |
0.008207807540893555, | |
0.007922850131988525, | |
0.007955490112304687 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.16613795151824 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |