Bug description
During the conversion, a check must be made that bias
and weight
are not None
.
Here is the error for bias=False
:
File "/usr/local/lib/python3.10/dist-packages/lightning/fabric/plugins/precision/transformer_engine.py", line 174, in _convert_layers
replacement.bias.data = child.bias.data.clone()
AttributeError: 'NoneType' object has no attribute 'data'
What version are you seeing the problem on?
v2.5