Skip to content

Conversation

@ammirsm
Copy link
Collaborator

@ammirsm ammirsm commented Mar 8, 2024

What is change?

  • making the notebook cache available everywhere.

Why the change is important?

  • we want to in baleen_test be able to use notebook cache

Why not putting it in actual test or decorator?

  • because cached are used globally so it needs a huge change if we want to do that.

How to test?

  • Running unit tests.
  • Running the notebooks.

# @pytest.mark.slow_test
# TODO: Find a way to make this test run without the slow hotpotqa dataset
def _test_compiled_baleen():
def test_compiled_baleen():
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't it going to break things to have a unittest using OpenAI like this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

With the other change that I added in another file this should run based on the cache of the notebook.

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