tensorflow / tensorflow/probability

Eager execution for SGLD

Open
#1,312 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hi,

Can anyone explain me (or point to alternatives) why I cannot run SGLD in TF2?
https://github.com/tensorflow/probability/blob/4683836be3701e75f459494bd3de12edb7560a2d/tensorflow_probability/python/optimizer/sgld.py#L160

Kind regards,

Jordy

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked SGLD implementation at tensorflow_probability/python/optimizer/sgld.py line 160 and investigate why it cannot run with TF2 eager execution. Compare the observed behavior with the requested eager-execution use case and determine whether the outcome should be implementation support or documentation of alternatives; done requires a clear answer backed by a working or documented TF2 path.

Written by the indexing model from the issue text.

Assessment

Tech stack
tensorflow
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.