openvinotoolkit / openvinotoolkit/nncf
node matching error while using NNCF with Transformers-LT (fairseq)
@vshampor is already working on this.
Since Feb 24, 2023.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 305
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 27
Description
Seeing a node matching error (logs attached) while using NNCF with a Transformer model based on the fairseq implementation:
error_logs_nncf.txt
Steps to replicate the issue:
-
git clone https://github.com/mit-han-lab/hardware-aware-transformers.git
-
cd hardware-aware-transformers
-
pip install --editable .
-
pip install -U torch==1.9.1
-
pip install nncf
-
bash configs/wmt14.en-de/get_preprocessed.sh
-
git apply nncf_diff.txt
(nncf_diff.txt) -
python train.py --configs=configs/wmt14.en-de/subtransformer/HAT_wmt14ende_raspberrypi@3.5s_bleu@25.8.yml --sub-configs=configs/wmt14.en-de/subtransformer/common.yml --validate-subtransformer --cpu
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.