IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0ca3775 verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"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": 719.589376,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.21261865234375,
"mean": 7.21261865234375,
"stdev": 0.0,
"p50": 7.21261865234375,
"p90": 7.21261865234375,
"p95": 7.21261865234375,
"p99": 7.21261865234375,
"values": [
7.21261865234375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.056880917814043e-06,
"ram": 5.634810567717826e-07,
"gpu": 1.7738903079905777e-06,
"total": 3.3942522825764036e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 911.507456,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 149,
"total": 0.9981604776382446,
"mean": 0.006699063608310367,
"stdev": 0.00020847758364388684,
"p50": 0.006632448196411133,
"p90": 0.007027916717529297,
"p95": 0.0070879487037658695,
"p99": 0.007253647403717041,
"values": [
0.007230463981628418,
0.007264256000518799,
0.00725708818435669,
0.007193600177764893,
0.0072499198913574215,
0.007174143791198731,
0.0070594558715820314,
0.0071485438346862796,
0.007028736114501953,
0.0070522880554199216,
0.0069621758460998535,
0.007047167778015137,
0.006909952163696289,
0.007027711868286133,
0.006896639823913574,
0.006993919849395752,
0.007016448020935059,
0.007001088142395019,
0.0069550080299377445,
0.006985727787017822,
0.006913023948669434,
0.006968319892883301,
0.0069550080299377445,
0.00669593620300293,
0.006722559928894043,
0.006643712043762207,
0.0067420158386230465,
0.006769599914550781,
0.006658048152923584,
0.006686719894409179,
0.007069759845733643,
0.007001088142395019,
0.006867968082427979,
0.006744063854217529,
0.006616064071655273,
0.006725632190704346,
0.006562816143035889,
0.006672383785247803,
0.006648831844329834,
0.006677567958831787,
0.006680575847625733,
0.006725632190704346,
0.0067041277885437015,
0.00667852783203125,
0.006681600093841553,
0.006586368083953857,
0.006648831844329834,
0.006670335769653321,
0.0066406397819519045,
0.006667263984680176,
0.0066744318008422855,
0.006618112087249756,
0.006576128005981445,
0.0066304001808166506,
0.0065669121742248536,
0.006621183872222901,
0.006756351947784424,
0.006565887928009034,
0.006583295822143555,
0.006636544227600098,
0.006623231887817383,
0.0066938881874084475,
0.006617087841033936,
0.006568960189819336,
0.0066641921997070315,
0.006748159885406494,
0.006663167953491211,
0.006708223819732666,
0.006702079772949219,
0.006597631931304931,
0.0070891518592834475,
0.006953983783721924,
0.006862815856933594,
0.006852608203887939,
0.006894591808319092,
0.006800384044647217,
0.006760447978973389,
0.006631423950195312,
0.006799359798431396,
0.006816768169403077,
0.006632448196411133,
0.006535168170928955,
0.006482944011688232,
0.006550528049468994,
0.006822912216186523,
0.006884352207183838,
0.006847487926483154,
0.006900735855102539,
0.006939648151397705,
0.007086143970489502,
0.0068321280479431154,
0.006665215969085693,
0.006563839912414551,
0.006518784046173095,
0.006583295822143555,
0.006502399921417237,
0.006569983959197998,
0.006598656177520752,
0.00652288007736206,
0.006557695865631104,
0.006550528049468994,
0.0064839677810668945,
0.006569983959197998,
0.006549439907073975,
0.006516736030578613,
0.006500351905822754,
0.006516736030578613,
0.006473760128021241,
0.0065372161865234375,
0.006511616230010986,
0.006504447937011719,
0.006495232105255127,
0.0064778242111206055,
0.00653004789352417,
0.006504447937011719,
0.0064880638122558594,
0.006552576065063476,
0.006492159843444824,
0.006505472183227539,
0.006520800113677979,
0.006523903846740723,
0.00652185583114624,
0.006501376152038574,
0.006460415840148926,
0.0064880638122558594,
0.006553599834442139,
0.0064767999649047855,
0.006508543968200684,
0.0064839677810668945,
0.006486015796661377,
0.006504511833190918,
0.006486015796661377,
0.00652288007736206,
0.006535168170928955,
0.0064737281799316405,
0.006568960189819336,
0.006503424167633057,
0.006500351905822754,
0.006497280120849609,
0.006501376152038574,
0.0065146880149841305,
0.006527967929840088,
0.006476831912994385,
0.0065146880149841305,
0.007065599918365479,
0.006542335987091064,
0.006586368083953857,
0.006632448196411133,
0.006565887928009034
]
},
"throughput": {
"unit": "samples/s",
"value": 149.27459395361961
},
"energy": {
"unit": "kWh",
"cpu": 7.663125526093241e-08,
"ram": 4.189656274090439e-08,
"gpu": 1.4193201318706487e-07,
"total": 2.6045983118890165e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3839363.618702255
}
}
}
}