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

Support generating diffIDs #51

Open
gaius-qi opened this issue Jan 10, 2025 · 0 comments
Open

Support generating diffIDs #51

gaius-qi opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gaius-qi
Copy link
Contributor

gaius-qi commented Jan 10, 2025

Description

modctl must generate diffIDs in a fixed order. The OCI/Image Volume mounts a directory to a specified container path, with each file treated as a separate layer. If the diffIDs are not generated in a consistent sequence, containerd may unpack them into different snapshots.

Refer to CloudNativeAI/model-spec#22.

Reference

Layer ChainID: https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid

@gaius-qi gaius-qi added the enhancement New feature or request label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants