Comments (3)
This is correct and intentional. The Python package should be installed through google-cloud-aiplatform
, not vertexai
.
from python-aiplatform.
I understand this is intentional. However, in my case, another library I used mistakenly added this dependency in their requirements. As there were around 10 Google dependencies in my venv, it took me around an hour to find out what was causing this issue, and that it was not a problem with my setup. Two questions:
Can we at least have a more speaking message, such as „You (or a library you are using) installed vertexai package directly or as a dependency. This package is not supposed to be used, you should use … instead. Installing vertexai breaks all your existing imports until removed“.
Secondly, why would you think breaking every import is a good idea? Why isn’t it enough to break as soon as someone attempts to import it? This to me sounds like a very dangerous approach, opening up a way for other package developers to maliciously include vertexai as a dependency, without the library itself being suspicious, and coming from Google no one is going to assume vertexai library would be this intrusive. It’s not that installing vertexai via this package causes any harm to the user by itself, s/he will notice anyway that it’s the wrong package and adjust accordingly.
from python-aiplatform.
Please provide an environment/notebook/dockerfile/requirements.txt or other mechanism to recreate this issue.
from python-aiplatform.
Related Issues (20)
- tests.system.aiplatform.test_featurestore.TestFeaturestore: test_online_reads failed HOT 1
- [BUG] Can't use seed parameter with TextGenerationModel.predict_async HOT 2
- tests.system.aiplatform.test_e2e_tabular.TestEndToEndTabular: test_end_to_end_tabular failed HOT 1
- tests.system.aiplatform.test_prediction_cpr.TestPredictionCpr: test_build_cpr_model_upload_and_deploy failed HOT 1
- GenerationConfig.response_schema ValueError when passing raw JSON schema HOT 4
- Can not version or assign to parent AutoML forecasting (TFT) model when training it from custom KubeFlow container
- tests.system.vertexai.test_offline_store.TestOfflineStore: test_entity_df_no_timestamp_column_raises_error failed HOT 1
- tests.system.vertexai.test_offline_store.TestOfflineStore: test_entity_df_too_many_timestamp_columns_raises_error failed HOT 1
- tests.system.vertexai.test_offline_store.TestOfflineStore: test_with_features_old_data failed HOT 1
- tests.system.vertexai.test_offline_store.TestOfflineStore: test_with_features_new_data failed HOT 1
- tests.system.vertexai.test_offline_store.TestOfflineStore: test_with_features_mixed1_data failed HOT 1
- tests.system.vertexai.test_offline_store.TestOfflineStore: test_with_features_mixed2_data failed HOT 1
- RAG file metadata
- Unable to use Gemini stable model for caching in vertexai preview HOT 3
- tests.unit.vertexai.test_tokenization.TestModelLoad: test_load_model_proto_from_cache failed HOT 6
- tests.unit.vertexai.test_tokenization.TestModelLoad: test_load_model_proto_from_corrupted_cache failed HOT 5
- Unclear Token Usage Metrics in Gemini on Vertex AI - Request for additional `total_billable_token` metric instead HOT 1
- Warning: a recent release failed HOT 1
- Warning: a recent release failed
- Reasoning Engine Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-aiplatform.