IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
57fdaa4 verified
raw
history blame
9.12 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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": 708.071424,
"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.24689697265625,
"mean": 7.24689697265625,
"stdev": 0.0,
"p50": 7.24689697265625,
"p90": 7.24689697265625,
"p95": 7.24689697265625,
"p99": 7.24689697265625,
"values": [
7.24689697265625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0703350106875103e-06,
"ram": 5.709769623044281e-07,
"gpu": 1.6341679739996506e-06,
"total": 3.275479946991589e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.429184,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.008852767944336,
"mean": 0.013633145512761296,
"stdev": 0.0004509882351478129,
"p50": 0.01377894401550293,
"p90": 0.014081741046905518,
"p95": 0.014286571121215818,
"p99": 0.01467116581916809,
"values": [
0.014935040473937988,
0.014462976455688477,
0.014573568344116212,
0.01336729621887207,
0.013108223915100097,
0.013172703742980957,
0.013270015716552735,
0.013305855751037597,
0.01316864013671875,
0.013167615890502929,
0.013207551956176757,
0.013171711921691894,
0.013163519859313964,
0.013144031524658203,
0.013195263862609862,
0.013136896133422851,
0.01304576015472412,
0.013132767677307129,
0.0131778564453125,
0.013195263862609862,
0.01318502426147461,
0.0131594877243042,
0.013156352043151855,
0.013154272079467774,
0.013220864295959473,
0.013201408386230469,
0.013204480171203613,
0.013198335647583008,
0.013150208473205567,
0.013151231765747071,
0.013099007606506348,
0.012978176116943359,
0.013017087936401368,
0.01294643211364746,
0.013455360412597657,
0.013901760101318359,
0.0140697603225708,
0.014073856353759765,
0.014028800010681153,
0.014032896041870118,
0.014070783615112305,
0.013906944274902343,
0.014094335556030273,
0.014191583633422851,
0.014011391639709473,
0.01406771183013916,
0.014088191986083985,
0.014029824256896972,
0.014016511917114258,
0.01408512020111084,
0.014557184219360352,
0.014002143859863281,
0.013964256286621094,
0.01397657585144043,
0.013857791900634766,
0.013831168174743653,
0.013859840393066406,
0.01380352020263672,
0.013797375679016113,
0.013763584136962891,
0.013814784049987794,
0.013773823738098144,
0.01385267162322998,
0.013847552299499511,
0.013850624084472657,
0.013775872230529786,
0.013845503807067871,
0.01385267162322998,
0.013956095695495606,
0.013782015800476074,
0.013632512092590332,
0.013667327880859375,
0.013907967567443847,
0.013830143928527832
]
},
"throughput": {
"unit": "samples/s",
"value": 73.35064377211779
},
"energy": {
"unit": "kWh",
"cpu": 1.600097562815692e-07,
"ram": 8.74868651832737e-08,
"gpu": 3.376691890540486e-07,
"total": 5.851658105188915e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1708917.339366183
}
}
}
}