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

Implement Github CI #84

Merged
merged 40 commits into from
Aug 26, 2024
Merged

Implement Github CI #84

merged 40 commits into from
Aug 26, 2024

Conversation

sandeepd-nv
Copy link
Member

No description provided.

.github/workflows/ci-gh.yml Outdated Show resolved Hide resolved
- setuptools
- wheel
- pip
- cuda-version >= 12.6
Copy link
Collaborator

Choose a reason for hiding this comment

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

What happens if we use CUDA X.(Y+1) to compile cuda-python CUDA X.Y? (i.e. use a newer CUDA to compile an older cuda-python)?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think it's supported. As per documentation cuda-python X.Y needs to be compiled with cuda toolkit X.Y.

Copy link
Collaborator

Choose a reason for hiding this comment

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

So then this will fail as soon as CUDA 12.7 binaries are released.

I'm not sure how you want to keep this in line if cuda-python doesn't get released at the same time.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@sandeepd-nv should this be = 12.6 instead of >=12.6?

Copy link
Member Author

Choose a reason for hiding this comment

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

Set to 12.6 exactly.

@sandeepd-nv sandeepd-nv marked this pull request as draft August 7, 2024 20:17
@sandeepd-nv sandeepd-nv marked this pull request as ready for review August 19, 2024 09:55
required: true
inter-repos-ro-access-token:
type: string
required: true
Copy link
Collaborator

Choose a reason for hiding this comment

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

What if you don't need access to any other repos?

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed.

target-device:
required: true
type: string
platform:
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this host_platform or target_platform?

Copy link
Member Author

Choose a reason for hiding this comment

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

Host platform. Updated.

@@ -0,0 +1,24 @@
name: cupy
Copy link
Collaborator

Choose a reason for hiding this comment

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

cupy is actually a completely separate project, can you rename this to something else? e.g. cuda_python or build_env or anything else that makes sense here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed to cuda_python.

target-device:
required: true
type: string
platform:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Similar question as above. Is this host or target platform?

Copy link
Member Author

Choose a reason for hiding this comment

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

Host platform.

channels:
- defaults
dependencies:
- python=3.11
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will this conflict if you're building PYTHON_VERSION=3.10? or any non-py311 version?

Copy link
Member Author

@sandeepd-nv sandeepd-nv Aug 23, 2024

Choose a reason for hiding this comment

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

Should work with 3.10 but I have changed the constraint to >=3.10.

@@ -0,0 +1,258 @@
#!/usr/bin/env bash

set_darwin_build_env() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

All of the Darwin related functions can be removed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed.

Copy link
Collaborator

@m3vaz m3vaz left a comment

Choose a reason for hiding this comment

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

LGTM +1
Thanks @sandeepd-nv

@sandeepd-nv sandeepd-nv merged commit e1e3325 into NVIDIA:main Aug 26, 2024
1 check passed
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