<p dir="auto">Please:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li>
</ul>
<p dir="auto">I've been trying to build jaxlib v.0.3.10 from source on a new cluster with cuda 11.3.1 and cudnn 8.2.1 but it seems<br>
to be that the bazel builder is having issues with fetching <code class="notranslate">llvm-raw</code> as its returning an input/output error.</p>
<ul dir="auto">
<li>Operating system RHEL 8</li>
<li>CUDA version 11.3.1</li>
<li>cuDNN version 8.2.1.32</li>
<li>Python version 3.9.5</li>
<li>compiler GCC 10.3.0</li>
</ul>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/google/jax
$ cd jax

$ python build/build.py --enable_cuda --enable_nccl --cuda_path='/usr/local/easybuild/software/CUDA/11.3.1/' --cudnn_path='/usr/local/easybuild/software/cuDNN/8.2.1.32-CUDA-11.3.1/' --cuda_version='11.3' --cudnn_version='8.2.1' --target_cpu_features='native'"><pre class="notranslate">$ git clone https://github.com/google/jax
$ <span class="pl-c1">cd</span> jax

$ python build/build.py --enable_cuda --enable_nccl --cuda_path=<span class="pl-s"><span class="pl-pds">'</span>/usr/local/easybuild/software/CUDA/11.3.1/<span class="pl-pds">'</span></span> --cudnn_path=<span class="pl-s"><span class="pl-pds">'</span>/usr/local/easybuild/software/cuDNN/8.2.1.32-CUDA-11.3.1/<span class="pl-pds">'</span></span> --cuda_version=<span class="pl-s"><span class="pl-pds">'</span>11.3<span class="pl-pds">'</span></span> --cudnn_version=<span class="pl-s"><span class="pl-pds">'</span>8.2.1<span class="pl-pds">'</span></span> --target_cpu_features=<span class="pl-s"><span class="pl-pds">'</span>native<span class="pl-pds">'</span></span></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li>
</ul>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="     _   _  __  __
    | | / \ \ \/ /
 _  | |/ _ \ \  /
| |_| / ___ \/  \
 \___/_/   \/_/\_\


Bazel binary path: ./bazel-5.1.1-linux-x86_64
Bazel version: 5.1.1
Python binary path: /usr/local/easybuild/software/Python/3.9.5-GCCcore-10.3.0/bin/python
Python version: 3.9
NumPy version: 1.21.0
MKL-DNN enabled: yes
Target CPU: x86_64
Target CPU features: native
CUDA enabled: yes
CUDA toolkit path: /usr/local/easybuild/software/CUDA/11.3.1/
CUDNN library path: /usr/local/easybuild/software/cuDNN/8.2.1.32-CUDA-11.3.1/
CUDA version: 11.3
CUDNN version: 8.2.1
NCCL enabled: yes
TPU enabled: no
ROCm enabled: no

Building XLA and installing it in the jaxlib source tree...
./bazel-5.1.1-linux-x86_64 run --verbose_failures=true --config=native_arch_posix --config=mkl_open_source_only --config=cuda :build_wheel -- --output_path=/home/oxg34/user_modules/jax_0.3.10/jax/dist --cpu=x86_64
Starting local Bazel server and connecting to it...
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=0 --terminal_columns=80
INFO: Reading rc options for 'run' from /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc:
  Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'run' from /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc:
  Inherited 'build' options: --apple_platform_type=macos --macos_minimum_os=10.9 --announce_rc --define open_source_build=true --spawn_strategy=standalone --enable_platform_specific_config --experimental_cc_shared_library --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true -c opt --config=short_logs --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir.
INFO: Reading rc options for 'run' from /home/oxg34/user_modules/jax_0.3.10/jax/.jax_configure.bazelrc:
  Inherited 'build' options: --strategy=Genrule=standalone --repo_env PYTHON_BIN_PATH=/usr/local/easybuild/software/Python/3.9.5-GCCcore-10.3.0/bin/python --action_env=PYENV_ROOT --python_path=/usr/local/easybuild/software/Python/3.9.5-GCCcore-10.3.0/bin/python --action_env CUDA_TOOLKIT_PATH=/usr/local/easybuild/software/CUDA/11.3.1/ --action_env CUDNN_INSTALL_PATH=/usr/local/easybuild/software/cuDNN/8.2.1.32-CUDA-11.3.1/ --action_env TF_CUDA_PATHS=/usr/local/easybuild/software/CUDA/11.3.1/,/usr/local/easybuild/software/cuDNN/8.2.1.32-CUDA-11.3.1/ --action_env TF_CUDA_VERSION=11.3 --action_env TF_CUDNN_VERSION=8.2.1 --distinct_host_configuration=false
INFO: Found applicable config definition build:short_logs in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:native_arch_posix in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --copt=-march=native --host_copt=-march=native
INFO: Found applicable config definition build:mkl_open_source_only in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1
INFO: Found applicable config definition build:cuda in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
INFO: Found applicable config definition build:linux in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --config=posix --copt=-Wno-stringop-truncation --copt=-Wno-array-parameter
INFO: Found applicable config definition build:posix in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --copt=-fvisibility=hidden --copt=-Wno-sign-compare --cxxopt=-std=c++14 --host_cxxopt=-std=c++14
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: in &lt;toplevel&gt;
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: in workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: in repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: in &lt;toplevel&gt;
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: in &lt;toplevel&gt;
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: in workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: in repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: in &lt;toplevel&gt;
ERROR: An error occurred during the fetch of repository 'llvm-raw':
   Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: in &lt;toplevel&gt;
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: in workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: in repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: in &lt;toplevel&gt;
ERROR: An error occurred during the fetch of repository 'llvm-raw':
   Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: in &lt;toplevel&gt;
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: in workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: in repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: in &lt;toplevel&gt;
ERROR: An error occurred during the fetch of repository 'llvm-raw':
   Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: in &lt;toplevel&gt;
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: in workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: in repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: in &lt;toplevel&gt;
ERROR: An error occurred during the fetch of repository 'llvm-raw':
   Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: in &lt;toplevel&gt;
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: in workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: in repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: in &lt;toplevel&gt;
ERROR: An error occurred during the fetch of repository 'llvm-raw':
   Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package '@llvm-raw//utils/bazel': java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: in &lt;toplevel&gt;
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: in workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: in repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: in &lt;toplevel&gt;
ERROR: An error occurred during the fetch of repository 'llvm-raw':
   Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package '@llvm-raw//utils/bazel': java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
write (Input/output error)
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: in &lt;toplevel&gt;
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: in workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: in repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: in &lt;toplevel&gt;
ERROR: An error occurred during the fetch of repository 'llvm-raw':
   Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package '@llvm-raw//utils/bazel': java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
write (Input/output error)
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: in &lt;toplevel&gt;
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: in workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: in repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: in &lt;toplevel&gt;
ERROR: An error occurred during the fetch of repository 'llvm-raw':
   Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package '@llvm-raw//utils/bazel': java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
write (Input/output error)
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: in &lt;toplevel&gt;
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: in workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: in repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: in &lt;toplevel&gt;
ERROR: An error occurred during the fetch of repository 'llvm-raw':
   Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File &quot;/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl&quot;, line 64, column 33, in _tf_http_archive_impl
		ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda in file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package '@llvm-raw//utils/bazel': java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
write (Input/output error)
b''
Traceback (most recent call last):
  File &quot;/home/oxg34/user_modules/jax_0.3.10/jax/build/build.py&quot;, line 528, in &lt;module&gt;
    main()
  File &quot;/home/oxg34/user_modules/jax_0.3.10/jax/build/build.py&quot;, line 523, in main
    shell(command)
  File &quot;/home/oxg34/user_modules/jax_0.3.10/jax/build/build.py&quot;, line 53, in shell
    output = subprocess.check_output(cmd)
  File &quot;/usr/local/easybuild/software/Python/3.9.5-GCCcore-10.3.0/lib/python3.9/subprocess.py&quot;, line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File &quot;/usr/local/easybuild/software/Python/3.9.5-GCCcore-10.3.0/lib/python3.9/subprocess.py&quot;, line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['./bazel-5.1.1-linux-x86_64', 'run', '--verbose_failures=true', '--config=native_arch_posix', '--config=mkl_open_source_only', '--config=cuda', ':build_wheel', '--', '--output_path=/home/oxg34/user_modules/jax_0.3.10/jax/dist', '--cpu=x86_64']' returned non-zero exit status 2."><pre class="notranslate">     _   _  __  __
    <span class="pl-k">|</span> <span class="pl-k">|</span> / <span class="pl-cce">\ \ \/</span> /
 _  <span class="pl-k">|</span> <span class="pl-k">|</span>/ _ <span class="pl-cce">\ \ </span> /
<span class="pl-k">|</span> <span class="pl-k">|</span>_<span class="pl-k">|</span> / ___ <span class="pl-cce">\/</span>  \
 <span class="pl-cce">\_</span>__/_/   <span class="pl-cce">\/</span>_/<span class="pl-cce">\_</span>\


Bazel binary path: ./bazel-5.1.1-linux-x86_64
Bazel version: 5.1.1
Python binary path: /usr/local/easybuild/software/Python/3.9.5-GCCcore-10.3.0/bin/python
Python version: 3.9
NumPy version: 1.21.0
MKL-DNN enabled: yes
Target CPU: x86_64
Target CPU features: native
CUDA enabled: yes
CUDA toolkit path: /usr/local/easybuild/software/CUDA/11.3.1/
CUDNN library path: /usr/local/easybuild/software/cuDNN/8.2.1.32-CUDA-11.3.1/
CUDA version: 11.3
CUDNN version: 8.2.1
NCCL enabled: yes
TPU enabled: no
ROCm enabled: no

Building XLA and installing it <span class="pl-k">in</span> the jaxlib <span class="pl-c1">source</span> tree...
./bazel-5.1.1-linux-x86_64 run --verbose_failures=true --config=native_arch_posix --config=mkl_open_source_only --config=cuda :build_wheel -- --output_path=/home/oxg34/user_modules/jax_0.3.10/jax/dist --cpu=x86_64
Starting <span class="pl-k">local</span> Bazel server and connecting to it...
INFO: Options provided by the client:
  Inherited <span class="pl-s"><span class="pl-pds">'</span>common<span class="pl-pds">'</span></span> options: --isatty=0 --terminal_columns=80
INFO: Reading rc options <span class="pl-k">for</span> <span class="pl-s"><span class="pl-pds">'</span>run<span class="pl-pds">'</span></span> from /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc:
  Inherited <span class="pl-s"><span class="pl-pds">'</span>common<span class="pl-pds">'</span></span> options: --experimental_repo_remote_exec
INFO: Reading rc options <span class="pl-k">for</span> <span class="pl-s"><span class="pl-pds">'</span>run<span class="pl-pds">'</span></span> from /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc:
  Inherited <span class="pl-s"><span class="pl-pds">'</span>build<span class="pl-pds">'</span></span> options: --apple_platform_type=macos --macos_minimum_os=10.9 --announce_rc --define open_source_build=true --spawn_strategy=standalone --enable_platform_specific_config --experimental_cc_shared_library --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true -c opt --config=short_logs --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir.
INFO: Reading rc options <span class="pl-k">for</span> <span class="pl-s"><span class="pl-pds">'</span>run<span class="pl-pds">'</span></span> from /home/oxg34/user_modules/jax_0.3.10/jax/.jax_configure.bazelrc:
  Inherited <span class="pl-s"><span class="pl-pds">'</span>build<span class="pl-pds">'</span></span> options: --strategy=Genrule=standalone --repo_env PYTHON_BIN_PATH=/usr/local/easybuild/software/Python/3.9.5-GCCcore-10.3.0/bin/python --action_env=PYENV_ROOT --python_path=/usr/local/easybuild/software/Python/3.9.5-GCCcore-10.3.0/bin/python --action_env CUDA_TOOLKIT_PATH=/usr/local/easybuild/software/CUDA/11.3.1/ --action_env CUDNN_INSTALL_PATH=/usr/local/easybuild/software/cuDNN/8.2.1.32-CUDA-11.3.1/ --action_env TF_CUDA_PATHS=/usr/local/easybuild/software/CUDA/11.3.1/,/usr/local/easybuild/software/cuDNN/8.2.1.32-CUDA-11.3.1/ --action_env TF_CUDA_VERSION=11.3 --action_env TF_CUDNN_VERSION=8.2.1 --distinct_host_configuration=false
INFO: Found applicable config definition build:short_logs <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:native_arch_posix <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --copt=-march=native --host_copt=-march=native
INFO: Found applicable config definition build:mkl_open_source_only <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1
INFO: Found applicable config definition build:cuda <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
INFO: Found applicable config definition build:linux <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --config=posix --copt=-Wno-stringop-truncation --copt=-Wno-array-parameter
INFO: Found applicable config definition build:posix <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --copt=-fvisibility=hidden --copt=-Wno-sign-compare --cxxopt=-std=c++14 --host_cxxopt=-std=c++14
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: <span class="pl-k">in</span> workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: <span class="pl-k">in</span> repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: <span class="pl-k">in</span> tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: <span class="pl-k">in</span> workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: <span class="pl-k">in</span> repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: <span class="pl-k">in</span> tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
ERROR: An error occurred during the fetch of repository <span class="pl-s"><span class="pl-pds">'</span>llvm-raw<span class="pl-pds">'</span></span>:
   Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: <span class="pl-k">in</span> workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: <span class="pl-k">in</span> repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: <span class="pl-k">in</span> tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
ERROR: An error occurred during the fetch of repository <span class="pl-s"><span class="pl-pds">'</span>llvm-raw<span class="pl-pds">'</span></span>:
   Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: <span class="pl-k">in</span> workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: <span class="pl-k">in</span> repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: <span class="pl-k">in</span> tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
ERROR: An error occurred during the fetch of repository <span class="pl-s"><span class="pl-pds">'</span>llvm-raw<span class="pl-pds">'</span></span>:
   Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: <span class="pl-k">in</span> workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: <span class="pl-k">in</span> repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: <span class="pl-k">in</span> tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
ERROR: An error occurred during the fetch of repository <span class="pl-s"><span class="pl-pds">'</span>llvm-raw<span class="pl-pds">'</span></span>:
   Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: <span class="pl-k">in</span> workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: <span class="pl-k">in</span> repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: <span class="pl-k">in</span> tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
ERROR: An error occurred during the fetch of repository <span class="pl-s"><span class="pl-pds">'</span>llvm-raw<span class="pl-pds">'</span></span>:
   Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package <span class="pl-s"><span class="pl-pds">'</span>@llvm-raw//utils/bazel<span class="pl-pds">'</span></span>: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: <span class="pl-k">in</span> workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: <span class="pl-k">in</span> repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: <span class="pl-k">in</span> tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
ERROR: An error occurred during the fetch of repository <span class="pl-s"><span class="pl-pds">'</span>llvm-raw<span class="pl-pds">'</span></span>:
   Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package <span class="pl-s"><span class="pl-pds">'</span>@llvm-raw//utils/bazel<span class="pl-pds">'</span></span>: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
write (Input/output error)
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: <span class="pl-k">in</span> workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: <span class="pl-k">in</span> repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: <span class="pl-k">in</span> tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
ERROR: An error occurred during the fetch of repository <span class="pl-s"><span class="pl-pds">'</span>llvm-raw<span class="pl-pds">'</span></span>:
   Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package <span class="pl-s"><span class="pl-pds">'</span>@llvm-raw//utils/bazel<span class="pl-pds">'</span></span>: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
write (Input/output error)
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: <span class="pl-k">in</span> workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: <span class="pl-k">in</span> repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: <span class="pl-k">in</span> tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
ERROR: An error occurred during the fetch of repository <span class="pl-s"><span class="pl-pds">'</span>llvm-raw<span class="pl-pds">'</span></span>:
   Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package <span class="pl-s"><span class="pl-pds">'</span>@llvm-raw//utils/bazel<span class="pl-pds">'</span></span>: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
write (Input/output error)
INFO: Repository llvm-raw instantiated at:
  /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/tensorflow/workspace3.bzl:32:9: <span class="pl-k">in</span> workspace
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/llvm/workspace.bzl:10:20: <span class="pl-k">in</span> repo
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:128:21: <span class="pl-k">in</span> tf_http_archive
Repository rule _tf_http_archive defined at:
  /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl:81:35: <span class="pl-k">in</span> <span class="pl-k">&lt;</span>toplevel<span class="pl-k">&gt;</span>
ERROR: An error occurred during the fetch of repository <span class="pl-s"><span class="pl-pds">'</span>llvm-raw<span class="pl-pds">'</span></span>:
   Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
ERROR: /home/oxg34/user_modules/jax_0.3.10/jax/WORKSPACE:28:14: fetching _tf_http_archive rule //external:llvm-raw: Traceback (most recent call last):
	File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/org_tensorflow/third_party/repo.bzl<span class="pl-pds">"</span></span>, line 64, column 33, <span class="pl-k">in</span> _tf_http_archive_impl
		ctx.download_and_extract(
Error <span class="pl-k">in</span> download_and_extract: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
INFO: Found applicable config definition build:cuda <span class="pl-k">in</span> file /home/oxg34/user_modules/jax_0.3.10/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true
write (Input/output error)
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package <span class="pl-s"><span class="pl-pds">'</span>@llvm-raw//utils/bazel<span class="pl-pds">'</span></span>: java.io.IOException: Error extracting /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076/e2ed3fd71e08ac50ca326c79f31247e7e4a16b7b.tar.gz to /home/oxg34/.cache/bazel/_bazel_oxg34/6b511a965134ca496153611be50e71ba/external/llvm-raw/temp11546401468023270076: Input/output error
write (Input/output error)
b<span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>
Traceback (most recent call last):
  File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/user_modules/jax_0.3.10/jax/build/build.py<span class="pl-pds">"</span></span>, line 528, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span>
    <span class="pl-en">main</span>()
  File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/user_modules/jax_0.3.10/jax/build/build.py<span class="pl-pds">"</span></span>, line 523, <span class="pl-k">in</span> main
    shell(command)
  File <span class="pl-s"><span class="pl-pds">"</span>/home/oxg34/user_modules/jax_0.3.10/jax/build/build.py<span class="pl-pds">"</span></span>, line 53, <span class="pl-k">in</span> shell
    output = subprocess.check_output(cmd)
  File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/easybuild/software/Python/3.9.5-GCCcore-10.3.0/lib/python3.9/subprocess.py<span class="pl-pds">"</span></span>, line 424, <span class="pl-k">in</span> check_output
    <span class="pl-k">return</span> run(<span class="pl-k">*</span>popenargs, stdout=PIPE, timeout=timeout, check=True,
  File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/easybuild/software/Python/3.9.5-GCCcore-10.3.0/lib/python3.9/subprocess.py<span class="pl-pds">"</span></span>, line 528, <span class="pl-k">in</span> run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command <span class="pl-s"><span class="pl-pds">'</span>[<span class="pl-pds">'</span></span>./bazel-5.1.1-linux-x86_64<span class="pl-s"><span class="pl-pds">'</span>, <span class="pl-pds">'</span></span>run<span class="pl-s"><span class="pl-pds">'</span>, <span class="pl-pds">'</span></span>--verbose_failures=true<span class="pl-s"><span class="pl-pds">'</span>, <span class="pl-pds">'</span></span>--config=native_arch_posix<span class="pl-s"><span class="pl-pds">'</span>, <span class="pl-pds">'</span></span>--config=mkl_open_source_only<span class="pl-s"><span class="pl-pds">'</span>, <span class="pl-pds">'</span></span>--config=cuda<span class="pl-s"><span class="pl-pds">'</span>, <span class="pl-pds">'</span></span>:build_wheel<span class="pl-s"><span class="pl-pds">'</span>, <span class="pl-pds">'</span></span>--<span class="pl-s"><span class="pl-pds">'</span>, <span class="pl-pds">'</span></span>--output_path=/home/oxg34/user_modules/jax_0.3.10/jax/dist<span class="pl-s"><span class="pl-pds">'</span>, <span class="pl-pds">'</span></span>--cpu=x86_64<span class="pl-s"><span class="pl-pds">'</span>]<span class="pl-pds">'</span></span> returned non-zero <span class="pl-c1">exit</span> status 2.</pre></div>
<p dir="auto">Implement <a href="https://numpy.org/doc/stable/reference/generated/numpy.partition.html" rel="nofollow">numpy.partition</a> and <a href="https://numpy.org/doc/stable/reference/generated/numpy.argpartition.html" rel="nofollow">numpy.argpartition</a> (currently <a href="https://jax.readthedocs.io/en/latest/jax.numpy.html#jaxlib.xla_extension.DeviceArray.argpartition" rel="nofollow">in the docs</a> but unimplemented). Among other things, this allows for efficient computation of <a href="https://en.wikipedia.org/wiki/Order_statistics" rel="nofollow">order statistics</a> (see <a href="https://en.wikipedia.org/wiki/Selection_algorithm" rel="nofollow">selection algorithms</a>) without having to sort the entire array:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
from timeit import default_timer

def order1(a, k, axis=-1):
    return np.partition(a, k, axis).take(k, axis)

def order2(a, k, axis=-1):
    return np.sort(a, axis).take(k, axis)

def test_order(shape, axis):
   a = np.random.rand(*shape)
   k = np.random.randint(shape[axis])

   start = default_timer()
   ans1 = order1(a, k, axis)
   print('partition-based: {:g} seconds'.format(default_timer() - start))

   start = default_timer()
   ans2 = order2(a, k, axis)
   print('sort-based:      {:g} seconds'.format(default_timer() - start))

   assert np.array_equal(ans1, ans2)

for shape in [(10**7,), (10**4, 10**3), (10**3, 10**2, 10**2)]:
    for axis in range(len(shape)):
        print()
        test_order(shape, axis)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">from</span> <span class="pl-s1">timeit</span> <span class="pl-k">import</span> <span class="pl-s1">default_timer</span>

<span class="pl-k">def</span> <span class="pl-en">order1</span>(<span class="pl-s1">a</span>, <span class="pl-s1">k</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">1</span>):
    <span class="pl-k">return</span> <span class="pl-s1">np</span>.<span class="pl-en">partition</span>(<span class="pl-s1">a</span>, <span class="pl-s1">k</span>, <span class="pl-s1">axis</span>).<span class="pl-en">take</span>(<span class="pl-s1">k</span>, <span class="pl-s1">axis</span>)

<span class="pl-k">def</span> <span class="pl-en">order2</span>(<span class="pl-s1">a</span>, <span class="pl-s1">k</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">1</span>):
    <span class="pl-k">return</span> <span class="pl-s1">np</span>.<span class="pl-en">sort</span>(<span class="pl-s1">a</span>, <span class="pl-s1">axis</span>).<span class="pl-en">take</span>(<span class="pl-s1">k</span>, <span class="pl-s1">axis</span>)

<span class="pl-k">def</span> <span class="pl-en">test_order</span>(<span class="pl-s1">shape</span>, <span class="pl-s1">axis</span>):
   <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">rand</span>(<span class="pl-c1">*</span><span class="pl-s1">shape</span>)
   <span class="pl-s1">k</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-s1">shape</span>[<span class="pl-s1">axis</span>])

   <span class="pl-s1">start</span> <span class="pl-c1">=</span> <span class="pl-en">default_timer</span>()
   <span class="pl-s1">ans1</span> <span class="pl-c1">=</span> <span class="pl-en">order1</span>(<span class="pl-s1">a</span>, <span class="pl-s1">k</span>, <span class="pl-s1">axis</span>)
   <span class="pl-en">print</span>(<span class="pl-s">'partition-based: {:g} seconds'</span>.<span class="pl-en">format</span>(<span class="pl-en">default_timer</span>() <span class="pl-c1">-</span> <span class="pl-s1">start</span>))

   <span class="pl-s1">start</span> <span class="pl-c1">=</span> <span class="pl-en">default_timer</span>()
   <span class="pl-s1">ans2</span> <span class="pl-c1">=</span> <span class="pl-en">order2</span>(<span class="pl-s1">a</span>, <span class="pl-s1">k</span>, <span class="pl-s1">axis</span>)
   <span class="pl-en">print</span>(<span class="pl-s">'sort-based:      {:g} seconds'</span>.<span class="pl-en">format</span>(<span class="pl-en">default_timer</span>() <span class="pl-c1">-</span> <span class="pl-s1">start</span>))

   <span class="pl-k">assert</span> <span class="pl-s1">np</span>.<span class="pl-en">array_equal</span>(<span class="pl-s1">ans1</span>, <span class="pl-s1">ans2</span>)

<span class="pl-k">for</span> <span class="pl-s1">shape</span> <span class="pl-c1">in</span> [(<span class="pl-c1">10</span><span class="pl-c1">**</span><span class="pl-c1">7</span>,), (<span class="pl-c1">10</span><span class="pl-c1">**</span><span class="pl-c1">4</span>, <span class="pl-c1">10</span><span class="pl-c1">**</span><span class="pl-c1">3</span>), (<span class="pl-c1">10</span><span class="pl-c1">**</span><span class="pl-c1">3</span>, <span class="pl-c1">10</span><span class="pl-c1">**</span><span class="pl-c1">2</span>, <span class="pl-c1">10</span><span class="pl-c1">**</span><span class="pl-c1">2</span>)]:
    <span class="pl-k">for</span> <span class="pl-s1">axis</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-en">len</span>(<span class="pl-s1">shape</span>)):
        <span class="pl-en">print</span>()
        <span class="pl-en">test_order</span>(<span class="pl-s1">shape</span>, <span class="pl-s1">axis</span>)</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="partition-based: 0.12672 seconds
sort-based:      0.878069 seconds

partition-based: 0.300224 seconds
sort-based:      0.679816 seconds

partition-based: 0.0932873 seconds
sort-based:      0.38649 seconds

partition-based: 0.16949 seconds
sort-based:      0.445229 seconds

partition-based: 0.134436 seconds
sort-based:      0.273936 seconds

partition-based: 0.130433 seconds
sort-based:      0.260393 seconds"><pre class="notranslate"><code class="notranslate">partition-based: 0.12672 seconds
sort-based:      0.878069 seconds

partition-based: 0.300224 seconds
sort-based:      0.679816 seconds

partition-based: 0.0932873 seconds
sort-based:      0.38649 seconds

partition-based: 0.16949 seconds
sort-based:      0.445229 seconds

partition-based: 0.134436 seconds
sort-based:      0.273936 seconds

partition-based: 0.130433 seconds
sort-based:      0.260393 seconds
</code></pre></div>