
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d545cf3
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 910.09024, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9979362235069273, | |
"mean": 0.007796376746147871, | |
"stdev": 0.0004745789523818496, | |
"p50": 0.007857151985168457, | |
"p90": 0.00802539529800415, | |
"p95": 0.008100505304336546, | |
"p99": 0.010268907728195194, | |
"values": [ | |
0.010975232124328613, | |
0.010559488296508789, | |
0.009483263969421387, | |
0.008166399955749512, | |
0.008241151809692383, | |
0.008150015830993652, | |
0.008129535675048828, | |
0.0080250883102417, | |
0.007952383995056152, | |
0.008002559661865234, | |
0.00797388792037964, | |
0.00793497610092163, | |
0.00790937614440918, | |
0.007928832054138184, | |
0.007970816135406494, | |
0.008037376403808593, | |
0.008032256126403809, | |
0.008006655693054199, | |
0.007956480026245117, | |
0.00795136022567749, | |
0.007990272045135497, | |
0.007985151767730713, | |
0.008026111602783203, | |
0.007998464107513427, | |
0.007985151767730713, | |
0.007972864151000977, | |
0.007976960182189942, | |
0.00801689624786377, | |
0.007984127998352051, | |
0.007902207851409913, | |
0.007883776187896728, | |
0.00791756820678711, | |
0.007902207851409913, | |
0.007890912055969238, | |
0.007921664237976075, | |
0.007958528041839599, | |
0.00800051212310791, | |
0.008034303665161132, | |
0.008019968032836914, | |
0.008039423942565918, | |
0.007948287963867188, | |
0.007920639991760254, | |
0.008002592086791991, | |
0.00800153636932373, | |
0.007949312210083008, | |
0.007922688007354736, | |
0.007866335868835448, | |
0.007924736022949219, | |
0.007902207851409913, | |
0.00790015983581543, | |
0.008018943786621094, | |
0.00785920000076294, | |
0.007855103969573975, | |
0.007904255867004394, | |
0.007886847972869874, | |
0.007885824203491211, | |
0.00790118408203125, | |
0.00790015983581543, | |
0.007993343830108643, | |
0.0080250883102417, | |
0.007605247974395752, | |
0.007628799915313721, | |
0.0075632638931274416, | |
0.007558144092559814, | |
0.00765235185623169, | |
0.007485439777374267, | |
0.007618559837341309, | |
0.007448575973510742, | |
0.007395328044891358, | |
0.007280640125274658, | |
0.007371776103973389, | |
0.007461887836456299, | |
0.007279615879058838, | |
0.007134208202362061, | |
0.007132160186767578, | |
0.007209983825683594, | |
0.007516160011291504, | |
0.007868415832519531, | |
0.007869440078735352, | |
0.007912447929382324, | |
0.008046591758728027, | |
0.007885824203491211, | |
0.007767039775848389, | |
0.007659520149230957, | |
0.007632895946502686, | |
0.007666687965393066, | |
0.007618559837341309, | |
0.007518208026885987, | |
0.007568384170532226, | |
0.007601151943206787, | |
0.007572480201721191, | |
0.007565311908721924, | |
0.007554048061370849, | |
0.007524352073669433, | |
0.007528448104858398, | |
0.007522304058074952, | |
0.007506976127624512, | |
0.007498752117156982, | |
0.007490560054779053, | |
0.0075335679054260255, | |
0.007558144092559814, | |
0.007546879768371582, | |
0.007541759967803955, | |
0.007558144092559814, | |
0.007544832229614258, | |
0.007561215877532959, | |
0.007526432037353516, | |
0.007554048061370849, | |
0.007532544136047363, | |
0.007517183780670166, | |
0.007515135765075683, | |
0.007517183780670166, | |
0.007519231796264648, | |
0.007542784214019775, | |
0.007562272071838379, | |
0.007510015964508057, | |
0.007516160011291504, | |
0.007527423858642578, | |
0.007522304058074952, | |
0.007539711952209473, | |
0.007515135765075683, | |
0.007528448104858398, | |
0.007526400089263916, | |
0.00753868818283081, | |
0.007352352142333984, | |
0.007394303798675537, | |
0.007360511779785156, | |
0.007390207767486572 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.26470969275468 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.840556464978118e-08, | |
"ram": 4.8328358003454375e-08, | |
"gpu": 1.615299799701494e-07, | |
"total": 2.9826390262338495e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3352735.584844441 | |
} | |
} | |
} | |
} |