IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
06c0095 verified
raw
history blame
9.09 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"model_type": "deberta-v2",
"model": "microsoft/deberta-v3-base",
"processor": "microsoft/deberta-v3-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.285632,
"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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"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.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 708.063232,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.20019140625,
"mean": 7.20019140625,
"stdev": 0.0,
"p50": 7.20019140625,
"p90": 7.20019140625,
"p95": 7.20019140625,
"p99": 7.20019140625,
"values": [
7.20019140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0966183410750496e-06,
"ram": 5.851773041842989e-07,
"gpu": 1.683334679999579e-06,
"total": 3.3651303252589278e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.134272,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.0112810573577884,
"mean": 0.013665960234564702,
"stdev": 0.0005267601466417922,
"p50": 0.01360588836669922,
"p90": 0.014002278518676758,
"p95": 0.014566502189636229,
"p99": 0.015762749090194702,
"values": [
0.01569279956817627,
0.015468544006347656,
0.015951871871948242,
0.01447116756439209,
0.014743552207946778,
0.013859840393066406,
0.01367142391204834,
0.01366528034210205,
0.013592576026916504,
0.013830143928527832,
0.014228480339050293,
0.013906944274902343,
0.013842432022094727,
0.013656064033508301,
0.013644800186157227,
0.013606911659240722,
0.013609984397888183,
0.01360588836669922,
0.013574144363403321,
0.01364684772491455,
0.013793279647827148,
0.01366220760345459,
0.013686783790588379,
0.013572064399719239,
0.013599648475646972,
0.01354854393005371,
0.013664256095886231,
0.01317683219909668,
0.013162495613098145,
0.013220864295959473,
0.013114368438720703,
0.013210623741149903,
0.013567999839782715,
0.013601856231689453,
0.013559807777404785,
0.01360588836669922,
0.013561823844909667,
0.01356390380859375,
0.0131461763381958,
0.013143039703369141,
0.01317683219909668,
0.013159423828125,
0.013116415977478027,
0.013396991729736327,
0.01367347240447998,
0.013121536254882812,
0.013381631851196289,
0.013940799713134765,
0.013985792160034179,
0.01407487964630127,
0.014009344100952148,
0.013824095726013183,
0.013624320030212403,
0.01368166446685791,
0.013602815628051757,
0.01366323184967041,
0.013874176025390626,
0.013567999839782715,
0.013121536254882812,
0.013082624435424805,
0.01305907154083252,
0.013767680168151856,
0.0135731201171875,
0.013613056182861329,
0.013124608039855956,
0.013090815544128418,
0.013129728317260742,
0.013481951713562012,
0.013569024085998535,
0.013804544448852539,
0.013668352127075196,
0.013698047637939453,
0.013592576026916504,
0.013596735954284667
]
},
"throughput": {
"unit": "samples/s",
"value": 73.17451410920579
},
"energy": {
"unit": "kWh",
"cpu": 1.5795439040219345e-07,
"ram": 8.63607813825979e-08,
"gpu": 3.438669417600108e-07,
"total": 5.881821135448021e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1700153.7057515937
}
}
}
}