IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2120458
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": "35e06a8a39b8c67a2e53b499c65346db81ed78be", | |
"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": 902.373376, | |
"max_global_vram": 3128.38144, | |
"max_process_vram": 44421.578752, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.0881376953125, | |
"mean": 7.0881376953125, | |
"stdev": 0.0, | |
"p50": 7.0881376953125, | |
"p90": 7.0881376953125, | |
"p95": 7.0881376953125, | |
"p99": 7.0881376953125, | |
"values": [ | |
7.0881376953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1012.150272, | |
"max_global_vram": 3185.02912, | |
"max_process_vram": 225247.465472, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 111, | |
"total": 1.0005114850997925, | |
"mean": 0.009013616982881011, | |
"stdev": 0.00024157157211971846, | |
"p50": 0.008966861724853515, | |
"p90": 0.009379661560058594, | |
"p95": 0.009494380950927734, | |
"p99": 0.00964145269393921, | |
"values": [ | |
0.00909390163421631, | |
0.009000302314758301, | |
0.00903086280822754, | |
0.008943021774291992, | |
0.009457582473754883, | |
0.009273101806640625, | |
0.009161903381347656, | |
0.009477261543273927, | |
0.009258381843566895, | |
0.009173742294311523, | |
0.009103981971740723, | |
0.008991022109985352, | |
0.009011343002319335, | |
0.008989102363586425, | |
0.008885422706604003, | |
0.008941262245178223, | |
0.00888558292388916, | |
0.008877422332763672, | |
0.008898383140563964, | |
0.008863022804260254, | |
0.008809262275695801, | |
0.008860782623291015, | |
0.008858062744140626, | |
0.008915342330932618, | |
0.00913022232055664, | |
0.009421101570129395, | |
0.009510540962219238, | |
0.009379661560058594, | |
0.009393421173095703, | |
0.0092428617477417, | |
0.009122861862182616, | |
0.009035503387451172, | |
0.009038702011108398, | |
0.008957262039184571, | |
0.009079982757568359, | |
0.009083983421325683, | |
0.009147662162780762, | |
0.009097102165222169, | |
0.009256781578063965, | |
0.00947822093963623, | |
0.009511341094970703, | |
0.009371182441711427, | |
0.009226222038269043, | |
0.009265421867370605, | |
0.009346701622009278, | |
0.009121902465820312, | |
0.009032463073730469, | |
0.008953102111816406, | |
0.009079981803894042, | |
0.009099501609802246, | |
0.009194222450256348, | |
0.009028303146362304, | |
0.008954381942749024, | |
0.00898110294342041, | |
0.00899486255645752, | |
0.009336782455444335, | |
0.009644460678100587, | |
0.009614380836486816, | |
0.009580780982971191, | |
0.00931422233581543, | |
0.009126381874084473, | |
0.00897470188140869, | |
0.008937103271484375, | |
0.008914702415466309, | |
0.008885263442993164, | |
0.008907341957092285, | |
0.00889390277862549, | |
0.0088561429977417, | |
0.00898894214630127, | |
0.008865102767944336, | |
0.008859341621398925, | |
0.008821422576904298, | |
0.008747182846069335, | |
0.008748462677001953, | |
0.008783662796020508, | |
0.008802863121032714, | |
0.00890302276611328, | |
0.00900910186767578, | |
0.009034542083740235, | |
0.008935982704162598, | |
0.00883214282989502, | |
0.00887470245361328, | |
0.0089871826171875, | |
0.009101101875305176, | |
0.009036142349243164, | |
0.008966861724853515, | |
0.008859023094177246, | |
0.008811343193054199, | |
0.008783183097839355, | |
0.00881358242034912, | |
0.008824623107910157, | |
0.008768463134765625, | |
0.008715343475341798, | |
0.008686543464660645, | |
0.008659663200378418, | |
0.008755823135375977, | |
0.008781103134155274, | |
0.008731342315673829, | |
0.008733583450317382, | |
0.008730063438415528, | |
0.008681423187255859, | |
0.008940302848815918, | |
0.008879981994628906, | |
0.009689900398254394, | |
0.008805743217468262, | |
0.008847341537475586, | |
0.008818702697753906, | |
0.008676942825317382, | |
0.008637422561645508, | |
0.008599343299865723, | |
0.008700142860412598 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 110.9432541785652 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |