IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8c4ca70 verified
raw
history blame
11.3 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"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": 790.265856,
"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.41446044921875,
"mean": 7.41446044921875,
"stdev": 0.0,
"p50": 7.41446044921875,
"p90": 7.41446044921875,
"p95": 7.41446044921875,
"p99": 7.41446044921875,
"values": [
7.41446044921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.974634923605704e-07,
"ram": 4.7635146997811017e-07,
"gpu": 1.8663903820002707e-06,
"total": 3.2402053443389515e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1086.17728,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 127,
"total": 1.0023935699462891,
"mean": 0.007892862755482592,
"stdev": 0.00029893617444170243,
"p50": 0.00798201608657837,
"p90": 0.008220057868957518,
"p95": 0.008282111644744872,
"p99": 0.008716615905761718,
"values": [
0.00828825569152832,
0.008267775535583496,
0.008251392364501953,
0.008231936454772949,
0.008226816177368163,
0.008053759574890136,
0.008049663543701171,
0.008040448188781739,
0.008036352157592774,
0.008028160095214844,
0.008029184341430663,
0.00796569585800171,
0.008064000129699708,
0.008080351829528808,
0.008026111602783203,
0.008111104011535645,
0.008068096160888672,
0.008095744132995606,
0.008013824462890624,
0.008006688117980956,
0.008069120407104492,
0.008076288223266602,
0.008042495727539062,
0.008116224288940429,
0.008061951637268066,
0.008065024375915527,
0.008058879852294922,
0.008056832313537597,
0.008049663543701171,
0.008122367858886719,
0.007987199783325195,
0.00808140754699707,
0.00806604766845703,
0.008349696159362792,
0.008551424026489257,
0.00802406406402588,
0.008096768379211425,
0.008151040077209473,
0.008101887702941894,
0.008144895553588867,
0.008049663543701171,
0.008020992279052735,
0.007968768119812012,
0.00801587200164795,
0.008031231880187988,
0.008035327911376953,
0.008065024375915527,
0.00791756820678711,
0.007914495944976807,
0.008258560180664062,
0.008774656295776367,
0.008983551979064941,
0.008175616264343261,
0.008064000129699708,
0.007958528041839599,
0.007995391845703125,
0.007975935935974121,
0.007947264194488525,
0.008069120407104492,
0.008179712295532226,
0.00821555233001709,
0.008236031532287597,
0.008121343612670898,
0.008068096160888672,
0.00795750379562378,
0.007984127998352051,
0.007944191932678223,
0.007945216178894043,
0.00795750379562378,
0.007847936153411865,
0.00801478385925293,
0.0076912641525268555,
0.007805952072143555,
0.007878687858581543,
0.00764415979385376,
0.007621632099151611,
0.007708672046661377,
0.007857151985168457,
0.00799232006072998,
0.007944191932678223,
0.007941120147705078,
0.00798201608657837,
0.008025119781494141,
0.007823359966278077,
0.008368127822875977,
0.0083056640625,
0.0074291200637817386,
0.007261184215545655,
0.007229440212249756,
0.007447616100311279,
0.00758681583404541,
0.007546879768371582,
0.007721983909606934,
0.0075642881393432615,
0.007536640167236328,
0.007540736198425293,
0.007583744049072265,
0.007526400089263916,
0.007648255825042725,
0.007543807983398438,
0.007505919933319092,
0.0075038719177246095,
0.007452672004699707,
0.007577600002288819,
0.0076984319686889645,
0.0075335679054260255,
0.007536640167236328,
0.007518208026885987,
0.007572480201721191,
0.007584767818450928,
0.007498752117156982,
0.007558144092559814,
0.007601151943206787,
0.007569407939910889,
0.007554048061370849,
0.0075263681411743165,
0.007535615921020508,
0.007526400089263916,
0.007589888095855713,
0.0075304961204528805,
0.007489535808563232,
0.007520256042480469,
0.007536640167236328,
0.007536640167236328,
0.007560192108154297,
0.007566336154937744,
0.007550975799560547
]
},
"throughput": {
"unit": "samples/s",
"value": 126.69674248489541
},
"energy": {
"unit": "kWh",
"cpu": 8.817095245884836e-08,
"ram": 4.820595494603514e-08,
"gpu": 1.665433431111128e-07,
"total": 3.029202505159963e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3301198.907291915
}
}
}
}