Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specialize Optional[T] to T (or subtype for Tensor) or None when executing graph #18407

Closed
wants to merge 26 commits into from

Commits on Mar 24, 2019

  1. Specialize Optional (Tensor) to None when executing graph

    In pytorch#18360, we used undefined Tensor (aka AutogradZeroTensor),
    but this can be errorprone when the type or value is compared
    to None, e.g. as seen when comined with the (not yet landed)
    
    For this to work, we must allow None passed to functions
    taking Tensor?.
    t-vi committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    4ecb33a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    431edca View commit details
    Browse the repository at this point in the history
  3. fix worst stuff

    t-vi committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    f557aeb View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2019

  1. Configuration menu
    Copy the full SHA
    c032d5a View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2019

  1. Configuration menu
    Copy the full SHA
    60a3c93 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2019

  1. Fixes

    t-vi committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    3b4acf9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e18cf4f View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2019

  1. Configuration menu
    Copy the full SHA
    6650d55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9cd8ac9 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2019

  1. add test for optional list

    t-vi committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    c43e367 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2019

  1. Configuration menu
    Copy the full SHA
    9b6bcd7 View commit details
    Browse the repository at this point in the history
  2. update hash for non-tensor args

    t-vi committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    98dc52a View commit details
    Browse the repository at this point in the history
  3. remove CompleteArgumentSpec

    t-vi committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    9e312df View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2019

  1. Configuration menu
    Copy the full SHA
    2671e81 View commit details
    Browse the repository at this point in the history
  2. add TORCH_API for Windows

    t-vi committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    fef2246 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2019

  1. Implement feedback from zdevito

    t-vi committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    3cd6ddf View commit details
    Browse the repository at this point in the history
  2. clean unwrapping, tabs

    t-vi committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    3da9f1d View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2019

  1. Configuration menu
    Copy the full SHA
    87ff89b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9edcfcf View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2019

  1. Don't add None tensors to the argument stack

    and assert that Optional tensors cannot be undefined.
    
    Based on Zach's feedback. Thank you!
    t-vi committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    7ec5ee5 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2019

  1. Configuration menu
    Copy the full SHA
    08947d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66772ad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcbfa67 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2019

  1. improve tests, remove fixme

    t-vi committed May 4, 2019
    Configuration menu
    Copy the full SHA
    7a4878d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    729517f View commit details
    Browse the repository at this point in the history

Commits on May 5, 2019

  1. add WithInsertPoint

    t-vi committed May 5, 2019
    Configuration menu
    Copy the full SHA
    8b947f2 View commit details
    Browse the repository at this point in the history