IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f55d184
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.0", | |
"optimum_benchmark_commit": "748abd0c7ac21cfb1798768cad39007b466ce8e8", | |
"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.675072, | |
"max_global_vram": 899.100672, | |
"max_process_vram": 200687.804416, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 118, | |
"total": 1.001658578872681, | |
"mean": 0.008488632024344751, | |
"stdev": 9.822969229939478e-05, | |
"p50": 0.00847003984451294, | |
"p90": 0.008629062938690186, | |
"p95": 0.008666486120224, | |
"p99": 0.008750708103179931, | |
"values": [ | |
0.008424919128417968, | |
0.00844204044342041, | |
0.008435958862304688, | |
0.008415960311889648, | |
0.008517559051513673, | |
0.008484599113464355, | |
0.008630518913269042, | |
0.00853947925567627, | |
0.008489079475402832, | |
0.008473078727722167, | |
0.00846172046661377, | |
0.0085225191116333, | |
0.008460279464721679, | |
0.008481719970703124, | |
0.008456439971923828, | |
0.0085225191116333, | |
0.008460279464721679, | |
0.008465239524841309, | |
0.008429400444030762, | |
0.008460760116577148, | |
0.008421719551086426, | |
0.00845259952545166, | |
0.008453880310058594, | |
0.008558198928833008, | |
0.008704758644104004, | |
0.008624117851257324, | |
0.008655959129333497, | |
0.008624917984008789, | |
0.008603158950805665, | |
0.008542678833007812, | |
0.008535320281982423, | |
0.00847115993499756, | |
0.008484119415283204, | |
0.008500759124755859, | |
0.008482359886169433, | |
0.008447159767150879, | |
0.008480439186096192, | |
0.008434679985046387, | |
0.00847067928314209, | |
0.008665718078613282, | |
0.008618199348449707, | |
0.008580759048461914, | |
0.008534038543701172, | |
0.008516279220581055, | |
0.008587799072265624, | |
0.008547639846801758, | |
0.008528920173645019, | |
0.008558999061584473, | |
0.008512920379638671, | |
0.008469400405883789, | |
0.008454198837280274, | |
0.008461239814758301, | |
0.008440759658813477, | |
0.008403800010681152, | |
0.008494839668273926, | |
0.00868699836730957, | |
0.008632119178771974, | |
0.008529239654541016, | |
0.008599159240722656, | |
0.008670838356018066, | |
0.008696599006652832, | |
0.008760119438171387, | |
0.008646839141845703, | |
0.008602039337158203, | |
0.008587638854980468, | |
0.00858267879486084, | |
0.008473719596862793, | |
0.008411640167236329, | |
0.008435640335083008, | |
0.008384599685668945, | |
0.008411160469055176, | |
0.008354200363159179, | |
0.008430039405822754, | |
0.00843723964691162, | |
0.008421238899230956, | |
0.00838107967376709, | |
0.008364279747009278, | |
0.008353879928588867, | |
0.008582999229431152, | |
0.008797238349914551, | |
0.008628438949584961, | |
0.008536918640136719, | |
0.008514199256896973, | |
0.008529878616333008, | |
0.008414360046386718, | |
0.00836396026611328, | |
0.00843276023864746, | |
0.008534198760986328, | |
0.008554518699645996, | |
0.008488119125366211, | |
0.008444600105285645, | |
0.00843179988861084, | |
0.008444600105285645, | |
0.008435319900512696, | |
0.008452439308166504, | |
0.008435319900512696, | |
0.008458998680114746, | |
0.008475000381469727, | |
0.00843723964691162, | |
0.008364919662475587, | |
0.008508599281311036, | |
0.008429880142211915, | |
0.008388119697570801, | |
0.008360440254211426, | |
0.008291319847106933, | |
0.008365240097045899, | |
0.00835692024230957, | |
0.008331159591674804, | |
0.008319319725036621, | |
0.008302200317382812, | |
0.008366680145263672, | |
0.008385720252990723, | |
0.008398037910461426, | |
0.008389880180358886, | |
0.00866507911682129, | |
0.008480759620666503, | |
0.008408759117126465, | |
0.008401399612426757 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 117.80461175983079 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |