-
Notifications
You must be signed in to change notification settings - Fork 62
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
update mountPath in kube yaml #592
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: sallyom <[email protected]>
Reviewer's Guide by SourceryThis pull request updates the No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @sallyom - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Thanks @sallyom I've been meaning to check whether these commands:
still lineup with our generator equivalents. Maybe they have drifted. |
@rhatdan PTAL. I think you know better than me at this stage what we want the podman run, quadlet, kube file are supposed to look like |
I think we have to be careful here. I want to try this out with Ollama Models, HuggingFace Models, OCI model car models and OCI Model Raw models. I have a feeling we need to do this two ways. Depending on the model, we mount at the file path or at the directory path. Can not try out right now since I am on train. |
Also, might be better to use the actual model filename rather than model.file & add ability to load multiple models & switch quickly between them. I figured we'd want to look at this PR closer. |
The problem is without standardizing the OCI Models, we don't know what the path is, which is why we want the models to always have a |
I've found this change is necessary to make a working kube.yaml for
podman kube play ramalama_*.yaml
without the fix:
to test, this will serve granite-code at localhost:8888:
Summary by Sourcery
Bug Fixes:
podman kube play
would fail with a "not a directory" error when the mount path was set to a directory that didn't exist.