
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
afbeaa3
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 793.66144, | |
"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.64574951171875, | |
"mean": 7.64574951171875, | |
"stdev": 0.0, | |
"p50": 7.64574951171875, | |
"p90": 7.64574951171875, | |
"p95": 7.64574951171875, | |
"p99": 7.64574951171875, | |
"values": [ | |
7.64574951171875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.3205782708334114e-06, | |
"ram": 1.2559983104854792e-06, | |
"gpu": 3.1161136039999614e-06, | |
"total": 6.692690185318852e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1089.757184, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9979848346710207, | |
"mean": 0.007796756520867348, | |
"stdev": 0.00034978219893374294, | |
"p50": 0.00785921597480774, | |
"p90": 0.00800491542816162, | |
"p95": 0.008075028753280639, | |
"p99": 0.008476518545150758, | |
"values": [ | |
0.010724351882934571, | |
0.008544256210327148, | |
0.008173567771911621, | |
0.0081080322265625, | |
0.008080415725708008, | |
0.008065024375915527, | |
0.008060928344726562, | |
0.008004608154296875, | |
0.007938015937805175, | |
0.00794316816329956, | |
0.007933951854705811, | |
0.007844863891601562, | |
0.007844863891601562, | |
0.007828479766845703, | |
0.00786636781692505, | |
0.007898079872131347, | |
0.008293375968933106, | |
0.007970816135406494, | |
0.007942143917083741, | |
0.007993279933929443, | |
0.0079267840385437, | |
0.00800051212310791, | |
0.007993343830108643, | |
0.007983104228973388, | |
0.007960608005523681, | |
0.00802716827392578, | |
0.00790835189819336, | |
0.007974912166595459, | |
0.007953375816345214, | |
0.007977983951568603, | |
0.007870463848114014, | |
0.00783564805984497, | |
0.00785923194885254, | |
0.007853024005889893, | |
0.007885824203491211, | |
0.007917600154876709, | |
0.007773183822631836, | |
0.007923520088195801, | |
0.007988224029541016, | |
0.007981056213378907, | |
0.00800972843170166, | |
0.007955455780029297, | |
0.00798406410217285, | |
0.007882751941680909, | |
0.007940095901489258, | |
0.008005632400512695, | |
0.007929855823516846, | |
0.007989247798919678, | |
0.007913440227508546, | |
0.007848959922790527, | |
0.007865344047546387, | |
0.00785920000076294, | |
0.007924736022949219, | |
0.007972864151000977, | |
0.007824384212493896, | |
0.00787660789489746, | |
0.007924736022949219, | |
0.007857151985168457, | |
0.007880703926086426, | |
0.007867392063140868, | |
0.007899136066436767, | |
0.008085503578186035, | |
0.007987199783325195, | |
0.008003583908081055, | |
0.007976960182189942, | |
0.007919616222381591, | |
0.00788479995727539, | |
0.007932928085327149, | |
0.007869376182556152, | |
0.007956480026245117, | |
0.00783564805984497, | |
0.007830527782440186, | |
0.007709695816040039, | |
0.007763967990875244, | |
0.007853055953979492, | |
0.007659520149230957, | |
0.007481344223022461, | |
0.0076687359809875484, | |
0.007758848190307617, | |
0.007885824203491211, | |
0.007863296031951903, | |
0.007853055953979492, | |
0.007919616222381591, | |
0.008020992279052735, | |
0.007700479984283447, | |
0.007547904014587403, | |
0.007536640167236328, | |
0.0075038719177246095, | |
0.007528448104858398, | |
0.007550975799560547, | |
0.0075304961204528805, | |
0.007511040210723877, | |
0.0075038719177246095, | |
0.007510015964508057, | |
0.00748748779296875, | |
0.007479296207427978, | |
0.007460800170898438, | |
0.00745472002029419, | |
0.007458816051483155, | |
0.007476191997528076, | |
0.007450623989105225, | |
0.0074741759300231934, | |
0.007463935852050781, | |
0.007472127914428711, | |
0.007512063980102539, | |
0.007452672004699707, | |
0.007479296207427978, | |
0.007451648235321045, | |
0.007436287879943848, | |
0.007461887836456299, | |
0.0074629120826721195, | |
0.007478271961212158, | |
0.007490560054779053, | |
0.007463935852050781, | |
0.0074670081138610836, | |
0.007443456172943115, | |
0.007456768035888672, | |
0.007460832118988037, | |
0.007489535808563232, | |
0.007476223945617676, | |
0.007492671966552735, | |
0.007483391761779785, | |
0.007460864067077637, | |
0.007458816051483155, | |
0.007475200176239013, | |
0.007460864067077637, | |
0.007478271961212158, | |
0.007504896163940429 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.2584620057823 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.64493359134238e-08, | |
"ram": 4.7264717007952705e-08, | |
"gpu": 1.5544010813138835e-07, | |
"total": 2.891541610527649e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3458362.8205769444 | |
} | |
} | |
} | |
} |