IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9ec8906
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_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": 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.3.1", | |
"optimum_benchmark_commit": "b6683a24439f2dd9ea7e05cec40bf36c11a71f7a", | |
"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": 900.93568, | |
"max_global_vram": 1126.526976, | |
"max_process_vram": 45081.739264, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.00008642578125, | |
"mean": 7.00008642578125, | |
"stdev": 0.0, | |
"p50": 7.00008642578125, | |
"p90": 7.00008642578125, | |
"p95": 7.00008642578125, | |
"p99": 7.00008642578125, | |
"values": [ | |
7.00008642578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.712, | |
"max_global_vram": 1182.416896, | |
"max_process_vram": 224538.619904, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 120, | |
"total": 0.9967848062515257, | |
"mean": 0.008306540052096049, | |
"stdev": 0.0005208434105945876, | |
"p50": 0.008211110591888428, | |
"p90": 0.008603655338287353, | |
"p95": 0.008719957637786865, | |
"p99": 0.010980281028747563, | |
"values": [ | |
0.008172310829162598, | |
0.007818710803985596, | |
0.007897751808166504, | |
0.00811439037322998, | |
0.007941112041473389, | |
0.007996312141418457, | |
0.007940310955047608, | |
0.008098231315612794, | |
0.008032631874084473, | |
0.007970712184906005, | |
0.00800127124786377, | |
0.007951351165771484, | |
0.008178070068359375, | |
0.008246550559997559, | |
0.008113270759582519, | |
0.008201590538024902, | |
0.007918391227722168, | |
0.007792150974273682, | |
0.00781247091293335, | |
0.00787055206298828, | |
0.007918391227722168, | |
0.007735351085662842, | |
0.007701430797576904, | |
0.00807215118408203, | |
0.007954391002655029, | |
0.008040310859680176, | |
0.0077548718452453615, | |
0.007849270820617676, | |
0.011505106925964355, | |
0.008985589981079102, | |
0.008626549720764161, | |
0.008521591186523438, | |
0.008532630920410155, | |
0.00855502986907959, | |
0.008529590606689454, | |
0.008507349967956542, | |
0.008526870727539063, | |
0.008531990051269532, | |
0.008508790969848632, | |
0.008544151306152343, | |
0.008486709594726562, | |
0.008556310653686523, | |
0.008594710350036621, | |
0.00851630973815918, | |
0.008601751327514649, | |
0.008494549751281739, | |
0.008495190620422362, | |
0.008496950149536133, | |
0.008516151428222657, | |
0.00855774974822998, | |
0.008719829559326172, | |
0.008703510284423828, | |
0.008642710685729981, | |
0.008710869789123535, | |
0.008752309799194335, | |
0.00819247055053711, | |
0.008417429924011231, | |
0.008373750686645507, | |
0.008091031074523925, | |
0.007989591121673583, | |
0.007745110988616943, | |
0.008038870811462403, | |
0.007913910865783691, | |
0.008171191215515137, | |
0.008040310859680176, | |
0.007857591152191161, | |
0.011391987800598144, | |
0.00872239112854004, | |
0.008506549835205077, | |
0.008459031105041504, | |
0.008435990333557129, | |
0.008419510841369628, | |
0.008582710266113281, | |
0.0085159912109375, | |
0.008592150688171386, | |
0.008567190170288086, | |
0.008547511100769043, | |
0.008565750122070313, | |
0.008582710266113281, | |
0.008583991050720215, | |
0.008549590110778809, | |
0.008550710678100586, | |
0.008087350845336913, | |
0.007911352157592774, | |
0.007655190944671631, | |
0.007942231178283691, | |
0.008585590362548828, | |
0.008552950859069824, | |
0.00855006980895996, | |
0.0086207914352417, | |
0.007933751106262207, | |
0.008054230690002441, | |
0.008015670776367188, | |
0.007718871116638184, | |
0.0077398309707641605, | |
0.00821151065826416, | |
0.008202711105346679, | |
0.00817167091369629, | |
0.008173110008239746, | |
0.007570072174072266, | |
0.007785911083221435, | |
0.00844287109375, | |
0.008462389945983887, | |
0.009225110054016113, | |
0.00793359088897705, | |
0.007995030879974364, | |
0.0080126314163208, | |
0.007997591018676758, | |
0.00815359115600586, | |
0.008394550323486329, | |
0.00857823085784912, | |
0.008456789970397949, | |
0.008300149917602539, | |
0.007947670936584472, | |
0.008065911293029785, | |
0.008103031158447266, | |
0.00794783115386963, | |
0.008210710525512695, | |
0.008331029891967774, | |
0.008523031234741211 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 120.38706774761927 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |