Skip to content

Conversation

@dbczumar
Copy link
Collaborator

Caching fix - only try/cache key creation

Signed-off-by: dbczumar <corey.zumar@databricks.com>
@dbczumar dbczumar requested a review from okhat December 10, 2024 04:01
Signed-off-by: dbczumar <corey.zumar@databricks.com>
assert mock_completion.call_count == 2


def test_lms_called_expected_number_of_times_for_cache_key_generation_failures():
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fails on main:

FAILED test_caching.py::test_lms_called_expected_number_of_times_for_cache_key_generation_failures - AssertionError: assert 2 == 1

Signed-off-by: dbczumar <corey.zumar@databricks.com>
Signed-off-by: dbczumar <corey.zumar@databricks.com>
@okhat okhat merged commit f11ccc0 into stanfordnlp:main Dec 10, 2024
4 checks passed
isaacbmiller pushed a commit that referenced this pull request Dec 11, 2024
* fix

Signed-off-by: dbczumar <corey.zumar@databricks.com>

* Test

Signed-off-by: dbczumar <corey.zumar@databricks.com>

* fix

Signed-off-by: dbczumar <corey.zumar@databricks.com>

* fix

Signed-off-by: dbczumar <corey.zumar@databricks.com>

---------

Signed-off-by: dbczumar <corey.zumar@databricks.com>
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.

2 participants