Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jaideepr97
Copy link
Member

Temporarily disable the small job on PRs until #3289 is investigated
this is simply to prevent blocking important changes that need to go in

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the
    conventional commits.
  • Changelog updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Functional tests have been added, if necessary.
  • E2E Workflow tests have been added, if necessary.

@mergify mergify bot added the CI/CD Affects CI/CD configuration label Apr 16, 2025
@mergify mergify bot added the one-approval PR has one approval from a maintainer label Apr 16, 2025
Copy link
Contributor

@booxter booxter 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 you should also disable the check-success~=e2e-small-workflow-complete condition in .github/mergify.yml to allow mergify to merge patches without the results from the job.

- '.github/workflows/e2e-nvidia-t4-x1.yml' # This workflow

# temporarily disable this job on pull requests until
# https://github.com/instructlab/instructlab/issues/3289 is resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

setting if: false to the job could be a more fine grained change: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idif

@ktdreyer
Copy link
Contributor

Looks like GH Actions is still running the e2e-small-* jobs for pull_request_target.

To test this, could you please try pushing your work-in-progress branch to the main repository https://github.com/instructlab/instructlab , rather than your fork?

@mergify mergify bot removed the one-approval PR has one approval from a maintainer label Apr 16, 2025
@jaideepr97
Copy link
Member Author

jaideepr97 commented Apr 16, 2025

Looks like GH Actions is still running the e2e-small-* jobs for pull_request_target.
To test this, could you please try pushing your work-in-progress branch to the main repository https://github.com/instructlab/instructlab , rather than your fork?

@ktdreyer so the PR should come from a branch rather than my fork?

@mergify mergify bot mentioned this pull request Apr 16, 2025
6 tasks
@ktdreyer
Copy link
Contributor

Yeah, I'm sorry for steering you wrong here. I read more about pull_request_target here.

Since pull_request_target checks out the target branch by default (important for security), it won't test your change before we merge it. That is true regardless of whether the PR comes from your repository or this instructlab repository.

Copy link
Contributor

@courtneypacheco courtneypacheco left a comment

Choose a reason for hiding this comment

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

This change won't take effect until merged, so we'll have to merge this first. Let's merge

@courtneypacheco courtneypacheco merged commit c0c269d into instructlab:main Apr 16, 2025
34 checks passed
mergify bot added a commit that referenced this pull request Apr 28, 2025
Simple pipeline hasn't been working for some time now, due to #3289 . I've tracked the issue down in [transformers utils.py](https://github.com/huggingface/transformers/blob/main/src/transformers/generation/utils.py#L3434 ).

It appears that usage of torchscript, is changing type of output from invocations of `GenerationMixin` objects. I'm not sure about the exact reason why is this happening. But the behavior is normalized by simply removing `torchscript` parameter from config.

Since purpose of  [Torchscript](https://pytorch.org/tutorials/beginner/Intro_to_TorchScript_tutorial.html) is to improve performance, I can guess that merging this fix may cause the pipeline to run a bit slower. But at least it will run. 

Proper fix should be implemented in transformers, but I don't have enough experience with the code base to know what to look for. 

I'm also reverting #3290 since things should be working now.

**Checklist:**

- [x] **Commit Message Formatting**: Commit titles and messages follow guidelines in the
  [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary).
- [x] [Changelog](https://github.com/instructlab/instructlab/blob/main/CHANGELOG.md) updated with breaking and/or notable changes for the next minor release.
- [x] Documentation has been updated, if necessary.
- [x] Unit tests have been added, if necessary.
- [x] Functional tests have been added, if necessary.
- [x] E2E Workflow tests have been added, if necessary.



Approved-by: booxter

Approved-by: RobotSail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD Affects CI/CD configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants