IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
8242f45 verified
raw
history blame
9.04 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 772.550656,
"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.38680322265625,
"mean": 7.38680322265625,
"stdev": 0.0,
"p50": 7.38680322265625,
"p90": 7.38680322265625,
"p95": 7.38680322265625,
"p99": 7.38680322265625,
"values": [
7.38680322265625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1193365840275268e-06,
"ram": 5.763620537739549e-07,
"gpu": 1.6233346319992695e-06,
"total": 3.3190332698007513e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.695808,
"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.0002135992050172,
"mean": 0.013891855544514128,
"stdev": 0.0005245095814738181,
"p50": 0.013868032455444336,
"p90": 0.01408727035522461,
"p95": 0.014778163433074955,
"p99": 0.01594256401062012,
"values": [
0.016072704315185548,
0.015889408111572266,
0.015490048408508301,
0.01567743968963623,
0.013750271797180176,
0.013420543670654296,
0.013384703636169434,
0.013379584312438965,
0.013459456443786622,
0.01349120044708252,
0.013279232025146484,
0.013370368003845215,
0.013317119598388672,
0.013586432456970214,
0.013411328315734864,
0.013329407691955567,
0.013301728248596191,
0.013515775680541992,
0.013203455924987792,
0.013213695526123047,
0.013244416236877441,
0.013379584312438965,
0.014195712089538574,
0.014158847808837891,
0.013939711570739746,
0.013919232368469238,
0.013847552299499511,
0.013913087844848633,
0.013868032455444336,
0.014048255920410157,
0.013916223526000977,
0.013841407775878906,
0.013928447723388672,
0.01386188793182373,
0.013845503807067871,
0.014009344100952148,
0.013846528053283692,
0.013808639526367187,
0.01395199966430664,
0.013811712265014648,
0.013888544082641601,
0.01387007999420166,
0.01398476791381836,
0.013839360237121581,
0.013853695869445801,
0.013854720115661622,
0.01380352020263672,
0.013917183876037598,
0.013900799751281738,
0.014058496475219727,
0.014078975677490235,
0.013868032455444336,
0.014088191986083985,
0.013923328399658203,
0.014172160148620605,
0.01394380760192871,
0.013848575592041015,
0.013858816146850587,
0.013923328399658203,
0.01397657585144043,
0.01387929630279541,
0.013808639526367187,
0.013856767654418945,
0.013917183876037598,
0.013833215713500976,
0.013920255661010742,
0.013868063926696777,
0.013928447723388672,
0.013855744361877441,
0.013888511657714844,
0.01390182399749756,
0.014022656440734863
]
},
"throughput": {
"unit": "samples/s",
"value": 71.98462414150991
},
"energy": {
"unit": "kWh",
"cpu": 1.5905534270371358e-07,
"ram": 8.68912881919565e-08,
"gpu": 3.390150860266746e-07,
"total": 5.849617169223446e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1709513.5819507877
}
}
}
}