IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
043ffa3 verified
raw
history blame
9.01 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.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": 707.764224,
"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.215958984375,
"mean": 7.215958984375,
"stdev": 0.0,
"p50": 7.215958984375,
"p90": 7.215958984375,
"p95": 7.215958984375,
"p99": 7.215958984375,
"values": [
7.215958984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.070135169559055e-06,
"ram": 5.700066135536493e-07,
"gpu": 0.0,
"total": 1.6401417831127043e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.097408,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0094579486846922,
"mean": 0.014020249287287394,
"stdev": 0.0003379097149547549,
"p50": 0.014056960105895997,
"p90": 0.014378086662292481,
"p95": 0.014506444787979127,
"p99": 0.014868659467697144,
"values": [
0.015027199745178223,
0.01450598430633545,
0.014803903579711914,
0.014306303977966308,
0.01426534366607666,
0.014249919891357422,
0.014301183700561524,
0.014315520286560059,
0.014381055831909179,
0.014213120460510254,
0.014324735641479493,
0.014321663856506347,
0.014379008293151856,
0.014299200057983399,
0.014337023735046387,
0.01417523193359375,
0.01415167999267578,
0.01427558422088623,
0.014313471794128419,
0.014527487754821777,
0.014507007598876954,
0.014098431587219238,
0.014369791984558105,
0.01429196834564209,
0.01427353572845459,
0.014112768173217773,
0.014431232452392579,
0.013689855575561523,
0.01358028793334961,
0.013583359718322753,
0.013557696342468261,
0.013999103546142578,
0.013905920028686524,
0.013941760063171387,
0.014292991638183594,
0.014213120460510254,
0.014154751777648926,
0.014053376197814941,
0.014115839958190919,
0.01387929630279541,
0.014170111656188965,
0.014312447547912598,
0.014301183700561524,
0.014341119766235352,
0.014033920288085937,
0.013633567810058594,
0.013717503547668456,
0.013699071884155273,
0.013773728370666503,
0.013632479667663575,
0.013719552040100098,
0.013616127967834473,
0.013699071884155273,
0.013634559631347656,
0.013691904067993164,
0.013693951606750488,
0.013643775939941406,
0.01366528034210205,
0.014060544013977052,
0.013707263946533203,
0.013739007949829102,
0.013676544189453126,
0.01368166446685791,
0.013670399665832519,
0.013712384223937989,
0.01366528034210205,
0.01367244815826416,
0.013602815628051757,
0.013684736251831055,
0.013651968002319336,
0.013743103981018067,
0.013683712005615235
]
},
"throughput": {
"unit": "samples/s",
"value": 71.32540795167827
},
"energy": {
"unit": "kWh",
"cpu": 1.6092619559428357e-07,
"ram": 8.797456205681212e-08,
"gpu": 3.479357137837927e-07,
"total": 5.968364714348884e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1675500.8245321256
}
}
}
}