IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c8054c6 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-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": "warn",
"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": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 788.60288,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.436861328125,
"mean": 7.436861328125,
"stdev": 0.0,
"p50": 7.436861328125,
"p90": 7.436861328125,
"p95": 7.436861328125,
"p99": 7.436861328125,
"values": [
7.436861328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.816500215274915e-07,
"ram": 4.677787136060133e-07,
"gpu": 0.0,
"total": 1.3494287351335048e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.510208,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 133,
"total": 0.9999945607185367,
"mean": 0.007518756095628093,
"stdev": 0.0001439768934253456,
"p50": 0.007485439777374267,
"p90": 0.007649894523620605,
"p95": 0.0077441024780273435,
"p99": 0.007928709087371826,
"values": [
0.007950335979461669,
0.007802879810333252,
0.00781004810333252,
0.007782400131225586,
0.007738368034362793,
0.007716864109039307,
0.007726079940795898,
0.008567808151245117,
0.007882751941680909,
0.007608320236206055,
0.007601151943206787,
0.007519231796264648,
0.007588863849639893,
0.007477248191833496,
0.007493631839752197,
0.007491583824157715,
0.007482367992401123,
0.0074700798988342285,
0.007574528217315674,
0.007519231796264648,
0.007519231796264648,
0.007460864067077637,
0.007464960098266602,
0.007520256042480469,
0.007502848148345947,
0.007480319976806641,
0.007477248191833496,
0.007477248191833496,
0.007484416007995606,
0.007529471874237061,
0.0074486079216003415,
0.007589888095855713,
0.0074629120826721195,
0.007456768035888672,
0.007504896163940429,
0.007477312088012695,
0.007486464023590088,
0.007458816051483155,
0.007426047801971435,
0.00745472002029419,
0.007462975978851319,
0.007453695774078369,
0.0074670081138610836,
0.007442431926727295,
0.007486527919769287,
0.007464960098266602,
0.007354368209838867,
0.007409664154052734,
0.007476223945617676,
0.007458816051483155,
0.007328767776489258,
0.007312416076660156,
0.007299071788787842,
0.007319519996643067,
0.0075008001327514645,
0.007442431926727295,
0.007449535846710205,
0.007477248191833496,
0.007455711841583252,
0.0075038719177246095,
0.00744755220413208,
0.007508992195129394,
0.007486464023590088,
0.007635968208312988,
0.007463935852050781,
0.00775270414352417,
0.007355391979217529,
0.007423999786376953,
0.007451648235321045,
0.007489535808563232,
0.007480319976806641,
0.007366655826568603,
0.00733081579208374,
0.007388192176818848,
0.0073471999168395995,
0.0073134078979492185,
0.007349247932434082,
0.007554048061370849,
0.007486464023590088,
0.007573503971099854,
0.007485439777374267,
0.007510015964508057,
0.00749567985534668,
0.007489535808563232,
0.0075970559120178225,
0.007478271961212158,
0.007477248191833496,
0.007482367992401123,
0.007513088226318359,
0.007485439777374267,
0.007702527999877929,
0.007612415790557861,
0.007479296207427978,
0.0074926080703735356,
0.0074629120826721195,
0.007480319976806641,
0.007491583824157715,
0.007488512039184571,
0.007489535808563232,
0.007574560165405274,
0.007662591934204102,
0.007570432186126709,
0.007609344005584716,
0.007566336154937744,
0.00758681583404541,
0.007571455955505371,
0.007473152160644531,
0.007453695774078369,
0.0074629120826721195,
0.007514111995697022,
0.007422976016998291,
0.007404543876647949,
0.007415808200836181,
0.007414783954620361,
0.007413760185241699,
0.007421919822692871,
0.007448575973510742,
0.007407616138458252,
0.007420928001403809,
0.00743936014175415,
0.007725056171417236,
0.007622719764709473,
0.007613440036773681,
0.0076063041687011715,
0.007592959880828858,
0.00759603214263916,
0.00765337610244751,
0.007552000045776367,
0.007577600002288819,
0.007568384170532226,
0.007591904163360596,
0.007619584083557129,
0.00744649600982666
]
},
"throughput": {
"unit": "samples/s",
"value": 133.0007234283696
},
"energy": {
"unit": "kWh",
"cpu": 8.686931769058958e-08,
"ram": 4.749456042825863e-08,
"gpu": 1.5708244521168087e-07,
"total": 2.914463233305291e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3431163.5452196132
}
}
}
}