I was struggling a bit with installing GLM-OCR due to version conflicts within the transformers library. I eventually managed to install it and immediately removed the transformers library. I uploaded the implementation here:
https://github.com/99991/Simple-GLM-OCR/
Maybe it helps others who have trouble installing.
Also big thanks to the GLM team! The model is amazing!