Autokeras not working on mac

I was able to build and run autokeras code on my windows but ever since I have moved on to mac M1 I am not able to run autokeras code.
It throws the following error while importing autokeras:
AttributeError: ‘Normalization’ object has no attribute ‘_combiner’