IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
948522f verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+rocm6.1",
"_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": 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.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1387.544576,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.78638330078125,
"mean": 7.78638330078125,
"stdev": 0.0,
"p50": 7.78638330078125,
"p90": 7.78638330078125,
"p95": 7.78638330078125,
"p99": 7.78638330078125,
"values": [
7.78638330078125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1513.20576,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 125,
"total": 0.9994141039848325,
"mean": 0.00799531283187866,
"stdev": 0.0009558586269495086,
"p50": 0.007908133029937744,
"p90": 0.008506627845764161,
"p95": 0.008685346984863281,
"p99": 0.010613059158325208,
"values": [
0.008563490867614746,
0.008435972213745117,
0.008647972106933594,
0.008803171157836914,
0.008536770820617675,
0.00823581314086914,
0.008235812187194824,
0.008216451644897461,
0.0081223726272583,
0.008165573120117188,
0.008074533462524415,
0.008052613258361816,
0.008011652946472167,
0.007993093013763428,
0.007917094230651855,
0.007902214050292969,
0.007908133029937744,
0.007913253784179687,
0.007928772926330567,
0.007932774066925049,
0.007919332981109618,
0.007910694122314453,
0.007889733791351319,
0.007884933948516845,
0.007955813884735107,
0.007966053009033204,
0.00802685260772705,
0.007927814006805419,
0.011184602737426759,
0.008099013328552247,
0.007946372985839844,
0.008359811782836913,
0.007930213928222657,
0.007967973232269287,
0.007978212833404542,
0.00796109390258789,
0.00796653413772583,
0.007991652965545654,
0.007933732986450195,
0.007929093837738037,
0.007931013107299805,
0.008063013076782227,
0.008005573272705077,
0.007965414047241211,
0.007973252773284912,
0.008387171745300293,
0.008413251876831054,
0.00855373191833496,
0.008584450721740723,
0.008516612052917481,
0.00849165153503418,
0.008441411972045898,
0.00844205093383789,
0.008464932441711426,
0.008465091705322265,
0.007954853057861328,
0.007922852993011474,
0.007730854988098145,
0.007715815067291259,
0.007725893974304199,
0.007728293895721435,
0.007740774154663086,
0.007725893974304199,
0.0077330942153930665,
0.007711013793945312,
0.007729413986206054,
0.00770621395111084,
0.007693894863128662,
0.0077223749160766604,
0.007709094047546387,
0.007708933830261231,
0.007719173908233643,
0.00769197416305542,
0.0077311739921569825,
0.007693574905395508,
0.0077710142135620115,
0.007743655204772949,
0.00773869514465332,
0.007745894908905029,
0.0077266950607299805,
0.00771869421005249,
0.007726853847503662,
0.007730534076690674,
0.007749894142150879,
0.007715814113616944,
0.007727014064788818,
0.0077049341201782225,
0.007705574989318848,
0.007747654914855957,
0.007720934867858887,
0.007741893768310547,
0.007708293914794922,
0.00771661376953125,
0.007738214015960693,
0.007722373962402344,
0.007711493968963623,
0.007732614040374756,
0.007760613918304443,
0.00772861385345459,
0.0077580537796020504,
0.007741573810577392,
0.007750053882598877,
0.007756773948669434,
0.007730373859405518,
0.007760454177856446,
0.007708455085754394,
0.007700614929199219,
0.0077122941017150875,
0.0077047739028930666,
0.007724934101104737,
0.015527148246765137,
0.002377592086791992,
0.005921420097351074,
0.007763174057006836,
0.007782373905181885,
0.0077329339981079106,
0.007729414939880371,
0.008709891319274903,
0.008786689758300782,
0.008694690704345703,
0.0082186918258667,
0.008264131546020508,
0.008263333320617676,
0.008466051101684571,
0.008772770881652832
]
},
"throughput": {
"unit": "samples/s",
"value": 125.07327993631861
},
"energy": null,
"efficiency": null
}
}
}