openvinotoolkit / openvinotoolkit/nncf

node matching error while using NNCF with Transformers-LT (fairseq)

Open
#1,109 3 comments 0 reactions 1 assignee View on GitHub

@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:

  1. git clone https://github.com/mit-han-lab/hardware-aware-transformers.git

  2. cd hardware-aware-transformers

  3. pip install --editable .

  4. pip install -U torch==1.9.1

  5. pip install nncf

  6. bash configs/wmt14.en-de/get_preprocessed.sh

  7. git apply nncf_diff.txt
    (nncf_diff.txt)

  8. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.