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

[DRAFT] Jax #626

Merged
merged 12 commits into from
Sep 12, 2024
Merged

[DRAFT] Jax #626

merged 12 commits into from
Sep 12, 2024

Conversation

johnnynunez
Copy link
Contributor

@johnnynunez johnnynunez commented Sep 11, 2024

TIPS:

  1. cudnn8 is not compatible with next releases, so maybe we have to upgrade 12.2 image to 9.0 version. Or developers must be do a rev 3 of jetpack 6.
  2. cudnn9 must be renamed and mantain a specific structure of folders. (I did a script that do that in /opt/nvidia/cudnn)
  3. clang not detect cuda and cudnn, so it must be passes by command.
  4. create_cudnn is like a temporal folder for build jax.
  5. All must be match if not, crash!

Captura de pantalla 2024-09-11 a las 5 35 30

IDEA:
Create a docker.builder that run create_cudnn.sh etc and build jax. All must be automatize by hyperparameter, like sm_87, cuda version, cudnn_version and local_cuda_path

New command:

python3 build/build.py --enable_cuda --enable_nccl=False \
        --cuda_compute_capabilities="sm_87" \
        --cuda_version=12.2.0 --cudnn_version=9.4.0 \
        --bazel_options=--repo_env=LOCAL_CUDA_PATH="/usr/local/cuda-12.2" \
        --bazel_options=--repo_env=LOCAL_CUDNN_PATH="/opt/nvidia/cudnn/"

@johnnynunez
Copy link
Contributor Author

#618

@johnnynunez johnnynunez changed the base branch from dev to jax September 11, 2024 03:54
@johnnynunez
Copy link
Contributor Author

johnnynunez commented Sep 11, 2024

@dusty-nv all is prepared for the next release 0.4.32.
Now depends on the commit builds or not. In my case, is building on my jetson outsde dockers. So I will wait for the next release in the coming days.
Dockers are not prepared. taking accont my tips

@johnnynunez
Copy link
Contributor Author

I've improved the script because needs that cuda must be lib instead of lib64 path

@johnnynunez johnnynunez marked this pull request as ready for review September 11, 2024 21:16
@dusty-nv dusty-nv changed the base branch from jax to dev September 12, 2024 06:31
@dusty-nv dusty-nv merged commit 7d77db6 into dusty-nv:dev Sep 12, 2024
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