IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
22b3b25
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "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.3.1", | |
"optimum_benchmark_commit": "4f83ff1670dec8f273c8beb893e9243ca1209582", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": 1009.078272, | |
"max_global_vram": 898.465792, | |
"max_process_vram": 226530.28352, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 1.0002034544944762, | |
"mean": 0.008066156891084487, | |
"stdev": 0.0003266844313965902, | |
"p50": 0.007971980094909667, | |
"p90": 0.008429690742492677, | |
"p95": 0.008561922931671143, | |
"p99": 0.008768186054229736, | |
"values": [ | |
0.008224780082702637, | |
0.008246060371398925, | |
0.008355499267578125, | |
0.00856381893157959, | |
0.008757099151611328, | |
0.00877149772644043, | |
0.0087402982711792, | |
0.008747339248657227, | |
0.008700458526611329, | |
0.008551178932189941, | |
0.008465579032897949, | |
0.008439659118652344, | |
0.008433098793029786, | |
0.00839773941040039, | |
0.00835133934020996, | |
0.008339818954467773, | |
0.008383660316467286, | |
0.008361259460449218, | |
0.008359659194946288, | |
0.008322858810424804, | |
0.008348460197448731, | |
0.008287979125976562, | |
0.008343818664550782, | |
0.008365579605102539, | |
0.008385740280151367, | |
0.008448139190673828, | |
0.008358379364013672, | |
0.008421738624572754, | |
0.00843821907043457, | |
0.009583815574645996, | |
0.008372940063476563, | |
0.008207980155944825, | |
0.008233420372009278, | |
0.008220938682556153, | |
0.008186380386352539, | |
0.008215180397033691, | |
0.008209259033203124, | |
0.00814430046081543, | |
0.008162540435791016, | |
0.008124139785766602, | |
0.008117739677429198, | |
0.008115180015563965, | |
0.008146539688110351, | |
0.008175339698791504, | |
0.00814125919342041, | |
0.008150540351867675, | |
0.008173419952392577, | |
0.008181260108947755, | |
0.008158538818359375, | |
0.008151020050048828, | |
0.008151980400085449, | |
0.008171500205993653, | |
0.00795166015625, | |
0.007935659885406494, | |
0.007942541122436524, | |
0.007942380905151368, | |
0.007944940090179443, | |
0.00794286012649536, | |
0.00792910099029541, | |
0.007956140041351319, | |
0.007937099933624268, | |
0.00802190113067627, | |
0.007961901187896728, | |
0.007972939968109131, | |
0.007937580108642579, | |
0.00792910099029541, | |
0.007920300006866455, | |
0.007915180206298828, | |
0.007932140827178955, | |
0.007959660053253173, | |
0.007968939781188965, | |
0.007975820064544678, | |
0.007965260982513428, | |
0.00797518014907837, | |
0.007949580192565918, | |
0.007945260047912598, | |
0.007937581062316894, | |
0.007987180233001708, | |
0.007980780124664306, | |
0.007961740016937256, | |
0.007945100784301757, | |
0.007952300071716309, | |
0.00798061990737915, | |
0.00796093988418579, | |
0.007969901084899903, | |
0.007927979946136475, | |
0.007943339824676513, | |
0.007903820991516113, | |
0.007911340236663818, | |
0.007950540065765382, | |
0.007948300838470458, | |
0.00795214080810547, | |
0.00790749979019165, | |
0.007911500930786132, | |
0.00793902015686035, | |
0.00793694019317627, | |
0.007990859985351562, | |
0.00794878101348877, | |
0.00798829984664917, | |
0.007968780040740966, | |
0.007950220108032226, | |
0.007951180934906005, | |
0.007971020221710205, | |
0.007945899963378905, | |
0.007998700141906739, | |
0.0077351808547973635, | |
0.007464302062988281, | |
0.007793420791625976, | |
0.007549100875854492, | |
0.007710061073303223, | |
0.007746380805969238, | |
0.007754220962524414, | |
0.0076452608108520505, | |
0.007456622123718262, | |
0.0076564621925354, | |
0.007250062942504883, | |
0.007243823051452636, | |
0.007956459999084472, | |
0.007959020137786866, | |
0.007747500896453857, | |
0.007587181091308594, | |
0.0074108619689941405, | |
0.007335501194000244, | |
0.0073606219291687015 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.97477677446352 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |