IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
28cdac2 verified
raw
history blame
9.18 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.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.678208,
"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.12871337890625,
"mean": 7.12871337890625,
"stdev": 0.0,
"p50": 7.12871337890625,
"p90": 7.12871337890625,
"p95": 7.12871337890625,
"p99": 7.12871337890625,
"values": [
7.12871337890625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0476234886381362e-06,
"ram": 5.586786789320778e-07,
"gpu": 0.0,
"total": 1.606302167570214e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.02368,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 76,
"total": 1.0032975397109984,
"mean": 0.013201283417249982,
"stdev": 0.0004879419353521708,
"p50": 0.013124608039855958,
"p90": 0.013720576286315917,
"p95": 0.013783759832382203,
"p99": 0.014864896297454834,
"values": [
0.01508454418182373,
0.014791680335998534,
0.01377683162689209,
0.013594623565673827,
0.013804544448852539,
0.013050880432128906,
0.013046784400939941,
0.013415424346923829,
0.013684736251831055,
0.01356390380859375,
0.013557760238647461,
0.01369600009918213,
0.01367142391204834,
0.013541376113891602,
0.013389823913574218,
0.013146112442016602,
0.013080544471740722,
0.0134717435836792,
0.013137920379638672,
0.01359769630432129,
0.013971455574035644,
0.013763584136962891,
0.013607935905456543,
0.013774847984313965,
0.013649920463562011,
0.013594623565673827,
0.013504511833190918,
0.013301759719848634,
0.013159423828125,
0.013100031852722169,
0.013116415977478027,
0.013084671974182128,
0.013477888107299805,
0.013519807815551758,
0.013239295959472656,
0.013131775856018067,
0.013234175682067872,
0.012982272148132324,
0.01291881561279297,
0.01307033634185791,
0.012860416412353515,
0.012725248336791992,
0.013255680084228515,
0.013628416061401367,
0.013745152473449707,
0.013554688453674316,
0.013393919944763183,
0.01335910415649414,
0.013223936080932617,
0.013117440223693847,
0.013016063690185547,
0.012981247901916505,
0.013038592338562012,
0.013044735908508302,
0.013017087936401368,
0.012997632026672363,
0.0130764799118042,
0.012676095962524414,
0.012606464385986327,
0.012739583969116211,
0.012597248077392579,
0.01260540771484375,
0.012649472236633302,
0.012623871803283691,
0.012591103553771972,
0.01268012809753418,
0.0126310396194458,
0.01265561580657959,
0.01259004783630371,
0.012606464385986327,
0.012606464385986327,
0.012609536170959473,
0.012604415893554688,
0.012610560417175292,
0.012667903900146485,
0.012602368354797363
]
},
"throughput": {
"unit": "samples/s",
"value": 75.75021067219194
},
"energy": {
"unit": "kWh",
"cpu": 1.5071958051955148e-07,
"ram": 8.238161498343024e-08,
"gpu": 3.419904283037955e-07,
"total": 5.750916238067772e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1738853.3558888803
}
}
}
}