IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2c2cc27 verified
raw
history blame
10.3 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": "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",
"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.2.1",
"optimum_benchmark_commit": "fb780fc73efc41258966d25b08045708166d6309",
"transformers_version": "4.41.0",
"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": 1007.710208,
"max_global_vram": 3096.10496,
"max_process_vram": 185161.33888,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 134,
"total": 1.0006019229888918,
"mean": 0.007467178529767848,
"stdev": 0.00042900851868694906,
"p50": 0.0074163880348205565,
"p90": 0.007924691724777222,
"p95": 0.007955467796325683,
"p99": 0.008376602411270135,
"values": [
0.0075563077926635745,
0.007420147895812988,
0.007576948165893555,
0.00801694679260254,
0.00766510820388794,
0.007764946937561035,
0.007533907890319824,
0.007755988121032715,
0.007549588203430176,
0.007499988079071045,
0.007179187774658203,
0.007124309062957764,
0.007149748802185059,
0.007402867794036865,
0.007160468101501465,
0.007339348793029785,
0.007212947845458984,
0.007318227767944336,
0.007531827926635743,
0.007476148128509522,
0.007311189174652099,
0.007371828079223632,
0.007431347846984863,
0.008014866828918457,
0.007422388076782227,
0.007442228794097901,
0.007827826976776123,
0.007609107971191406,
0.00773502779006958,
0.007757427215576172,
0.0078028678894042965,
0.007716466903686523,
0.007548947811126709,
0.007334389209747314,
0.007519827842712402,
0.0076127867698669435,
0.007382389068603516,
0.007450868129730224,
0.007500147819519043,
0.00749102783203125,
0.010460463523864746,
0.008553746223449708,
0.007890868186950683,
0.007853588104248048,
0.007842866897583008,
0.007947348117828369,
0.007924467086791993,
0.007939826965332032,
0.0079751877784729,
0.00793662691116333,
0.007970547199249268,
0.007889748096466065,
0.007862707138061524,
0.007897428035736084,
0.007931987762451171,
0.007899666786193848,
0.007925908088684082,
0.007876148223876953,
0.00793326711654663,
0.00787246799468994,
0.007907347202301025,
0.007910706996917725,
0.007913908004760743,
0.007912467002868653,
0.007691187858581543,
0.007504948139190674,
0.007234548091888428,
0.007493268013000489,
0.00726702880859375,
0.007040947914123535,
0.007392629146575928,
0.007004787921905517,
0.007090229034423828,
0.007017909049987793,
0.007032948970794678,
0.007263827800750733,
0.007033268928527832,
0.006984468936920166,
0.007102707862854004,
0.007058069229125976,
0.0073435077667236325,
0.007039188861846924,
0.007089748859405518,
0.007055668830871582,
0.0070950288772583005,
0.006999989032745361,
0.007212468147277832,
0.00698862886428833,
0.007030388832092285,
0.007302227973937988,
0.007004788875579834,
0.007234869003295899,
0.007057908058166504,
0.007089909076690674,
0.0072951879501342775,
0.007805108070373535,
0.00797646713256836,
0.007924787998199463,
0.007860627174377442,
0.007761268138885498,
0.0074659080505371095,
0.007412628173828125,
0.007490228176116944,
0.007516948223114014,
0.007559348106384278,
0.007253267765045166,
0.007204148769378662,
0.0070020689964294435,
0.007025108814239502,
0.007064148902893066,
0.00721038818359375,
0.007313748836517334,
0.007080307960510254,
0.007010869026184082,
0.007166388988494873,
0.00706414794921875,
0.007314548969268799,
0.00704990816116333,
0.007087348937988281,
0.007064148902893066,
0.007070549011230469,
0.007240627765655518,
0.007080789089202881,
0.00703134822845459,
0.007212308883666993,
0.007097589015960693,
0.007502548217773438,
0.007047507762908935,
0.00702462911605835,
0.00702302885055542,
0.007048948764801026,
0.007720626831054687,
0.007390707969665527,
0.007827346801757812
]
},
"throughput": {
"unit": "samples/s",
"value": 133.91939083999503
},
"energy": null,
"efficiency": null
}
}
}