| epoch 001:
0%|
| 0/156 [00:00<?, ?it/s]Traceback (most recent call last):


 "train.py", line 343, in <module>

cli_main()


 "train.py", line 339, in cli_main

main(args)


 "train.py", line 92, in main

train(args, trainer, task, epoch_itr)


 "train.py", line 133, in train

log_output = trainer.train_step(samples)


 "/home/user/Desktop/mosharaf/bitbucket/benchmarks_negation/benchmarks_negation/code/external/fairseq/fairseq/trainer.py", line 342, in train_step

raise e


 "/home/user/Desktop/mosharaf/bitbucket/benchmarks_negation/benchmarks_negation/code/external/fairseq/fairseq/trainer.py", line 306, in train_step

ignore_grad


 "/home/user/Desktop/mosharaf/bitbucket/benchmarks_negation/benchmarks_negation/code/external/fairseq/fairseq/tasks/fairseq_task.py", line 246, in train_step

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


 "/home/user/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 547, in __call__

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


 "/home/user/Desktop/mosharaf/bitbucket/benchmarks_negation/benchmarks_negation/code/external/fairseq/fairseq/criterions/sentence_prediction.py", line 41, in forward

classification_head_name='sentence_classification_head',


 "/home/user/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 547, in __call__

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


 "/home/user/Desktop/mosharaf/bitbucket/benchmarks_negation/benchmarks_negation/code/external/fairseq/fairseq/models/roberta/model.py", line 99, in forward

x, extra = self.decoder(src_tokens, features_only, return_all_hiddens, **kwargs)


 "/home/user/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 547, in __call__

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


 "/home/user/Desktop/mosharaf/bitbucket/benchmarks_negation/benchmarks_negation/code/external/fairseq/fairseq/models/roberta/model.py", line 287, in forward

x, extra = self.extract_features(src_tokens, return_all_hiddens)


 "/home/user/Desktop/mosharaf/bitbucket/benchmarks_negation/benchmarks_negation/code/external/fairseq/fairseq/models/roberta/model.py", line 295, in extract_features

last_state_only=not return_all_hiddens,


 "/home/user/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 547, in __call__

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


 "/home/user/Desktop/mosharaf/bitbucket/benchmarks_negation/benchmarks_negation/code/external/fairseq/fairseq/modules/transformer_sentence_encoder.py", line 183, in forward

x = self.embed_tokens(tokens)


 "/home/user/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 547, in __call__

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


 "/home/user/.local/lib/python3.6/site-packages/torch/nn/modules/sparse.py", line 114, in forward

self.norm_type, self.scale_grad_by_freq, self.sparse)


 "/home/user/.local/lib/python3.6/site-packages/torch/nn/functional.py", line 1467, in embedding

return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
RuntimeError: _th_index_select not supported on CPUType for Half

Traceback (most recent call last):


 "/Users/yonatanalexander/opt/anaconda3/envs/xds/lib/python3.7/site-packages/vaex/dataframe.py", line 3523, in table_part

values[name] = df.evaluate(name)


 "/Users/yonatanalexander/opt/anaconda3/envs/xds/lib/python3.7/site-packages/vaex/dataframe.py", line 5165, in evaluate

self.map_reduce(assign, lambda *_: None, expressions, ignore_filter=False, selection=selection, pre_filter=use_filter, info=True, to_numpy=False)


 "/Users/yonatanalexander/opt/anaconda3/envs/xds/lib/python3.7/site-packages/vaex/dataframe.py", line 306, in map_reduce

return self._delay(delay, task)


 "/Users/yonatanalexander/opt/anaconda3/envs/xds/lib/python3.7/site-packages/vaex/dataframe.py", line 1428, in _delay

self.execute()


 "/Users/yonatanalexander/opt/anaconda3/envs/xds/lib/python3.7/site-packages/vaex/dataframe.py", line 293, in execute

self.executor.execute()


 "/Users/yonatanalexander/opt/anaconda3/envs/xds/lib/python3.7/site-packages/vaex/execution.py", line 127, in execute

raise RuntimeError("nested execute call")
RuntimeError: nested execute call
