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

[JIT] Add API for ignoring arbitrary module attributes #45262

Closed

Commits on Sep 24, 2020

  1. [JIT] Add API for ignoring arbitrary module attributes

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    72e4840 View commit details
    Browse the repository at this point in the history
  2. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    e29bc87 View commit details
    Browse the repository at this point in the history
  3. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    2d38d2f View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2020

  1. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    e89e74e View commit details
    Browse the repository at this point in the history
  2. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    5479ecb View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2020

  1. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    14e998d View commit details
    Browse the repository at this point in the history
  2. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    7d38b5d View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2020

  1. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 27, 2020
    Configuration menu
    Copy the full SHA
    ec913d6 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2020

  1. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 28, 2020
    Configuration menu
    Copy the full SHA
    dd8aad0 View commit details
    Browse the repository at this point in the history
  2. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 28, 2020
    Configuration menu
    Copy the full SHA
    54fcb1d View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2020

  1. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    Differential Revision: [D23971882](https://our.internmc.facebook.com/intern/diff/D23971882)
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 29, 2020
    Configuration menu
    Copy the full SHA
    7e9137f View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2020

  1. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    Differential Revision: [D23971882](https://our.internmc.facebook.com/intern/diff/D23971882)
    
    [ghstack-poisoned]
    Meghan Lele committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    f728b0f View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2020

  1. Update on "[JIT] Add API for ignoring arbitrary module attributes"

    **Summary**
    This commit adds an API for ignoring arbitrary module attributes during
    scripting. A class attribute named `ignored_attributes` containing names
    of attributes to ignore can be added to the class of the instance being
    scripted. Attributes ignored in this fashion cannot be used in
    `forward`, methods used by `forward` or by `@exported` methods. They
    are, however, copied to the `RecursiveScriptModule` wrapper and can be
    used by `@ignored` methods and regular Python code.
    
    **Test Plan**
    This commit adds unit tests to `TestScriptPy3` to test this new API.
    
    Differential Revision: [D23971882](https://our.internmc.facebook.com/intern/diff/D23971882)
    
    [ghstack-poisoned]
    Meghan Lele committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    ded8d28 View commit details
    Browse the repository at this point in the history