IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
61a0c23
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": false, | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "86906b8c1093b2f4cd2981b46a0b533238abf100", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 901.914624, | |
"max_global_vram": 841.773056, | |
"max_process_vram": 45964.853248, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.20067919921875, | |
"mean": 7.20067919921875, | |
"stdev": 0.0, | |
"p50": 7.20067919921875, | |
"p90": 7.20067919921875, | |
"p95": 7.20067919921875, | |
"p99": 7.20067919921875, | |
"values": [ | |
7.20067919921875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.412992, | |
"max_global_vram": 898.27328, | |
"max_process_vram": 228717.846528, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.9949141631126405, | |
"mean": 0.007959313304901124, | |
"stdev": 0.00043704348391169427, | |
"p50": 0.007931512832641601, | |
"p90": 0.008372024536132812, | |
"p95": 0.008403544425964355, | |
"p99": 0.008463353157043456, | |
"values": [ | |
0.00823391342163086, | |
0.007954072952270509, | |
0.007852152824401855, | |
0.007909752845764161, | |
0.007967193126678467, | |
0.007779033184051514, | |
0.00793375301361084, | |
0.008173272132873536, | |
0.007798073768615722, | |
0.007713274002075195, | |
0.0076703929901123045, | |
0.007624153137207031, | |
0.007737752914428711, | |
0.007606873989105225, | |
0.007574394226074219, | |
0.007529912948608398, | |
0.007583353042602539, | |
0.007587833881378174, | |
0.007514873027801514, | |
0.007671833038330078, | |
0.007553914070129395, | |
0.007807033061981201, | |
0.00783103322982788, | |
0.011190389633178711, | |
0.007643833160400391, | |
0.007377432823181152, | |
0.007399034023284912, | |
0.0075297532081604005, | |
0.00755311393737793, | |
0.007336153030395508, | |
0.007949432849884034, | |
0.007994873046875, | |
0.007936472892761231, | |
0.007931512832641601, | |
0.008187353134155273, | |
0.008034872055053712, | |
0.008372793197631836, | |
0.008104152679443359, | |
0.007654713153839111, | |
0.008248312950134278, | |
0.007941593170166015, | |
0.008156951904296874, | |
0.008463353157043456, | |
0.0083934326171875, | |
0.008394072532653809, | |
0.008366393089294434, | |
0.00843343162536621, | |
0.008463353157043456, | |
0.008374551773071288, | |
0.008357752799987793, | |
0.00813951301574707, | |
0.007530872821807861, | |
0.007424152851104736, | |
0.007391993999481201, | |
0.007625593185424805, | |
0.007420794010162353, | |
0.007695193767547607, | |
0.007465592861175537, | |
0.007628313064575195, | |
0.007852632999420166, | |
0.007546874046325683, | |
0.007720792770385742, | |
0.007850553035736084, | |
0.007704792976379394, | |
0.007568953037261963, | |
0.007984793186187744, | |
0.00794575309753418, | |
0.007382393836975098, | |
0.007391993045806885, | |
0.007365593910217285, | |
0.007918872833251954, | |
0.008348471641540527, | |
0.007846232891082763, | |
0.007779033184051514, | |
0.007645914077758789, | |
0.00814143180847168, | |
0.008006072998046876, | |
0.007915672779083251, | |
0.007575193881988526, | |
0.007588633060455322, | |
0.007796792984008789, | |
0.007760793209075928, | |
0.007564632892608642, | |
0.007930872917175293, | |
0.007534714221954346, | |
0.008210231781005859, | |
0.008318232536315919, | |
0.0083321533203125, | |
0.008343352317810058, | |
0.008337272644042968, | |
0.008330713272094727, | |
0.00831855297088623, | |
0.008364632606506347, | |
0.008370871543884278, | |
0.008391833305358887, | |
0.008406231880187989, | |
0.008322712898254394, | |
0.008391833305358887, | |
0.008344152450561523, | |
0.008348153114318848, | |
0.008338552474975586, | |
0.007957912921905518, | |
0.007384634017944336, | |
0.007913272857666015, | |
0.00813183307647705, | |
0.008347352981567384, | |
0.008356633186340333, | |
0.00818175220489502, | |
0.00816415309906006, | |
0.007731832981109619, | |
0.008055832862854004, | |
0.007843193054199218, | |
0.008149272918701172, | |
0.008016312599182129, | |
0.007983832836151124, | |
0.00804735279083252, | |
0.007923993110656738, | |
0.007981592178344727, | |
0.007774393081665039, | |
0.007752633094787598, | |
0.007897112846374512, | |
0.008405912399291992, | |
0.008310072898864746, | |
0.0084086332321167, | |
0.008337753295898438 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.6389793556974 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |