ever4244
ever4244
> @pipibjc This advice is out of date with the current version of the .sh :/ > The current example doesn't use `fairseq-preprocess`. What do you mean? I see that...
> It looks like the `dataset` is not being setup pro I just used the original source code. https://github.com/transducens/LASERtrain/tree/master/fairseq-modules The possible source codes that cause the error. ``` def get_batch_iterator(...
> I got the same problem, and fixed by this: > > ```python > def dataset_size(index): > s = dataset.size(index) > return list(s.values())[0] > > dataset_fx = namedtuple('dataset', ['size']) >...
> Maybe try `--num-workers 0` The issue is indeed gone when I set --num-workers 0, but wouldn't it slow the training speed? For 1 card 2 epoch it cost around...
> Which of the things from the [link](https://github.com/pytorch/pytorch/issues/1355) I previously listed did you try? I tried --num-workers 0, it worked I tried --num-workers 1,2,8 and I also reduced the max...
> I think your only options are to try and [increase the amount of shared memory](https://github.com/pytorch/pytorch/issues/1355#issuecomment-297184037) or use `--num-workers 0`. ------ Shared Memory Limits -------- max number of segments =...
> I've never tried this before, so not sure. Something might break in the optimizer, but it might also work. Please try it and report back! I added: --fp16 --reset-optimizer...
After a few trials, I think it can automatically convert between fp16 and fp32 without obvious problems. The only issue is I have to set --reset-optimizer
> > However, in the bash script on fairseq multilingual translation readme (https://github.com/pytorch/fairseq/tree/master/examples/translation), there is no further reference to either file. > > There shouldn't be. As you mention, we...
> Assuming you learn the BPE tokens on all of your input files, after you apply the BPE using spm_encode, the encoded text files should already be in a common...