
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fe78b89
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.227-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 818.225152, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07527526092529296 | |
], | |
"count": 1, | |
"total": 0.07527526092529296, | |
"mean": 0.07527526092529296, | |
"p50": 0.07527526092529296, | |
"p90": 0.07527526092529296, | |
"p95": 0.07527526092529296, | |
"p99": 0.07527526092529296, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1095.299072, | |
"max_global_vram": 1207.435264, | |
"max_process_vram": 0.0, | |
"max_reserved": 559.939584, | |
"max_allocated": 510.51264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006914048194885254, | |
0.0066447358131408694, | |
0.0065146880149841305, | |
0.006626304149627686, | |
0.006739967823028564, | |
0.006638559818267822, | |
0.006561791896820069, | |
0.006585343837738037, | |
0.00682092809677124, | |
0.006699967861175537, | |
0.0066007041931152345, | |
0.0065064959526062015, | |
0.0065781760215759275, | |
0.006518655776977539, | |
0.0065166082382202145, | |
0.006592512130737305, | |
0.006597631931304931, | |
0.006466559886932373, | |
0.0064245758056640625, | |
0.006453248023986816, | |
0.0065136637687683106, | |
0.0065372161865234375, | |
0.006511616230010986, | |
0.006510591983795166, | |
0.0065146880149841305, | |
0.006529024124145508, | |
0.006545407772064209, | |
0.006536064147949219, | |
0.006497280120849609, | |
0.006651936054229736, | |
0.006620160102844238, | |
0.006620319843292236, | |
0.006603775978088379, | |
0.006645760059356689, | |
0.006970367908477783, | |
0.006602752208709717, | |
0.0066826238632202144, | |
0.006468575954437256, | |
0.0066078720092773435, | |
0.0066406397819519045, | |
0.006584415912628174, | |
0.006668288230895996, | |
0.00657919979095459, | |
0.006540287971496582, | |
0.006565887928009034, | |
0.006512639999389648, | |
0.006504447937011719, | |
0.006599679946899414, | |
0.00649513578414917, | |
0.006555647850036621, | |
0.006445055961608887, | |
0.006649856090545654, | |
0.00675328016281128, | |
0.006500351905822754, | |
0.006446080207824707, | |
0.00648089599609375, | |
0.006492159843444824, | |
0.006449151992797852, | |
0.006498303890228272, | |
0.006450175762176514, | |
0.00652185583114624, | |
0.006451200008392334, | |
0.0065075201988220215, | |
0.006593535900115967, | |
0.006673408031463623, | |
0.0067123198509216305, | |
0.0066744318008422855, | |
0.006662144184112549, | |
0.006591616153717041, | |
0.006659071922302246, | |
0.006526976108551025, | |
0.006532095909118653, | |
0.006557695865631104, | |
0.006556672096252441, | |
0.0064849920272827145, | |
0.00658022403717041, | |
0.006526976108551025, | |
0.006419456005096436, | |
0.0064707517623901365, | |
0.0062873601913452145, | |
0.006264832019805908, | |
0.006429696083068847, | |
0.006526976108551025, | |
0.006315040111541748, | |
0.006157311916351318, | |
0.006177792072296143, | |
0.0063118720054626464, | |
0.006334464073181153, | |
0.0064133119583129885, | |
0.006449151992797852, | |
0.0064767680168151855, | |
0.006516704082489014, | |
0.006555647850036621, | |
0.006793216228485107, | |
0.006429696083068847, | |
0.006189055919647217, | |
0.006351871967315674, | |
0.006253568172454834, | |
0.006359039783477783, | |
0.006980607986450196, | |
0.006143871784210205, | |
0.005980160236358643, | |
0.005944320201873779, | |
0.005911551952362061, | |
0.005910528182983398, | |
0.006112256050109863, | |
0.006224736213684082, | |
0.006238207817077636, | |
0.006206463813781738, | |
0.006221824169158936, | |
0.0061972479820251464, | |
0.006190080165863037, | |
0.006170623779296875, | |
0.0061561279296875, | |
0.006242303848266601, | |
0.00616755199432373, | |
0.006198272228240966, | |
0.006212607860565185, | |
0.006203392028808594, | |
0.006195199966430664, | |
0.006221824169158936, | |
0.006217728137969971, | |
0.006168575763702393, | |
0.006191103935241699, | |
0.006184959888458252, | |
0.0062576642036437985, | |
0.006173791885375976, | |
0.00623308801651001, | |
0.006159359931945801, | |
0.006179967880249024, | |
0.00617574405670166, | |
0.006144000053405762, | |
0.006144000053405762, | |
0.0062156801223754886, | |
0.006244351863861084, | |
0.006154240131378174, | |
0.0062904319763183595, | |
0.006120448112487793, | |
0.006180863857269287, | |
0.006123519897460937, | |
0.006205408096313476, | |
0.006207488059997559, | |
0.006191103935241699, | |
0.006230016231536865, | |
0.006206463813781738, | |
0.006222911834716797, | |
0.006169600009918213, | |
0.006214655876159668, | |
0.006161344051361084, | |
0.006205440044403076, | |
0.006209536075592041, | |
0.0062576642036437985, | |
0.006223872184753418, | |
0.006177792072296143, | |
0.006237376213073731, | |
0.006108160018920898 | |
], | |
"count": 156, | |
"total": 0.9996972160339352, | |
"mean": 0.006408315487397022, | |
"p50": 0.006452224016189575, | |
"p90": 0.006650896072387695, | |
"p95": 0.006703055858612061, | |
"p99": 0.006939392066001891, | |
"stdev": 0.00021327734316435733, | |
"stdev_": 3.328134259054526 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 312.09449720965205 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.287799688991268e-08, | |
"ram": 3.9821828702107564e-08, | |
"gpu": 1.8477179062577139e-07, | |
"total": 2.974716162177916e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6723330.532939704 | |
} | |
} | |
} | |
} |