IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e40f3ff verified
raw
history blame
10.8 kB
{
"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": "d0c0a5c5918412583a4f2490ab7e3d1b48375998",
"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.361088,
"max_global_vram": 3571.462144,
"max_process_vram": 47787.99104,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.42823388671875,
"mean": 7.42823388671875,
"stdev": 0.0,
"p50": 7.42823388671875,
"p90": 7.42823388671875,
"p95": 7.42823388671875,
"p99": 7.42823388671875,
"values": [
7.42823388671875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1011.884032,
"max_global_vram": 2603.819008,
"max_process_vram": 228757.057536,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 125,
"total": 0.9992080092430113,
"mean": 0.007993664073944091,
"stdev": 0.0004448501330793324,
"p50": 0.007915841102600098,
"p90": 0.008261889457702638,
"p95": 0.008396961212158204,
"p99": 0.009678522644042974,
"values": [
0.008602560997009278,
0.00828896141052246,
0.00887200164794922,
0.008312001228332519,
0.008263361930847169,
0.008403361320495606,
0.00776976203918457,
0.007944480895996094,
0.007956800937652588,
0.008510722160339355,
0.008216000556945801,
0.008072642326354981,
0.007960801124572753,
0.007931361198425293,
0.007831841945648193,
0.007947521209716797,
0.007845120906829834,
0.007829442024230956,
0.007878880977630615,
0.00764368200302124,
0.007762401103973388,
0.007780800819396973,
0.007929282188415527,
0.009920480728149415,
0.008912322044372558,
0.007647360801696777,
0.007365601062774658,
0.011358242034912109,
0.008363521575927735,
0.008158881187438965,
0.008188322067260742,
0.008201921463012695,
0.008198881149291992,
0.008124482154846192,
0.008131040573120116,
0.008180802345275878,
0.008181281089782715,
0.008213601112365722,
0.008179202079772949,
0.008155521392822265,
0.00818096160888672,
0.008168320655822753,
0.008215521812438965,
0.008179520606994629,
0.008191680908203125,
0.008137441635131836,
0.008154880523681641,
0.008135202407836915,
0.008167840957641602,
0.008127840995788574,
0.00814864158630371,
0.008198081016540527,
0.008189762115478515,
0.008038881301879883,
0.007861761093139649,
0.00783472204208374,
0.00788784122467041,
0.007685601234436035,
0.007849122047424316,
0.007701760768890381,
0.007625761032104492,
0.007705282211303711,
0.007756000995635987,
0.00765648078918457,
0.007664482116699219,
0.00775584077835083,
0.007661120891571045,
0.007715841770172119,
0.007685601234436035,
0.007704320907592773,
0.007750721931457519,
0.007612640857696533,
0.0074992008209228515,
0.007582722187042236,
0.007933920860290527,
0.007592161178588867,
0.007648642063140869,
0.007670560836791992,
0.007760321140289307,
0.007725121974945068,
0.0077720007896423336,
0.007717121124267578,
0.007759521961212159,
0.007621281147003174,
0.007620481014251709,
0.007625281810760498,
0.0075329608917236324,
0.007633760929107666,
0.007628480911254883,
0.007661441802978516,
0.007829121112823486,
0.007713120937347412,
0.007728161811828613,
0.007552320957183838,
0.007675200939178467,
0.007849761962890625,
0.00825968074798584,
0.008147042274475097,
0.008174560546875,
0.007915841102600098,
0.007845441818237304,
0.007975360870361329,
0.00810624122619629,
0.008345762252807616,
0.008001761436462402,
0.008213122367858887,
0.00815920066833496,
0.008161922454833985,
0.008139520645141602,
0.008133120536804199,
0.008186081886291503,
0.007626080989837646,
0.007803040981292725,
0.007819362163543701,
0.007757761001586914,
0.007811201095581055,
0.007826082229614258,
0.007849280834197997,
0.007868001937866211,
0.007896800994873047,
0.007661120891571045,
0.008028641700744629,
0.008170560836791992,
0.008371360778808594,
0.008236640930175782
]
},
"throughput": {
"unit": "samples/s",
"value": 125.09907731293964
},
"energy": null,
"efficiency": null
}
}
}