IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fab5aaf
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": "f85421c91b2a2b1bc0a30ceba32f9580499bf023", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 1004.204032, | |
"max_global_vram": 898.465792, | |
"max_process_vram": 177880.449024, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.9971511540412901, | |
"mean": 0.0078515838900889, | |
"stdev": 0.0004232694281241563, | |
"p50": 0.007755012035369873, | |
"p90": 0.008352129554748535, | |
"p95": 0.008485249042510986, | |
"p99": 0.00862331636428833, | |
"values": [ | |
0.008258851051330566, | |
0.00851724910736084, | |
0.008557249069213867, | |
0.008216771125793457, | |
0.007925090789794921, | |
0.00789437198638916, | |
0.008058851242065429, | |
0.008127490997314453, | |
0.008082691192626954, | |
0.008141571044921875, | |
0.00816413116455078, | |
0.007767171859741211, | |
0.007755012035369873, | |
0.00776941204071045, | |
0.007818371772766113, | |
0.0077657318115234375, | |
0.0077750120162963865, | |
0.007721892833709717, | |
0.007784772872924805, | |
0.008059811592102051, | |
0.0078998122215271, | |
0.007843492031097412, | |
0.007868772029876708, | |
0.007885251998901367, | |
0.007837572097778321, | |
0.007747652053833008, | |
0.010983000755310059, | |
0.008338850975036621, | |
0.007964770793914795, | |
0.007795172214508057, | |
0.007963810920715332, | |
0.007584932804107666, | |
0.008014691352844239, | |
0.007884932041168214, | |
0.008107810974121095, | |
0.008204609870910644, | |
0.007917411804199219, | |
0.008082691192626954, | |
0.007993091106414794, | |
0.007821092128753662, | |
0.008231810569763184, | |
0.00836316967010498, | |
0.00864652919769287, | |
0.008371970176696778, | |
0.008362529754638671, | |
0.008297249794006348, | |
0.008343810081481934, | |
0.0083294095993042, | |
0.008347649574279786, | |
0.008376930236816406, | |
0.00835884952545166, | |
0.00790861177444458, | |
0.007514373779296875, | |
0.007507654190063476, | |
0.007544773101806641, | |
0.00754157304763794, | |
0.007515172958374023, | |
0.007548293113708496, | |
0.0075313329696655275, | |
0.0074959731101989745, | |
0.007526853084564209, | |
0.007501253128051758, | |
0.007516293048858642, | |
0.007525413036346435, | |
0.007465413093566894, | |
0.007575333118438721, | |
0.007548293113708496, | |
0.007527973175048828, | |
0.007520293235778809, | |
0.007516132831573486, | |
0.007527332782745361, | |
0.007576611995697022, | |
0.007528772830963135, | |
0.007526692867279053, | |
0.0075118131637573245, | |
0.0075436530113220214, | |
0.007541253089904785, | |
0.007515013217926025, | |
0.007578213214874268, | |
0.007560293197631836, | |
0.007547012805938721, | |
0.007541412830352783, | |
0.007540452957153321, | |
0.007549572944641114, | |
0.007512773036956787, | |
0.007589413166046143, | |
0.00852492904663086, | |
0.008468449592590332, | |
0.008492448806762695, | |
0.00799757194519043, | |
0.008264769554138183, | |
0.008507328987121582, | |
0.008266051292419434, | |
0.007947171211242676, | |
0.007996771812438965, | |
0.008077091217041015, | |
0.007939971923828126, | |
0.007924770832061768, | |
0.007965571880340576, | |
0.007870051860809326, | |
0.007531652927398682, | |
0.007548772811889649, | |
0.007555013179779053, | |
0.007580613136291504, | |
0.007508934020996094, | |
0.007720773220062256, | |
0.007828772068023682, | |
0.007606371879577637, | |
0.007522693157196045, | |
0.007530693054199219, | |
0.007607653141021729, | |
0.0075974130630493165, | |
0.007540773868560791, | |
0.007572933197021485, | |
0.007596292972564697, | |
0.007590853214263916, | |
0.007581892013549804, | |
0.007535812854766846, | |
0.007564292907714844, | |
0.007611173152923584, | |
0.007594373226165772, | |
0.007533574104309082, | |
0.0075711731910705566, | |
0.007613732814788819, | |
0.0076092529296875, | |
0.00765021276473999, | |
0.00765037202835083 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.36283710377288 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |