Skip to content
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

Build with CUDA 12.6 #271

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft

Conversation

jeongseok-meta
Copy link

@jeongseok-meta jeongseok-meta commented Oct 4, 2024

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@jeongseok-meta

This comment was marked as resolved.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you but ran into some issues. Please check the output logs of the GitHub actions workflow below for more details. You can also ping conda-forge/core for further assistance or you can try rerendering locally.

The following suggestions might help debug any issues:

  • Is the recipe/{meta.yaml,recipe.yaml} file valid?
  • If there is a recipe/conda-build-config.yaml file in the feedstock make sure that it is compatible with the current global pinnnings.
  • Is the fork used for this PR on an organization or user GitHub account? Automated rerendering via the webservices admin bot only works for user GitHub accounts.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11185517647.

@jeongseok-meta
Copy link
Author

@hmaarrfk I lost from the first step. It seems we can only use CUDA versions listed here, but it doesn't have 12.2.

@jeongseok-meta

This comment was marked as resolved.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.

Here's what I've got...

For recipe/meta.yaml:

  • The feedstock has no .ci_support files and thus will not build any packages.

@jeongseok-meta

This comment was marked as resolved.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11185822661.

@jeongseok-meta

This comment was marked as resolved.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11186641785.

@jeongseok-meta
Copy link
Author

@conda-forge-admin, please rerender

cuda_compiler_version: # [linux64]
- None # [linux64]
- 11.8 # [linux64]
- 12.0 # [linux64]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- 12.0 # [linux64]
- 12.2 # [linux64]

Copy link
Contributor

Choose a reason for hiding this comment

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

you might need to replicate the rest of everything too.

Copy link
Author

Choose a reason for hiding this comment

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

Rerendering with 12.2 seems to fail per:

If there is a recipe/conda-build-config.yaml file in the feedstock make sure that it is compatible with the current global pinnnings.

cuda_compiler_version: # [linux64]
- None # [linux64]
- 11.8 # [linux64]
- 12.0 # [linux64]
Copy link
Contributor

Choose a reason for hiding this comment

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

you might need to replicate the rest of everything too.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@jeongseok-meta
Copy link
Author

@conda-forge-admin, please rerender

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Oct 4, 2024

👏🏾

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Oct 4, 2024

"error": "User not authorized for the requested runners, user not present in 'users' list."

set it to azure for now, and see how far you get ;)

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Oct 4, 2024

You might also want to rebase onto 22bf055

conda-forge.yml Outdated
@@ -25,7 +22,4 @@ os_version:
provider:
linux_64: github_actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
linux_64: github_actions
linux_64: azure

@jeongseok-meta
Copy link
Author

@conda-forge-admin, please rerender

@jeongseok-meta
Copy link
Author

@conda-forge-admin, please restart ci

conda-forge.yml Outdated Show resolved Hide resolved
@hmaarrfk
Copy link
Contributor

hmaarrfk commented Oct 4, 2024

@conda-forge-admin please rerender

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Oct 4, 2024

the "yaml" files control the CI files, so you always have to rerender after changing them.

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Oct 4, 2024

i'm speachless...

conda-forge.yml Outdated Show resolved Hide resolved
@jeongseok-meta
Copy link
Author

@conda-forge-admin, please rerender

@hmaarrfk
Copy link
Contributor

you will only get 360 minutes. no matter what.

As a final test, you can try to compile locally.

If you have a workstation (which i think you must ;) ) then it should take about 1-2 hours with docker

python build-locally.py

@hmaarrfk
Copy link
Contributor

However, one question might be whether or not it is worth bumping all the way to 12.6
https://github.com/conda-forge/cupy-feedstock/blob/main/.ci_support/migrations/cuda12x.yaml#L70

recipe/meta.yaml Outdated
# detect_binary_files_with_prefix: false
# run_exports:
# - {{ pin_subpackage('pytorch', max_pin='x.x') }}
# - {{ pin_subpackage('libtorch', max_pin='x.x') }}
Copy link
Contributor

Choose a reason for hiding this comment

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

it might be time to undo all these changes and clean up?

@jeongseok-meta
Copy link
Author

However, one question might be whether or not it is worth bumping all the way to 12.6
https://github.com/conda-forge/cupy-feedstock/blob/main/.ci_support/migrations/cuda12x.yaml#L70

Yeah, I'm down for bumping all the way to 12.6. 12.2 was the minimal required version for our cases, but bumping up to the latest should be fine (let me know if this is not the case though).

@jeongseok-meta
Copy link
Author

As a final test, you can try to compile locally.

If you have a workstation (which i think you must ;) ) then it should take about 1-2 hours with docker

This sounds good. Let me try. However, how would we proceed when it builds locally (maybe some of the Linux variants but not tested them all) but we don't know whether CI passes or not due to the timeout (and even after merging, how can CI build and upload to the repository)? Sorry, I'm still learning the conda-forge workflow :)

@hmaarrfk
Copy link
Contributor

how would we proceed when it builds locally

I can make a small "dummy commit" to your branch and trigger things.

Or eventually, given your tennacity (this is really the requirement), you can become a maintainer here and some more powers get unlocked especially with these runners.

However, they are scarce even for us, so I would have gone through the same process of moving to azure, then building locally.

@jeongseok-meta
Copy link
Author

@conda-forge-admin, please rerender

@jeongseok-meta jeongseok-meta changed the title Build with CUDA 12.2 Build with CUDA 12.6 Oct 18, 2024
@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

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.

4 participants