Possibility to deploy tensorflow-java to AppEngine
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 928
- フォーク
- 227
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I was trying to run ML Inference with tensorflow-java deployed to AppEngine, but quickly failed with this error:
ERROR: (gcloud.app.deploy) Cannot upload file
[/root/repo/target/appengine-staging/WEB-INF/lib/tensorflow-core-api-0.3.3-linux-x86_64.jar],
which has size [62305961] (greater than maximum allowed size of [33554432]).
Which means that AppEngine forbids to deploy any single file that's bigger than 32Mb. And the jar for linux-x86_64 is ~62Mb right now. It is confirmed there: https://cloud.google.com/appengine/quotas#Code
Just checking if someone has any advice/workaround in mind?
Like, is it possible to maybe do a custom-build (I only need to run Inference of SavedModelBundle, nothing else) of tensorflow-java for Linux, to fit in under 32Mb? Or, split the jar into multiple sub-32Mb files?
Not looking for AppEngine advice (as this repo is not a right place for it), but for something that can be done with this library itself. 🙏
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず tensorflow-core-api-0.3.3-linux-x86_64.jar のパッケージングと SavedModelBundle の推論パスを確認してください。ライブラリ側のパッケージングまたはビルドの変更で、App Engine の 1 ファイルあたり 32 MB の制限を満たせるか判断し、作業を完了としてマークできる再現可能なデプロイアプローチを確立してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- google-cloud, java
- 領域
- cloud
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100