Text: Pytorch 0.4 / torchtext 0.2.3

Created on 16 May 2018  路  3Comments  路  Source: pytorch/text

Has the following been fixed in master ? if so can you release 0.2.4 ?

/usr/local/lib/python3.6/dist-packages/torchtext/data/field.py:321: UserWarning: volatile was removed and now has no effect. Use with torch.no_grad(): instead.
return Variable(arr, volatile=not train), lengths
/usr/local/lib/python3.6/dist-packages/torchtext/data/field.py:322: UserWarning: volatile was removed and now has no effect. Use with torch.no_grad(): instead.
return Variable(arr, volatile=not train)

Most helpful comment

it has been fixed on the master branch. for now, pip install git+git://github.com/pytorch/text.

All 3 comments

it has been fixed on the master branch. for now, pip install git+git://github.com/pytorch/text.

it's fine, but there are really some breaking changes since the pytorch 0.4 support.
it would be good to bump a sub version.
what do you think ? @jekbradbury

@vince62s if this is still an issue, feel free to reopen it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lsh23 picture lsh23  路  3Comments

vince62s picture vince62s  路  5Comments

felipebravom picture felipebravom  路  3Comments

manuelsh picture manuelsh  路  5Comments

PetrochukM picture PetrochukM  路  3Comments