IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f9b835b 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": "error",
"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.33.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": 790.368256,
"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.3671923828125,
"mean": 7.3671923828125,
"stdev": 0.0,
"p50": 7.3671923828125,
"p90": 7.3671923828125,
"p95": 7.3671923828125,
"p99": 7.3671923828125,
"values": [
7.3671923828125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.099706756949723e-07,
"ram": 4.828211763469639e-07,
"gpu": 1.8494459239999303e-06,
"total": 3.242237776041866e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1086.005248,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 134,
"total": 0.9998212776184084,
"mean": 0.007461352818047822,
"stdev": 0.00027018039636537874,
"p50": 0.007346176147460938,
"p90": 0.007700377655029297,
"p95": 0.007982847929000851,
"p99": 0.00844032989501953,
"values": [
0.00840396785736084,
0.008361984252929687,
0.008372223854064942,
0.0083056640625,
0.008334336280822753,
0.008649727821350098,
0.0075335679054260255,
0.007321599960327148,
0.007296000003814697,
0.007328832149505615,
0.007280640125274658,
0.007309343814849854,
0.00733900785446167,
0.007285759925842285,
0.0073062400817871095,
0.00728166389465332,
0.007260159969329834,
0.007293983936309815,
0.007299071788787842,
0.007277567863464355,
0.007301119804382325,
0.007278592109680176,
0.007319551944732666,
0.007280640125274658,
0.007315455913543701,
0.00725708818435669,
0.0072724480628967286,
0.007270400047302246,
0.007277567863464355,
0.007327744007110596,
0.0072765440940856935,
0.007262207984924316,
0.00719974422454834,
0.00719974422454834,
0.007188479900360107,
0.007189504146575928,
0.007161856174468994,
0.007218175888061523,
0.00722431993484497,
0.007256063938140869,
0.007490560054779053,
0.0075304961204528805,
0.007738368034362793,
0.008458239555358887,
0.007618559837341309,
0.007505919933319092,
0.007494656085968018,
0.007319551944732666,
0.007307263851165771,
0.007279615879058838,
0.007311391830444336,
0.007693312168121338,
0.007504896163940429,
0.007544832229614258,
0.007493631839752197,
0.007404543876647949,
0.007346176147460938,
0.007788544178009033,
0.007550975799560547,
0.007272480010986328,
0.00738918399810791,
0.00733900785446167,
0.007324672222137451,
0.00733081579208374,
0.0073062400817871095,
0.007327744007110596,
0.007259136199951172,
0.0073134078979492185,
0.007311359882354736,
0.007307263851165771,
0.007342016220092774,
0.007312320232391358,
0.007268352031707764,
0.0073400321006774905,
0.007350272178649903,
0.007355391979217529,
0.007349247932434082,
0.007391232013702393,
0.007360511779785156,
0.007277567863464355,
0.007365632057189942,
0.007337984085083008,
0.007321599960327148,
0.007367680072784424,
0.007324672222137451,
0.007288832187652588,
0.007294976234436036,
0.007323647975921631,
0.007328767776489258,
0.007309311866760254,
0.007305247783660889,
0.007277567863464355,
0.007346176147460938,
0.007809023857116699,
0.0076912641525268555,
0.007684095859527588,
0.007715839862823487,
0.007726079940795898,
0.007702527999877929,
0.0077086081504821775,
0.007610367774963379,
0.007601151943206787,
0.007610367774963379,
0.007577600002288819,
0.007624703884124756,
0.007612415790557861,
0.007554048061370849,
0.007569407939910889,
0.007558144092559814,
0.007646207809448242,
0.007589888095855713,
0.00754585599899292,
0.007582719802856445,
0.007553023815155029,
0.007531519889831543,
0.007583744049072265,
0.0075673599243164065,
0.007549952030181885,
0.0075673599243164065,
0.00769536018371582,
0.007518208026885987,
0.007510015964508057,
0.007519231796264648,
0.007450623989105225,
0.007521279811859131,
0.0074700798988342285,
0.0074926080703735356,
0.007453695774078369,
0.007442431926727295,
0.007372735977172851,
0.00722431993484497,
0.007264256000518799,
0.007237631797790528,
0.007255040168762207
]
},
"throughput": {
"unit": "samples/s",
"value": 134.02395308008482
},
"energy": {
"unit": "kWh",
"cpu": 8.683665835360762e-08,
"ram": 4.747837311443555e-08,
"gpu": 1.677110019708023e-07,
"total": 3.0202603343884546e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3310972.860895718
}
}
}
}