author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
260,474 | 06.12.2018 18:02:43 | 18,000 | ebc6cd1e03c5c0f4046d5cf77a8b1aff63f25b43 | Step through sizes in test case generation | [
{
"change_type": "MODIFY",
"old_path": "jax/test_util.py",
"new_path": "jax/test_util.py",
"diff": "@@ -310,24 +310,17 @@ def check_raises_regexp(thunk, err_type, pattern):\nassert re.match(pattern, str(e)), \"{}\\n\\n{}\\n\".format(e, pattern)\n-random.seed(0)\n-\n-\n-def take(xs):\n- return dedup(... | Python | Apache License 2.0 | google/jax | Step through sizes in test case generation |
260,474 | 06.12.2018 18:30:59 | 18,000 | 8b88027df0fe4fa94c65bca81f28062f4d8f43f4 | Number of test cases settable with command-line flag | [
{
"change_type": "MODIFY",
"old_path": "jax/config.py",
"new_path": "jax/config.py",
"diff": "# See the License for the specific language governing permissions and\n# limitations under the License.\n+import sys\n+\nclass Config(object):\ndef __init__(self):\n@@ -75,6 +77,10 @@ class Config(object):\... | Python | Apache License 2.0 | google/jax | Number of test cases settable with command-line flag |
260,335 | 06.12.2018 21:35:03 | 18,000 | bbc92ce6eb6c942fea8e20a841d1d7473cfe9c90 | Split out `jax` and `jaxlib` packages
factor out 'jaxlib' as separate package | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "/jax/lib/pywrap_xla.py\n/jax/lib/xla_client.py\n/jax/lib/xla_data_pb2.py\n-jax.egg-info\n-\n+*.egg-info\n.ipynb_checkpoints\n-\n/bazel-*\n.bazelrc\n/tensorflow\n-\n.DS_Store\n\\ No newline at end of file\n"
},
... | Python | Apache License 2.0 | google/jax | Split out `jax` and `jaxlib` packages (#11)
factor out 'jaxlib' as separate package |
260,474 | 06.12.2018 21:57:08 | 18,000 | 61aa47a1a803f68626d99a702455b5430b7cf99c | Fixed paren in parameterized test specification | [
{
"change_type": "MODIFY",
"old_path": "tests/lax_numpy_test.py",
"new_path": "tests/lax_numpy_test.py",
"diff": "@@ -355,7 +355,7 @@ class LaxBackedNumpyTests(jtu.JaxTestCase):\njtu.format_shape_dtype_string(shape, fill_value_dtype),\nonp.dtype(out_dtype).name),\n\"shape\": shape, \"fill_value_dtyp... | Python | Apache License 2.0 | google/jax | Fixed paren in parameterized test specification |
260,474 | 06.12.2018 22:45:49 | 18,000 | ae7df43e9bcdcd4ff70228bfddb1f52973315b8e | Fixed bug due to input_shape kwarg not being modified in batching rule for reducers. Fixes b/120595235 | [
{
"change_type": "MODIFY",
"old_path": "jax/interpreters/batching.py",
"new_path": "jax/interpreters/batching.py",
"diff": "@@ -224,6 +224,8 @@ def reducer_batcher(prim, batched_args, batch_dims, axes, **kwargs):\nbdim, = batch_dims\naxes = tuple(onp.where(onp.less(axes, bdim), axes, onp.add(axes, 1... | Python | Apache License 2.0 | google/jax | Fixed bug due to input_shape kwarg not being modified in batching rule for reducers. Fixes b/120595235 |
260,335 | 07.12.2018 06:53:29 | 28,800 | 50624bd97819dc9bcc816fef2aa2bc7f8e2d3f4b | rename in_bdims, out_bdims --> in_axes, out_axes | [
{
"change_type": "MODIFY",
"old_path": "jax/api.py",
"new_path": "jax/api.py",
"diff": "@@ -65,7 +65,7 @@ def jacfwd(fun, x):\nfun = lu.wrap_init(fun)\npushfwd = partial(jvp, fun, (x,))\nstd_basis = onp.eye(onp.size(x)).reshape((-1,) + onp.shape(x)),\n- y, jac_flat = vmap(pushfwd, std_basis, out_bdi... | Python | Apache License 2.0 | google/jax | rename in_bdims, out_bdims --> in_axes, out_axes |
260,335 | 06.12.2018 20:04:05 | 28,800 | e93f682d58e947426f36a7aa1f6f293192bab8f3 | check out build files | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "build/Dockerfile",
"diff": "+ARG CUDA_VERSION=9.2\n+FROM nvidia/cuda:$CUDA_VERSION-cudnn7-devel-ubuntu16.04\n+LABEL maintainer \"Matt Johnson <mattjj@google.com>\"\n+\n+RUN apt-get update && apt-get install -y --no-install-recommends \\\n+ dh-au... | Python | Apache License 2.0 | google/jax | check out build files |
260,335 | 07.12.2018 04:59:03 | 28,800 | d4f32dff7b9c9dd58f0e34d1cf2cd738812f03bd | update build script for split packages | [
{
"change_type": "MODIFY",
"old_path": "build/Dockerfile",
"new_path": "build/Dockerfile",
"diff": "@@ -13,7 +13,7 @@ WORKDIR /tmp/patchelf\nRUN bash bootstrap.sh && ./configure && make && make install && rm -r /tmp/patchelf\nWORKDIR /\n-RUN curl -O https://raw.githubusercontent.com/google/jax/744ac... | Python | Apache License 2.0 | google/jax | update build script for split packages |
260,335 | 07.12.2018 06:20:00 | 28,800 | 9fd120113d4d802698f7cbf46fbaf7a7ca0e65da | add jaxlib wheel building script | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "build/build_wheels.sh",
"diff": "+#!/bin/bash -xev\n+JAXLIB_VERSION=$(sed -n \"s/^ \\+version=[']\\(.*\\)['],$/\\\\1/p\" jax/build/setup.py)\n+\n+PYTHON_VERSIONS=\"py2 py3\"\n+CUDA_VERSIONS=\"9.2\" # \"9.2 10.0\"\n+CUDA_VARIANTS=\"cuda\" # \"cud... | Python | Apache License 2.0 | google/jax | add jaxlib wheel building script |
260,335 | 07.12.2018 07:35:32 | 28,800 | f6d31ad5f1309ce1fd28422379f369744d16cbb0 | update dockerfile entrypoint script git hash | [
{
"change_type": "MODIFY",
"old_path": "build/Dockerfile",
"new_path": "build/Dockerfile",
"diff": "@@ -13,7 +13,7 @@ WORKDIR /tmp/patchelf\nRUN bash bootstrap.sh && ./configure && make && make install && rm -r /tmp/patchelf\nWORKDIR /\n-RUN curl -O https://raw.githubusercontent.com/google/jax/c34a4... | Python | Apache License 2.0 | google/jax | update dockerfile entrypoint script git hash |
260,335 | 07.12.2018 08:09:51 | 28,800 | 18201fab7bb234e35e2878ab0347a9342a7deac3 | bump version number for jaxlib | [
{
"change_type": "MODIFY",
"old_path": "build/setup.py",
"new_path": "build/setup.py",
"diff": "@@ -20,7 +20,7 @@ binary_libs = [os.path.basename(f) for f in glob('jaxlib/*.so*')]\nsetup(\nname='jaxlib',\n- version='0.0',\n+ version='0.1',\ndescription='XLA library for JAX',\nauthor='JAX team',\naut... | Python | Apache License 2.0 | google/jax | bump version number for jaxlib |
260,335 | 07.12.2018 08:12:33 | 28,800 | 91f8247d32c2e2af800f312531fa4e125ac1e7e8 | update wheel name | [
{
"change_type": "RENAME",
"old_path": "build/build_wheels.sh",
"new_path": "build/build_jaxlib_wheels.sh",
"diff": "@@ -14,13 +14,13 @@ do\ndo\nmkdir -p dist/nocuda/\nnvidia-docker run -it --tmpfs /build:exec --rm -v $(pwd)/dist:/dist jaxbuild $PYTHON_VERSION nocuda\n- mv dist/*.whl dist/nocuda/jax... | Python | Apache License 2.0 | google/jax | update wheel name |
260,335 | 07.12.2018 08:15:13 | 28,800 | 8a90d37da2e23fc1f7b962211813669000c6c49f | update wheel building dockerfile | [
{
"change_type": "MODIFY",
"old_path": "build/Dockerfile",
"new_path": "build/Dockerfile",
"diff": "@@ -13,7 +13,7 @@ WORKDIR /tmp/patchelf\nRUN bash bootstrap.sh && ./configure && make && make install && rm -r /tmp/patchelf\nWORKDIR /\n-RUN curl -O https://raw.githubusercontent.com/google/jax/18920... | Python | Apache License 2.0 | google/jax | update wheel building dockerfile |
260,335 | 07.12.2018 08:19:30 | 28,800 | 7093c4740f5fd4e35281e89ef8574b7866cf722a | revive WORKSPACE file | [
{
"change_type": "MODIFY",
"old_path": "build/WORKSPACE",
"new_path": "build/WORKSPACE",
"diff": "+http_archive(\n+ name = \"io_bazel_rules_closure\",\n+ sha256 = \"a38539c5b5c358548e75b44141b4ab637bba7c4dc02b46b1f62a96d6433f56ae\",\n+ strip_prefix = \"rules_closure-dbb96841cc0a5fb2664c37822803b06da... | Python | Apache License 2.0 | google/jax | revive WORKSPACE file |
260,335 | 07.12.2018 08:26:34 | 28,800 | a9640b3ebbcc537791a7a34b2c4ad50313270895 | tweak wheel names in build script | [
{
"change_type": "MODIFY",
"old_path": "build/build_jaxlib_wheels.sh",
"new_path": "build/build_jaxlib_wheels.sh",
"diff": "@@ -21,7 +21,7 @@ do\ndo\nmkdir -p dist/cuda${CUDA_VERSION//.}\nnvidia-docker run -it --tmpfs /build:exec --rm -v $(pwd)/dist:/dist jaxbuild $PYTHON_VERSION $CUDA_VARIANT\n- mv... | Python | Apache License 2.0 | google/jax | tweak wheel names in build script |
260,335 | 07.12.2018 11:23:40 | 28,800 | 16658b97c4ff676e67560d57040122e4e86f0614 | fix typo in wheel path | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -122,7 +122,7 @@ cloud VM), you can run\nPYTHON_VERSION=py2 # alternatives: py2, py3\nCUDA_VERSION=cuda92 # alternatives: cuda90, cuda92, cuda100\nPLATFORM=linux_x86_64 # alternatives: linux_x86_64, macosx-10.6-... | Python | Apache License 2.0 | google/jax | fix typo in wheel path |
260,474 | 07.12.2018 14:44:40 | 18,000 | 7523975c2e9ec34998d54266ae6e141eaf068fb8 | Updated installs in notebook | [
{
"change_type": "MODIFY",
"old_path": "notebooks/quickstart.ipynb",
"new_path": "notebooks/quickstart.ipynb",
"diff": "},\n\"cell_type\": \"code\",\n\"source\": [\n- \"!pip install https://storage.googleapis.com/jax-wheels/cuda92/jax-0.0-py3-none-any.whl\"\n+ \"!pip install https://storage.googleap... | Python | Apache License 2.0 | google/jax | Updated installs in notebook |
260,474 | 07.12.2018 14:46:09 | 18,000 | 7be7d42484fa97fe54b5e57ab9e1a3dea246edb5 | Fixed json bug | [
{
"change_type": "MODIFY",
"old_path": "notebooks/quickstart.ipynb",
"new_path": "notebooks/quickstart.ipynb",
"diff": "\"cell_type\": \"code\",\n\"source\": [\n\"!pip install https://storage.googleapis.com/jax-wheels/cuda92/jaxlib-0.1-py3-none-any.whl\\n\",\n- \"!pip install jax\",\n+ \"!pip instal... | Python | Apache License 2.0 | google/jax | Fixed json bug |
260,335 | 07.12.2018 15:05:20 | 28,800 | 70604f4309df7b7c3ae3a0a512fb197575555c7f | add scipy.stats to setup.py (should use find_packages()) | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -16,12 +16,12 @@ from setuptools import setup\nsetup(\nname='jax',\n- version='0.1.1',\n+ version='0.1.2',\ndescription='Differentiate, compile, and transform Numpy code.',\nauthor='JAX team',\nauthor_email='jax-d... | Python | Apache License 2.0 | google/jax | add scipy.stats to setup.py (should use find_packages()) |
260,474 | 08.12.2018 00:03:34 | 18,000 | 30124b6da1eca136a026eb40c94f8fad6885a467 | Added jit transformations to generated functions. Fixed bug in comparing numpy arrays for equality. | [
{
"change_type": "MODIFY",
"old_path": "jax/util.py",
"new_path": "jax/util.py",
"diff": "@@ -153,5 +153,4 @@ class WrapHashably(object):\nreturn id(self.val)\ndef __eq__(self, other):\n- return self.val == other.val\n-\n+ return self.val is other.val\n"
},
{
"change_type": "MODIFY",
"ol... | Python | Apache License 2.0 | google/jax | Added jit transformations to generated functions. Fixed bug in comparing numpy arrays for equality. |
260,335 | 08.12.2018 00:56:25 | 18,000 | d2b0e30d5405c2ca7bfd7971a6588dc928cfa227 | update readme (accidentally lost a name!) | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -644,9 +644,14 @@ Some things we don't handle that might surprise NumPy users:\n## Contributors\n-So far, JAX includes lots of help and contributions from [Peter\n-Hawkins](https://github.com/hawkinsp), [Alex\n-... | Python | Apache License 2.0 | google/jax | update readme (accidentally lost a name!) |
260,335 | 08.12.2018 08:05:16 | 18,000 | 9d484b6d4ce1d9131dd645bfa11b47f2ab3ab060 | attempt to center-justify the jax logo in readme | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "-# JAX: Autograd and XLA\n+<div align=\"center\">\n+<img src=\"https://raw.githubusercontent.com/google/jax/master/images/jax_logo_250px.png\" alt=\"logo\"></img>\n+</div>\n-:\ndef concatenate_transpose_rule(t, *operands, **kwargs):\ndimension = kwargs.pop('dimension')\noperand_shapes = kwargs.pop('operand... | Python | Apache License 2.0 | google/jax | fix symbolic zero handling in concat transpose |
260,335 | 08.12.2018 09:35:24 | 28,800 | ae36037abfa3eb278955ea775f0ca6c2a7ef95cb | add ad_util.zeros_like translation rule
PAIR=hawkinsp | [
{
"change_type": "MODIFY",
"old_path": "jax/interpreters/xla.py",
"new_path": "jax/interpreters/xla.py",
"diff": "@@ -163,11 +163,18 @@ def translation_rule(p):\ntranslations = {}\ntranslations[core.pack_p] = lambda c, *xs: c.Tuple(*xs)\n-translations[ad_util.add_jaxvals_p] = lambda c, x, y: c.Add(x... | Python | Apache License 2.0 | google/jax | add ad_util.zeros_like translation rule
PAIR=hawkinsp |
260,335 | 09.12.2018 01:24:38 | 18,000 | 5a604d5b141c66fb415e0f0fce501e7f6ed44d1e | add more contributors to readme | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -648,8 +648,11 @@ Some things we don't handle that might surprise NumPy users:\nSo far, JAX includes lots of help and contributions from\n[Jamie Townsend](https://github.com/j-towns),\n[Peter Hawkins](https://gi... | Python | Apache License 2.0 | google/jax | add more contributors to readme |
260,335 | 09.12.2018 06:47:38 | 28,800 | b7f6adaa90b0ed858b240619da6a12565efda61d | add dot_general batching rule | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -1231,14 +1231,41 @@ def dot_general_transpose_rhs(g, x, dimension_numbers):\nreturn dot_general_transpose_lhs(g, x, swapped_dimension_numbers, True)\n-# def dot_general_batch_rule(batched_args, batch_dims, di... | Python | Apache License 2.0 | google/jax | add dot_general batching rule |
260,335 | 09.12.2018 07:27:03 | 28,800 | 499ea19e44ad68626d3ce10550f27feaf03812df | fix 'unreachable' bug in dot batching rule | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -1112,6 +1112,7 @@ def dot_batch_rule(batched_args, batch_dims):\nlbd, rbd = batch_dims\nT = lambda x: transpose(x, onp.arange(onp.ndim(x))[::-1])\n+ # in some cases, we can call dot instead of dot_general\nif... | Python | Apache License 2.0 | google/jax | fix 'unreachable' bug in dot batching rule |
260,335 | 09.12.2018 07:46:24 | 28,800 | f50996df640ae7a8fb51c73b1cd8570ebdaecf6a | update gufunc notebook w/ dot_general batch rule | [
{
"change_type": "MODIFY",
"old_path": "notebooks/gufuncs.ipynb",
"new_path": "notebooks/gufuncs.ipynb",
"diff": "\"assert matmat(np.zeros((2, 3)), np.zeros((3, 4))).shape == (2, 4)\\n\",\n\"assert matmat(np.zeros((2, 3)), np.zeros((1, 3, 4))).shape == (1, 2, 4)\\n\",\n\"assert matmat(np.zeros((5, 2... | Python | Apache License 2.0 | google/jax | update gufunc notebook w/ dot_general batch rule |
260,335 | 09.12.2018 08:56:54 | 28,800 | b907bcd5ae8f0161303ca474d9d1e121f4cd6237 | improve jaxlib wheel building script | [
{
"change_type": "MODIFY",
"old_path": "build/build_jaxlib_wheels.sh",
"new_path": "build/build_jaxlib_wheels.sh",
"diff": "@@ -3,28 +3,31 @@ set -xev\nJAXLIB_VERSION=$(sed -n \"s/^ \\+version=[']\\(.*\\)['],$/\\\\1/p\" jax/build/setup.py)\nPYTHON_VERSIONS=\"py2 py3\"\n-CUDA_VERSIONS=\"9.2\" # \"9.2... | Python | Apache License 2.0 | google/jax | improve jaxlib wheel building script |
260,560 | 09.12.2018 10:05:39 | 28,800 | 2bbc046d9dfa2f282e0ef7912f4d6274eba15289 | Require protobuf 3.6.0 or later | [
{
"change_type": "MODIFY",
"old_path": "build/setup.py",
"new_path": "build/setup.py",
"diff": "@@ -25,7 +25,7 @@ setup(\nauthor='JAX team',\nauthor_email='jax-dev@google.com',\npackages=['jaxlib'],\n- install_requires=['numpy>=1.12', 'six', 'protobuf', 'absl-py'],\n+ install_requires=['numpy>=1.12'... | Python | Apache License 2.0 | google/jax | Require protobuf 3.6.0 or later |
260,335 | 09.12.2018 10:54:37 | 28,800 | 38c7a07248fbccf5f9a8bde5cd88972c747c52aa | download mnist example data w/ six.moves.request
fixes | [
{
"change_type": "MODIFY",
"old_path": "examples/datasets.py",
"new_path": "examples/datasets.py",
"diff": "@@ -23,7 +23,7 @@ import gzip\nimport os\nfrom os import path\nimport struct\n-import urllib2\n+from six.moves.urllib.request import urlretrieve\nimport numpy as np\n@@ -37,8 +37,7 @@ def _dow... | Python | Apache License 2.0 | google/jax | download mnist example data w/ six.moves.request
fixes #28 |
260,335 | 10.12.2018 07:13:51 | 28,800 | 0f8710a6e341f5e7b130867ce4e8d48091e12a76 | add another link to Autograd in the readme | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -8,7 +8,8 @@ JAX is [Autograd](https://github.com/hips/autograd) and\n[XLA](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/g3doc/overview.md),\nbrought together for high-performance... | Python | Apache License 2.0 | google/jax | add another link to Autograd in the readme |
260,335 | 10.12.2018 08:55:17 | 28,800 | 72b77b5bbe3f181d0efb1cfd9cb88b477f4a4a84 | fix typo in notebook text (closes | [
{
"change_type": "MODIFY",
"old_path": "notebooks/gufuncs.ipynb",
"new_path": "notebooks/gufuncs.ipynb",
"diff": "\"\\n\",\n\"1. Write the inner loops yourself in C.\\n\",\n\"2. [`np.vectorize`](https://docs.scipy.org/doc/numpy/reference/generated/numpy.vectorize.html) creates something kind of like... | Python | Apache License 2.0 | google/jax | fix typo in notebook text (closes #22) |
260,446 | 11.12.2018 13:58:33 | -28,800 | 7180eb031b4c7ddaf82e61b51b43ba6f6984f25d | More informative error on trying to concatenate 0-dim arrays. | [
{
"change_type": "MODIFY",
"old_path": "jax/numpy/lax_numpy.py",
"new_path": "jax/numpy/lax_numpy.py",
"diff": "@@ -633,6 +633,8 @@ def stack(arrays):\ndef concatenate(arrays, axis=0):\nif not arrays:\nraise ValueError(\"Need at least one array to concatenate.\")\n+ if ndim(arrays[0]) == 0:\n+ raise... | Python | Apache License 2.0 | google/jax | More informative error on trying to concatenate 0-dim arrays. |
260,474 | 09.12.2018 13:33:15 | 18,000 | 1350db2b799430e55a73d84c1bc551ecaa9ab4f7 | Added higher-order differentiation checks in lax_test and fixed some bugs. Conv tests currently failing. | [
{
"change_type": "ADD",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "jax/core.py",
"new_path": "jax/core.py",
"diff": "@@ -28,9 +28,9 @@ from .util import unzip2, safe_zip, safe_map, partial\nfrom .pprint_util import pp, ... | Python | Apache License 2.0 | google/jax | Added higher-order differentiation checks in lax_test and fixed some bugs. Conv tests currently failing. |
260,335 | 10.12.2018 17:18:56 | 28,800 | 0d64aea6bb0cd55a2abcc4e2958633764fdcdc74 | clean up conv dimension_numbers handling | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -44,12 +44,6 @@ from .lib import xla_bridge\n_max = builtins.max\n_min = builtins.max\n-if six.PY3:\n- def maketrans(s1, s2):\n- return s1.maketrans(s1, s2)\n-else:\n- maketrans = string.maketrans\n-\n### trac... | Python | Apache License 2.0 | google/jax | clean up conv dimension_numbers handling |
260,335 | 11.12.2018 09:18:38 | 28,800 | ffecf2ccc5a6ea01a2bbe1e11079b3b13b380770 | fix bugs in zeros_like and complex transpose | [
{
"change_type": "MODIFY",
"old_path": "jax/interpreters/ad.py",
"new_path": "jax/interpreters/ad.py",
"diff": "@@ -344,7 +344,7 @@ def zero_jvp(primitive, primals, tangents, **params):\nreturn primitive.bind(*primals, **params), zero\n-deflinear(zeros_like_p, lambda t: (zeros_like_jaxval(t),))\n+de... | Python | Apache License 2.0 | google/jax | fix bugs in zeros_like and complex transpose |
260,335 | 11.12.2018 09:19:15 | 28,800 | 7198e09465fefbe59e1b9ff736c9a32c8ce6b1e5 | enable skip_checks for merging to master | [
{
"change_type": "MODIFY",
"old_path": "jax/core.py",
"new_path": "jax/core.py",
"diff": "@@ -30,7 +30,7 @@ from .pprint_util import pp, vcat, hcat, pp_kv_pairs\n# TODO(dougalm): the trace cache breaks the leak detector. Consisder solving.\ncheck_leaks = False\n# TODO(dougalm): put this behind a fla... | Python | Apache License 2.0 | google/jax | enable skip_checks for merging to master |
260,335 | 11.12.2018 10:18:11 | 28,800 | 567caecdea7995a33fc42d3f6c3f6bf1e312b09f | revert build_defs.bzl for now | [
{
"change_type": "MODIFY",
"old_path": "tests/build_defs.bzl",
"new_path": "tests/build_defs.bzl",
"diff": "@@ -31,7 +31,9 @@ def jax_test(\nfail(\"Only one test source file is currently supported.\")\n# Deps that are linked into all test target variants.\n- all_test_deps = []\n+ all_test_deps = [\n... | Python | Apache License 2.0 | google/jax | revert build_defs.bzl for now |
260,335 | 11.12.2018 08:54:35 | 28,800 | 5a1aeca96cb8cb24e90b1fbfea25fa40d202b8fa | add rot90 and flip, adjust testOp test selection
closes | [
{
"change_type": "MODIFY",
"old_path": "jax/numpy/lax_numpy.py",
"new_path": "jax/numpy/lax_numpy.py",
"diff": "@@ -327,6 +327,30 @@ def transpose(x, axis=None):\nreturn lax.transpose(x, axis)\n+@_wraps(onp.rot90)\n+def rot90(m, k=1, axes=(0, 1)):\n+ ax1, ax2 = axes\n+ if ax1 % m.ndim == ax2 % m.ndi... | Python | Apache License 2.0 | google/jax | add rot90 and flip, adjust testOp test selection
closes #55 |
260,335 | 11.12.2018 12:14:57 | 28,800 | 9cd60279791b78550f22f1a4e09ae414e63bba94 | add python built-in complex type to array types
fixes | [
{
"change_type": "MODIFY",
"old_path": "jax/abstract_arrays.py",
"new_path": "jax/abstract_arrays.py",
"diff": "@@ -153,8 +153,8 @@ def make_shaped_array(x):\nreturn ShapedArray(onp.shape(x), dtype)\narray_types = [onp.ndarray, onp.float64, onp.float32, onp.complex64,\n- onp.int64, onp.int32, onp.bo... | Python | Apache License 2.0 | google/jax | add python built-in complex type to array types
fixes #74 |
260,335 | 11.12.2018 12:52:09 | 28,800 | cbd9ace4250a7a9bc382663b9eacba591cf2c402 | change vmap api to be curried (closes | [
{
"change_type": "MODIFY",
"old_path": "jax/api.py",
"new_path": "jax/api.py",
"diff": "@@ -78,22 +78,19 @@ def jacrev(fun, x):\ndef hessian(fun):\nreturn jacfwd(jacrev(fun))\n-def vmap(fun, *args, **kwargs):\n- in_axes = kwargs.pop(\"in_axes\", 0)\n- out_axes = kwargs.pop(\"out_axes\", 0)\n- if kwa... | Python | Apache License 2.0 | google/jax | change vmap api to be curried (closes #78) |
260,335 | 11.12.2018 13:39:31 | 28,800 | 8fac32e505154391e074a78af2e180101698b452 | colab notebooks now do 'pip install --upgrade jax'
(it seems the vm can persist in some cases) | [
{
"change_type": "MODIFY",
"old_path": "notebooks/gufuncs.ipynb",
"new_path": "notebooks/gufuncs.ipynb",
"diff": "\"cell_type\": \"code\",\n\"source\": [\n\"!pip install -q https://storage.googleapis.com/jax-wheels/cuda92/jaxlib-0.1-py3-none-any.whl\\n\",\n- \"!pip install -q jax\"\n+ \"!pip install... | Python | Apache License 2.0 | google/jax | colab notebooks now do 'pip install --upgrade jax'
(it seems the vm can persist in some cases) |
260,335 | 11.12.2018 15:45:56 | 28,800 | 3ac1001c4929d9fb69c05a34ce35b4f91d7778ea | use find_packages() in setup.py | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "# See the License for the specific language governing permissions and\n# limitations under the License.\n-from setuptools import setup\n+from setuptools import setup, find_packages\nsetup(\nname='jax',\n@@ -20,8 +20,... | Python | Apache License 2.0 | google/jax | use find_packages() in setup.py |
260,335 | 11.12.2018 14:00:58 | 28,800 | 97589a3d03a2d29ec1c01a1dd6ff76e818d45461 | add batching rule for lax.pad (c.f. | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -1398,9 +1398,21 @@ def pad_transpose(t, operand, padding_value, padding_config):\nreturn [t_operand, t_padv]\n+def pad_batch_rule(batched_args, batch_dims, padding_config):\n+ operand, padding_value = batched... | Python | Apache License 2.0 | google/jax | add batching rule for lax.pad (c.f. #54) |
260,335 | 11.12.2018 16:07:28 | 28,800 | e788539e0a642599352cccc488386b3c7be52e98 | add concatenate batching rule (c.f. | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -1362,11 +1362,20 @@ def concatenate_transpose_rule(t, *operands, **kwargs):\nreturn [slice(t, start, limit) if o is None else None\nfor o, start, limit in zip(operands, starts, limits)]\n+def concatenate_batc... | Python | Apache License 2.0 | google/jax | add concatenate batching rule (c.f. #54) |
260,335 | 11.12.2018 16:24:20 | 28,800 | 89349e5e6df4a82eb07278102f5caa9511e73ade | fix transpose issue in jacfwd and jacrev | [
{
"change_type": "MODIFY",
"old_path": "jax/api.py",
"new_path": "jax/api.py",
"diff": "@@ -64,7 +64,7 @@ def jacfwd(fun, x):\nfun = lu.wrap_init(fun)\npushfwd = partial(jvp, fun, (x,))\nstd_basis = onp.eye(onp.size(x)).reshape((-1,) + onp.shape(x)),\n- y, jac_flat = vmap(pushfwd, std_basis, out_axe... | Python | Apache License 2.0 | google/jax | fix transpose issue in jacfwd and jacrev |
260,335 | 11.12.2018 20:46:02 | 28,800 | 650db099ef0a6b875507a8a46240f05deda18a00 | tweak readme to make colab bullet fit on one line | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -71,7 +71,7 @@ open](https://github.com/google/jax) by a growing number of\n## Quickstart: Colab in the Cloud\nJump right in using a notebook in your browser, connected to a Google Cloud GPU:\n-- [The basics: Nu... | Python | Apache License 2.0 | google/jax | tweak readme to make colab bullet fit on one line |
260,474 | 12.12.2018 09:47:49 | 18,000 | 9b835a180f0bf72b368337b47e1ecd2f6796ac3f | Added some docstrings to top-level transformations | [
{
"change_type": "MODIFY",
"old_path": "jax/api.py",
"new_path": "jax/api.py",
"diff": "# See the License for the specific language governing permissions and\n# limitations under the License.\n+\"\"\"\n+User-facing transformations.\n+\n+These mostly wrap internal transformations, providing convenien... | Python | Apache License 2.0 | google/jax | Added some docstrings to top-level transformations |
260,335 | 12.12.2018 09:00:39 | 28,800 | d3ec0b23c50e383ba2559a6b18a220a64725fc0d | fix miscellaneous bugs, incl. complex abs grad | [
{
"change_type": "MODIFY",
"old_path": "jax/interpreters/ad.py",
"new_path": "jax/interpreters/ad.py",
"diff": "@@ -237,6 +237,8 @@ class JVPTracer(Tracer):\nself.trace = trace\nself.primal = primal\nself.tangent = tangent\n+ # TODO(mattjj,dougalm): behind skip_checks, check primal/tangent shapes an... | Python | Apache License 2.0 | google/jax | fix miscellaneous bugs, incl. complex abs grad |
260,335 | 12.12.2018 13:18:22 | 28,800 | 9ddd30c23c762abb1dd0be90b23a1a99d44605c3 | add onnx2xla compiler example (closes | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/onnx2xla.py",
"diff": "+# Copyright 2018 Google LLC\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License ... | Python | Apache License 2.0 | google/jax | add onnx2xla compiler example (closes #91) |
260,335 | 12.12.2018 13:51:08 | 28,800 | 88986e4d9e233be5c9558706ba920123302c5684 | add md5 check for downloaded onnx file | [
{
"change_type": "MODIFY",
"old_path": "examples/onnx2xla.py",
"new_path": "examples/onnx2xla.py",
"diff": "@@ -17,12 +17,15 @@ from __future__ import absolute_import\nfrom __future__ import division\nfrom __future__ import print_function\n+from cStringIO import StringIO\nfrom functools import parti... | Python | Apache License 2.0 | google/jax | add md5 check for downloaded onnx file |
260,335 | 12.12.2018 15:30:41 | 28,800 | 538850e271e43a7edc1d03000ff2ef11ee6c86bb | add misc numpy ops (c.f. | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -561,14 +561,12 @@ def tan(x):\nreturn div(sin(x), cos(x))\ndef asin(x):\n- # asin(x) = 2 * atan(x / (1 + sqrt(1 - x**2)))\n- return mul(_const(x, 2.),\n- atan2(x, add(_const(x, 1.), sqrt(add(_const(x, 1.), sq... | Python | Apache License 2.0 | google/jax | add misc numpy ops (c.f. #70) |
260,335 | 12.12.2018 17:53:37 | 28,800 | 77d6fb4c012a3ea3c6e727b94fa69459561a2525 | transpose shouldn't transpose with identity perm | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -244,7 +244,11 @@ def _index_untake(axes, src, dst, *idxs):\nreturn dst\ndef transpose(operand, permutation):\n- return transpose_p.bind(operand, permutation=tuple(permutation))\n+ permutation = tuple(permutat... | Python | Apache License 2.0 | google/jax | transpose shouldn't transpose with identity perm |
260,335 | 12.12.2018 19:05:40 | 28,800 | 1f42d980b86a68a4ac0529e750023ca9b2361e34 | rename ResNet50Test -> ExamplesTest, remove some dots | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -559,7 +559,7 @@ def square(x):\nreturn mul(x, x)\ndef reciprocal(x):\n- return div(_const(x, 1.), x)\n+ return div(_const(x, 1), x)\ndef tan(x):\nreturn div(sin(x), cos(x))\n@@ -573,7 +573,7 @@ def acos(x):\n... | Python | Apache License 2.0 | google/jax | rename ResNet50Test -> ExamplesTest, remove some dots |
260,335 | 12.12.2018 21:32:30 | 28,800 | 51d89a332c48210dc7d832e42358857529336eb2 | tweak readme text | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -27,7 +27,7 @@ composed arbitrarily, so you can express sophisticated algorithms and get\nmaximal performance without leaving Python.\nDig a little deeper, and you'll see that JAX is really an extensible system ... | Python | Apache License 2.0 | google/jax | tweak readme text |
260,335 | 13.12.2018 07:28:59 | 28,800 | 579665b1b0ee8caa0f154d6677cd4b13be6adc3f | add set_printoptions (same as onp version) | [
{
"change_type": "MODIFY",
"old_path": "jax/numpy/lax_numpy.py",
"new_path": "jax/numpy/lax_numpy.py",
"diff": "@@ -49,12 +49,14 @@ _min = builtins.min\n_sum = builtins.sum\n# We need some numpy scalars\n-# TODO(mattjj): handle constants in an indirected, less explicit way?\npi = onp.pi\ne = onp.e\n... | Python | Apache License 2.0 | google/jax | add set_printoptions (same as onp version) |
260,335 | 13.12.2018 08:56:40 | 28,800 | 54bceee9e184039ebdc69f065b0550b5859fb737 | make num_generated_cases also settable by env var | [
{
"change_type": "MODIFY",
"old_path": "jax/test_util.py",
"new_path": "jax/test_util.py",
"diff": "@@ -19,6 +19,7 @@ from __future__ import print_function\nimport functools\nimport re\nimport itertools as it\n+import os\nimport random\nfrom absl.testing import absltest\n@@ -45,7 +46,7 @@ flags.DEFI... | Python | Apache License 2.0 | google/jax | make num_generated_cases also settable by env var |
260,335 | 13.12.2018 11:52:41 | 28,800 | a28501711018bac59791797ad6f1404c1656e294 | fix failing tests (misc small bugs) | [
{
"change_type": "MODIFY",
"old_path": "jax/config.py",
"new_path": "jax/config.py",
"diff": "@@ -78,9 +78,13 @@ class Config(object):\nself.update(name, getattr(absl_flags.FLAGS, name))\ndef parse_flags_with_absl(self):\n+ global already_configured_with_absl\n+ if not already_configured_with_absl:\... | Python | Apache License 2.0 | google/jax | fix failing tests (misc small bugs) |
260,335 | 13.12.2018 13:39:34 | 28,800 | 32f89e6c5a0830f7ad5a7ac7213344826a72e883 | add initial travis ci file | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".travis.yml",
"diff": "+sudo: false\n+notifications:\n+ email: false\n+language: python\n+python:\n+ - \"2.7\"\n+ - \"3.6\"\n+env:\n+ - DEPS=\"pip nose six protobuf>=3.6.0 absl-py opt_einsum numpy scipy\"\n+ - DEPS=\"pip nose six protobuf>=3.6.0... | Python | Apache License 2.0 | google/jax | add initial travis ci file |
260,335 | 13.12.2018 16:24:32 | 28,800 | b64df0b759aa4e328bc211532686cd19fb368524 | comment out tests (temp), remove examples imports
examples imports add a new test dependency on matplotlib | [
{
"change_type": "MODIFY",
"old_path": "tests/examples_test.py",
"new_path": "tests/examples_test.py",
"diff": "@@ -29,9 +29,6 @@ import jax.numpy as np\nsys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))\nfrom examples import kernel_lsq\n-from examples import mnist_classif... | Python | Apache License 2.0 | google/jax | comment out tests (temp), remove examples imports
examples imports add a new test dependency on matplotlib |
260,335 | 13.12.2018 16:32:12 | 28,800 | 9b645364c92f5f127026f875bc645301591b0bc6 | tests depend on scipy, tweaks | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -8,7 +8,6 @@ python:\n- \"3.6\"\nenv:\n- DEPS=\"pip nose six protobuf>=3.6.0 absl-py opt_einsum numpy scipy\"\n- - DEPS=\"pip nose six protobuf>=3.6.0 absl-py opt_einsum numpy\"\nbefore_install:\n- if [[ \"$... | Python | Apache License 2.0 | google/jax | tests depend on scipy, tweaks |
260,335 | 13.12.2018 17:02:37 | 28,800 | 228a5d5e3efe95030d0b43fb402afdceabfaba17 | enable linalg tests | [
{
"change_type": "MODIFY",
"old_path": "tests/linalg_test.py",
"new_path": "tests/linalg_test.py",
"diff": "@@ -42,117 +42,114 @@ def float_types():\nclass NumpyLinalgTest(jtu.JaxTestCase):\n- # TODO(mattjj): put these tests back when we update jaxlib\n- pass\n-\n- # @parameterized.named_parameters(... | Python | Apache License 2.0 | google/jax | enable linalg tests |
260,335 | 13.12.2018 17:35:19 | 28,800 | 2e40e63527ab4dc1ad32b742bf89070353f5a28c | update jaxlib wheel urls to 0.1.1 | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -142,7 +142,7 @@ cloud VM), you can run\nPYTHON_VERSION=py2 # alternatives: py2, py3\nCUDA_VERSION=cuda92 # alternatives: cuda90, cuda92, cuda100\nPLATFORM=linux_x86_64 # alternatives: linux_x86_64\n-pip install... | Python | Apache License 2.0 | google/jax | update jaxlib wheel urls to 0.1.1 |
260,335 | 13.12.2018 17:35:36 | 28,800 | b986513e97b93698dfb3b275c601cae015b76770 | bump jaxlib version to 0.1.1 | [
{
"change_type": "MODIFY",
"old_path": "build/setup.py",
"new_path": "build/setup.py",
"diff": "@@ -20,7 +20,7 @@ binary_libs = [os.path.basename(f) for f in glob('jaxlib/*.so*')]\nsetup(\nname='jaxlib',\n- version='0.1',\n+ version='0.1.1',\ndescription='XLA library for JAX',\nauthor='JAX team',\na... | Python | Apache License 2.0 | google/jax | bump jaxlib version to 0.1.1 |
260,335 | 13.12.2018 17:44:08 | 28,800 | 2048874d43094bc952715ed4ac6c61dd73affe83 | add '--upgrade' to pip install examples | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -130,7 +130,7 @@ To install a CPU-only version, which might be useful for doing local\ndevelopment on a laptop, you can run\n```bash\n-pip install jax jaxlib # CPU-only version\n+pip install --upgrade jax jaxlib... | Python | Apache License 2.0 | google/jax | add '--upgrade' to pip install examples |
260,335 | 13.12.2018 18:24:35 | 28,800 | e682af7ea50687b490be12188a090f919b41f9ae | increase mnist example batch size to 128 | [
{
"change_type": "MODIFY",
"old_path": "examples/mnist_classifier.py",
"new_path": "examples/mnist_classifier.py",
"diff": "@@ -53,7 +53,7 @@ init_random_params, predict = stax.serial(\nif __name__ == \"__main__\":\nstep_size = 0.001\nnum_epochs = 10\n- batch_size = 32\n+ batch_size = 128\nmomentum_... | Python | Apache License 2.0 | google/jax | increase mnist example batch size to 128 |
260,335 | 13.12.2018 18:37:31 | 28,800 | 97d747cd083de78bc06de476138283120ccf4cc2 | bump jaxlib version for pypi reasons | [
{
"change_type": "MODIFY",
"old_path": "build/setup.py",
"new_path": "build/setup.py",
"diff": "@@ -20,7 +20,7 @@ binary_libs = [os.path.basename(f) for f in glob('jaxlib/*.so*')]\nsetup(\nname='jaxlib',\n- version='0.1.1',\n+ version='0.1.2',\ndescription='XLA library for JAX',\nauthor='JAX team',\... | Python | Apache License 2.0 | google/jax | bump jaxlib version for pypi reasons |
260,335 | 13.12.2018 19:59:08 | 28,800 | 87ee4b7c5642ad31b90f3ef3c51b9aef83c80377 | update jaxlib references to 0.1.2 | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -143,7 +143,7 @@ PYTHON_VERSION=py2 # alternatives: py2, py3\nCUDA_VERSION=cuda92 # alternatives: cuda90, cuda92, cuda100\nPLATFORM=linux_x86_64 # alternatives: linux_x86_64\nBASE_URL='https://storage.googleapis... | Python | Apache License 2.0 | google/jax | update jaxlib references to 0.1.2 |
260,335 | 14.12.2018 08:07:12 | 28,800 | 693365c239adac1130956b4f3d0882551b31fae6 | np.all and np.any should lead to monoid reducers
fixes | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -111,7 +111,12 @@ def convert_element_type(operand, new_dtype):\nreturn operand\ndef bitcast_convert_type(operand, new_dtype):\n+ new_dtype = xla_bridge.canonicalize_dtype(new_dtype)\n+ old_dtype = _dtype(oper... | Python | Apache License 2.0 | google/jax | np.all and np.any should lead to monoid reducers
fixes #108 |
260,335 | 14.12.2018 08:42:02 | 28,800 | b164d318fbc4b00f3cdebbe082cf3f07826f43f7 | reduce_and / reduce_or monoid reducer primitives
The parent commit reused reduce_min / reduce_max on booleans, which is
formally equivalent but preserves less information when lowering to XLA. | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -261,8 +261,8 @@ def reduce(operand, init_value, computation, dimensions):\nreturn monoid_reducer(operand, dimensions)\nelse:\njaxpr, consts = _reduction_jaxpr(computation, init_value)\n- return reduce_p.bind(... | Python | Apache License 2.0 | google/jax | reduce_and / reduce_or monoid reducer primitives
The parent commit reused reduce_min / reduce_max on booleans, which is
formally equivalent but preserves less information when lowering to XLA. |
260,554 | 14.12.2018 11:58:03 | 28,800 | 5d6ebba2a0a991eff4fdf80f689f2ca3e7f0b41c | Fixed argument order in call to var from std. | [
{
"change_type": "MODIFY",
"old_path": "jax/numpy/lax_numpy.py",
"new_path": "jax/numpy/lax_numpy.py",
"diff": "@@ -678,7 +678,7 @@ def var(a, axis=None, dtype=None, keepdims=False, ddof=0):\n@_wraps(onp.std)\ndef std(a, axis=None, keepdims=False, ddof=0):\n- return sqrt(var(a, axis, keepdims, ddof)... | Python | Apache License 2.0 | google/jax | Fixed argument order in call to var from std. |
260,335 | 14.12.2018 16:22:51 | 28,800 | c268929f2d3452dc4c0f93ef57c44459ee477a82 | add 'dtype' arg to np.std, add test coverage | [
{
"change_type": "MODIFY",
"old_path": "jax/numpy/lax_numpy.py",
"new_path": "jax/numpy/lax_numpy.py",
"diff": "@@ -677,8 +677,8 @@ def var(a, axis=None, dtype=None, keepdims=False, ddof=0):\n@_wraps(onp.std)\n-def std(a, axis=None, keepdims=False, ddof=0):\n- return sqrt(var(a, axis=axis, keepdims=... | Python | Apache License 2.0 | google/jax | add 'dtype' arg to np.std, add test coverage |
260,335 | 14.12.2018 16:48:08 | 28,800 | 6de5c8a69855e403b6dfdc92b1d64177eb9864e8 | add test-running instructions (fixes | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -23,5 +23,4 @@ install:\n- pip install jaxlib\n- pip install -v .\nscript:\n- - cd tests\n- - JAX_NUM_GENERATED_CASES=10 nosetests\n+ - JAX_NUM_GENERATED_CASES=25 nosetests tests examples\n"
},
{
"ch... | Python | Apache License 2.0 | google/jax | add test-running instructions (fixes #67) |
260,335 | 14.12.2018 18:40:50 | 28,800 | 13b8e21a1cfb3a76ae65bf61bb7bf855dcea1c5f | squash conv grad bug introduced in
(loudly errored, didn't produce silently incorrect results!) | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -23,4 +23,4 @@ install:\n- pip install jaxlib\n- pip install -v .\nscript:\n- - JAX_NUM_GENERATED_CASES=25 nosetests tests examples\n+ - JAX_NUM_GENERATED_CASES=100 nosetests tests examples\n"
},
{
"... | Python | Apache License 2.0 | google/jax | squash conv grad bug introduced in 0d64aea
(loudly errored, didn't produce silently incorrect results!) |
260,335 | 14.12.2018 19:23:53 | 28,800 | f437ba371ddfdbd651469f5fb0863486ab847b06 | make conv grad test smaller (better numerics) | [
{
"change_type": "MODIFY",
"old_path": "tests/lax_test.py",
"new_path": "tests/lax_test.py",
"diff": "@@ -1580,7 +1580,7 @@ class LaxAutodiffTest(jtu.JaxTestCase):\n\"rhs_dil\": rhs_dil, \"rng\": rng, \"dimension_numbers\": dim_nums,\n\"perms\": perms}\nfor lhs_shape, rhs_shape, all_strides, all_pad... | Python | Apache License 2.0 | google/jax | make conv grad test smaller (better numerics) |
260,335 | 14.12.2018 19:35:56 | 28,800 | 6956e8a20c2c93bfb531cae0da18ec20d0abe911 | tweak conv grad test | [
{
"change_type": "MODIFY",
"old_path": "tests/lax_test.py",
"new_path": "tests/lax_test.py",
"diff": "@@ -1580,7 +1580,7 @@ class LaxAutodiffTest(jtu.JaxTestCase):\n\"rhs_dil\": rhs_dil, \"rng\": rng, \"dimension_numbers\": dim_nums,\n\"perms\": perms}\nfor lhs_shape, rhs_shape, all_strides, all_pad... | Python | Apache License 2.0 | google/jax | tweak conv grad test |
260,335 | 16.12.2018 07:22:25 | 28,800 | c54e82ceff64083ded7f80cbdff21a3f392e0961 | be more explicit about last layer in example
closes | [
{
"change_type": "MODIFY",
"old_path": "examples/mnist_classifier_fromscratch.py",
"new_path": "examples/mnist_classifier_fromscratch.py",
"diff": "@@ -37,10 +37,14 @@ def init_random_params(scale, layer_sizes, rng=npr.RandomState(0)):\nfor m, n, in zip(layer_sizes[:-1], layer_sizes[1:])]\ndef predi... | Python | Apache License 2.0 | google/jax | be more explicit about last layer in example
closes #119 |
260,335 | 16.12.2018 11:32:55 | 28,800 | ea08ecd5f0e4b18f3bc7ff4176b19da40c8ded1e | add promote_dtypes logic to tensordot | [
{
"change_type": "MODIFY",
"old_path": "jax/numpy/lax_numpy.py",
"new_path": "jax/numpy/lax_numpy.py",
"diff": "@@ -988,6 +988,7 @@ def tensordot(a, b, axes=2):\nraise TypeError(msg.format(ndim(a), ndim(b)))\nif type(axes) is int:\n+ a, b = _promote_dtypes(a, b)\na_reshape = lax.reshape(a, (_prod(a.... | Python | Apache License 2.0 | google/jax | add promote_dtypes logic to tensordot |
260,299 | 17.12.2018 16:02:29 | 0 | 1743a936eb26fdefa5f3b61053776d8aee9b0fcd | Add qr decomposition jvp | [
{
"change_type": "MODIFY",
"old_path": "jax/lax_linalg.py",
"new_path": "jax/lax_linalg.py",
"diff": "@@ -135,7 +135,22 @@ def qr_abstract_eval(operand, full_matrices):\ndef qr_dtype_rule(operand, full_matrices=True):\nreturn operand.dtype\n+def qr_jvp_rule(primals, tangents, full_matrices):\n+ x, =... | Python | Apache License 2.0 | google/jax | Add qr decomposition jvp |
260,299 | 17.12.2018 16:04:51 | 0 | f5b8d97c9513bf60ac663f30c8e64c2cbe00187e | Add url for qr jvp notes | [
{
"change_type": "MODIFY",
"old_path": "jax/lax_linalg.py",
"new_path": "jax/lax_linalg.py",
"diff": "@@ -136,6 +136,7 @@ def qr_dtype_rule(operand, full_matrices=True):\nreturn operand.dtype\ndef qr_jvp_rule(primals, tangents, full_matrices):\n+ # See j-towns.github.io/papers/qr-derivative.pdf for ... | Python | Apache License 2.0 | google/jax | Add url for qr jvp notes |
260,335 | 17.12.2018 14:26:28 | 28,800 | 7524f2c087e68436333c29650170ffc7ef20e8c7 | fix mean/var/std kwargs (closes | [
{
"change_type": "MODIFY",
"old_path": "jax/numpy/lax_numpy.py",
"new_path": "jax/numpy/lax_numpy.py",
"diff": "@@ -644,7 +644,10 @@ any = sometrue = _make_reduction(onp.any, lax.bitwise_or, False, _cast_to_bool)\n@_wraps(onp.mean)\n-def mean(a, axis=None, dtype=None, keepdims=False):\n+def mean(a, ... | Python | Apache License 2.0 | google/jax | fix mean/var/std kwargs (closes #125) |
260,335 | 17.12.2018 12:52:30 | 28,800 | 1f2925ea8af5ba838776269b4943eb5e0ba51cd3 | add backend-specific translation table in xla.py | [
{
"change_type": "MODIFY",
"old_path": "jax/interpreters/xla.py",
"new_path": "jax/interpreters/xla.py",
"diff": "@@ -16,7 +16,7 @@ from __future__ import absolute_import\nfrom __future__ import division\nfrom __future__ import print_function\n-from collections import namedtuple\n+from collections i... | Python | Apache License 2.0 | google/jax | add backend-specific translation table in xla.py |
260,335 | 17.12.2018 14:42:32 | 28,800 | 895c122b90a70a1c6d6fd7ee1e31872c56638af6 | tweak test to better reflect | [
{
"change_type": "MODIFY",
"old_path": "tests/lax_numpy_test.py",
"new_path": "tests/lax_numpy_test.py",
"diff": "@@ -27,6 +27,7 @@ from absl.testing import parameterized\nimport numpy as onp\nfrom jax import api\n+from jax import lax\nfrom jax import numpy as lnp\nfrom jax import test_util as jtu\n... | Python | Apache License 2.0 | google/jax | tweak test to better reflect #125 |
260,335 | 13.12.2018 07:24:14 | 28,800 | f9714152183a63e2e365aa2485f587b606801aa7 | add tie_in and full primitives (constant creation) | [
{
"change_type": "MODIFY",
"old_path": "jax/core.py",
"new_path": "jax/core.py",
"diff": "@@ -249,6 +249,8 @@ class Tracer(object):\ndef __hex__(self): return self.aval._hex(self)\ndef __oct__(self): return self.aval._oct(self)\n+ def __setitem__(self, idx, val):\n+ raise TypeError(\"JAX 'Tracer' ob... | Python | Apache License 2.0 | google/jax | add tie_in and full primitives (constant creation) |
260,335 | 13.12.2018 11:12:11 | 28,800 | dfc25a06d996501c0d18457ad1fe83453aac6e38 | add IotaConstant (untested) | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -432,6 +432,12 @@ def full(shape, fill_value, dtype=None):\nreturn full_p.bind(fill_value, shape=shape)\n+def iota(dtype, shape, dimension):\n+ dtype = xla_bridge.canonicalize_dtype(dtype)\n+ shape = tuple(map... | Python | Apache License 2.0 | google/jax | add IotaConstant (untested) |
260,335 | 15.12.2018 17:49:00 | 28,800 | 1ae1ae17a2ca4769051fb01a64b6e09391728fb3 | add EyeConstant, new np.eye and np.array code | [
{
"change_type": "MODIFY",
"old_path": "jax/abstract_arrays.py",
"new_path": "jax/abstract_arrays.py",
"diff": "@@ -27,9 +27,11 @@ from .lib import xla_bridge\ndef concretization_err_msg(fun):\nfname = getattr(fun, \"__name__\", fun)\n- return (\"Abstract value passed to function {} that requires a ... | Python | Apache License 2.0 | google/jax | add EyeConstant, new np.eye and np.array code |
260,335 | 15.12.2018 18:42:26 | 28,800 | bdc9e92f9491307ba1bfa0be74ae9be1cd742f2f | remove full_p to improve power:weight | [
{
"change_type": "MODIFY",
"old_path": "jax/interpreters/xla.py",
"new_path": "jax/interpreters/xla.py",
"diff": "@@ -340,12 +340,6 @@ def instantiate_device_constant(const, cutoff=1000000):\nelse:\nreturn xb.device_put(onp.asarray(const))\n-def register_device_constant(cls):\n- pytype_aval_mappings... | Python | Apache License 2.0 | google/jax | remove full_p to improve power:weight |
260,335 | 15.12.2018 19:14:05 | 28,800 | 52c6eac3de854a025866e498dc1f8cd1c2ca0afe | use lax.tie_in in jax.random for better consts | [
{
"change_type": "MODIFY",
"old_path": "jax/interpreters/xla.py",
"new_path": "jax/interpreters/xla.py",
"diff": "@@ -328,7 +328,7 @@ class DeviceConstant(DeviceArray):\nassert False\n# TODO(mattjj): tune cutoff\n-def instantiate_device_constant(const, cutoff=1000000):\n+def instantiate_device_const... | Python | Apache License 2.0 | google/jax | use lax.tie_in in jax.random for better consts |
260,335 | 18.12.2018 09:18:14 | 28,800 | 78a4240581a55f9b89b7f8765304bfb3d801f7e5 | add fix from einsum branch | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -2347,16 +2347,18 @@ class EyeConstant(xla.DeviceConstant):\nones = [1] * self.ndim\niotas = [onp.arange(self.shape[axis]).reshape(subvals(ones, [(axis, -1)]))\nfor axis in self.axes]\n- result = onp.asarray(_... | Python | Apache License 2.0 | google/jax | add fix from einsum branch |
260,335 | 18.12.2018 09:58:42 | 28,800 | 88bb264e07e430f5b0851c960509a6b941d3d320 | fix exception check for python3 | [
{
"change_type": "MODIFY",
"old_path": "tests/api_test.py",
"new_path": "tests/api_test.py",
"diff": "@@ -180,13 +180,17 @@ class APITest(jtu.JaxTestCase):\nassert jit(f, static_argnums=(1,))(0, 5) == 10\njtu.check_raises_regexp(\n- lambda: jit(f)(0, 5), TypeError, \"Abstract value passed to .*\")\n... | Python | Apache License 2.0 | google/jax | fix exception check for python3 |
260,335 | 18.12.2018 16:31:51 | 28,800 | 6865783cf9ba8c659c7e0176e3e1a71eec8fec9a | fix some longstanding readme typos | [
{
"change_type": "MODIFY",
"old_path": "examples/mnist_vae.py",
"new_path": "examples/mnist_vae.py",
"diff": "@@ -111,13 +111,14 @@ if __name__ == \"__main__\":\n@jit\ndef run_epoch(rng, opt_state):\n- def body_fun(i, rng__opt_state__images):\n- (rng, opt_state, images) = rng__opt_state__images\n+ d... | Python | Apache License 2.0 | google/jax | fix some longstanding readme typos |
260,335 | 18.12.2018 17:19:47 | 28,800 | 20ca0bd7334343695580eeff10eaeeb0bb2f6e4f | add cutoff for materialize-and-xfer vs build-on-device
see | [
{
"change_type": "MODIFY",
"old_path": "jax/interpreters/xla.py",
"new_path": "jax/interpreters/xla.py",
"diff": "@@ -327,8 +327,7 @@ class DeviceConstant(DeviceArray):\ndef constant_handler(c, constant_instance):\nassert False\n-# TODO(mattjj): tune cutoff\n-def instantiate_device_constant(const, c... | Python | Apache License 2.0 | google/jax | add cutoff for materialize-and-xfer vs build-on-device
see https://github.com/google/jax/pull/140#issuecomment-448433620 |
260,335 | 18.12.2018 19:04:01 | 28,800 | 6757b758a2f0bf58ea42e58ed7fb8469f34b5c15 | bump jaxlib version for wheel building | [
{
"change_type": "MODIFY",
"old_path": "build/setup.py",
"new_path": "build/setup.py",
"diff": "@@ -20,7 +20,7 @@ binary_libs = [os.path.basename(f) for f in glob('jaxlib/*.so*')]\nsetup(\nname='jaxlib',\n- version='0.1.2',\n+ version='0.1.3',\ndescription='XLA library for JAX',\nauthor='JAX team',\... | Python | Apache License 2.0 | google/jax | bump jaxlib version for wheel building |
260,335 | 18.12.2018 19:09:15 | 28,800 | f277609708eb39839fc9a539ef860c768f92c091 | add scipy and cython to wheel dockerfile | [
{
"change_type": "MODIFY",
"old_path": "build/Dockerfile",
"new_path": "build/Dockerfile",
"diff": "@@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \\\ndh-autoreconf git curl \\\npython python-pip python-dev \\\npython3 python3-pip python3-dev\n-RUN pip install numpy... | Python | Apache License 2.0 | google/jax | add scipy and cython to wheel dockerfile |
260,335 | 18.12.2018 22:45:34 | 28,800 | a18e3f27ace89b8b1bfde2d0e6b563030989c40e | add tests for device constants | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -417,14 +417,14 @@ opaque_param_ids = itertools.count()\ndef tie_in(x, y):\nreturn tie_in_p.bind(x, y)\n-def full(shape, fill_value, dtype=None):\n+def full(shape, fill_value, dtype):\nif onp.shape(fill_value)... | Python | Apache License 2.0 | google/jax | add tests for device constants |
260,335 | 18.12.2018 23:06:33 | 28,800 | 910672809f47da636a3f902f1bc51efff8dbfab3 | tweak scipy stats test prngs | [
{
"change_type": "MODIFY",
"old_path": "tests/scipy_stats_test.py",
"new_path": "tests/scipy_stats_test.py",
"diff": "@@ -17,7 +17,6 @@ from __future__ import division\nfrom __future__ import print_function\nimport collections\n-import functools\nimport itertools\nfrom absl.testing import absltest, ... | Python | Apache License 2.0 | google/jax | tweak scipy stats test prngs |
260,335 | 16.12.2018 10:33:10 | 28,800 | 6a71e9d6ec80093b75f11c820ed1ebcbc21b4d23 | start drafting an einsum implementation | [
{
"change_type": "MODIFY",
"old_path": "jax/numpy/lax_numpy.py",
"new_path": "jax/numpy/lax_numpy.py",
"diff": "@@ -20,12 +20,15 @@ from six.moves import builtins\nimport six\nimport numpy as onp\n+import opt_einsum\n+import collections\n+import itertools\nfrom .. import core\nfrom ..abstract_arrays... | Python | Apache License 2.0 | google/jax | start drafting an einsum implementation |
260,335 | 17.12.2018 18:16:20 | 28,800 | 13a0e1168e092c773aebf784c115eeef70c81db8 | fix broadcasted eye bug, enable more einsum | [
{
"change_type": "MODIFY",
"old_path": "jax/numpy/lax_numpy.py",
"new_path": "jax/numpy/lax_numpy.py",
"diff": "@@ -1060,6 +1060,8 @@ def tensordot(a, b, axes=2):\ndef einsum(*operands):\noperands, contractions = opt_einsum.contract_path(\n*operands, einsum_call=True, use_blas=True)\n+ sum = lambda ... | Python | Apache License 2.0 | google/jax | fix broadcasted eye bug, enable more einsum |
260,335 | 17.12.2018 21:29:04 | 28,800 | fdde6841e6f7f4e62817a709a49f08aee6c880cb | add support for two-operrand cases | [
{
"change_type": "MODIFY",
"old_path": "jax/numpy/lax_numpy.py",
"new_path": "jax/numpy/lax_numpy.py",
"diff": "@@ -1062,50 +1062,66 @@ def einsum(*operands):\n*operands, einsum_call=True, use_blas=True)\nsum = lambda x, axes: lax.reduce(x, onp.array(0, x.dtype), lax.add, axes)\n- for operand_indice... | Python | Apache License 2.0 | google/jax | add support for two-operrand cases |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.