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

langchain_huggingface: Fix multiple GPU usage bug in from_model_id function #23628

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Commits on Jun 28, 2024

  1. Fix multiple GPU usage bug in from_model_id function

    - Avoid the ambiguity of device_map variable by raising error when people try to pass device_map as key-value pair in model_kwargs
    - removing the unused device_map variable in the hf_pipeline function call
    kenchanLOL committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    7a2b7ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e635b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f98f992 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f5ff450 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d010fb3 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    fb774b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    cd90167 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Configuration menu
    Copy the full SHA
    0c49e7a View commit details
    Browse the repository at this point in the history
  2. remove trailing space

    kenchanLOL committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    802b2c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3754828 View commit details
    Browse the repository at this point in the history
  4. fix huggingface_pipeline.py:108: error: Unsupported target for indexe…

    …d assignment ("dict[Any, Any] | None") [index]
    kenchanLOL committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    836ba88 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    1975792 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Update libs/partners/huggingface/langchain_huggingface/llms/huggingfa…

    …ce_pipeline.py
    
    Co-authored-by: Erick Friis <erickfriis@gmail.com>
    kenchanLOL and efriis authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    acd3803 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Erick Friis <erickfriis@gmail.com>
    kenchanLOL and efriis authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    2d2309a View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    dd31867 View commit details
    Browse the repository at this point in the history