Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/tensorflow/federated. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Jul 18, 2020
  2. Jul 17, 2020
  3. Jul 16, 2020
  4. Jul 15, 2020
    • Michael Reneer's avatar
      Remove disallowed terms from TFF. · f505b346
      Michael Reneer authored
      PiperOrigin-RevId: 321268189
      f505b346
    • Weikang Song's avatar
      Expose SizingExecutorFactory and SizeInfo. · da842fdf
      Weikang Song authored
      PiperOrigin-RevId: 321266409
      da842fdf
    • Keith Rush's avatar
      Renames remove_lambdas_and_blocks to remove_called_lambdas_and_blocks. · 0b53db27
      Keith Rush authored
      PiperOrigin-RevId: 321265603
      0b53db27
    • Michael Reneer's avatar
      Add a compiler function to the `ExecutionContext` object. · 187f78aa
      Michael Reneer authored
      This change adds a compiler function to the `ExecutionContext` object. Conceptually a `Context` can be thought of as an "environment" which owns compilation and owns execution for a given computation. Additionally, this change replaces `set_default_executor` with higher level functions in order to simplify how contexts are constructed.
      
      * Added compiler function to the `ExecutionContext`.
      * Deprecated `set_default_executor`.
      * Removed all usage of `set_default_executor` internally.
      * Added convenience high level functions that set an execution context:
        * tff.backends.native.set_local_execution_context
      * Updated `set_default_executor` call-sites to either use the convenience high level functions or to manually construct a context and use `set_default_context`.
      
      Note that we should consider creating the following convenience high level functions:
        * tff.backends.native.set_remote_execution_context
        * tff.backends.native.set_sizing_execution_context
        * tff.backends.iree.set_iree_execution_context
      
      PiperOrigin-RevId: 321263709
      187f78aa
    • Zachary Garrett's avatar
      Add pytype annotations to shared research training utilities. · 997350cd
      Zachary Garrett authored
      Semantic changes:
      -  Use the LR schedule with round 0 during the server intializiation.
         Previously this relied on the optimizer builder specifying a default for the
         learning rate, which was overriden in later rounds. Explicitly call with a
         "round 0" learning rate to ensure the documented type is adhered to. This
         can be seen in the type annotations for the `server_optimizer_fn` argument
         to `build_server_init_fn` and `build_fed_avg_process`.
      
      PiperOrigin-RevId: 321237803
      997350cd
    • Keith Rush's avatar
      Uses bytes of ndarray instead of string rep of flatten. · 6ca78bc5
      Keith Rush authored
      Taking string rep of flattened ndarray can cause non-equal ndarrays to hash to identical values.
      
      E.g., added test here failed previously--arrays that have identical values on the ends of their flattened reps, but differ in the middle, will result in the same key.
      
      PiperOrigin-RevId: 321234171
      6ca78bc5
    • Keith Rush's avatar
      Canonicalizes sequence of transformations as `transform_to_call_dominant`. · ac22eed2
      Keith Rush authored
      PiperOrigin-RevId: 321234129
      ac22eed2
    • Michael Reneer's avatar
      Cleanup PIP package tools and installation documentation. · 54425244
      Michael Reneer authored
      There are a few users to consider:
      
      1. A developer on TFF wants source at HEAD.
      2. A researcher using TFF wants pip package at release in 90% of scenarios and sometimes (ideally rarely) wants nightly, but never wants to build a pip package.
      3. A developer making a framework using TFF wants pip release and nightly, but never wants to build a pip package.
      4. A researcher upstreaming change to TFF basically has moved from #2 to #3.
      
      Fixes: #878
      PiperOrigin-RevId: 321226038
      54425244
    • Tomer Kaftan's avatar
      Explicitly raise a (clearer) error message when models end up in invalid... · c69d2960
      Tomer Kaftan authored
      Explicitly raise a (clearer) error message when models end up in invalid states due to interleaving graph and eager.
      
      In rare cases code may have run w/o crashing when in these invalid states, but it's safer to error with an explanation rather than risk silent failures/fragile behavior.
      
      PiperOrigin-RevId: 321192744
      c69d2960
    • Zachary Garrett's avatar
      Fix typos by replacing `TrainableModel` `Model`. · 4fd7f46f
      Zachary Garrett authored
      TrainableModel has been removed from TFF for a while.
      
      PiperOrigin-RevId: 321184501
      4fd7f46f
  5. Jul 11, 2020
  6. Jul 10, 2020
  7. Jul 09, 2020
  8. Jul 08, 2020
Loading