IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
87e4900 verified
raw
history blame
10.4 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 907.993088,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9966817288398742,
"mean": 0.007608257472060109,
"stdev": 0.0003094951619866443,
"p50": 0.007480319976806641,
"p90": 0.008044544219970704,
"p95": 0.008082432270050049,
"p99": 0.008384717082977295,
"values": [
0.008470527648925781,
0.008196096420288086,
0.008225791931152344,
0.007710720062255859,
0.007662591934204102,
0.007581696033477783,
0.008262656211853027,
0.008069120407104492,
0.00797388792037964,
0.007987199783325195,
0.008019968032836914,
0.007923711776733398,
0.0078919677734375,
0.008095744132995606,
0.007516160011291504,
0.0075008001327514645,
0.00760319995880127,
0.007493631839752197,
0.00754585599899292,
0.007550975799560547,
0.007513088226318359,
0.007548927783966064,
0.007478271961212158,
0.007568384170532226,
0.007478271961212158,
0.007402495861053467,
0.007718912124633789,
0.007882751941680909,
0.008380415916442872,
0.00795136022567749,
0.007970816135406494,
0.008010751724243164,
0.008054783821105957,
0.00802406406402588,
0.007969791889190675,
0.007985151767730713,
0.008053759574890136,
0.007946239948272706,
0.007961599826812745,
0.00788479995727539,
0.007905280113220215,
0.007967743873596191,
0.008056832313537597,
0.007938047885894776,
0.007913472175598145,
0.008044544219970704,
0.00790835189819336,
0.007910399913787843,
0.008060928344726562,
0.007693312168121338,
0.0075673599243164065,
0.007552000045776367,
0.007502880096435547,
0.007463935852050781,
0.007498752117156982,
0.007418879985809326,
0.007375872135162354,
0.007267327785491944,
0.007243775844573975,
0.007455743789672851,
0.007287807941436767,
0.007068672180175781,
0.007337984085083008,
0.007121920108795166,
0.007157760143280029,
0.007502848148345947,
0.00787660789489746,
0.007946239948272706,
0.008045568466186523,
0.007949312210083008,
0.007863296031951903,
0.007856128215789794,
0.008386560440063476,
0.007308288097381592,
0.007153600215911865,
0.007103487968444824,
0.007154687881469727,
0.007117824077606201,
0.007001088142395019,
0.0069816322326660156,
0.007304192066192627,
0.007452672004699707,
0.007401472091674805,
0.0074301438331604,
0.007450623989105225,
0.00740556812286377,
0.007334911823272705,
0.007400447845458984,
0.007511040210723877,
0.007449600219726562,
0.007528448104858398,
0.007413760185241699,
0.00743936014175415,
0.007483391761779785,
0.007426047801971435,
0.007463903903961182,
0.007480319976806641,
0.007412735939025879,
0.007378943920135498,
0.0074711041450500485,
0.00744755220413208,
0.0074629120826721195,
0.007401472091674805,
0.007457791805267334,
0.0074332160949707035,
0.007395328044891358,
0.007327744007110596,
0.00733081579208374,
0.007860223770141601,
0.007478271961212158,
0.007444479942321777,
0.007502848148345947,
0.007455743789672851,
0.007437312126159668,
0.007465983867645264,
0.007426047801971435,
0.0074414081573486324,
0.007402495861053467,
0.007480319976806641,
0.007476223945617676,
0.007464960098266602,
0.007482367992401123,
0.007463935852050781,
0.007425024032592774,
0.007394303798675537,
0.007473152160644531,
0.007448575973510742,
0.0074403839111328125,
0.007427135944366455,
0.007455743789672851,
0.00740556812286377
]
},
"throughput": {
"unit": "samples/s",
"value": 131.43614075526642
},
"energy": {
"unit": "kWh",
"cpu": 8.938261117154395e-08,
"ram": 4.88684621303629e-08,
"gpu": 1.618714745263185e-07,
"total": 3.0012254782822537e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3331972.246791495
}
}
}
}