
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ca1e713
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 719.392768, | |
"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.170337890625, | |
"mean": 7.170337890625, | |
"stdev": 0.0, | |
"p50": 7.170337890625, | |
"p90": 7.170337890625, | |
"p95": 7.170337890625, | |
"p99": 7.170337890625, | |
"values": [ | |
7.170337890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.595026201672025e-07, | |
"ram": 4.554530096779293e-07, | |
"gpu": 1.712501369998537e-06, | |
"total": 3.0274569998436687e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.228416, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 1.0019972481727597, | |
"mean": 0.007477591404274328, | |
"stdev": 0.0004991616184220796, | |
"p50": 0.007507967948913574, | |
"p90": 0.007637811183929443, | |
"p95": 0.007746713542938232, | |
"p99": 0.010091284542083738, | |
"values": [ | |
0.010169343948364258, | |
0.00993280029296875, | |
0.008977408409118653, | |
0.007806975841522217, | |
0.00774348783493042, | |
0.00775270414352417, | |
0.007669760227203369, | |
0.007573503971099854, | |
0.007610367774963379, | |
0.00758784008026123, | |
0.007569407939910889, | |
0.007514111995697022, | |
0.007555071830749512, | |
0.00757862377166748, | |
0.007556096076965332, | |
0.007643136024475097, | |
0.007631872177124023, | |
0.007625728130340576, | |
0.007543807983398438, | |
0.00758784008026123, | |
0.007639039993286132, | |
0.007625728130340576, | |
0.007629824161529541, | |
0.007616511821746826, | |
0.007632895946502686, | |
0.007592959880828858, | |
0.007574528217315674, | |
0.007615488052368164, | |
0.007617536067962646, | |
0.007493631839752197, | |
0.00748854398727417, | |
0.0075335679054260255, | |
0.007535615921020508, | |
0.007507967948913574, | |
0.007583744049072265, | |
0.007525375843048096, | |
0.007581696033477783, | |
0.007666687965393066, | |
0.007632895946502686, | |
0.007601151943206787, | |
0.007540736198425293, | |
0.007541759967803955, | |
0.007554048061370849, | |
0.007599103927612305, | |
0.007583744049072265, | |
0.007536640167236328, | |
0.007519231796264648, | |
0.007520256042480469, | |
0.007497727870941162, | |
0.007554048061370849, | |
0.007554048061370849, | |
0.007634943962097168, | |
0.007483391761779785, | |
0.00753766393661499, | |
0.007528448104858398, | |
0.007488512039184571, | |
0.007531519889831543, | |
0.007582719802856445, | |
0.007618559837341309, | |
0.007659520149230957, | |
0.007584767818450928, | |
0.007608320236206055, | |
0.007582719802856445, | |
0.007554048061370849, | |
0.007575551986694336, | |
0.007460864067077637, | |
0.007507967948913574, | |
0.007539711952209473, | |
0.0074414081573486324, | |
0.0073471999168395995, | |
0.007324672222137451, | |
0.007552000045776367, | |
0.007324672222137451, | |
0.007126016139984131, | |
0.007147520065307617, | |
0.0072468481063842774, | |
0.007264256000518799, | |
0.007501760005950928, | |
0.007404543876647949, | |
0.007404543876647949, | |
0.007532544136047363, | |
0.007665664196014404, | |
0.0074967041015625, | |
0.007489535808563232, | |
0.007243775844573975, | |
0.007134208202362061, | |
0.0070891518592834475, | |
0.0071526398658752445, | |
0.007157695770263672, | |
0.007161856174468994, | |
0.006980607986450196, | |
0.0070563840866088865, | |
0.0070256638526916505, | |
0.007015423774719238, | |
0.007051263809204102, | |
0.0070522880554199216, | |
0.007150591850280762, | |
0.007151616096496582, | |
0.007117824077606201, | |
0.00728985595703125, | |
0.007095295906066895, | |
0.007116799831390381, | |
0.007136256217956543, | |
0.0071495680809020995, | |
0.007067647933959961, | |
0.007123968124389648, | |
0.007112703800201416, | |
0.007127039909362793, | |
0.0071157760620117185, | |
0.007076863765716553, | |
0.007107583999633789, | |
0.007192575931549072, | |
0.007171072006225586, | |
0.0071823358535766605, | |
0.007211008071899414, | |
0.007234560012817383, | |
0.007143424034118652, | |
0.007168000221252442, | |
0.007176191806793213, | |
0.007147520065307617, | |
0.007195648193359375, | |
0.007198719978332519, | |
0.007146495819091797, | |
0.007159808158874512, | |
0.007096320152282715, | |
0.007142399787902832, | |
0.007132160186767578, | |
0.007123968124389648, | |
0.007087135791778564, | |
0.007155712127685547, | |
0.0074332160949707035, | |
0.007518208026885987, | |
0.008142848014831543, | |
0.010701824188232421 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.7329022054323 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.003819767419284e-08, | |
"ram": 4.376139236151603e-08, | |
"gpu": 1.5692767809458707e-07, | |
"total": 2.8072726813029594e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3562176.2241346035 | |
} | |
} | |
} | |
} |