Skip to content

Conversation

karan6181
Copy link
Contributor

Description

  • Defaulting streaming dataset version to 1
  • Added a deprecation warning if using streaming dataset version 1
  • Make DeprecationWarning stack_level to 2 since the caller calls a function wrapper.

@karan6181
Copy link
Contributor Author

karan6181 commented Sep 16, 2022

CI is failing since some of the test is failing with AttributeError: module 'distutils' has no attribute 'version'. This PR doesn't added a new package or change any existing one. I ran the test locally after doing pip install -e .[all] and they are passing. Below is the snapshot of some of the tests

tests/callbacks/test_loggers_across_callbacks.py::test_loggers_on_callbacks[CheckpointSaver-TensorboardLogger] PASSED
tests/callbacks/test_loggers_across_callbacks.py::test_loggers_on_callbacks[EarlyStopper-TensorboardLogger] PASSED
tests/callbacks/test_loggers_across_callbacks.py::test_loggers_on_callbacks[ExportForInferenceCallback-TensorboardLogger] PASSED
tests/callbacks/test_callbacks.py::TestCallbacks::test_multiple_init_and_close[TensorboardLogger] PASSED

PR #1534 is also failing with the same issue. Looks like something is wrong.

Copy link
Contributor

@bandish-shah bandish-shah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bandish-shah bandish-shah merged commit 3f3ba30 into mosaicml:dev Sep 18, 2022
@karan6181
Copy link
Contributor Author

CI is failing since some of the test is failing with AttributeError: module 'distutils' has no attribute 'version'. This PR doesn't added a new package or change any existing one. I ran the test locally after doing pip install -e .[all] and they are passing. Below is the snapshot of some of the tests

tests/callbacks/test_loggers_across_callbacks.py::test_loggers_on_callbacks[CheckpointSaver-TensorboardLogger] PASSED
tests/callbacks/test_loggers_across_callbacks.py::test_loggers_on_callbacks[EarlyStopper-TensorboardLogger] PASSED
tests/callbacks/test_loggers_across_callbacks.py::test_loggers_on_callbacks[ExportForInferenceCallback-TensorboardLogger] PASSED
tests/callbacks/test_callbacks.py::TestCallbacks::test_multiple_init_and_close[TensorboardLogger] PASSED

PR #1534 is also failing with the same issue. Looks like something is wrong.

Fixed by PR: #1536

@karan6181 karan6181 deleted the dataset_deprecation branch September 18, 2022 01:09
bandish-shah pushed a commit to bandish-shah/composer that referenced this pull request Sep 19, 2022
bcui19 pushed a commit to bcui19/composer that referenced this pull request Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants