Skip to content

jaxlib v0.7.2 - #324

Merged
h-vetinari merged 24 commits into
conda-forge:mainfrom
regro-cf-autotick-bot:0.7.2_h016d9d
Oct 3, 2025
Merged

h-vetinari merged 24 commits into
conda-forge:mainfrom
regro-cf-autotick-bot:0.7.2_h016d9d

Conversation

@regro-cf-autotick-bot

Copy link
Copy Markdown
Contributor

It is very likely that the current package version for this feedstock is out of date.

Checklist before merging this PR:

  • Dependencies have been updated if changed: see upstream
  • Tests have passed
  • Updated license if changed and license_file is packaged

Information about this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version.
  3. The bot will stop issuing PRs if more than 3 version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.
  4. If you want these PRs to be merged automatically, make an issue with @conda-forge-admin,please add bot automerge in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.
  5. If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase @conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

Closes: #321

Pending Dependency Version Updates

Here is a list of all the pending dependency version updates for this repo. Please double check all dependencies before merging.

Name Upstream Version Current Version
bazel 8.4.1 Anaconda-Server Badge
grpc-cpp 1.75.0 Anaconda-Server Badge

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/17779521547 - please use this URL for debugging.

@conda-forge-admin

conda-forge-admin commented Sep 16, 2025 •

Copy link
Copy Markdown
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.

I do have some suggestions for making it better though...

For recipe/meta.yaml:

  • ℹ️ The recipe is not parsable by parser conda-souschef (grayskull). This parser is not currently used by conda-forge, but may be in the future. We are collecting information to see which recipes are compatible with grayskull.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/17954679982. Examine the logs at this URL for more detail.

@h-vetinari
h-vetinari marked this pull request as draft September 21, 2025 06:49
CUDA 13.0 requires architecture `sm_75` or higher, and renamed `sm_101` to
`sm_110`. To build for these, maintainers will need to modify their existing list of
specified architectures (e.g. `CMAKE_CUDA_ARCHITECTURES`, `TORCH_CUDA_ARCH_LIST`, etc.)
for their package.

Since CUDA 12.8, the conda-forge nvcc package now sets `CUDAARCHS` and
`TORCH_CUDA_ARCH_LIST` in its activation script to a string containing all
of the supported real architectures plus the virtual architecture of the
latest. Recipes for packages who use these variables to control their build
but do not want to build for all supported architectures will need to override
these variables in their build script.

ref: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#new-features

> [[!IMPORTANT]]
> Remember to update any CUDA 11/12 specific selector syntax in the recipe to include
> CUDA 13. For example `# [(cuda_compiler_version or "None").startswith("12")]`
> might be replaced with `# [cuda_compiler_version != "None"]`.
mostly just indentation change
…5.09.20.07.44.53

Other tools:
- conda-build 25.7.0
- rattler-build 0.47.0
- rattler-build-conda-compat 1.4.6
@h-vetinari

Copy link
Copy Markdown
Member
ERROR: /Users/runner/miniforge3/conda-bld/jaxlib_1758439548331/_build_env/share/bazel/801aa7ed1913b09e0e146f508e2fa371/external/com_google_absl/absl/log/BUILD.bazel: no such target '@@com_google_absl//absl/log:log_sink_registry': target 'log_sink_registry' not declared in package 'absl/log' defined by /Users/runner/miniforge3/conda-bld/jaxlib_1758439548331/_build_env/share/bazel/801aa7ed1913b09e0e146f508e2fa371/external/com_google_absl/absl/log/BUILD.bazel
ERROR: /Users/runner/miniforge3/conda-bld/jaxlib_1758439548331/_build_env/share/bazel/801aa7ed1913b09e0e146f508e2fa371/external/xla/xla/tsl/platform/BUILD:536:11: no such target '@@com_google_absl//absl/log:log_sink_registry': target 'log_sink_registry' not declared in package 'absl/log' defined by /Users/runner/miniforge3/conda-bld/jaxlib_1758439548331/_build_env/share/bazel/801aa7ed1913b09e0e146f508e2fa371/external/com_google_absl/absl/log/BUILD.bazel and referenced by '@@xla//xla/tsl/platform:status'

@xhochy

xhochy commented Sep 23, 2025

Copy link
Copy Markdown
Member

I'm dropping CUDA 13 here as this is not yet supported by even clang=21. We need to wait for the next clang release and then retry. This is not only about missing architectures but also clang's own CUDA headers don't work yet with CUDA 13 headers.

xhochy and others added 6 commits September 23, 2025 17:33
…5.09.23.13.21.29

Other tools:
- conda-build 25.7.0
- rattler-build 0.47.0                                                                                                                                                                      - rattler-build-conda-compat 1.4.6
…5.09.23.13.21.29

Other tools:
- conda-build 25.7.0
- rattler-build 0.47.0
- rattler-build-conda-compat 1.4.6
…5.09.24.10.22.13

Other tools:
- conda-build 25.7.0
- rattler-build 0.47.0
- rattler-build-conda-compat 1.4.6
@conda-forge-admin

Copy link
Copy Markdown
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/recipe.yaml) and found some lint.

Here's what I've got...

For recipe/recipe.yaml:

  • ❌ There are 1 too many lines. There should be one empty line at the end of the file.

For recipe/recipe.yaml:

  • ℹ️ Jinja2 variable references are suggested to take a ${{<one space><variable name><one space>}} form. See lines [110].

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/17986605585. Examine the logs at this URL for more detail.

@xhochy

xhochy commented Sep 26, 2025

Copy link
Copy Markdown
Member

The build issue on Linux seems to be some weird rattler-build / Alma 9 Linux interaction. The error message from bazel is coming from the fact that the timestamps are not correct. If I use the build-locally.py script, it fails for me and the folder content looks as follows:

-rw-rw-r-- 1 ubuntu ubuntu 108716277 Sep 26 19:04 A-server.jar
-rw-rw-r-- 1 ubuntu ubuntu        17 Sep 26 19:04 build-label.txt
-rwxrwxr-x 1 ubuntu ubuntu     46832 Sep 26 19:04 build-runfiles*
-rwxrwxr-x 1 ubuntu ubuntu     16632 Sep 26 19:04 daemonize*
drwxr-xr-x 5 ubuntu ubuntu      4096 Sep 26 19:04 embedded_tools/
-rwxrwxr-x 1 ubuntu ubuntu        32 Sep 26 19:04 install_base_key*
-rwxrwxr-x 1 ubuntu ubuntu     16424 Sep 26 19:04 libcpu_profiler.so*
-rwxrwxr-x 1 ubuntu ubuntu     96880 Sep 26 19:04 linux-sandbox*
drwxr-xr-x 5 ubuntu ubuntu      4096 Sep 26 19:04 platforms/
-rwxrwxr-x 1 ubuntu ubuntu     58576 Sep 26 19:04 process-wrapper*
drwxr-xr-x 4 ubuntu ubuntu      4096 Sep 26 19:04 rules_java/
-rwxrwxr-x 1 ubuntu ubuntu       698 Sep 26 19:04 xcode-locator*

If I run it natively on my machine (Ubuntu 24.04), I get the following timestamps:

-rw-rw-r-- 2 ubuntu ubuntu 108716277 Oct 10  2035 A-server.jar
-rw-rw-r-- 2 ubuntu ubuntu        17 Oct 10  2035 build-label.txt
-rwxrwxr-x 2 ubuntu ubuntu     46832 Oct 10  2035 build-runfiles*
-rwxrwxr-x 2 ubuntu ubuntu     16632 Oct 10  2035 daemonize*
drwxrwxr-x 5 ubuntu ubuntu      4096 Sep 26 19:09 embedded_tools/
-rwxrwxr-x 2 ubuntu ubuntu        32 Oct 10  2035 install_base_key*
-rwxrwxr-x 2 ubuntu ubuntu     16424 Oct 10  2035 libcpu_profiler.so*
-rwxrwxr-x 2 ubuntu ubuntu     96880 Oct 10  2035 linux-sandbox*
drwxrwxr-x 5 ubuntu ubuntu      4096 Sep 26 19:09 platforms/
-rwxrwxr-x 2 ubuntu ubuntu     58576 Oct 10  2035 process-wrapper*
drwxrwxr-x 4 ubuntu ubuntu      4096 Sep 26 19:09 rules_java/
-rwxrwxr-x 2 ubuntu ubuntu       698 Oct 10  2035 xcode-locator*

@conda-forge-admin

Copy link
Copy Markdown
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/recipe.yaml) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipe/recipe.yaml:

  • ℹ️ Jinja2 variable references are suggested to take a ${{<one space><variable name><one space>}} form. See lines [112].

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/18056112612. Examine the logs at this URL for more detail.

@xhochy

xhochy commented Sep 27, 2025

Copy link
Copy Markdown
Member

rattler issue at prefix-dev/rattler-build#1865

@conda-forge-admin

Copy link
Copy Markdown
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/recipe.yaml) and found it was in an excellent condition.

…5.09.27.05.44.00

Other tools:
- conda-build 25.7.0
- rattler-build 0.47.0
- rattler-build-conda-compat 1.4.6
@xhochy
xhochy marked this pull request as ready for review September 28, 2025 05:43
Comment thread recipe/build.sh
export TF_SYSTEM_LIBS="boringssl,com_github_googlecloudplatform_google_cloud_cpp,com_github_grpc_grpc,flatbuffers,zlib,com_google_absl"

if [[ "${target_platform}" == "osx-64" ]]; then
export TF_SYSTEM_LIBS="${TF_SYSTEM_LIBS},onednn"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Shouldn't we do this on linux-64 as well? 🤔

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm a bit cautious. I know that in the past, in TensorFlow, they have used some special build options. If it works, let's also do it for linux-64.

@xhochy

xhochy commented Sep 28, 2025

Copy link
Copy Markdown
Member

The CI errors are all due to network issues. Let's restart them once the remaining jobs have run.

@xhochy

xhochy commented Sep 29, 2025

Copy link
Copy Markdown
Member

There is probably a host in the cluster that has network problems. I have restarted the jobs already and see these failures also in other jobs. Not sure if it is worth restarting here.

@xhochy

xhochy commented Oct 1, 2025

Copy link
Copy Markdown
Member

This also needs conda-forge/bazel-toolchain-feedstock#26

@h-vetinari

Copy link
Copy Markdown
Member

This also needs conda-forge/bazel-toolchain-feedstock#26

I've restarted after the builds were online, but it still fails unfortunately

@xhochy

xhochy commented Oct 2, 2025

Copy link
Copy Markdown
Member

This also needs conda-forge/bazel-toolchain-feedstock#26

I've restarted after the builds were online, but it still fails unfortunately

It needed the PR and the local changes on my disk. It should pass now, tested CUDA on linux-64 and linux-aarch64 locally before pushing.

@h-vetinari h-vetinari left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks a lot for the work on this! 🙏

@h-vetinari
h-vetinari merged commit 1f8cade into conda-forge:main Oct 3, 2025
28 of 34 checks passed
@regro-cf-autotick-bot
regro-cf-autotick-bot deleted the 0.7.2_h016d9d branch October 3, 2025 07:16
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