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

Add lora test workflow (WIP) #9058

Closed

Conversation

ltoniazzi
Copy link
Contributor

@ltoniazzi ltoniazzi commented Aug 16, 2024

Context

Partially solving Issue #8708.

Running the tests introduced in PR #8957 in a new git workflow (inspired by .github/workflows/server.yml).

Todo

Checks

@github-actions github-actions bot added the devops improvements to build systems and github actions label Aug 16, 2024
.github/workflows/server-convert-and-infer.yml Outdated Show resolved Hide resolved
.github/workflows/server-convert-and-infer.yml Outdated Show resolved Hide resolved
.github/workflows/server-convert-and-infer.yml Outdated Show resolved Hide resolved
.github/workflows/server-convert-and-infer.yml Outdated Show resolved Hide resolved
.github/workflows/server-convert-and-infer.yml Outdated Show resolved Hide resolved
.github/workflows/server-convert-and-infer.yml Outdated Show resolved Hide resolved
@ltoniazzi ltoniazzi force-pushed the testing/add-lora-tests-workflow branch from 6e1237e to 1413c49 Compare August 18, 2024 11:22
@ltoniazzi
Copy link
Contributor Author

ltoniazzi commented Aug 18, 2024

@ngxson Thanks updated!

By the way, should I add a test run for the llama-server features added in #8857 as well?

@ltoniazzi ltoniazzi changed the title [WIP] Add lora test workflow Add lora test workflow (WIP) Aug 18, 2024
-DLLAMA_CURL=ON \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON ;
cmake --build build --config ${{ matrix.build_type }} -j $(nproc) --target llama-server
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should I remove this line and the cmake dependency above?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Or should I use it to add lora tests that involve the server?

@github-actions github-actions bot added the testing Everything test related label Aug 24, 2024
@ltoniazzi ltoniazzi force-pushed the testing/add-lora-tests-workflow branch from ce6dd7a to 42f65b0 Compare August 24, 2024 08:14
@ltoniazzi ltoniazzi force-pushed the testing/add-lora-tests-workflow branch from 7e64e01 to fc6abde Compare August 24, 2024 08:22
@ltoniazzi ltoniazzi marked this pull request as ready for review August 28, 2024 10:23
@ltoniazzi
Copy link
Contributor Author

@ngxson Hey 😃 ! Are you able to take a look a this PR next week?

@ngxson
Copy link
Collaborator

ngxson commented Sep 22, 2024

Sorry for the delay. This is not my current priority, but I'll see if I have time next week.

@ltoniazzi
Copy link
Contributor Author

@ngxson do you have time to look at this, or can you point me to another maintainer that can help here?

@ngxson
Copy link
Collaborator

ngxson commented Dec 3, 2024

I think we don't really need this anymore, as this is not a very important part and running test script locally works fine in most cases (we don't have much changes related to lora anyway)

We also don't want to add too much workflows to the CI. Every 1-2 minutes added to the CI will make it slow overtime, let alone the build step of this script that can easily take 5 minutes of the CI. So I think it's better not to continue implementing this for now.

@ltoniazzi
Copy link
Contributor Author

@ngxson Yes no problem!

Should we merge only the modification in the test script to clone from a specific commit, so there is not risk in with updates to the HF test models repo? (See updated diff)

@ltoniazzi ltoniazzi changed the title Add lora test workflow (WIP) Fetch lora test models from HF repo commit Dec 3, 2024
@ltoniazzi ltoniazzi changed the title Fetch lora test models from HF repo commit Fetch LoRA test models from HF repo commit Dec 3, 2024
@ngxson
Copy link
Collaborator

ngxson commented Dec 3, 2024

Yes that looks good. Btw next time you can use add a new PR (if you want). The current PR can be kept as draft for reference in the future. For open-source projects, it's common to close a PR or to keep a non-functioning PR as draft.

@ltoniazzi
Copy link
Contributor Author

Yes, let's do that! Closed as not planning to implement the CI workflow

@ltoniazzi ltoniazzi closed this Dec 4, 2024
@ltoniazzi ltoniazzi changed the title Fetch LoRA test models from HF repo commit Add lora test workflow (WIP) Dec 4, 2024
@ltoniazzi ltoniazzi deleted the testing/add-lora-tests-workflow branch December 4, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops improvements to build systems and github actions testing Everything test related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants