IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
0f8e15b verified
raw
history blame
7.89 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",
"numactl": false,
"numactl_kwargs": {},
"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.41.0",
"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.536128,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.0081064615249633,
"mean": 0.014198682556689627,
"stdev": 0.0005068508079613693,
"p50": 0.014232576370239258,
"p90": 0.014790656089782715,
"p95": 0.015072256088256835,
"p99": 0.015660134506225585,
"values": [
0.015837183952331545,
0.015584256172180176,
0.015238143920898438,
0.014712832450866698,
0.014153727531433105,
0.014154751777648926,
0.014261247634887696,
0.014422016143798828,
0.014307295799255371,
0.014298111915588378,
0.014348287582397461,
0.0142807035446167,
0.014226431846618653,
0.01419264030456543,
0.014170111656188965,
0.014221343994140625,
0.01425920009613037,
0.014794783592224121,
0.01511526393890381,
0.014381055831909179,
0.014232576370239258,
0.014234623908996581,
0.014407679557800293,
0.014252032279968262,
0.014178272247314452,
0.014232576370239258,
0.014364671707153321,
0.014569472312927247,
0.014782464027404785,
0.015029248237609863,
0.014739456176757813,
0.014130175590515137,
0.014137344360351562,
0.01396735954284668,
0.0142673921585083,
0.01467903995513916,
0.0148602876663208,
0.014790656089782715,
0.014523391723632812,
0.014568448066711426,
0.014393343925476074,
0.01427353572845459,
0.014315520286560059,
0.014294015884399413,
0.013766624450683594,
0.013677568435668945,
0.013612031936645508,
0.013603839874267578,
0.013591551780700683,
0.013608960151672364,
0.013609984397888183,
0.013599743843078613,
0.013558783531188966,
0.013619199752807617,
0.013562879562377929,
0.01359769630432129,
0.01364684772491455,
0.013733887672424316,
0.013713408470153808,
0.013598719596862792,
0.013661184310913087,
0.013631487846374512,
0.013576191902160644,
0.013645824432373046,
0.01355673599243164,
0.013611007690429687,
0.013553664207458497,
0.014756863594055175,
0.014309375762939454,
0.014287872314453125,
0.014231552124023437
]
},
"throughput": {
"unit": "samples/s",
"value": 70.42906945819813
},
"energy": {
"unit": "kWh",
"cpu": 1.6723475499145676e-07,
"ram": 9.13535853330141e-08,
"gpu": 3.641747827323887e-07,
"total": 6.227631230568596e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1605746.973410142
}
}
}
}