Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

[Flaky Test] test_operator_gpu.test_ftrl #18003

Closed

Activity

  1. xziya commented on Apr 9, 2020

    @xziya
    ContributorAuthor

    @mxnet-label-bot add [gpu, optimizer]

  2. ptrendx commented on Apr 9, 2020

    @ptrendx
    Member

    Also seen in #17995.

  3. ptrendx commented on Apr 9, 2020

    @ptrendx
    Member

    Hmm, something is wrong with the random seed generation of tests - all those failing test_ftrl got the same seed:

    common: INFO: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=386103813 to reproduce.
    

    FYI @roywei Since you are already looking at random-related stuff and @DickJC123 since you wrote the @with_seed facility.

  4. leezu commented on Apr 10, 2020

    @leezu
    Contributor

    @szha plans to switch the testing suite to pytest
    This involves refactoring the randomness logic and may fix the issue. The new code would likely be inspired by the code in GluonNLP, where we transitioned to pytest already in the initial release and thus refactored the random-related stuff for pytest.

    https://github.com/dmlc/gluon-nlp/blob/v0.9.x/conftest.py#L41

  5. leezu commented on Apr 23, 2020

    @leezu
    Contributor

    As a sanity check for the pytest random seed infrastructure: Test failure can be reproduced deterministically using:

    MXNET_TEST_SEED=1632189249 pytest tests/python/unittest/test_optimizer.py -k test_ftrl

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions