IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
e63b051 verified
raw
history blame
8.98 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 773.001216,
"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.35817529296875,
"mean": 7.35817529296875,
"stdev": 0.0,
"p50": 7.35817529296875,
"p90": 7.35817529296875,
"p95": 7.35817529296875,
"p99": 7.35817529296875,
"values": [
7.35817529296875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0956030256945187e-06,
"ram": 5.848185676753905e-07,
"gpu": 0.0,
"total": 1.6804215933699094e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.712192,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.0080265913009645,
"mean": 0.014197557623957247,
"stdev": 0.0005036647198937583,
"p50": 0.014167039871215821,
"p90": 0.01472099208831787,
"p95": 0.014824448108673095,
"p99": 0.015783935928344723,
"values": [
0.0167587833404541,
0.015366144180297851,
0.014441472053527832,
0.014113792419433594,
0.014846976280212403,
0.014089216232299804,
0.014258175849914552,
0.014451711654663087,
0.014313535690307617,
0.01472099208831787,
0.014128128051757812,
0.014683135986328125,
0.014435327529907227,
0.014131199836730958,
0.014203904151916504,
0.014114815711975098,
0.014199808120727539,
0.01399292755126953,
0.014133248329162598,
0.014009344100952148,
0.01439129638671875,
0.01431446361541748,
0.01487667179107666,
0.014766079902648926,
0.014301183700561524,
0.014407679557800293,
0.014014464378356933,
0.014039039611816406,
0.01434108829498291,
0.014014464378356933,
0.014058496475219727,
0.01403388786315918,
0.014402560234069824,
0.014586879730224609,
0.014338047981262207,
0.01417728042602539,
0.014078975677490235,
0.014229503631591797,
0.013953023910522461,
0.014172160148620605,
0.01437491226196289,
0.013991935729980469,
0.01480191993713379,
0.014500864028930664,
0.014658559799194336,
0.014780415534973144,
0.014367744445800782,
0.014375935554504395,
0.014387200355529785,
0.014167039871215821,
0.014131199836730958,
0.014046208381652832,
0.014153727531433105,
0.013694975852966309,
0.01355571174621582,
0.013530112266540528,
0.013518848419189454,
0.014632960319519044,
0.014206975936889648,
0.014019583702087402,
0.013905920028686524,
0.013519904136657716,
0.013522944450378417,
0.01355673599243164,
0.013494272232055664,
0.013542400360107423,
0.013537280082702637,
0.013550623893737793,
0.01354751968383789,
0.01353932762145996,
0.013522944450378417
]
},
"throughput": {
"unit": "samples/s",
"value": 70.43464985220977
},
"energy": {
"unit": "kWh",
"cpu": 1.6143106225600544e-07,
"ram": 8.821151293742761e-08,
"gpu": 3.4808961781080834e-07,
"total": 5.977321930042414e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1672990.0308262368
}
}
}
}