IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
f67d14d verified
raw
history blame
7.84 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",
"model": "microsoft/deberta-v3-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.2576,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0083922910690306,
"mean": 0.014405604158129012,
"stdev": 0.0004794734939388193,
"p50": 0.014235648155212402,
"p90": 0.014927871894836426,
"p95": 0.015397478246688842,
"p99": 0.015928831815719607,
"values": [
0.016570432662963867,
0.015566847801208495,
0.01549516773223877,
0.015640576362609862,
0.014824447631835937,
0.014640128135681153,
0.014393407821655274,
0.014565376281738282,
0.014671872138977051,
0.014258175849914552,
0.014014464378356933,
0.014052351951599122,
0.014145536422729492,
0.014072832107543945,
0.014042112350463867,
0.014030816078186036,
0.014020607948303223,
0.013926400184631347,
0.013937664031982423,
0.01398681640625,
0.01417523193359375,
0.014321663856506347,
0.014213120460510254,
0.013982720375061035,
0.01415167999267578,
0.01397657585144043,
0.013947903633117676,
0.01387929630279541,
0.01417625617980957,
0.01388748836517334,
0.013949952125549316,
0.013922304153442382,
0.01470464038848877,
0.015278079986572265,
0.015205375671386719,
0.014920703887939453,
0.014812128067016601,
0.01499238395690918,
0.014680064201354981,
0.014793760299682617,
0.014520319938659668,
0.014552063941955566,
0.014633983612060546,
0.014803999900817872,
0.014805983543395997,
0.01435750389099121,
0.014278656005859374,
0.014236672401428223,
0.014279680252075195,
0.014299136161804199,
0.014248959541320801,
0.014244864463806153,
0.014178303718566895,
0.014216192245483398,
0.014160863876342774,
0.014211071968078613,
0.01466163158416748,
0.014203904151916504,
0.014222335815429688,
0.014229536056518555,
0.014234623908996581,
0.014224384307861328,
0.014241791725158692,
0.014213120460510254,
0.014206975936889648,
0.014255104064941406,
0.014222335815429688,
0.014262271881103515,
0.014169088363647461,
0.014189567565917969
]
},
"throughput": {
"unit": "samples/s",
"value": 69.41742873281055
},
"energy": {
"unit": "kWh",
"cpu": 1.699695440511855e-07,
"ram": 9.288018814394101e-08,
"gpu": 3.4962726382857373e-07,
"total": 6.124769960237002e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1632714.3819150135
}
}
}
}