"deploy/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "63fe8128d328d501b545ed202601fc73a8c48563"
remove numpy dependency
According to the `setup.py` file, only dependencies are torch and einops. But the `bert_padding.py` file requires `numpy` only to multiply the elements of a `torch.Size` object. This change aims at allowing the use of FlashAttention without numpy.
Showing
Please register or sign in to comment