IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
2438bbd verified
raw
history blame
7.69 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.0",
"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.7696,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 68,
"total": 1.0103604774475095,
"mean": 0.014858242315404557,
"stdev": 0.00043792917038431076,
"p50": 0.014870016098022461,
"p90": 0.01526097936630249,
"p95": 0.01581112298965454,
"p99": 0.016236451740264893,
"values": [
0.015941632270812987,
0.01646080017089844,
0.016125951766967773,
0.015928319931030274,
0.015276032447814942,
0.014929920196533204,
0.01480294418334961,
0.014877696037292481,
0.01500057601928711,
0.015081472396850586,
0.014862336158752442,
0.01507532787322998,
0.015058943748474121,
0.0149749755859375,
0.015010815620422363,
0.015012864112854005,
0.014816255569458007,
0.014947327613830566,
0.014879808425903321,
0.01496985626220703,
0.01517568016052246,
0.015171584129333495,
0.014928895950317383,
0.015122431755065918,
0.014923775672912597,
0.014797823905944824,
0.01488691234588623,
0.015140864372253418,
0.014853119850158691,
0.014804991722106933,
0.014820351600646972,
0.014896127700805664,
0.01537331199645996,
0.015254528045654296,
0.014888959884643555,
0.014962752342224122,
0.014966815948486327,
0.01467084789276123,
0.014818304061889649,
0.01455513572692871,
0.014645248413085938,
0.01516543960571289,
0.015056832313537598,
0.01559347152709961,
0.014362624168395996,
0.014095359802246094,
0.01444863986968994,
0.014469120025634765,
0.014458880424499512,
0.01468518352508545,
0.014459903717041016,
0.014443519592285157,
0.01440665626525879,
0.01442307186126709,
0.014394368171691894,
0.014511103630065919,
0.014970879554748535,
0.014405632019042968,
0.014356479644775391,
0.014377984046936035,
0.014427136421203614,
0.014496767997741699,
0.01437388801574707,
0.014452735900878906,
0.014426143646240234,
0.014504960060119629,
0.014502911567687989,
0.01439846420288086
]
},
"throughput": {
"unit": "samples/s",
"value": 67.3027117725245
},
"energy": {
"unit": "kWh",
"cpu": 1.7039785545969766e-07,
"ram": 9.314138673809273e-08,
"gpu": 3.465240867428548e-07,
"total": 6.100633289406452e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1639174.08662551
}
}
}
}