Traceback (most recent call last):


 "/lium/home/vpelloin/miniconda3/envs/espresso/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap

fn(i, *args)


 "/export/home/lium/vpelloin/git/espresso/fairseq/distributed/utils.py", line 328, in distributed_main

main(cfg, **kwargs)


 "/export/home/lium/vpelloin/git/espresso/fairseq_cli/train.py", line 176, in main

valid_losses, should_stop = train(cfg, trainer, task, epoch_itr)


 "/lium/home/vpelloin/miniconda3/envs/espresso/lib/python3.7/contextlib.py", line 74, in inner

return func(*args, **kwds)


 "/export/home/lium/vpelloin/git/espresso/fairseq_cli/train.py", line 287, in train

log_output = trainer.train_step(samples)


 "/lium/home/vpelloin/miniconda3/envs/espresso/lib/python3.7/contextlib.py", line 74, in inner

return func(*args, **kwds)


 "/export/home/lium/vpelloin/git/espresso/fairseq/trainer.py", line 674, in train_step

ignore_grad=is_dummy_batch,


 "/export/home/lium/vpelloin/git/espresso/fairseq/tasks/fairseq_task.py", line 476, in train_step

loss, sample_size, logging_output = criterion(model, sample)


 "/lium/home/vpelloin/miniconda3/envs/espresso/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__

result = self.forward(*input, **kwargs)


 "/export/home/lium/vpelloin/git/espresso/espresso/criterions/label_smoothed_cross_entropy_v2.py", line 150, in forward

net_output = model(**sample["net_input"], epoch=self.epoch)


 "/lium/home/vpelloin/miniconda3/envs/espresso/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__

result = self.forward(*input, **kwargs)


 "/export/home/lium/vpelloin/git/espresso/fairseq/distributed/module_proxy_wrapper.py", line 55, in forward

return self.module(*args, **kwargs)


 "/lium/home/vpelloin/miniconda3/envs/espresso/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__

result = self.forward(*input, **kwargs)


 "/export/home/lium/vpelloin/git/espresso/fairseq/distributed/legacy_distributed_data_parallel.py", line 74, in forward

return self.module(*inputs, **kwargs)


 "/lium/home/vpelloin/miniconda3/envs/espresso/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__

result = self.forward(*input, **kwargs)
TypeError: forward() missing 1 required positional argument: 'prev_output_tokens'

Traceback (most recent call last):


 "/home/ubuntu/.pyenv/versions/3.6.6/bin/pipenv", line 11, in <module>

sys.exit(cli())


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func

return ctx.invoke(f, obj, *args, **kwargs)


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/cli/command.py", line 249, in install

editable_packages=state.installstate.editables,


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/core.py", line 1695, in do_install

pypi_mirror=pypi_mirror,


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/core.py", line 561, in ensure_project

pypi_mirror=pypi_mirror,


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/core.py", line 496, in ensure_virtualenv

python=python, site_packages=site_packages, pypi_mirror=pypi_mirror


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/core.py", line 896, in do_create_virtualenv

click.echo(crayons.blue("{0}".format(c.err)), err=True)


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/vendor/delegator.py", line 146, in err

return self._pexpect_out


 "/home/ubuntu/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv/vendor/delegator.py", line 114, in _pexpect_out

result += self.subprocess.after
TypeError: must be str, not type
