PyTorch 1.3 breaks OverSamplingCallback

It’s fixed in master, but no release yet. Not sure if there’s something holding it back, but hopefully a new 1.3 compatible version will be pushed soon given this and the more general GridSampler warning…
@sgugger anything holding it up that people can help with?

1 Like

Hi @TomB, for now can I make it work by pulling fastai master?

Yeah, pulling master. Or you could also pip install --upgrade git+https://github.com/fastai/fastai (or if you use conda probably safer to pip install --no-deps --upgrade ... as mixing pip and conda packages can cause issues). Or given the limited scope of the fix you could just replace the altered file with the new version.

Though fastai seems to do a generally good job of keeping master usable (especially now when most dev effort in in v2) so should be fine to use that. I switch between release and master environments quite a bit without issue.

EDIT: Sorry put some bad URLs in there, the current should be right.

2 Likes

Thank you @TomB, I will definitely check it out.

1 Like

We’ll make a new release soon-ish, just wanted to catch every bug that appeared with PyTorch 1.3.

1 Like