Skip to content

Fix CI build and improve parallelism #47

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

Closed
wants to merge 9 commits into from

Conversation

FindHao
Copy link
Member

@FindHao FindHao commented Jul 29, 2025

This PR introduces two main improvements to the CI workflow:

  1. Run Jobs in Parallel: The test job no longer waits for the format-check job to complete. By removing the needs dependency in .github/workflows/test.yml, both jobs can run concurrently, which helps to speed up the overall CI pipeline.

  2. Fix Broken cuDNN Installation: The CI was failing during the environment setup because the install_cudnn.sh script from the PyTorch repository was removed. This has been fixed by:

    • Using the newer install_cuda.sh script which contains the necessary install_cudnn function.
    • Correctly calling the install_cudnn function with the required CUDA_VERSION and CUDNN_VERSION arguments.

These changes make the CI process both faster and more reliable.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 29, 2025
@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D79178763.

@FindHao FindHao changed the title [BE] Remove dependency on format-check in GitHub Actions test workflow Fix CI build and improve parallelism Jul 29, 2025
@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D79178763.

@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D79178763.

FindHao added 4 commits July 29, 2025 12:54
…rom install_cuda.sh. This change enhances the installation process by preserving environment variables and allowing for version-specific installations of cuDNN.
…This change modifies the argument passed to the install_cudnn function, enhancing compatibility with version specifications.
…ritonParse prerequisites. Removed optional test dependencies from pyproject.toml for clarity.
@FindHao FindHao force-pushed the findhao/remove_ci_job_dependency branch from 09575b0 to a034481 Compare July 29, 2025 17:01
@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D79178763.

FindHao added 4 commits July 29, 2025 13:41
…ditional CUDA installation for development libraries and ensured all necessary packages, including CUDA toolkit, are installed when required.
@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D79178763.

…tency in `README.md` regarding Triton installation instructions.
@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D79178763.

@facebook-github-bot
Copy link
Contributor

@FindHao merged this pull request in 18a2adf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants