
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2dd7853
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 907.517952, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9960139532089235, | |
"mean": 0.007545560251582753, | |
"stdev": 0.00016154241981844258, | |
"p50": 0.0075008001327514645, | |
"p90": 0.007740927839279175, | |
"p95": 0.007815264129638672, | |
"p99": 0.008064655313491821, | |
"values": [ | |
0.0080250883102417, | |
0.007708672046661377, | |
0.007812096118927002, | |
0.007741439819335938, | |
0.007692351818084717, | |
0.007709695816040039, | |
0.0076574721336364745, | |
0.007546879768371582, | |
0.007650303840637207, | |
0.0077281279563903805, | |
0.007650303840637207, | |
0.007525440216064453, | |
0.007708479881286621, | |
0.007685120105743408, | |
0.0076277761459350585, | |
0.007622655868530274, | |
0.007622655868530274, | |
0.007515168190002442, | |
0.007472127914428711, | |
0.007458816051483155, | |
0.007569407939910889, | |
0.007535615921020508, | |
0.008417280197143554, | |
0.007847936153411865, | |
0.007773248195648194, | |
0.007819136142730714, | |
0.007823359966278077, | |
0.007751679897308349, | |
0.007803904056549072, | |
0.007803904056549072, | |
0.007497727870941162, | |
0.007516160011291504, | |
0.007520256042480469, | |
0.007608320236206055, | |
0.0074997758865356446, | |
0.007568384170532226, | |
0.007546879768371582, | |
0.007515135765075683, | |
0.007651328086853027, | |
0.0075345921516418455, | |
0.0075304961204528805, | |
0.007476255893707275, | |
0.0075008001327514645, | |
0.007513088226318359, | |
0.007620607852935791, | |
0.007483391761779785, | |
0.007493631839752197, | |
0.007497727870941162, | |
0.007514111995697022, | |
0.007505919933319092, | |
0.007570432186126709, | |
0.007628799915313721, | |
0.007716864109039307, | |
0.007618559837341309, | |
0.007559167861938477, | |
0.007580671787261963, | |
0.007494656085968018, | |
0.007613440036773681, | |
0.007431168079376221, | |
0.007359488010406494, | |
0.007527423858642578, | |
0.007729152202606201, | |
0.00773632001876831, | |
0.0075038719177246095, | |
0.007387135982513428, | |
0.0074403839111328125, | |
0.0074741759300231934, | |
0.007682047843933106, | |
0.007731200218200684, | |
0.007732223987579345, | |
0.007821311950683594, | |
0.00808243179321289, | |
0.007783423900604248, | |
0.007671807765960693, | |
0.007574528217315674, | |
0.00758784008026123, | |
0.007531519889831543, | |
0.007557184219360352, | |
0.0074997758865356446, | |
0.0074926080703735356, | |
0.0075008001327514645, | |
0.00749567985534668, | |
0.007494656085968018, | |
0.007512063980102539, | |
0.007435264110565186, | |
0.007541759967803955, | |
0.007453695774078369, | |
0.007456768035888672, | |
0.00743936014175415, | |
0.0074301438331604, | |
0.00743833589553833, | |
0.00745363187789917, | |
0.007444479942321777, | |
0.007443456172943115, | |
0.007414783954620361, | |
0.007393280029296875, | |
0.007386112213134765, | |
0.0074035201072692874, | |
0.007443456172943115, | |
0.007409664154052734, | |
0.007446559906005859, | |
0.00744755220413208, | |
0.0074332160949707035, | |
0.007436223983764648, | |
0.007413760185241699, | |
0.007418879985809326, | |
0.007422976016998291, | |
0.0073768959045410155, | |
0.007427072048187256, | |
0.0074065918922424315, | |
0.007417856216430664, | |
0.007423999786376953, | |
0.007332863807678222, | |
0.007377920150756836, | |
0.007377920150756836, | |
0.007420896053314209, | |
0.007416831970214844, | |
0.007420928001403809, | |
0.0073994240760803225, | |
0.007388160228729248, | |
0.00739737606048584, | |
0.007367680072784424, | |
0.0074035201072692874, | |
0.007417856216430664, | |
0.00743833589553833, | |
0.007404543876647949, | |
0.0073994240760803225, | |
0.007407616138458252, | |
0.007372799873352051, | |
0.007435264110565186, | |
0.007395328044891358, | |
0.007356416225433349 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.52826386088967 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.330658807621136e-08, | |
"ram": 4.554488886597431e-08, | |
"gpu": 1.596213398181844e-07, | |
"total": 2.8847281676037003e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3466531.131876751 | |
} | |
} | |
} | |
} |