IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b68be40 verified
raw
history blame
11.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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": "35e06a8a39b8c67a2e53b499c65346db81ed78be",
"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": 901.476352,
"max_global_vram": 3128.385536,
"max_process_vram": 42730.041344,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.99807861328125,
"mean": 6.99807861328125,
"stdev": 0.0,
"p50": 6.99807861328125,
"p90": 6.99807861328125,
"p95": 6.99807861328125,
"p99": 6.99807861328125,
"values": [
6.99807861328125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1016.635392,
"max_global_vram": 3183.566848,
"max_process_vram": 215404.003328,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 133,
"total": 0.9991265177726748,
"mean": 0.0075122294569374025,
"stdev": 0.00045656378150983905,
"p50": 0.007621584892272949,
"p90": 0.007925360202789306,
"p95": 0.007992015933990479,
"p99": 0.009047290954589844,
"values": [
0.00799518394470215,
0.007876144886016847,
0.00797822380065918,
0.007948784828186036,
0.007968625068664551,
0.007926383972167968,
0.00803502368927002,
0.007889104843139648,
0.008112943649291993,
0.007899184226989747,
0.0077839851379394535,
0.007647665023803711,
0.007714385032653808,
0.007594705104827881,
0.007716145038604736,
0.007899663925170898,
0.007642385005950928,
0.0077723050117492675,
0.0075196647644042965,
0.007680305004119873,
0.00767390489578247,
0.007621584892272949,
0.007796625137329102,
0.007394865989685058,
0.007674065113067627,
0.007486545085906983,
0.007529745101928711,
0.007728624820709229,
0.007751824855804443,
0.007734065055847168,
0.007735023975372315,
0.007724305152893066,
0.007753584861755371,
0.007727025032043457,
0.010479179382324219,
0.008187664031982423,
0.007734865188598633,
0.007726544857025146,
0.007703824043273926,
0.007662384986877441,
0.00773070478439331,
0.007671024799346924,
0.007728944778442383,
0.007702384948730469,
0.007704305171966553,
0.007703185081481934,
0.0077063851356506344,
0.007709265232086182,
0.007719504833221436,
0.007665744781494141,
0.007756303787231445,
0.00773230504989624,
0.007702064990997314,
0.007694544792175293,
0.00767502498626709,
0.007706705093383789,
0.007688624858856201,
0.0076983838081359866,
0.0077111849784851074,
0.007702865123748779,
0.007728145122528076,
0.007683985233306885,
0.007697744846343994,
0.007699184894561768,
0.007492625236511231,
0.0090767822265625,
0.007438224792480469,
0.007188625812530517,
0.007096305847167968,
0.007043345928192139,
0.007071025848388672,
0.007055507183074951,
0.007009427070617676,
0.007063025951385498,
0.007091186046600342,
0.0070265460014343264,
0.007105745792388916,
0.007025105953216553,
0.007087825775146484,
0.007024946212768554,
0.007067825794219971,
0.007091506958007813,
0.007091987133026123,
0.007093906879425049,
0.007091666221618652,
0.007097105979919433,
0.00707326602935791,
0.0070755062103271486,
0.007155186176300049,
0.007144145965576172,
0.007162546157836914,
0.007111025810241699,
0.007211025238037109,
0.0072356657981872555,
0.007316306114196778,
0.007307984828948975,
0.007251185894012451,
0.00722718620300293,
0.008984622001647949,
0.00718846607208252,
0.007111345767974854,
0.007111186027526855,
0.007090385913848877,
0.007087185859680176,
0.007071506023406982,
0.007160305976867676,
0.007182065963745117,
0.0071772651672363285,
0.007120306015014648,
0.0070926260948181155,
0.007098866939544678,
0.007189425945281982,
0.007151666164398193,
0.007170705795288086,
0.007173585891723633,
0.007161585807800293,
0.0071446261405944825,
0.0071287860870361324,
0.007139505863189698,
0.007128945827484131,
0.007141106128692627,
0.007115506172180176,
0.007154706001281738,
0.007134225845336914,
0.00716830587387085,
0.0071164660453796385,
0.007214705944061279,
0.00770174503326416,
0.007978864192962646,
0.007921265125274659,
0.007989903926849366,
0.007944143772125245,
0.00763374376296997
]
},
"throughput": {
"unit": "samples/s",
"value": 133.11627470011834
},
"energy": null,
"efficiency": null
}
}
}