naver / splade

SPLADE: sparse neural search (SIGIR21, SIGIR22)
Other
710 stars 79 forks source link

fix: Update amp.py assertion #51

Closed ripineros closed 2 months ago

ripineros commented 5 months ago

The assertion outputs "Cannot use AMP for PyTorch version < 1.6" however, the way the PyTorch_over_1_6 check is handled, is contrary to this, causing it to fail with Pytorch version 1.11 (Included in the conda env)

thibault-formal commented 2 months ago

hey @ripineros sorry for the delay.