IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cd12508 verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "5",
"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": 2,
"sequence_length": 16,
"num_choices": 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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.14.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1069.309952,
"max_global_vram": 68702.69952,
"max_process_vram": 3356.89728,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.09418337249755859
],
"count": 1,
"total": 0.09418337249755859,
"mean": 0.09418337249755859,
"p50": 0.09418337249755859,
"p90": 0.09418337249755859,
"p95": 0.09418337249755859,
"p99": 0.09418337249755859,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1187.692544,
"max_global_vram": 68702.69952,
"max_process_vram": 210228.350976,
"max_reserved": 557.842432,
"max_allocated": 501.534208
},
"latency": {
"unit": "s",
"values": [
0.007692296028137207,
0.007338696956634521,
0.0073484559059143065,
0.007314376831054688,
0.0073201370239257815,
0.007354856014251709,
0.007350696086883545,
0.007352296829223633,
0.007356135845184326,
0.007328455924987793,
0.007349256992340088,
0.007345097064971924,
0.007385096073150635,
0.0073271760940551755,
0.0073366169929504396,
0.007354217052459717,
0.007314055919647217,
0.00730893611907959,
0.007374376773834229,
0.007563175201416016,
0.0073558158874511715,
0.007335337162017822,
0.007347815990447998,
0.0073410959243774415,
0.007348617076873779,
0.007363656997680664,
0.007364776134490967,
0.007359655857086181,
0.0073311772346496586,
0.007353577136993408,
0.007292136192321778,
0.007370535850524902,
0.007365575790405273,
0.007341897010803223,
0.007387977123260498,
0.007355495929718018,
0.00734717607498169,
0.00736189603805542,
0.007373416900634765,
0.007390216827392578,
0.007353576183319091,
0.007385255813598633,
0.007343815803527832,
0.007353416919708252,
0.007336936950683594,
0.007375175952911377,
0.007465735912322998,
0.007376935958862305,
0.007395495891571045,
0.007413095951080322,
0.007374536037445068,
0.00739229679107666,
0.007390857219696045,
0.007396936893463135,
0.007406536102294922,
0.007374055862426758,
0.007381095886230469,
0.007343175888061523,
0.007392615795135498,
0.007369576930999756,
0.007775815010070801,
0.008363174438476563,
0.008348773956298829,
0.008400452613830567,
0.008351492881774902,
0.007751975059509277,
0.007765095233917236,
0.00777533483505249,
0.007752614974975586,
0.0078140549659729,
0.007817094802856445,
0.008185572624206543,
0.007792294979095459,
0.008057574272155761,
0.007814374923706055,
0.00782941484451294,
0.007797094821929931,
0.00777693510055542,
0.007588776111602783,
0.007474855899810791,
0.007390697002410889,
0.007357895851135254,
0.007433896064758301,
0.007339015960693359,
0.0074334158897399905,
0.007442855834960937,
0.00742141580581665,
0.007436295986175537,
0.007415495872497559,
0.007415016174316406,
0.007423336029052734,
0.007425576210021973,
0.007417096138000488,
0.007422215938568115,
0.007478856086730957,
0.007403175830841064,
0.007455495834350586,
0.007447015762329101,
0.0074362969398498536,
0.00742061710357666,
0.0074130969047546385,
0.007428456783294677,
0.007711976051330566,
0.0074457359313964844,
0.007432456016540527,
0.007426217079162598,
0.007418056964874267,
0.007423336029052734,
0.007448455810546875,
0.007381096839904785,
0.007454216003417969,
0.007416935920715332,
0.007437736034393311,
0.007428296089172363,
0.0074052557945251465,
0.007392295837402344,
0.007392295837402344,
0.007428296089172363,
0.0074359760284423825,
0.0074754958152771,
0.007429416179656982,
0.0074476561546325684,
0.007424136161804199,
0.007427015781402588,
0.007447655200958252,
0.007438376903533935,
0.007455657005310059,
0.007448455810546875,
0.007464295864105225,
0.007393735885620117,
0.007399336814880371,
0.007433896064758301,
0.007439496040344239
],
"count": 133,
"total": 0.9942166500091552,
"mean": 0.007475313157963574,
"p50": 0.007413095951080322,
"p90": 0.007775718975067139,
"p95": 0.007822022819519043,
"p99": 0.008359436340332031,
"stdev": 0.000217804265765804,
"stdev_": 2.913647377217549
},
"throughput": {
"unit": "samples/s",
"value": 267.5473197894549
},
"energy": null,
"efficiency": null
}
}
}