IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
8ebf218 verified
raw
history blame
9.01 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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.536256,
"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.87911572265625,
"mean": 7.87911572265625,
"stdev": 0.0,
"p50": 7.87911572265625,
"p90": 7.87911572265625,
"p95": 7.87911572265625,
"p99": 7.87911572265625,
"values": [
7.87911572265625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.274191215276064e-07,
"ram": 4.925269699401566e-07,
"gpu": 1.7244458239999358e-06,
"total": 3.1443919154676985e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.394688,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 71,
"total": 0.9977590103149415,
"mean": 0.014052943807252695,
"stdev": 0.0004774239232851675,
"p50": 0.014009344100952148,
"p90": 0.014536704063415527,
"p95": 0.014864895820617676,
"p99": 0.015637353515624997,
"values": [
0.01647804832458496,
0.015277055740356446,
0.014790656089782715,
0.014370816230773926,
0.013956095695495606,
0.014325759887695312,
0.014176223754882812,
0.013817855834960938,
0.013935615539550781,
0.014064640045166015,
0.01417728042602539,
0.014296064376831055,
0.014289919853210448,
0.014054400444030762,
0.014014464378356933,
0.013837471961975097,
0.014285759925842285,
0.013973567962646484,
0.013956095695495606,
0.013850624084472657,
0.014049280166625976,
0.013824000358581542,
0.013940735816955567,
0.014009344100952148,
0.014079999923706055,
0.014106623649597168,
0.013994976043701172,
0.014206975936889648,
0.014018560409545898,
0.014038047790527343,
0.013902848243713378,
0.01387929630279541,
0.01407590389251709,
0.013923328399658203,
0.013963264465332031,
0.014142560005187989,
0.014046208381652832,
0.014649312019348144,
0.015078399658203125,
0.014939135551452636,
0.014194687843322755,
0.014092288017272948,
0.014002176284790039,
0.014108672142028808,
0.013827072143554688,
0.013938688278198242,
0.013666303634643554,
0.01409126377105713,
0.014253087997436523,
0.01439027214050293,
0.014536704063415527,
0.014210047721862793,
0.014095359802246094,
0.01467903995513916,
0.013966336250305175,
0.013370368003845215,
0.013489151954650879,
0.013502464294433594,
0.013892607688903809,
0.013794303894042969,
0.013664256095886231,
0.013757439613342285,
0.01349836826324463,
0.013510656356811524,
0.01346457576751709,
0.013443008422851562,
0.013394047737121582,
0.013492064476013184,
0.013593600273132325,
0.013569184303283691,
0.013473695755004882
]
},
"throughput": {
"unit": "samples/s",
"value": 71.15946763295973
},
"energy": {
"unit": "kWh",
"cpu": 1.6106660975975584e-07,
"ram": 8.798254001176066e-08,
"gpu": 3.3465492237837836e-07,
"total": 5.837040721498949e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1713196.8881368374
}
}
}
}