IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
83a6e9e
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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": "91971089040d6dac4da0f6b0a30eec8415a34544", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.45472, | |
"max_global_vram": 841.781248, | |
"max_process_vram": 44097.45408, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.71493896484375, | |
"mean": 6.71493896484375, | |
"stdev": 0.0, | |
"p50": 6.71493896484375, | |
"p90": 6.71493896484375, | |
"p95": 6.71493896484375, | |
"p99": 6.71493896484375, | |
"values": [ | |
6.71493896484375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1012.928512, | |
"max_global_vram": 898.277376, | |
"max_process_vram": 211841.55648, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9961154122352601, | |
"mean": 0.00760393444454397, | |
"stdev": 0.003411069482681333, | |
"p50": 0.007453316211700439, | |
"p90": 0.0078073968887329105, | |
"p95": 0.007853557109832763, | |
"p99": 0.00911100292205809, | |
"values": [ | |
0.007731875896453857, | |
0.00774403715133667, | |
0.008174118995666503, | |
0.009512524604797363, | |
0.007899877071380615, | |
0.00796931791305542, | |
0.007970598220825196, | |
0.007794756889343262, | |
0.0077545962333679195, | |
0.007660836219787598, | |
0.007620515823364257, | |
0.007623395919799805, | |
0.00759683609008789, | |
0.007616196155548096, | |
0.00765315580368042, | |
0.007602595806121827, | |
0.007570755958557129, | |
0.007532676219940185, | |
0.007467394828796387, | |
0.0074059548377990725, | |
0.007434595108032227, | |
0.007568036079406738, | |
0.007440195083618164, | |
0.007423874855041504, | |
0.007392354011535644, | |
0.007378913879394531, | |
0.007435235023498535, | |
0.00740387487411499, | |
0.007480034828186035, | |
0.0074505949020385745, | |
0.007445634841918946, | |
0.00741587495803833, | |
0.007457795143127441, | |
0.007473314762115478, | |
0.007413794994354248, | |
0.0074029150009155276, | |
0.0074273948669433595, | |
0.007438115119934082, | |
0.007426595211029053, | |
0.0074150748252868656, | |
0.007389794826507568, | |
0.007420515060424805, | |
0.0075129947662353515, | |
0.007447714805603027, | |
0.0074438748359680175, | |
0.0074273948669433595, | |
0.007440674781799317, | |
0.007446595191955566, | |
0.007434114933013916, | |
0.007437475204467773, | |
0.007474434852600098, | |
0.007427714824676514, | |
0.04443764877319336, | |
0.0024702520370483397, | |
0.0024412920475006105, | |
0.0024360110759735105, | |
0.0024414520263671873, | |
0.002417290925979614, | |
0.002427211046218872, | |
0.007479074954986572, | |
0.0074433951377868655, | |
0.007388675212860107, | |
0.007421154975891114, | |
0.0074224348068237305, | |
0.007448355197906494, | |
0.007495234966278077, | |
0.007476834774017334, | |
0.007356513977050781, | |
0.007385954856872558, | |
0.007431875228881836, | |
0.007368034839630127, | |
0.007391075134277344, | |
0.007400195121765137, | |
0.0073961949348449706, | |
0.00741315507888794, | |
0.007407394886016846, | |
0.007453316211700439, | |
0.007418755054473877, | |
0.007463395118713379, | |
0.007472994804382324, | |
0.007466754913330078, | |
0.007426915168762207, | |
0.007478274822235107, | |
0.007453794956207275, | |
0.0074459547996521, | |
0.0073773150444030764, | |
0.007408675193786621, | |
0.007397474765777588, | |
0.0074200348854064945, | |
0.007414434909820557, | |
0.007394595146179199, | |
0.007414595127105713, | |
0.007425155162811279, | |
0.007390114784240722, | |
0.007423874855041504, | |
0.007843717098236084, | |
0.007799877166748047, | |
0.007778276920318603, | |
0.007745316982269287, | |
0.007759076118469238, | |
0.007644355773925781, | |
0.007698435783386231, | |
0.007638916015625, | |
0.0076885161399841305, | |
0.007605316162109375, | |
0.007675715923309326, | |
0.007671555995941162, | |
0.0074371547698974605, | |
0.007780036926269531, | |
0.0078073968887329105, | |
0.00785699701309204, | |
0.007747237205505371, | |
0.0076081957817077635, | |
0.007617156028747559, | |
0.007628036022186279, | |
0.007500354766845703, | |
0.0074443559646606445, | |
0.007399714946746826, | |
0.0075790748596191405, | |
0.007848836898803712, | |
0.007841637134552002, | |
0.007844357013702393, | |
0.007808197021484375, | |
0.007850117206573486, | |
0.007648675918579101, | |
0.007661156177520752, | |
0.007556995868682861, | |
0.007439235210418701, | |
0.007478916168212891, | |
0.007416833877563476, | |
0.007492994785308838 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.51086549904795 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |