IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2f99107
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": "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.2.1", | |
"optimum_benchmark_commit": "fb780fc73efc41258966d25b08045708166d6309", | |
"transformers_version": "4.41.0", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.388352, | |
"max_global_vram": 3097.419776, | |
"max_process_vram": 201446.895616, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 1.0004409737586977, | |
"mean": 0.0076956997981438265, | |
"stdev": 0.0003389648996310251, | |
"p50": 0.00761270546913147, | |
"p90": 0.008026176834106445, | |
"p95": 0.008292575979232789, | |
"p99": 0.008642783308029174, | |
"values": [ | |
0.008239985466003418, | |
0.008472943305969238, | |
0.008625743865966796, | |
0.00864974308013916, | |
0.008401583671569825, | |
0.00795230484008789, | |
0.008022544860839843, | |
0.007623664855957031, | |
0.007332466125488281, | |
0.007350225925445556, | |
0.0073422260284423824, | |
0.007343346118927002, | |
0.007344625949859619, | |
0.007262546062469483, | |
0.007370386123657226, | |
0.007446226119995117, | |
0.007367344856262207, | |
0.007295506954193115, | |
0.007510066032409668, | |
0.0072748661041259766, | |
0.007445265769958496, | |
0.007722064971923828, | |
0.0077991847991943355, | |
0.007867344856262207, | |
0.0074963059425354, | |
0.007655185222625732, | |
0.007638384819030761, | |
0.00759342622756958, | |
0.007644305229187012, | |
0.00996958065032959, | |
0.007757585048675537, | |
0.007776784896850586, | |
0.0076547060012817384, | |
0.007477906227111817, | |
0.007825905799865723, | |
0.007816946029663086, | |
0.00807774543762207, | |
0.007968625068664551, | |
0.008153424263000489, | |
0.007787024974822998, | |
0.0077508649826049806, | |
0.008310704231262208, | |
0.007967185020446778, | |
0.00766462516784668, | |
0.007791025161743164, | |
0.007990065097808838, | |
0.007815024852752685, | |
0.007712464809417724, | |
0.007653106212615967, | |
0.007746864795684814, | |
0.007947344779968262, | |
0.007862064838409424, | |
0.007958864212036133, | |
0.007769266128540039, | |
0.007868305206298828, | |
0.008017745018005371, | |
0.00805886459350586, | |
0.007900145053863526, | |
0.007694865226745605, | |
0.007566705226898194, | |
0.007520626068115235, | |
0.007488626003265381, | |
0.007411184787750244, | |
0.007499505996704101, | |
0.007444625854492188, | |
0.007504785060882568, | |
0.00765022611618042, | |
0.007529584884643554, | |
0.00753886604309082, | |
0.007506065845489502, | |
0.007487024784088135, | |
0.007449746131896973, | |
0.007480306148529053, | |
0.007566705226898194, | |
0.007522706031799316, | |
0.007480305194854736, | |
0.0075151858329772945, | |
0.007482066154479981, | |
0.007605424880981445, | |
0.00764206600189209, | |
0.007558545112609863, | |
0.007465425968170166, | |
0.007479986190795898, | |
0.007479666233062744, | |
0.0074198260307312015, | |
0.0074963059425354, | |
0.007499985218048096, | |
0.007404305934906006, | |
0.007474545955657959, | |
0.00781534481048584, | |
0.008277263641357422, | |
0.008305104255676269, | |
0.008268303871154785, | |
0.007922224998474121, | |
0.007766385078430176, | |
0.007785425186157226, | |
0.007781424999237061, | |
0.007783505916595459, | |
0.007738706111907959, | |
0.0077491049766540525, | |
0.007780304908752441, | |
0.007613584995269775, | |
0.007571986198425293, | |
0.0075545449256896975, | |
0.007478546142578125, | |
0.007533585071563721, | |
0.007470545768737793, | |
0.0074529461860656735, | |
0.007450545787811279, | |
0.007391664981842041, | |
0.007641106128692627, | |
0.007507345199584961, | |
0.007491506099700927, | |
0.007566865921020508, | |
0.007522705078125, | |
0.007553586006164551, | |
0.007500784873962402, | |
0.0074963059425354, | |
0.007746864795684814, | |
0.007707025051116943, | |
0.007582705974578857, | |
0.007635663986206054, | |
0.007706066131591797, | |
0.007903024196624756, | |
0.007523345947265625, | |
0.0076118259429931645, | |
0.007846704959869385, | |
0.007553266048431396, | |
0.007441905975341797, | |
0.007404945850372315 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.9426986797479 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |