IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
43f36f0 verified
raw
history blame
10.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 907.657216,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9971831350326542,
"mean": 0.007386541740982621,
"stdev": 0.00026645907294982997,
"p50": 0.007373824119567871,
"p90": 0.007563878536224365,
"p95": 0.00814591007232666,
"p99": 0.008316989517211914,
"values": [
0.008478655815124511,
0.008133631706237793,
0.008255488395690918,
0.008190976142883302,
0.008174559593200684,
0.008190976142883302,
0.008348671913146973,
0.008223775863647462,
0.007580671787261963,
0.007560192108154297,
0.007553023815155029,
0.007570432186126709,
0.007557055950164795,
0.007541728019714355,
0.007536640167236328,
0.007566336154937744,
0.007529471874237061,
0.007494656085968018,
0.00749567985534668,
0.007513088226318359,
0.007529471874237061,
0.007502848148345947,
0.0074967041015625,
0.007601151943206787,
0.0075038719177246095,
0.007501823902130127,
0.007489535808563232,
0.007490496158599854,
0.007514143943786621,
0.007504896163940429,
0.007510015964508057,
0.007524352073669433,
0.007490560054779053,
0.007515135765075683,
0.007498752117156982,
0.007452672004699707,
0.0074629120826721195,
0.0073431038856506346,
0.007434239864349365,
0.007425024032592774,
0.0074291200637817386,
0.007432191848754883,
0.007374847888946533,
0.007303167819976806,
0.007208960056304932,
0.007203839778900147,
0.0072130560874938965,
0.0072037439346313474,
0.0071485438346862796,
0.007187456130981445,
0.007207935810089112,
0.007206912040710449,
0.00719155216217041,
0.007151616096496582,
0.0071792640686035155,
0.007214111804962158,
0.007194623947143554,
0.0072202239036560055,
0.00714137601852417,
0.007180287837982178,
0.007206912040710449,
0.007229440212249756,
0.007225312232971191,
0.0071905279159545895,
0.007214079856872559,
0.007221248149871826,
0.007845888137817383,
0.007244768142700195,
0.007228415966033935,
0.007164927959442138,
0.007214079856872559,
0.007243775844573975,
0.007226367950439453,
0.0072499198913574215,
0.007203839778900147,
0.007151616096496582,
0.00720582389831543,
0.007211008071899414,
0.007233535766601563,
0.007215104103088379,
0.007177216053009033,
0.007201791763305664,
0.00719974422454834,
0.007261184215545655,
0.007195648193359375,
0.0071526398658752445,
0.007188479900360107,
0.007198719978332519,
0.007279615879058838,
0.0074301438331604,
0.007486464023590088,
0.007566336154937744,
0.007416831970214844,
0.007431168079376221,
0.0074332160949707035,
0.007422976016998291,
0.007451648235321045,
0.007457791805267334,
0.007516160011291504,
0.007385087966918945,
0.007427072048187256,
0.007445504188537597,
0.007458816051483155,
0.007455743789672851,
0.007452608108520508,
0.007378943920135498,
0.007132160186767578,
0.007147520065307617,
0.007154687881469727,
0.007159776210784912,
0.00713318395614624,
0.007098368167877197,
0.00713318395614624,
0.007130112171173096,
0.007144447803497315,
0.007200767993927002,
0.007146495819091797,
0.007208960056304932,
0.0074332160949707035,
0.007451648235321045,
0.007477248191833496,
0.007434239864349365,
0.007366655826568603,
0.007103487968444824,
0.007112703800201416,
0.0071188478469848635,
0.0071015038490295414,
0.007049215793609619,
0.007205887794494629,
0.007387135982513428,
0.007373824119567871,
0.0074035201072692874,
0.007391232013702393,
0.007346176147460938,
0.007358528137207031
]
},
"throughput": {
"unit": "samples/s",
"value": 135.38135098482115
},
"energy": {
"unit": "kWh",
"cpu": 8.878777078530484e-08,
"ram": 4.853482450518858e-08,
"gpu": 1.643782409552177e-07,
"total": 3.017008362457111e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3314541.6911790734
}
}
}
}