Giter Club home page Giter Club logo

Comments (2)

jsspencer avatar jsspencer commented on July 19, 2024

Please try patching the tensorflow code.

In tensorflow_core/python/training/slot_creator.py (inside the virtualenv site-packages -- something like /path/to/venv/lib/python3.7/site-packages/tensorflow_core/python/training/slot_creator.py), there are two functions, create_slot and create_slot_with_initializer, which contain the test

 if context.executing_eagerly():
  prefix = primary._shared_name
else:
  prefix = primary.op.name

Change the if statement to:

if isinstance(primary, variables.Variable):
   ...

This matches the upstream code (which didn't get released in TF 1.15) in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/training/slot_creator.py. The commit which fixed this issue is tensorflow/tensorflow@3a22ef3. I'll try to get this backported to the 1.15 release series.

(I believe that this problem only affects using K-FAC -- using ADAM should work fine with multiple GPUs)

from ferminet.

ley61 avatar ley61 commented on July 19, 2024

Thank you so much for such a quick and detailed reply! I will try immediately.

from ferminet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.