IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
7248ca4 verified
raw
history blame
9.1 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.224-212.876.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": "1.22.0",
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 885.776384,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.605184
},
"latency": {
"unit": "s",
"values": [
7.97376318359375
],
"count": 1,
"total": 7.97376318359375,
"mean": 7.97376318359375,
"p50": 7.97376318359375,
"p90": 7.97376318359375,
"p95": 7.97376318359375,
"p99": 7.97376318359375,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0152256918445348e-06,
"ram": 5.376251762597361e-07,
"gpu": 0.0,
"total": 1.5528508681042709e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1273.544704,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.013755392074584961,
0.01406668758392334,
0.01408409595489502,
0.01397657585144043,
0.014014431953430176,
0.014098431587219238,
0.013971455574035644,
0.013993984222412109,
0.013982720375061035,
0.013959168434143066,
0.013926400184631347,
0.01400115203857422,
0.013837311744689941,
0.013825023651123047,
0.013997056007385255,
0.013924351692199707,
0.013935615539550781,
0.013843456268310546,
0.013881440162658692,
0.013855744361877441,
0.013889535903930664,
0.013789183616638183,
0.01397657585144043,
0.013889599800109863,
0.014057472229003906,
0.013889535903930664,
0.01397760009765625,
0.013694975852966309,
0.01359769630432129,
0.013660223960876464,
0.01384943962097168,
0.01397657585144043,
0.01428172779083252,
0.014148608207702636,
0.013854751586914063,
0.013797375679016113,
0.013821951866149903,
0.01397555160522461,
0.014033920288085937,
0.014009344100952148,
0.014221311569213867,
0.013908960342407227,
0.013835264205932616,
0.013949952125549316,
0.014052351951599122,
0.013839360237121581,
0.014027775764465332,
0.013917183876037598,
0.013935456275939942,
0.013956031799316405,
0.01389568042755127,
0.013925375938415528,
0.013874176025390626,
0.013999103546142578,
0.013840383529663085,
0.014030847549438476,
0.01395404815673828,
0.014018560409545898,
0.01399295997619629,
0.01393558406829834,
0.013942784309387207,
0.013909088134765626,
0.014081024169921874,
0.013938688278198242,
0.013927424430847168,
0.01396224021911621,
0.014155808448791505,
0.01355571174621582,
0.013041664123535156,
0.013024191856384277,
0.013133824348449707,
0.013014016151428222
],
"count": 72,
"total": 0.9998989753723141,
"mean": 0.013887485769059925,
"p50": 0.01393559980392456,
"p90": 0.014065766048431396,
"p95": 0.014121011066436767,
"p99": 0.014238832273483278,
"stdev": 0.0002362550358998288,
"stdev_": 1.7012081223959479
},
"throughput": {
"unit": "samples/s",
"value": 72.00727450809782
},
"energy": {
"unit": "kWh",
"cpu": 1.6521774029772335e-07,
"ram": 9.028096259091457e-08,
"gpu": 3.472302160554028e-07,
"total": 6.027289189440407e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1659120.6570143737
}
}
}
}