
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
55fe82a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 816.746496, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07494758605957032 | |
], | |
"count": 1, | |
"total": 0.07494758605957032, | |
"mean": 0.07494758605957032, | |
"p50": 0.07494758605957032, | |
"p90": 0.07494758605957032, | |
"p95": 0.07494758605957032, | |
"p99": 0.07494758605957032, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.63539850159725e-05, | |
"ram": 5.2790222093628835e-05, | |
"gpu": 0.00013522205262200045, | |
"total": 0.0002843662597316018 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1094.578176, | |
"max_global_vram": 1207.435264, | |
"max_process_vram": 0.0, | |
"max_reserved": 559.939584, | |
"max_allocated": 510.51264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0064542717933654785, | |
0.0063201279640197755, | |
0.006338560104370118, | |
0.006318048000335693, | |
0.006359039783477783, | |
0.006311935901641846, | |
0.006235136032104492, | |
0.006205440044403076, | |
0.006211584091186524, | |
0.006174719810485839, | |
0.006201344013214111, | |
0.00608464002609253, | |
0.006045760154724121, | |
0.00601087999343872, | |
0.006097919940948486, | |
0.006172671794891358, | |
0.006166528224945069, | |
0.006102015972137451, | |
0.0062044157981872555, | |
0.006118400096893311, | |
0.006116352081298828, | |
0.006203392028808594, | |
0.006203392028808594, | |
0.006264832019805908, | |
0.0062228479385375976, | |
0.007016448020935059, | |
0.0062904319763183595, | |
0.006211584091186524, | |
0.006210559844970703, | |
0.006106112003326416, | |
0.006280191898345947, | |
0.00622489595413208, | |
0.006196224212646485, | |
0.0062269439697265625, | |
0.006202367782592774, | |
0.006153183937072754, | |
0.0060702719688415525, | |
0.006261760234832763, | |
0.006138879776000977, | |
0.006138879776000977, | |
0.006093823909759521, | |
0.006173664093017578, | |
0.00623308801651001, | |
0.006139840126037598, | |
0.00608355188369751, | |
0.006918144226074219, | |
0.006353983879089356, | |
0.0063539199829101565, | |
0.006368256092071533, | |
0.0063836159706115725, | |
0.006273024082183838, | |
0.006362112045288086, | |
0.006325247764587402, | |
0.006326272010803223, | |
0.006426623821258545, | |
0.006359039783477783, | |
0.006520832061767578, | |
0.006426623821258545, | |
0.006382656097412109, | |
0.006446080207824707, | |
0.006368256092071533, | |
0.006406208038330078, | |
0.006412288188934326, | |
0.006273024082183838, | |
0.006421440124511719, | |
0.006308864116668702, | |
0.006107135772705078, | |
0.006052864074707031, | |
0.006153215885162353, | |
0.006190080165863037, | |
0.0062494721412658695, | |
0.00621670389175415, | |
0.0059740481376647945, | |
0.00597811222076416, | |
0.0059985918998718265, | |
0.00608460807800293, | |
0.006148096084594727, | |
0.0062156801223754886, | |
0.0063170561790466305, | |
0.006291456222534179, | |
0.006388735771179199, | |
0.00637440013885498, | |
0.006516736030578613, | |
0.006196224212646485, | |
0.0061224961280822755, | |
0.006172671794891358, | |
0.006044672012329101, | |
0.006132736206054688, | |
0.005974016189575195, | |
0.00602726411819458, | |
0.005988287925720215, | |
0.006037504196166992, | |
0.006044672012329101, | |
0.006022143840789795, | |
0.00602726411819458, | |
0.006238207817077636, | |
0.006009856224060059, | |
0.006045695781707764, | |
0.0059955201148986816, | |
0.0060067839622497555, | |
0.005947391986846923, | |
0.005989376068115234, | |
0.005937151908874512, | |
0.005806079864501953, | |
0.005751808166503906, | |
0.005794816017150879, | |
0.005742591857910156, | |
0.005696512222290039, | |
0.005705728054046631, | |
0.005682176113128662, | |
0.005683199882507324, | |
0.005684224128723145, | |
0.005709824085235596, | |
0.005696512222290039, | |
0.005763072013854981, | |
0.0057712640762329105, | |
0.00572108793258667, | |
0.005783552169799804, | |
0.005735424041748047, | |
0.005850111961364746, | |
0.005909503936767578, | |
0.005850111961364746, | |
0.005859327793121338, | |
0.005784575939178467, | |
0.005766143798828125, | |
0.005798912048339844, | |
0.005826560020446778, | |
0.006385663986206055, | |
0.0064471039772033695, | |
0.0063836159706115725, | |
0.0060631041526794435, | |
0.006051839828491211, | |
0.005986303806304932, | |
0.006064191818237304, | |
0.006001664161682129, | |
0.0060405759811401364, | |
0.005958655834197998, | |
0.005976064205169678, | |
0.005959680080413818, | |
0.005961728096008301, | |
0.005937151908874512, | |
0.006003712177276611, | |
0.005945343971252442, | |
0.005947391986846923, | |
0.005951488018035888, | |
0.0059658241271972655, | |
0.005937151908874512, | |
0.005950463771820068, | |
0.0059391999244689945, | |
0.005950463771820068, | |
0.005916704177856445, | |
0.005969855785369873, | |
0.0059269118309021, | |
0.005975039958953857, | |
0.005957632064819336, | |
0.005990367889404297, | |
0.005939136028289795, | |
0.005983232021331787, | |
0.006007808208465576, | |
0.005956607818603516, | |
0.005934080123901367, | |
0.005970943927764893, | |
0.005953536033630371 | |
], | |
"count": 163, | |
"total": 0.9948937606811524, | |
"mean": 0.006103642703565351, | |
"p50": 0.00608464002609253, | |
"p90": 0.006381004905700684, | |
"p95": 0.006426105451583862, | |
"p99": 0.0066718106842041, | |
"stdev": 0.00022409614370155436, | |
"stdev_": 3.671514775441426 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 327.67317766351727 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.460588993710649e-08, | |
"ram": 4.0763357695074016e-08, | |
"gpu": 1.9420001559748357e-07, | |
"total": 3.0956926322966384e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6460589.721132088 | |
} | |
} | |
} | |
} |