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

add nvidia driver for cuda arm wheel #5218

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tinglvv
Copy link
Contributor

@tinglvv tinglvv commented May 19, 2024

No description provided.

Copy link

vercel bot commented May 19, 2024

@tinglvv is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 19, 2024
@@ -8,6 +8,10 @@ inputs:
required: false
type: string
default: "550.54.15" # https://docs.nvidia.com/datacenter/tesla/tesla-release-notes-550-54-15/index.html
GPU_ARCH_TYPE:
required: true
type: string
Copy link
Contributor

Choose a reason for hiding this comment

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

can we set a default "x86" and only add if statement for sbsa

GPU_ARCH_TYPE: ${{ inputs.GPU_ARCH_TYPE }}
${{ if eq(inputs.GPU_ARCH_TYPE , 'cuda-aarch64') }}:
ARCH_TYPE: sbsa
${{ else }}:
Copy link
Contributor

Choose a reason for hiding this comment

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

this else would be x86_64 by default, so we can remove this if you set it to default.

Copy link
Contributor

@nWEIdia nWEIdia left a comment

Choose a reason for hiding this comment

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

Change works, just nitpick to set sth to default.

description: GPU Arch type #"cuda", "cuda-aarch64"
required: false
type: string
ARCH_TYPE:
Copy link
Contributor

Choose a reason for hiding this comment

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

How is ARCH_TYPE used?
I think it is safe to assume setup-nvidia is only called for GPU instances, where if it is not cuda, it must be cuda-aarch64.
GPU_ARCH_TYPE is enough?

Copy link
Contributor

@nWEIdia nWEIdia left a comment

Choose a reason for hiding this comment

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

LGTM

@tinglvv tinglvv marked this pull request as ready for review May 22, 2024 01:17
@tinglvv tinglvv changed the title [draft] add nvidia driver for cuda arm wheel add nvidia driver for cuda arm wheel May 22, 2024
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants