Faltbuffer for Android

vjayd: <p>Can we load Flatbuffer input file for android?<br>
I am trying to load the flatbuffer input model to android and due to some reason it throws an error</p>
<p><code>Flatbuffer input file but the build hasn't enable flatbuffer</code></p>
<p>Can anyone help me on this</p>

ksm: <p>I think it only works in 2.0 not 1.13 according to the source code.</p>
<p>There is no 2.0 on Maven yet so maybe you should build your own Android package.</p><aside class="onebox githubissue" data-onebox-src="https://github.com/pytorch/pytorch/issues/101972">
  <header class="source">

      <a href="https://github.com/pytorch/pytorch/issues/101972" target="_blank" rel="noopener nofollow ugc">github.com/pytorch/pytorch</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 fill-rule="evenodd" 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/pytorch/issues/101972" target="_blank" rel="noopener nofollow ugc">No pytorch_android 2.0.x builds</a>
    </h4>

    <div class="github-info">
      <div class="date">
        opened <span class="discourse-local-date" data-format="ll" data-date="2023-05-22" data-time="11:44:54" data-timezone="UTC">11:44AM - 22 May 23 UTC</span>
      </div>


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

    <div class="labels">
        <span style="display:inline-block;margin-top:2px;background-color: #B8B8B8;padding: 2px;border-radius: 4px;color: #fff;margin-left: 3px;">
          triaged
        </span>
        <span style="display:inline-block;margin-top:2px;background-color: #B8B8B8;padding: 2px;border-radius: 4px;color: #fff;margin-left: 3px;">
          module: android
        </span>
        <span style="display:inline-block;margin-top:2px;background-color: #B8B8B8;padding: 2px;border-radius: 4px;color: #fff;margin-left: 3px;">
          oncall: mobile
        </span>
    </div>
  </div>
</div>

  <div class="github-row">
    <p class="github-body-container">Hello,

PyTorch 2.0.0 was released in March, but there is no official build fo<span class="show-more-container"><a href="" rel="noopener" class="show-more">…</a></span><span class="excerpt hidden">r Android yet. I was wondering if there is any plan to support this platform in the near future. 

Thank you for your time and attention.</span></p>
  </div>

  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>


vjayd: <p>Pytorch 2.0 Android build is not stable. I tried building with all the pytorch tags available- the .so files gets generated successfully but fails at runtime</p>

kimishpatel: <p>Hello,<br>
we have not done any android builds for pytorch 2.0 yet. Apologies for this. <a class="mention" href="/u/gchauhan">@gchauhan</a> do you think we will ahve any resources to support this in the short term?</p>