Skip to content
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

Fixing model disk size evaluation for pvc #55

Merged

Conversation

GolanLevy
Copy link
Contributor

Motivation

Solving #54

Modifications

Resolved symlinks (created by PVC puller) in order to calculate the target's' size instead of the symlink's size.
Relevant tests were modified to validate the new behavior.

Result

Models' disk sizes (pulled from PVC) are evaluated correctly.

@ckadner ckadner force-pushed the Fixing-model-disk-size-evaluation-pvc branch from 42de9a1 to ff48152 Compare September 28, 2023 23:29
Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this fix @GolanLevy -- Could you please fix the DCO check by signing off your commits?

https://github.com/kserve/modelmesh-runtime-adapter/pull/55/checks?check_run_id=17236997668

@GolanLevy GolanLevy force-pushed the Fixing-model-disk-size-evaluation-pvc branch from 389c210 to ff48152 Compare October 1, 2023 11:21
@GolanLevy GolanLevy force-pushed the Fixing-model-disk-size-evaluation-pvc branch from ff48152 to ac9e5e2 Compare October 1, 2023 11:22
Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. Thank you Golan! I tested it on my K8s 1.26 cluster. Works well.

/lgtm
/approve

@kserve-oss-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ckadner, GolanLevy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Runtime adapter puller incorrectly estimates model size using PVC
3 participants