Commit graph

55 commits

Author SHA1 Message Date
A. Unique TensorFlower
bcc0d4927e Implement and test a registry function for tfm.nlp.layers.OnDeviceEmbedding.
This CL also moves the common embedding `sqr_norm_fn` logic between
`tf.keras.layers.Embedding` and `tfm.nlp.layers.OnDeviceEmbedding` into a
new registry function utility file.

PiperOrigin-RevId: 564481407
2023-09-11 13:18:08 -07:00
Michael Reneer
5b21aad36e Update the scipy dependency to 1.9.
PiperOrigin-RevId: 543452894
2023-06-26 08:59:44 -07:00
Steve Chien
60d237be83 Update tensorflow-probability version to 0.20.0
PiperOrigin-RevId: 533550592
2023-05-19 14:22:24 -07:00
Galen Andrew
9710a4acc7 Bump version and update dependenciesfor pypi release.
PiperOrigin-RevId: 527377853
2023-04-26 14:35:24 -07:00
Steve Chien
f99a74c7a4 Fix dependencies required by privacy_tests.
Update `distutils` to `packaging`.

PiperOrigin-RevId: 496713867
2022-12-20 11:49:28 -08:00
Michael Reneer
feddd28a63 Pin tensorflow-probability to a specific version.
This matches the documentation for specifying version for this project. Additionally, recent version of `tensorflow-probability` are releasing breaking changes and the existing version specifier allows these to breaking changes to be unintentionally pulled in.

PiperOrigin-RevId: 476443999
2022-09-23 13:04:47 -07:00
Michael Reneer
628e5bb926 Update the setup.py to match the requirements.txt.
PiperOrigin-RevId: 471128177
2022-08-30 17:16:42 -07:00
Steve Chien
ed16033a92 Update pinned commit of dp-accounting library, update dependency versions, and increase version to 0.8.6.
PiperOrigin-RevId: 470334560
2022-08-26 14:30:16 -07:00
Galen Andrew
7fe491f7a4 Update the conventions used to specify the version of a Python dependency.
* For packages that have a stable release, we use a version that is compatible with that release (e.g. `~=x.y`).
* For packages that do not have a stable release, we use a version that matches a release that has been tested (e.g. `==x.y.z`).

Additionally, added documentation to the requirements.txt.

PiperOrigin-RevId: 468720651
2022-08-19 09:38:19 -07:00
Michael Reneer
052f9a3128 Update the version of numpy to 1.23.2.
* Updated the numpy version.
* Synced the pandas version.

In Python 3.10, if you invoke `pip install pandas~=1.1.4 numpy~=1.21.4` and then `import pandas` you get the following error:

```
>>> import pandas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/tmp/venv/lib/python3.10/site-packages/pandas/__init__.py", line 30, in <module>
    from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
  File "/tmp/venv/lib/python3.10/site-packages/pandas/_libs/__init__.py", line 13, in <module>
    from pandas._libs.interval import Interval
  File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
```

I believe that this is the cause of the issue https://github.com/scikit-learn-contrib/hdbscan/issues/457#issuecomment-773671043

PiperOrigin-RevId: 467952859
2022-08-16 10:02:07 -07:00
Galen Andrew
8a449aaa27 Correct discrepancy between tensorflow-probability versions in requirements.txt vs setup.py.
PiperOrigin-RevId: 467326193
2022-08-12 17:04:55 -07:00
Steve Chien
38fe4aa984 Changes to prepare for release of v0.8.1.
Update WORKSPACE, setup.py, and requirements.txt to latest dp-accounting library release.

Update scipy version in setup.py.

Update version to 0.8.1.

PiperOrigin-RevId: 461944491
2022-07-19 12:22:07 -07:00
Michael Reneer
27c07fa7b8 Update the TFP requirements.
PiperOrigin-RevId: 459806353
2022-07-08 12:04:04 -07:00
Steve Chien
24f80e8c76 Increase scipy version to 1.7.1.
PiperOrigin-RevId: 459371512
2022-07-06 16:27:01 -07:00
Michael Reneer
adce0fdfc0 Update TFPs attrs dependency to version 21.4.0.
PiperOrigin-RevId: 455655859
2022-06-17 11:09:29 -07:00
Michael Reneer
2d692bbf73 Update the direct scipy dependency to ~=1.5.0.
PiperOrigin-RevId: 429122811
2022-02-16 23:27:57 +00:00
Michael Reneer
8544af2500 Update the Python dependency for sklearn package.
PiperOrigin-RevId: 428896276
2022-02-16 23:27:43 +00:00
Michael Reneer
c8a49e1039 Update the direct TensorFlow dependency to ~=2.4.
This means that we would accept a hot fix and a new minor version , but not accept major version changes without releasing TFP.

PiperOrigin-RevId: 428811702
2022-02-16 23:27:21 +00:00
Michael Reneer
13a79f419f Update the direct tensorflow-probability dependency to ~=0.15.0.
This means that we would accept a hot fix, but not accept major or minor version changes without releasing TFP.

PiperOrigin-RevId: 428025242
2022-02-11 09:52:00 -08:00
Michael Reneer
8d20ae7c3b Update the direct tensorflow-datasets dependency to ~=4.5.2.
This means that we would accept a hot fix, but not accept major or minor version changes without releasing TFP.

PiperOrigin-RevId: 428023939
2022-02-11 09:46:04 -08:00
Michael Reneer
f393322593 Automated rollback of commit 823aacb315
PiperOrigin-RevId: 428022174
2022-02-11 09:37:34 -08:00
Michael Reneer
823aacb315 Delete the direct tensorflow-probability.
PiperOrigin-RevId: 428020273
2022-02-11 09:28:51 -08:00
Michael Reneer
9d59eabd40 Add direct sklearn dependency.
PiperOrigin-RevId: 427925353
2022-02-10 22:33:02 -08:00
Michael Reneer
592ed995f1 Update the direct scipy dependency to ~=1.2.1.
This means that we would accept a hot fix, but not accept major or minor version changes without releasing TFP.

PiperOrigin-RevId: 427916084
2022-02-10 21:19:53 -08:00
Michael Reneer
93bd134947 Add direct pandas dependency.
PiperOrigin-RevId: 427915591
2022-02-10 21:15:39 -08:00
Michael Reneer
28f8a5ff61 Add direct numpy dependency.
PiperOrigin-RevId: 427915040
2022-02-10 21:10:52 -08:00
Michael Reneer
1f229dbaf5 Update the direct attrs dependency to ~=21.2.0.
This means that we would accept a hot fix, but not accept major or minor version changes without releasing TFP.

PiperOrigin-RevId: 427914787
2022-02-10 21:08:42 -08:00
Michael Reneer
6aa31d95dd Add direct matplotlib dependency.
PiperOrigin-RevId: 427914629
2022-02-10 21:06:59 -08:00
Michael Reneer
d1e045ed88 Add direct absl-py dependency.
PiperOrigin-RevId: 427914169
2022-02-10 21:04:06 -08:00
Michael Reneer
dd31737cb7 Update the setup.py for TensorFlow Privacy.
* Removed stale documentation.
* Updated to read version from the `version.py` module.
* Remove test only dependency.

PiperOrigin-RevId: 424932559
2022-01-28 12:34:01 -08:00
Michael Reneer
75f88f8120 Sort TensorFlow Privacy requirements and required dependencies.
Sorting alphabetically this can help keep these lists maintained, in sync, and current.

PiperOrigin-RevId: 424433354
2022-01-26 13:46:23 -08:00
Galen Andrew
06eef51369 New version 0.7.3
PiperOrigin-RevId: 395263672
2021-09-07 09:24:02 -07:00
Galen Andrew
477b5b2899 Remove declaration of dependency on tensorflow.
PiperOrigin-RevId: 392683668
2021-08-24 09:39:25 -07:00
Galen Andrew
f44dcb8760 Add tensorflow and tensorflow-datasets to setup/requirements.
PiperOrigin-RevId: 390171562
2021-08-11 10:54:46 -07:00
Galen Andrew
fbaa55cc43 Add dependency on tensorflow probability.
PiperOrigin-RevId: 389962756
2021-08-10 13:23:31 -07:00
Galen Andrew
c447a1a3c2 Bump version number.
PiperOrigin-RevId: 389959093
2021-08-10 13:08:24 -07:00
Galen Andrew
7f44b02456 Increment version number.
PiperOrigin-RevId: 384507585
2021-07-13 11:14:18 -07:00
Steve Chien
34249f464b Update version to 0.6.1 to prepare for new release.
PiperOrigin-RevId: 382196622
2021-06-29 17:08:44 -07:00
Steve Chien
94f03d09f3 Add attrs to setup and requirements.
PiperOrigin-RevId: 382121530
2021-06-29 10:57:58 -07:00
Galen Andrew
6b19862529 Bump version number.
PiperOrigin-RevId: 377136883
2021-06-02 13:52:00 -07:00
Steve Chien
685ef25e00 Expand __init__.py and update version to 0.5.2 in preparation for new pip release.
PiperOrigin-RevId: 367727715
2021-04-09 16:49:12 -07:00
Steve Chien
8d89ef0a4b Update version to 0.5.1, and add dependence on tensorflow-estimator.
PiperOrigin-RevId: 329822203
2020-09-02 17:31:32 -07:00
Galen Andrew
d939b22463 Bump version number.
PiperOrigin-RevId: 326927560
2020-08-16 15:12:13 -07:00
Galen Andrew
78f29a8990 Add a version number to TF Privacy package.
PiperOrigin-RevId: 321023649
2020-07-13 13:37:28 -07:00
A. Unique TensorFlower
cad41f8f52 Automated rollback of commit 9408e0fca5
PiperOrigin-RevId: 320726123
2020-07-10 21:42:08 -07:00
Galen Andrew
9408e0fca5 Add a version number to TF Privacy package.
PiperOrigin-RevId: 320713287
2020-07-10 18:40:11 -07:00
Steve Chien
164a57546a Update version to 0.3.0.
PiperOrigin-RevId: 309496629
2020-05-01 16:38:32 -07:00
Keith Rush
a8a2d91795 Move TF privacy off contrib.
PiperOrigin-RevId: 289953826
2020-01-15 15:47:21 -08:00
Steve Chien
aead0aeb3e Update version to 0.2.2.
PiperOrigin-RevId: 277631589
2019-10-30 19:05:07 -07:00
Steve Chien
c97497e030 Update version to 0.2.1
PiperOrigin-RevId: 276127928
2019-10-22 13:10:42 -07:00