IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
20db2fd verified
raw
history blame
7.87 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"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": {},
"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": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"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": 975.261696,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0034349746704103,
"mean": 0.013936596870422362,
"stdev": 0.0006419208870404049,
"p50": 0.013892608165740967,
"p90": 0.01445786533355713,
"p95": 0.015019775962829593,
"p99": 0.016325910320281984,
"values": [
0.0156364803314209,
0.016326591491699217,
0.016220159530639648,
0.016325632095336915,
0.013947903633117676,
0.01354751968383789,
0.01349836826324463,
0.013549568176269532,
0.013478912353515626,
0.013458432197570801,
0.013379584312438965,
0.013318143844604492,
0.013353983879089355,
0.013353983879089355,
0.013455360412597657,
0.013436927795410156,
0.013342720031738281,
0.013331456184387207,
0.01340403175354004,
0.01337446403503418,
0.013408255577087403,
0.013855744361877441,
0.013851648330688476,
0.01388748836517334,
0.013885343551635742,
0.013365247726440429,
0.013385631561279298,
0.013336576461791993,
0.013344896316528321,
0.013377535820007324,
0.013319168090820312,
0.013254655838012695,
0.013299712181091309,
0.013429759979248047,
0.0136878080368042,
0.013884480476379395,
0.01384447956085205,
0.01384870433807373,
0.01379532814025879,
0.013948927879333496,
0.013914112091064454,
0.013880319595336914,
0.013590527534484862,
0.013897727966308594,
0.013990880012512207,
0.013974528312683105,
0.014000160217285156,
0.013971391677856446,
0.014010368347167968,
0.014459903717041016,
0.014354432106018066,
0.014439519882202148,
0.014427136421203614,
0.014173184394836426,
0.014025728225708007,
0.01406156826019287,
0.014502911567687989,
0.01400931167602539,
0.013993984222412109,
0.013979647636413574,
0.014172160148620605,
0.01408512020111084,
0.01428889560699463,
0.014515199661254884,
0.01409126377105713,
0.014102527618408203,
0.014060544013977052,
0.014095359802246094,
0.014004223823547364,
0.014511103630065919,
0.01404419231414795,
0.014055423736572266
]
},
"throughput": {
"unit": "samples/s",
"value": 71.75352844727108
},
"energy": {
"unit": "kWh",
"cpu": 1.6635014779037902e-07,
"ram": 9.092117787380022e-08,
"gpu": 3.394910123333444e-07,
"total": 5.967623379975237e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1675708.9654075147
}
}
}
}