IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
988946e verified
raw
history blame
10.4 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": "693db979e9b302426a0eee51d54cc298ad108515",
"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": 900.919296,
"max_global_vram": 3128.385536,
"max_process_vram": 41419.03872,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.14289697265625,
"mean": 7.14289697265625,
"stdev": 0.0,
"p50": 7.14289697265625,
"p90": 7.14289697265625,
"p95": 7.14289697265625,
"p99": 7.14289697265625,
"values": [
7.14289697265625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1011.695616,
"max_global_vram": 3184.898048,
"max_process_vram": 230211.956736,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 116,
"total": 1.0022562599182123,
"mean": 0.008640140171708732,
"stdev": 0.00018811838477096027,
"p50": 0.008559506893157959,
"p90": 0.008909346580505371,
"p95": 0.0090416259765625,
"p99": 0.009276650524139405,
"values": [
0.008946866989135742,
0.008993426322937011,
0.009225106239318848,
0.009197266578674316,
0.009155506134033204,
0.009003665924072266,
0.00917086696624756,
0.009285746574401855,
0.008962706565856933,
0.008969427108764649,
0.008914385795593262,
0.008904307365417481,
0.008828146934509278,
0.008797906875610351,
0.008833746910095214,
0.00886014747619629,
0.008879345893859863,
0.008821907043457032,
0.008809746742248535,
0.008761266708374023,
0.008824305534362793,
0.008728946685791016,
0.008638227462768554,
0.008565267562866212,
0.008557268142700195,
0.008521106719970703,
0.00854190731048584,
0.008565107345581054,
0.008576626777648927,
0.008641106605529785,
0.008578227043151856,
0.008545747756958008,
0.008533588409423828,
0.008565266609191895,
0.008536147117614747,
0.008544627189636231,
0.008519186973571777,
0.00860046672821045,
0.00859086799621582,
0.008625587463378907,
0.008522547721862794,
0.008557267189025879,
0.008608627319335937,
0.00859278678894043,
0.008616947174072265,
0.008636146545410157,
0.008679026603698731,
0.008612306594848632,
0.008560626983642579,
0.008558067321777343,
0.008551827430725098,
0.008533107757568359,
0.008557106971740723,
0.008545746803283691,
0.008558867454528808,
0.008558547019958496,
0.008570226669311523,
0.00856814670562744,
0.008596307754516601,
0.008575986862182618,
0.00854142665863037,
0.008538387298583984,
0.008559347152709961,
0.008530386924743652,
0.00847182846069336,
0.008547507286071777,
0.008568306922912598,
0.008567187309265136,
0.008559666633605956,
0.008527027130126954,
0.008517908096313477,
0.008505267143249512,
0.008516946792602538,
0.008504146575927735,
0.008459668159484863,
0.008519027709960937,
0.00846814727783203,
0.008458066940307617,
0.008522547721862794,
0.008483028411865235,
0.008525747299194336,
0.008542547225952149,
0.008557267189025879,
0.00852830696105957,
0.008506068229675293,
0.008547026634216309,
0.008544946670532226,
0.008516306877136231,
0.008527506828308105,
0.008513587951660156,
0.00853422737121582,
0.008522067070007324,
0.008544787406921387,
0.00851902675628662,
0.008584946632385253,
0.008548308372497558,
0.008551986694335937,
0.008662707328796386,
0.008667186737060547,
0.008704947471618653,
0.008688467025756836,
0.008669906616210938,
0.008663347244262695,
0.009426705360412598,
0.008557746887207032,
0.008579507827758789,
0.00858846664428711,
0.008564146995544433,
0.008520787239074706,
0.008550387382507324,
0.008526545524597168,
0.008547027587890626,
0.008534228324890137,
0.008532466888427735,
0.008577906608581543,
0.008531987190246582
]
},
"throughput": {
"unit": "samples/s",
"value": 115.73886304233804
},
"energy": null,
"efficiency": null
}
}
}