cLLM is an Open-source library that use llama-cpp-python and llama.cpp and provide a Low and High level API and allow developer to be more pythonic.
Project description
cLLM
cLLM is an Open-source library that use llama-cpp-python and llama.cpp and provide a Low and High level API and allow developer to be more pythonic.
Features 🔮
-
C++ Llama.cpp GGML Framework: The program is built using the C++ language and utilizes the Llama.cpp framework for efficient performance.
-
EasyDeL Platform: if you use the provided open-source models The models have been trained using the EasyDeL platform, ensuring high-quality and accurate assistance.
-
Customized Models: Users can access models customized for their specific needs, such as coding assistance, grammar correction, and more.
-
OpenAI API: The structure of APIs that will be provided in upcoming version will be OpenAI API like.
Installation with Specific Hardware Acceleration (BLAS, CUDA, Metal, etc.)
[!TIP] The default behavior for
llama.cpp
installation is to build for CPU only on Linux and Windows and to use Metal on macOS. However,llama.cpp
supports various hardware acceleration backends such as OpenBLAS, cuBLAS, CLBlast, HIPBLAS, and Metal.
To install with a specific hardware acceleration backend, you can set the CMAKE_ARGS
environment variable before
installing. Here are the instructions for different backends:
Buildings for OpenBLAS
CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install cLLM-python
Buildings for cuBLAS
CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install cLLM-python
Buildings for Metal
CMAKE_ARGS="-DLLAMA_METAL=on" pip install cLLM-python
Buildings for CLBlast
CMAKE_ARGS="-DLLAMA_CLBLAST=on" pip install cLLM-python
Buildings for hipBLAS
CMAKE_ARGS="-DLLAMA_HIPBLAS=on" pip install cLLM-python
You can set the CMAKE_ARGS
environment variable accordingly based on your specific hardware acceleration requirements
before installing llama.cpp
.
Contributing
If you would like to contribute to cLLM, please follow the guidelines outlined in the CONTRIBUTING.md file in the repository.
License
cLLM is licensed under the MIT. See the LICENSE.md file for more details.
Support
For any questions or issues, please get in touch with me at erfanzare810@gmail.com.
Thank you for using cLLM! We hope it will help you have a personal computer experience.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cLLM-python-0.0.8.tar.gz
.
File metadata
- Download URL: cLLM-python-0.0.8.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff13916a0aa389e4db2e3e987fd300bcb1ba7607eb70a89109fcb40bd00f169c |
|
MD5 | 8a6d9f9993789873a38db4d296d3ac3e |
|
BLAKE2b-256 | 4e950c9dfe1381d2775165c9d5630ccb26c33317be614db00e1d23dece82b0c0 |
File details
Details for the file cLLM_python-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: cLLM_python-0.0.8-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6012393e49c7db0eee81829759153e2f1b30447baff167a33fcb555885c98b19 |
|
MD5 | e3267229d35784df63054f7da7460625 |
|
BLAKE2b-256 | a3c4260ed3fbe70965fa97f51f80a51e42d2aa676d9290f121016c3c2bf9bf04 |