-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vertex AI MLOps Accelerator #980
Vertex AI MLOps Accelerator #980
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a binary file in this PR (examples/vertex-ai-mlops-accelerator/PREDICT/model.joblib). What is that file for? Is that file generated somehow by this example?
Please use a linter with the Python code to make the code compliant with PEP8 (for instance, you can use https://pypi.org/project/pylint/). I have added comments where I have caught inconsistencies, but I may have missed it in other places.
examples/vertex-ai-mlops-accelerator/CLOUD_FUNCTION/PUB_SUB_VERTEX_AI_TRIGGER/main.py
Outdated
Show resolved
Hide resolved
examples/vertex-ai-mlops-accelerator/CLOUD_FUNCTION/SCHEDULED_BATCH_PREDICTION_TRIGGER/main.py
Outdated
Show resolved
Hide resolved
examples/vertex-ai-mlops-accelerator/CLOUD_FUNCTION/PUB_SUB_VERTEX_AI_TRIGGER/config.ini
Outdated
Show resolved
Hide resolved
...les/vertex-ai-mlops-accelerator/CLOUD_FUNCTION/SCHEDULED_BATCH_PREDICTION_TRIGGER/config.ini
Outdated
Show resolved
Hide resolved
examples/vertex-ai-mlops-accelerator/CLOUD_RUN/PREDICTION_CLOUD_RUN/main.py
Outdated
Show resolved
Hide resolved
examples/vertex-ai-mlops-accelerator/VERTEX_AI/TRAINING_PIPELINE/worker_pool_specs.py
Outdated
Show resolved
Hide resolved
|
||
|
||
|
||
stats_output = namedtuple('Outputs', ['worker_pool_specs']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(following from previous comment) Then here you could just say:
stats_output = WorkerPoolOutput(Outputs=['worker_pool_specs'])
examples/vertex-ai-mlops-accelerator/VERTEX_AI/TRAINING_PIPELINE/worker_pool_specs.py
Outdated
Show resolved
Hide resolved
examples/vertex-ai-mlops-accelerator/VERTEX_AI/TRAINING_PIPELINE/worker_pool_specs.py
Outdated
Show resolved
Hide resolved
Most of the comments I made have not been addressed. There are no changes to the Python code, the same issues remain. Please could you take a look at the comments? |
@paragsmhatre Could you take a look at @iht 's comment? |
Yes sure @iht @agold-rh , I have 1. applied Pylint , 2.removed binary files 3. Cleanup non-required files as per suggestions. I will revist the code and try to resolve all comments. Thank you for the guidance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before merging, please ensure artifacts aren't outdated as VertexAI has changed significantly since this PR was opened
Closed as stale. If I'm wrong, please re-open. |
Generic accelerator for Machine Learning Operationalization using Vertex AI