Pytorch1.3 Quantization error in Resnet50

username: kcw4875
cooked: <p>When applying quantization supported by pytorch 1.3 to Resnet 50, the following error occurs.</p>
<p>RuntimeError: Didn’t find engine for operation quantized::linear_prepack NoQEngine (operator () at …\aten\src\ATen\native\quantized\cpu\qlinear_prepack.cpp:202)<br>
(no backtrace available)</p>
<p>Does anyone know how</p>

username: hx89
cooked: <p>Could you try set USE_FBGEMM=1 before running python setup.py install? If it doesn’t work, please file a Github issue.</p>

username: kcw4875
cooked: <p>I installed pytorch 1.3 using anconda,<br>
and there seems to be no environment for python setup. I think it need additional library(FBGMM) settings, do you know how?</p>

username: jerryzh168
cooked: <p>I think FBGEMM should be turned for machines/compilers that support it by default, can you print <code>torch.backends.quantized.supported_engines</code> to see if fbgemm is there?</p>

username: Saurabh_Naik
cooked: <p>Got the same error. torch.backends.quantized.supported_engines is showing None<br>
I am running on windows. How to enable it on windows?</p>

username: jerryzh168
cooked: <p>cc <a class="mention" href="/u/hx89">@hx89</a> <a class="mention" href="/u/dskhudia">@dskhudia</a> do you know how to do this?</p>

username: dskhudia
cooked: <p>We haven’t yet tested it on windows.</p>
<aside class="onebox githubissue">
  <header class="source">
      <a href="https://github.com/pytorch/FBGEMM/issues/150" target="_blank" rel="nofollow noopener">github.com/pytorch/FBGEMM</a>
  </header>
  <article class="onebox-body">
    <div class="github-row">
  <div class="github-icon-container" title="Issue">
	  <svg width="60" height="60" class="github-icon" viewbox="0 0 14 16" aria-hidden="true"><path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg>
  </div>

  <div class="github-info-container">
    <h4>
      <a href="https://github.com/pytorch/FBGEMM/issues/150" target="_blank" rel="nofollow noopener">Is this available on windows?</a>
    </h4>

    <div class="github-info">
      <div class="date">
        opened <span class="discourse-local-date" data-format="ll" data-date="2019-10-25" data-time="06:13:12" data-timezone="UTC">06:13AM - 25 Oct 19 UTC</span>
      </div>


      <div class="user">
        <a href="https://github.com/snaik2016" target="_blank" rel="nofollow noopener">
          <img alt="snaik2016" src="https://avatars0.githubusercontent.com/u/18183245?v=4" class="onebox-avatar-inline" width="20" height="20">
          snaik2016
        </a>
      </div>
    </div>
  </div>
</div>

<div class="github-row">
  <p class="github-content">Can this library be built on windows?</p>
</div>

<div class="labels">
</div>

  </article>
  <div class="onebox-metadata">
    
    
  </div>
  <div style="clear: both"></div>
</aside>


username: mohit7
cooked: <p><a class="mention" href="/u/dskhudia">@dskhudia</a> this issue is resolved?<br>
If yes, can you tell?</p>
<p>Thanks,<br>
Mohit</p>

username: dskhudia
cooked: <p>Hi Mohit,</p>
<p>I responded to the question here in detail: <a href="https://github.com/pytorch/FBGEMM/issues/150" rel="nofollow noopener">https://github.com/pytorch/FBGEMM/issues/150</a>.</p>
<p>It still needs some work from our side to make it work on windows.</p>
<p>Thanks<br>
Daya</p>