-
Notifications
You must be signed in to change notification settings - Fork 1
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
align with core changes #14
Conversation
Warning Rate Limit Exceeded@avishniakov has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 24 minutes and 55 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. WalkthroughThe recent update signifies a shift in how datasets are managed and retrieved within the project's infrastructure. By transitioning from the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (2)
- template/pipelines/training.py (2 hunks)
- template/quickstart.ipynb (4 hunks)
Additional comments: 7
template/pipelines/training.py (3)
- 7-8: The import changes correctly reflect the transition from using
ExternalArtifact
to theClient
class for dataset artifact retrieval. This aligns with the PR objectives.- 47-49: The instantiation of the
Client
class and the use ofget_artifact_version
for dataset retrieval are correctly implemented. However, ensure thatname_id_or_prefix
is the correct parameter name expected byget_artifact_version
and that it can acceptUUID
objects directly, as the function is being passedtrain_dataset_id
andtest_dataset_id
which are of typeOptional[UUID]
.- 44-52: > 📝 NOTE
This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [50-62]
The logic for model training, evaluation, and promotion within the
training
function appears to be unchanged and correctly implemented. Ensure that the rest of the pipeline, includingmodel_trainer
,model_evaluator
, andmodel_promoter
steps, are compatible with the new dataset artifact objects returned byget_artifact_version
.template/quickstart.ipynb (4)
- 145-145: The import statement correctly includes the
Client
class, aligning with the PR objectives to use theClient
for dataset artifact retrieval in the notebook. This is a necessary change for the subsequent use ofClient().get_artifact_version
.- 145-145: The instantiation of the
Client
class is correctly placed at the beginning of the relevant code cell, ensuring that the client is available for artifact retrieval operations throughout the notebook. This setup is consistent with best practices for structuring code in Jupyter notebooks.- 631-632: The usage of
client.get_artifact_version
withid
as the parameter for fetching dataset artifacts is correct. However, ensure that theid
parameter is the correct way to reference artifacts by their UUID and that the function call matches the expected signature in theClient
class. This is crucial for the correct operation of the training pipeline within the notebook.- 984-984: The use of
client.get_artifact_version
for fetching the preprocessing pipeline artifact by its ID is correctly implemented. This demonstrates a consistent approach to artifact retrieval throughout the notebook, aligning with the PR objectives. Ensure that thepreprocess_pipeline_id
is correctly passed and utilized in subsequent steps for preprocessing and inference.
zenml-io/zenml#2375
Summary by CodeRabbit