-
Notifications
You must be signed in to change notification settings - Fork 53
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
adds upstream testing development document #404
base: main
Are you sure you want to change the base?
adds upstream testing development document #404
Conversation
@JamesKunstle can you fix the markdown linting? can run |
fc72782
to
f8c0843
Compare
|
||
```python | ||
|
||
for variant in ["nvidia", "amd", "intel", "cpu", "mps"]: # parallel at runner level |
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.
This is going to be a real challenge with runner availability to cover these on every PR.
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.
Yeah, I figure that we'll scale out a little at a time, starting w/ CPU and nvidia, and adding runners to the matrix as possible.
f8c0843
to
c405770
Compare
The current CI failure seems to be because the workflow can't access |
I am looking at the difference between: https://github.com/instructlab/training/blob/main/.github/workflows/unit-tests.yaml#L12 and https://github.com/instructlab/training/blob/main/.github/workflows/e2e-nvidia-l4-x1.yml#L5 Were there reasons for the unit tests to be different? |
No there wasn't a reason for the two to be different apart from just writing the unit-test workflow from scratch. The two should have the same behavior, I'll amend that. I'm confused about the |
pull_request runs from the context of your merge commit and pull_request_target runs from the context of instructlab/training. So when running from the context of your branch, it can't see the var from the instructlab/training repo. |
That's super interesting, I totally missed that distinction in the docs. I'll look more closely at that. I opened a PR #411 that mirrors the |
From the docs: My new understanding is that we have to use If we weren't using these secure resources we could use the |
Signed-off-by: James Kunstle <[email protected]>
c405770
to
68f34ee
Compare
That matches my understanding as well. I had originally made sure you had permissions set to {}, but I missed the pull_request vs pull_request_target at the top. |
Here's the most informative doc IMO: |
Adds a dev doc describing our testing strategy for this repo.