Assigned
Status Update
Comments
mi...@google.com <mi...@google.com> #2
the follow version no any problem
Android Studio Bumblebee | 2021.1.1 Patch 3
Build #AI-211.7628.21.2111.8309675, built on March 17, 2022
Runtime version: 11.0.11+0-b60-7772763 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
Registry: external.system.auto.import.disabled=true, ide.instant.shutdown=false
Non-Bundled Plugins: detekt (1.21.0), dev.polek.adbwifi (1.2.4), PythonCore (211.7628.24), cn.yiiguxing.plugin.translate (3.4.1+203u212), com.suusan2go.kotlin-fill-class (1.0.17)
Android Studio Bumblebee | 2021.1.1 Patch 3
Build #AI-211.7628.21.2111.8309675, built on March 17, 2022
Runtime version: 11.0.11+0-b60-7772763 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
Registry: external.system.auto.import.disabled=true, ide.instant.shutdown=false
Non-Bundled Plugins: detekt (1.21.0), dev.polek.adbwifi (1.2.4), PythonCore (211.7628.24), cn.yiiguxing.plugin.translate (3.4.1+203u212), com.suusan2go.kotlin-fill-class (1.0.17)
ni...@gmail.com <ni...@gmail.com> #4
Hi. I've received your bug and will wait for https://youtrack.jetbrains.com/issue/KTIJ-20694 to be resolved and then assign the bug to android-devtools-triage@google.com.
aj...@gmail.com <aj...@gmail.com> #5
thank you for reply,is any recent progress for this issue?
kr...@google.com <kr...@google.com> #7
Hi. I've received your bug and will wait for https://youtrack.jetbrains.com/issue/KTIJ-20694 to be resolved and then assign the bug to android-devtools-triage@google.com.
Description
When you add the "spacy" library [1] as a dependency in the setup.py file, it fails with the following error when creating a version with custom routines:
ERROR: (gcloud.beta.ai-platform.versions.create) Create Version failed. Bad model detected with error: "There was a problem processing the user code: predictor.MyPredictor cannot be found. Please make sure (1) prediction_class is the fully qualified function name, and (2) it uses the correct package name as provided by the package_uris: ['gs://PATH_TO_PACKAGE'] (Error code: 4)"
Note: "predictor.MyPredictor" is the predictor-class path used for the custom routine.
Other information (workarounds you have tried, documentation consulted, etc):
Packaging spacy in a tarball and deploy it with the package-uris fails with the same error.