
Comment:
An exception occurred in this state: Traceback (most recent call last):

 "/usr/local/lib/python2.7/dist-packages/salt/state.py", line 1208, in call
*cdata['args'], **cdata['kwargs'])

 "/usr/local/lib/python2.7/dist-packages/salt/states/cmd.py", line 477, in run
cret = _run_check(cmd_kwargs, onlyif, unless, cwd, user, group, shell)

 "/usr/local/lib/python2.7/dist-packages/salt/states/cmd.py", line 232, in _run_check
**cmd_kwargs) == 0:
TypeError: retcode() got multiple values for keyword argument 'shell'

Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/torch_xla/distributed/xla_multiprocessing.py", line 231, in _start_fn

fn(gindex, *args)


 "/content/transformers/examples/language-modeling/run_language_modeling.py", line 278, in _mp_fn

main()


 "/content/transformers/examples/language-modeling/run_language_modeling.py", line 236, in main

prediction_loss_only=True,


 "/usr/local/lib/python3.6/dist-packages/transformers/trainer.py", line 211, in __init__

self._setup_wandb()


 "/usr/local/lib/python3.6/dist-packages/transformers/trainer.py", line 344, in _setup_wandb

self.model, log=os.getenv("WANDB_WATCH", "gradients"), log_freq=max(100, self.args.logging_steps)


 "/usr/local/lib/python3.6/dist-packages/wandb/__init__.py", line 166, in watch

model, criterion, graph_idx=global_idx)


 "/usr/local/lib/python3.6/dist-packages/wandb/wandb_torch.py", line 291, in hook_torch

graph.hook_torch_modules(model, criterion, graph_idx=graph_idx)


 "/usr/local/lib/python3.6/dist-packages/wandb/wandb_torch.py", line 394, in hook_torch_modules

sub_module.register_forward_hook(self.create_forward_hook(name, modules)))


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 543, in register_forward_hook

handle = hooks.RemovableHandle(self._forward_hooks)


 "/usr/local/lib/python3.6/dist-packages/torch/utils/hooks.py", line 13, in __init__

self.hooks_dict_ref = weakref.ref(hooks_dict)
TypeError: cannot create weak reference to 'dict' object 
