IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
45cfa0a
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", | |
"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.2.1", | |
"optimum_benchmark_commit": "eee61510ab9c7b38bd9807712fa942e2f5ba255c", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1003.7248, | |
"max_global_vram": 3097.407488, | |
"max_process_vram": 248573.796352, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 119, | |
"total": 0.9953130083084106, | |
"mean": 0.008363974859734542, | |
"stdev": 0.00024722389729945406, | |
"p50": 0.00829598331451416, | |
"p90": 0.008537837982177734, | |
"p95": 0.008665487194061279, | |
"p99": 0.009528261966705316, | |
"values": [ | |
0.008307183265686035, | |
0.008509102821350098, | |
0.008559661865234375, | |
0.008782861709594726, | |
0.008769902229309082, | |
0.008655182838439942, | |
0.0086583833694458, | |
0.008613422393798828, | |
0.008533742904663086, | |
0.008557263374328614, | |
0.008536461830139161, | |
0.00854334259033203, | |
0.008526382446289062, | |
0.008414382934570313, | |
0.008495343208312989, | |
0.010278698921203613, | |
0.008729421615600585, | |
0.008271343231201172, | |
0.008290223121643066, | |
0.008306062698364258, | |
0.008310703277587891, | |
0.008274223327636719, | |
0.008263663291931152, | |
0.008282382965087891, | |
0.008275663375854492, | |
0.008267342567443848, | |
0.008264622688293456, | |
0.008258063316345215, | |
0.00829598331451416, | |
0.008268782615661621, | |
0.008237262725830079, | |
0.00822462272644043, | |
0.008208303451538087, | |
0.00826590347290039, | |
0.008232302665710449, | |
0.008261902809143067, | |
0.00835886287689209, | |
0.008262063026428223, | |
0.008275023460388184, | |
0.008197744369506836, | |
0.008252142906188965, | |
0.008362543106079102, | |
0.00829934310913086, | |
0.008275503158569337, | |
0.008282703399658203, | |
0.008249102592468261, | |
0.008275182723999023, | |
0.008278383255004882, | |
0.008284783363342286, | |
0.008227823257446289, | |
0.008285263061523437, | |
0.008261423110961914, | |
0.008288943290710449, | |
0.008260143280029298, | |
0.008317743301391602, | |
0.008265262603759765, | |
0.008288783073425293, | |
0.008298063278198242, | |
0.008279342651367188, | |
0.008312302589416504, | |
0.00822590446472168, | |
0.00829422378540039, | |
0.008289902687072755, | |
0.008282382965087891, | |
0.008268942832946777, | |
0.008301583290100098, | |
0.00828062343597412, | |
0.008393102645874024, | |
0.008287982940673828, | |
0.008311182975769042, | |
0.00829774284362793, | |
0.008348302841186523, | |
0.008333422660827637, | |
0.00828830337524414, | |
0.009669899940490723, | |
0.008883022308349609, | |
0.008177903175354004, | |
0.008239502906799317, | |
0.00831502342224121, | |
0.008324143409729003, | |
0.008363343238830567, | |
0.008332463264465332, | |
0.008311182975769042, | |
0.00829438304901123, | |
0.008305262565612793, | |
0.008321903228759765, | |
0.008270862579345704, | |
0.008264782905578614, | |
0.008264303207397461, | |
0.00832510280609131, | |
0.008325902938842774, | |
0.008274382591247558, | |
0.00823054313659668, | |
0.00824366283416748, | |
0.008362222671508789, | |
0.00827646255493164, | |
0.008363183021545411, | |
0.008336783409118653, | |
0.00832014274597168, | |
0.008338863372802735, | |
0.008335022926330567, | |
0.008349582672119141, | |
0.008374862670898438, | |
0.008357422828674316, | |
0.008287663459777833, | |
0.008404623031616211, | |
0.008364623069763183, | |
0.008348142623901367, | |
0.008321422576904297, | |
0.008333422660827637, | |
0.00836158275604248, | |
0.008324623107910156, | |
0.008279823303222656, | |
0.00823566436767578, | |
0.008268463134765624, | |
0.008256463050842286, | |
0.008286382675170898, | |
0.008278383255004882, | |
0.008337423324584961 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 119.56037850067597 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |