8000 ci: Add workflow to test python script examples by hickeyma · Pull Request #45 · ibm-granite/granite-io · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ci: Add workflow to test python script examples #45

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

Merged
merged 5 commits into from
Mar 3, 2025

Conversation

hickeyma
Copy link
Collaborator
@hickeyma hickeyma commented Mar 3, 2025

No description provided.

@hickeyma hickeyma force-pushed the ci/add-examples-workflow branch 6 times, most recently from 33da7a4 to 2f72a0d Compare March 3, 2025 16:07
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
@hickeyma hickeyma force-pushed the ci/add-examples-workflow branch from 2f72a0d to e0e0145 Compare March 3, 2025 16:13
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
Copy link
Collaborator
@markstur markstur left a comment

Choose a reason for hiding this comment

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

I think it is failing with the 8B model. Maybe that can be fixed somehow with caching.

Otherwise, the 2B should make CI run much better, but then I think our "thinking" test will fail until we get some parser fixes for 2B.

8000
- name: Install Ollama and start server
shell: bash
run: |
curl -fsSL https://ollama.com/install.sh | sudo -E sh
Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, I was looking at examples of this and was always wondering if we need to try to kill the ollama server at the end (capture the pid or pkill). But I wasn't finding good examples so perhaps CI shuts everything down okay? I mean it should shut down all subprocesses and not hang CI resources, right?

Copy link
Collaborator Author
@hickeyma hickeyma Mar 3, 2025

Choose a reason for hiding this comment

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

Hmmm .. not sure. I'll investigate this further.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is it ok to do this post PR merge?

hickeyma and others added 3 commits March 3, 2025 16:43
- model_chat_with_thinking.py
- watsonx_litellm.py

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
1 Python version is good enough for now.

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
This more efficient instead of separate runners using matrix in workflow.

Co-authored-by: Mark Sturdevant <mark.sturdevant@ibm.com>
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
@hickeyma hickeyma force-pushed the ci/add-examples-workflow branch from 6ad67a3 to a396a0a Compare March 3, 2025 18:41
@hickeyma
Copy link
Collaborator Author
hickeyma commented Mar 3, 2025

I think it is failing with the 8B model. Maybe that can be fixed somehow with caching.

Its ok now. It might have been at start when adding intermediate fixes.

Copy link
Collaborator
@markstur markstur left a comment

Choose a reason for hiding this comment

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

Thanks!

@markstur markstur merged commit d8cdad4 into main Mar 3, 2025
8 checks passed
@hickeyma hickeyma deleted the ci/add-examples-workflow branch March 4, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0