Skip to content

PythonDataSource is creating a repr #5633

Open

Description

@vyeevani

PythonDataSource has repr defined on it by the data class. This results in the flat examples getting serialized. This can be a huge performance penalty. The other sources have their repr's defined by the base class. Therefore, it's relatively safe to do this for tensor flow dataset as well.

Activity

  1. changed the title [-]repr-[/-] [+]PythonDataSource is creating a repr[/+] on Oct 3, 2024
  2. vyeevani commented on Oct 3, 2024

    @vyeevani
    Author

    This is the root cause of: google/grain#593

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions