IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
953a08e verified
raw
history blame
9.29 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.285632,
"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.4.0",
"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": 707.997696,
"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.21139501953125,
"mean": 7.21139501953125,
"stdev": 0.0,
"p50": 7.21139501953125,
"p90": 7.21139501953125,
"p95": 7.21139501953125,
"p99": 7.21139501953125,
"values": [
7.21139501953125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0837778449058532e-06,
"ram": 5.784928516871446e-07,
"gpu": 2.040001631999251e-06,
"total": 3.702272328592249e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.339072,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 78,
"total": 1.0069902744293209,
"mean": 0.012910131723452838,
"stdev": 0.00037156017102415203,
"p50": 0.012788736343383789,
"p90": 0.013206118106842041,
"p95": 0.013268070173263551,
"p99": 0.014669875030517579,
"values": [
0.014776320457458495,
0.014457856178283691,
0.014638079643249511,
0.013190143585205078,
0.012893183708190918,
0.012796928405761718,
0.01307545566558838,
0.012893183708190918,
0.012789759635925293,
0.012760064125061036,
0.012788736343383789,
0.01277337646484375,
0.012785663604736328,
0.012780544281005859,
0.012807168006896973,
0.012755968093872071,
0.012969984054565429,
0.01306118392944336,
0.012858304023742675,
0.012804096221923827,
0.012806143760681152,
0.012890111923217774,
0.012821503639221191,
0.012783616065979005,
0.012767231941223145,
0.012798975944519043,
0.01278771209716797,
0.01275494384765625,
0.012805120468139648,
0.01277952003479004,
0.012794879913330079,
0.012750847816467285,
0.012796928405761718,
0.012783616065979005,
0.012753888130187989,
0.012788736343383789,
0.01276518440246582,
0.012761088371276855,
0.012760064125061036,
0.012816384315490722,
0.012796928405761718,
0.012741632461547851,
0.012795904159545898,
0.01273036766052246,
0.012766207695007324,
0.012777471542358398,
0.012780544281005859,
0.012755968093872071,
0.012701663970947265,
0.012841983795166016,
0.012791808128356934,
0.013133824348449707,
0.01324339199066162,
0.013280256271362305,
0.01324339199066162,
0.01324953556060791,
0.01326591968536377,
0.013111295700073243,
0.012747776031494141,
0.012760000228881836,
0.012794879913330079,
0.012829695701599121,
0.012752896308898925,
0.012785663604736328,
0.01275603199005127,
0.01275699234008789,
0.01275391960144043,
0.012772352218627929,
0.012741632461547851,
0.012751935958862304,
0.012781567573547363,
0.01277952003479004,
0.012782527923583984,
0.01275699234008789,
0.012797951698303223,
0.012792832374572754,
0.012896256446838379,
0.012768256187438964
]
},
"throughput": {
"unit": "samples/s",
"value": 77.4585435238726
},
"energy": {
"unit": "kWh",
"cpu": 1.5565470871643243e-07,
"ram": 8.510730644558578e-08,
"gpu": 3.6840577812987407e-07,
"total": 6.091677932918922e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1641583.8312726335
}
}
}
}