Skip to content

Commit

Permalink
Update tests/lora/conftest.py
Browse files Browse the repository at this point in the history
Co-authored-by: Antoni Baum <antoni.baum@protonmail.com>
  • Loading branch information
Jeffwan and Yard1 committed Jul 16, 2024
1 parent 978688c commit 8431063
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/lora/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ def sql_lora_huggingface_id():
# huggingface repo id is used to test lora runtime downloading.
return "yard1/llama-2-7b-sql-lora-test"

@pytest.fixture(scope="session")
def sql_lora_files(sql_lora_huggingface_id):
return snapshot_download(repo_id=sql_lora_huggingface_id)

@pytest.fixture(scope="session")
def mixtral_lora_files():
Expand Down

0 comments on commit 8431063

Please sign in to comment.