Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

pin llama_cpp_python to 0.2.55#789

Merged
xukai92 merged 1 commit intoinstructlab:maininstructlab/instructlab:mainfrom
anik120:fix-function-test-llama-depanik120/lab-cli:fix-function-test-llama-depCopy head branch name to clipboard
Apr 4, 2024
Merged

pin llama_cpp_python to 0.2.55#789
xukai92 merged 1 commit intoinstructlab:maininstructlab/instructlab:mainfrom
anik120:fix-function-test-llama-depanik120/lab-cli:fix-function-test-llama-depCopy head branch name to clipboard

Conversation

@anik120
Copy link
Contributor

@anik120 anik120 commented Apr 4, 2024

Changes

Which issue is resolved by this Pull Request:
Resolves #788

Description of your changes:

requirements.txt Outdated
llama_cpp_python[server]>=0.2.55,<0.3.0; sys_platform != 'darwin'
# pin macOS version, lift restriction after testing >=0.2.58
# see https://github.com/abetlen/llama-cpp-python/issues/1286
llama_cpp_python[server]==0.2.55; sys_platform == 'darwin'
Copy link
Contributor Author

@anik120 anik120 Apr 4, 2024

Choose a reason for hiding this comment

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

@xukai92 looks like this was already in here hah

httpx
llama_cpp_python[server]>=0.2.55,<0.3.0; sys_platform != 'darwin'
# pin macOS version, lift restriction after testing >=0.2.58
# see https://github.com/abetlen/llama-cpp-python/issues/1286
Copy link
Contributor Author

Choose a reason for hiding this comment

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

And looks like we ran into this before too

Copy link
Member

Choose a reason for hiding this comment

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

yeah, we run into a related issue before. i can't remember what was it but maybe you can git blame to find it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea I did that, turns out it was the exact same issue that we've been running into, only folks running into this were running it on their Macs, so fixed it only for macOS.

@anik120 anik120 force-pushed the fix-function-test-llama-dep branch from a0fa14c to d86bf01 Compare April 4, 2024 02:26
requirements.txt Outdated Show resolved Hide resolved
Closes #788

Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
@anik120 anik120 force-pushed the fix-function-test-llama-dep branch from d86bf01 to 4d7ec33 Compare April 4, 2024 02:48
@xukai92 xukai92 merged commit f7fad05 into instructlab:main Apr 4, 2024
This was referenced Apr 4, 2024
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.

update functional tests for newer llama_cpp_python version

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.