databricks / megablocks

Apache License 2.0
1.17k stars 169 forks source link

Remove turbo #96

Closed dblalock closed 7 months ago

dblalock commented 7 months ago

Since this isn't stable right now and will break in python 3.11.

Tested using for f in $(find . -name '*_test.py'); do python $f; done. All the tests pass except:

Pretty sure I got it all:

megablocks $ rg 'turbo'
megablocks $ rg 'uantize'
megablocks $ rg 'bits' 
megablocks/layers/moe.py
113:        # Calculate the number of bits needed to represent the expert indices
megablocks/layers/dmoe.py
24:        # Calculate the number of bits needed to represent the column indices