QwenLM / qwen.cpp

C++ implementation of Qwen-LM
Other
514 stars 42 forks source link

BUG: error: ‘assert’ was not declared in this scope #2

Closed mashuiping closed 10 months ago

mashuiping commented 10 months ago

home/xxx/workspace/qwen.cpp/tiktoken.h:12:1: note: ‘assert’ is defined in header ‘’; did you forget to ‘#include ’?

   11 | #include <unordered_set>                                                                                                                                                                                                                                                   
  +++ |+#include <cassert>                                                                                                                                                                                                                                                         
   12 | #include <vector> 

https://github.com/QwenLM/qwen.cpp/blob/master/tiktoken.h#L47

simonJJJ commented 10 months ago

Hi @mashuiping, thanks for pointing this out. I fixed it and I believe the compiler help me with the header file.