lucidrains / vector-quantize-pytorch

Vector (and Scalar) Quantization, in Pytorch
MIT License
2.66k stars 216 forks source link

version 1.19.1 randint() received an invalid combination of arguments - got (int, torch.device, tuple) #171

Closed yangperasd closed 2 weeks ago

yangperasd commented 2 weeks ago

version 1.19.1 in residual_fsq.py image image image randint api image

i fix this by image image image

or should i make a PR?

lucidrains commented 2 weeks ago

@yangperasd thanks! wow, there's a lot of people using this experimental feature 🤔

lucidrains commented 2 weeks ago

i should intentionally break things from time to time just to figure out if researchers are quietly using something i improvised