print all config
(self)
| 833 | return json.dumps({key: value for key, value in self.__dict__.items() if value is not None}) |
| 834 | |
| 835 | def print(self): |
| 836 | """ |
| 837 | print all config |
| 838 | |
| 839 | """ |
| 840 | logger.info("Speculative Decoding Configuration Information :") |
| 841 | for k, v in self.__dict__.items(): |
| 842 | logger.info("{:<20}:{:<6}{}".format(k, "", v)) |
| 843 | logger.info("=============================================================") |
| 844 | |
| 845 | def check_legality_parameters( |
| 846 | self, |