Skip to content

Commit

Permalink
update jax_ort env
Browse files Browse the repository at this point in the history
Signed-off-by: John <[email protected]>
  • Loading branch information
maxwillzq committed Jul 27, 2023
1 parent 0b472a7 commit ef575b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions runtimes/jaxonnxruntime/development/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN pip3 install --upgrade pip setuptools wheel pytest
ENV JAX_DEFAULT_DTYPE_BITS=64
ENV JAX_NUMPY_RANK_PROMOTION=warn
ENV JAXORT_ONLY_ALLOW_INITIALIZERS_AS_STATIC_ARGS=0
ENV JAXORT_NONZERO_USE_FULLY_PADDING=1

CMD . /root/setup/docker-setup.sh && \
pytest /root/test/test_backend.py --onnx_backend=${ONNX_BACKEND} -k 'not _cuda' -v
1 change: 1 addition & 0 deletions runtimes/jaxonnxruntime/stable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN pip3 install --upgrade pip setuptools wheel pytest
ENV JAX_DEFAULT_DTYPE_BITS=64
ENV JAX_NUMPY_RANK_PROMOTION=warn
ENV JAXORT_ONLY_ALLOW_INITIALIZERS_AS_STATIC_ARGS=0
ENV JAXORT_NONZERO_USE_FULLY_PADDING=1

CMD . /root/setup/docker-setup.sh && \
pytest /root/test/test_backend.py --onnx_backend=${ONNX_BACKEND} -k 'not _cuda' -v

0 comments on commit ef575b6

Please sign in to comment.