Skip to content

Commit

Permalink
Fix import errors & freeze the latest compatible JAX version. Fixes #60
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 403372806
  • Loading branch information
hbq1 authored and DistraxDev committed Oct 15, 2021
1 parent 0ec395c commit e00da3e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions distrax/_src/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2021 DeepMind Technologies Limited. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
absl-py>=0.9.0
chex>=0.0.7
jax>=0.2.13
jax<=0.2.21 # remove once TFP is compatible with JAX>=0.2.22
jaxlib>=0.1.67
numpy>=1.18.0
tensorflow-probability>=0.14.1

0 comments on commit e00da3e

Please sign in to comment.