Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync dev with main #369

Merged
merged 16 commits into from
Nov 14, 2023
Merged

Sync dev with main #369

merged 16 commits into from
Nov 14, 2023

Conversation

rmitsch
Copy link
Collaborator

@rmitsch rmitsch commented Nov 14, 2023

Description

Sync dev with main.

Corresponding documentation PR

-

Types of change

Chore.

Checklist

  • I confirm that I have the right to submit this contribution under the project's MIT license.
  • I ran all tests in tests and usage_examples/tests, and all new and existing tests passed. This includes
    • all external tests (i. e. pytest ran with --external)
    • all tests requiring a GPU (i. e. pytest ran with --gpu)
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

rmitsch and others added 15 commits October 16, 2023 14:42
* Additional clear functionality
optional add label_definition

* Small fix

* fix typos

* Adjusted test case label to catch
non working definition

* Fix tests

* reformat files

---------

Co-authored-by: Habib H <[email protected]>
* Attempt to fix label test.

* Attempt to fix label test.
Add scoring mechanism to sentiment task
* Update langchain pin.

* Add workaround for LangChain/OpenAI bug.
* Update OpenAI models.

* Add .v3 for GPT-4 and GPT-3.5 with string instead of Literal for model names. Remove model checks for REST models.

* Update spacy_llm/models/rest/openai/registry.py

Co-authored-by: Sofie Van Landeghem <[email protected]>

* Update spacy_llm/tests/test_combinations.py

Co-authored-by: Sofie Van Landeghem <[email protected]>

* Update spacy_llm/models/rest/openai/registry.py

Co-authored-by: Sofie Van Landeghem <[email protected]>

* Update docstrings.

---------

Co-authored-by: Sofie Van Landeghem <[email protected]>
* Consider device/device_map conflicts. Always move inputs to model device for models using AutoModelForCausalLM.

* Add test for device conflict checks.

* Remove accelerate dependency.

* Add torch_dtype handling.

* Fix torch_dtype check.

* Fix default dtype.

* Empty cache in HF tests.

* Fix OpenLLaMa default config bug. Skip Mistral test due to lack of GPU memory.

* Update spacy_llm/tests/models/test_hf.py

Co-authored-by: Sofie Van Landeghem <[email protected]>

* Change device check sequence.

---------

Co-authored-by: Sofie Van Landeghem <[email protected]>
* Fix REL label issue.

* Remove .issue mark.
@rmitsch rmitsch added chore Chore Test external Run external tests labels Nov 14, 2023
@rmitsch rmitsch self-assigned this Nov 14, 2023
@rmitsch rmitsch changed the base branch from main to develop November 14, 2023 08:51
@rmitsch rmitsch merged commit bbab211 into develop Nov 14, 2023
17 checks passed
@rmitsch rmitsch deleted the chore/sync-dev-with-main branch November 17, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore Test external Run external tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants