IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
12ed1f5
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.3.1", | |
"optimum_benchmark_commit": "79990507b694d513bac81e140baff3af23a6bff7", | |
"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": 1006.268416, | |
"max_global_vram": 65424.367616, | |
"max_process_vram": 187004.514304, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.997834420681, | |
"mean": 0.007283462924678831, | |
"stdev": 0.00037786699900867795, | |
"p50": 0.007168167114257813, | |
"p90": 0.007668871879577637, | |
"p95": 0.007777511978149412, | |
"p99": 0.008157966270446777, | |
"values": [ | |
0.00725024700164795, | |
0.0071329669952392575, | |
0.007111846923828125, | |
0.007119047164916992, | |
0.007123847007751465, | |
0.007096167087554932, | |
0.007090406894683838, | |
0.007087847232818603, | |
0.007065766811370849, | |
0.007000486850738525, | |
0.00698320722579956, | |
0.0069635272026062015, | |
0.006992646217346191, | |
0.006991526126861572, | |
0.006968007087707519, | |
0.006972167015075683, | |
0.006959046840667725, | |
0.0069995269775390626, | |
0.006974087238311767, | |
0.006995847225189209, | |
0.006952967166900635, | |
0.0069996857643127445, | |
0.006970567226409912, | |
0.006962727069854737, | |
0.006981447219848633, | |
0.007024806976318359, | |
0.007010247230529785, | |
0.007023847103118897, | |
0.007002087116241455, | |
0.006984326839447021, | |
0.007034566879272461, | |
0.007012325763702393, | |
0.006993606090545655, | |
0.01040881061553955, | |
0.007562887191772461, | |
0.00722288703918457, | |
0.0071611270904541014, | |
0.0071468868255615235, | |
0.007182887077331543, | |
0.007152008056640625, | |
0.00712688684463501, | |
0.007171526908874511, | |
0.007151526927947998, | |
0.0072062468528747555, | |
0.007211367130279541, | |
0.007206886768341064, | |
0.007750247955322266, | |
0.007437286853790283, | |
0.00756496810913086, | |
0.00767760705947876, | |
0.0076632080078125, | |
0.007703367233276367, | |
0.00723328685760498, | |
0.007246888160705566, | |
0.00719664716720581, | |
0.007214406967163086, | |
0.007218407154083252, | |
0.007388967037200928, | |
0.007886568069458007, | |
0.0076121678352355955, | |
0.007396327018737793, | |
0.007238886833190918, | |
0.007250566959381103, | |
0.007227527141571045, | |
0.007213606834411621, | |
0.0073272080421447755, | |
0.007262247085571289, | |
0.007235846996307373, | |
0.007213286876678467, | |
0.007152486801147461, | |
0.0071468868255615235, | |
0.0071616067886352535, | |
0.007140966892242431, | |
0.007157607078552246, | |
0.007152486801147461, | |
0.007158086776733398, | |
0.007105126857757569, | |
0.007114407062530518, | |
0.007150567054748535, | |
0.007110886096954346, | |
0.007159846782684326, | |
0.007158727169036865, | |
0.007137446880340576, | |
0.007136967182159424, | |
0.007153127193450928, | |
0.00714592695236206, | |
0.007152166843414307, | |
0.007132007122039795, | |
0.0071348872184753415, | |
0.00714592695236206, | |
0.007147847175598144, | |
0.0071414470672607425, | |
0.007090726852416992, | |
0.007108006954193115, | |
0.007164007186889649, | |
0.007163687229156494, | |
0.007143686771392823, | |
0.007142887115478515, | |
0.007114407062530518, | |
0.008103528022766114, | |
0.008093128204345703, | |
0.008107687950134277, | |
0.007672327995300293, | |
0.0076782479286193845, | |
0.00759408712387085, | |
0.0076665678024291995, | |
0.007642887115478516, | |
0.007630087852478027, | |
0.007615686893463135, | |
0.007521448135375977, | |
0.007168167114257813, | |
0.007161447048187256, | |
0.007182247161865234, | |
0.007401287078857422, | |
0.008186247825622559, | |
0.008107208251953124, | |
0.007689288139343262, | |
0.007556646823883057, | |
0.007470727920532227, | |
0.007518406867980957, | |
0.007681608200073242, | |
0.007644647121429443, | |
0.007560808181762696, | |
0.007206087112426758, | |
0.007205126762390136, | |
0.007217287063598633, | |
0.007204486846923828, | |
0.00723056697845459, | |
0.007195527076721191, | |
0.007199847221374512, | |
0.007233287811279297, | |
0.007228806972503662, | |
0.007203367233276367, | |
0.007251687049865722, | |
0.007216166019439698, | |
0.0072196869850158696, | |
0.007240326881408692 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.2973282546222 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |