Closed makua-bernal closed 3 years ago
@jumpily You may need to install MXNet 2.0 and try again. You can try out the following commands:
# Install the version with CUDA 10.1
python3 -m pip install -U --pre "mxnet-cu101>=2.0.0b20201206" -f https://dist.mxnet.io/python
# Install the version with CUDA 10.2
python3 -m pip install -U --pre "mxnet-cu102>=2.0.0b20201206" -f https://dist.mxnet.io/python
# Install the version with CUDA 11
python3 -m pip install -U --pre "mxnet-cu110>=2.0.0b20201206" -f https://dist.mxnet.io/python
# Install the cpu-only version
python3 -m pip install -U --pre "mxnet>=2.0.0b20201206" -f https://dist.mxnet.io/python
@sxjscience That seems to have worked, thank you! Are the converted models compatible with lower MXNet versions?
No, they are not.
Get Outlook for iOShttps://aka.ms/o0ukef
From: jumpily notifications@github.com Sent: Sunday, January 17, 2021 1:38:44 AM To: dmlc/gluon-nlp gluon-nlp@noreply.github.com Cc: Xingjian SHI xshiab@connect.ust.hk; Mention mention@noreply.github.com Subject: Re: [dmlc/gluon-nlp] [Bug][Conversion Tools] mxnet block.py Overriding Parameter attribute %s is not allowed (#1485)
@sxjsciencehttps://github.com/sxjscience That seems to have worked, thank you! Are the converted models compatible with lower MXNet versions?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dmlc/gluon-nlp/issues/1485#issuecomment-761761877, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABHQH3SYL3RFSBWLVFBF33LS2KV2JANCNFSM4WFI5EZA.
@jumpily i’ll close this issue since it has been solved. Feel free to reopen.
Description
When using the conversion tools to convert a roberta model the following error occurs.
Error Message
To Reproduce
gluonnlp version 1.0.0.dev20210116 mxnet version 1.7.0.post1 fairseq version 1.0.0a0+4a6f89d
bash convert_roberta.sh