
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a85afa4
verified
{ | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.41.0", | |
"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.440128, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 1.0016593632698059, | |
"mean": 0.0075883285096197415, | |
"stdev": 0.0002455915954477718, | |
"p50": 0.007456255912780762, | |
"p90": 0.007894659185409547, | |
"p95": 0.007951052784919739, | |
"p99": 0.008129228916168213, | |
"values": [ | |
0.008366080284118652, | |
0.007969759941101074, | |
0.008032320022583007, | |
0.008170495986938477, | |
0.008037376403808593, | |
0.007998464107513427, | |
0.007954432010650634, | |
0.007872511863708496, | |
0.00779366397857666, | |
0.00786636781692505, | |
0.00786636781692505, | |
0.007725056171417236, | |
0.00776800012588501, | |
0.007837696075439453, | |
0.007895071983337403, | |
0.00790937614440918, | |
0.007878655910491944, | |
0.007910399913787843, | |
0.00783564805984497, | |
0.007887872219085693, | |
0.007883776187896728, | |
0.007888895988464355, | |
0.007494656085968018, | |
0.007640063762664795, | |
0.007948287963867188, | |
0.007875584125518798, | |
0.007771135807037354, | |
0.007751711845397949, | |
0.007832575798034667, | |
0.007789567947387695, | |
0.007796735763549805, | |
0.007938047885894776, | |
0.007829504013061523, | |
0.007875584125518798, | |
0.007890944004058837, | |
0.007878655910491944, | |
0.007839744091033935, | |
0.007808000087738037, | |
0.007923711776733398, | |
0.007803904056549072, | |
0.007819263935089112, | |
0.007772160053253174, | |
0.007796735763549805, | |
0.007819263935089112, | |
0.007921664237976075, | |
0.007836671829223632, | |
0.007767039775848389, | |
0.007799808025360107, | |
0.007770080089569092, | |
0.007785408020019531, | |
0.0077844481468200685, | |
0.0075673599243164065, | |
0.007552000045776367, | |
0.007502848148345947, | |
0.007436287879943848, | |
0.007468031883239746, | |
0.007409664154052734, | |
0.007482367992401123, | |
0.007389120101928711, | |
0.007325695991516113, | |
0.007255040168762207, | |
0.007357439994812012, | |
0.007386112213134765, | |
0.0072724480628967286, | |
0.00704307222366333, | |
0.007053311824798584, | |
0.007102464199066162, | |
0.00745472002029419, | |
0.007643136024475097, | |
0.007622655868530274, | |
0.007693312168121338, | |
0.007883776187896728, | |
0.007636991977691651, | |
0.0074629120826721195, | |
0.007455743789672851, | |
0.007528448104858398, | |
0.007458816051483155, | |
0.007478271961212158, | |
0.007450623989105225, | |
0.0074414081573486324, | |
0.007415808200836181, | |
0.00743936014175415, | |
0.0074414081573486324, | |
0.007422976016998291, | |
0.007370751857757568, | |
0.007371776103973389, | |
0.007396351814270019, | |
0.007388192176818848, | |
0.007373824119567871, | |
0.007407616138458252, | |
0.007359488010406494, | |
0.0074106879234313965, | |
0.007415808200836181, | |
0.007425024032592774, | |
0.007419904232025146, | |
0.007416831970214844, | |
0.007428095817565918, | |
0.007415808200836181, | |
0.007434239864349365, | |
0.007422976016998291, | |
0.0074301438331604, | |
0.007451648235321045, | |
0.0074301438331604, | |
0.007445504188537597, | |
0.007422976016998291, | |
0.007409664154052734, | |
0.007379968166351319, | |
0.00739737606048584, | |
0.0073697280883789065, | |
0.007337984085083008, | |
0.00738099193572998, | |
0.007364672183990478, | |
0.007404543876647949, | |
0.0073697280883789065, | |
0.007356416225433349, | |
0.007362559795379638, | |
0.007383039951324463, | |
0.007374847888946533, | |
0.007456768035888672, | |
0.007449600219726562, | |
0.0074332160949707035, | |
0.007395328044891358, | |
0.007393280029296875, | |
0.0073768959045410155, | |
0.007387135982513428, | |
0.007415808200836181, | |
0.007404543876647949, | |
0.007411712169647216, | |
0.007416831970214844, | |
0.007398399829864502, | |
0.007367680072784424, | |
0.007379968166351319 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.7813269064851 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.299547915506845e-08, | |
"ram": 4.537078402790939e-08, | |
"gpu": 1.5664153945454832e-07, | |
"total": 2.850078026375262e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3508675.870435039 | |
} | |
} | |
} | |
} |