Skip to main content

gguf connector core built on ctransformers

Project description

ctransformers

Static Badge

Follow up the stopping updated project ctransformers; continue working on it.

install it by (pip/pip3):

pip install ctransformers-0.2.28.tar.gz

run it by (python/python3):

python -m ctransformers

User interfaces are available to choose (eithr CLI or GUI); while chosen, GGUF file(s) in the current directory will be searched and detected.

This is another solo connector core; same as llama-core; being able to work independently as well.

reference

ctransformers

All other functions are same as ctransformers; please see the reference above.

build from ctransformers-(version).tar.gz (examples below are for CPU)

According to the latest note inside vs code, msys64 is recommended by Microsoft; or you can opt w64devkit or etc. as source of your gcc and g++ compilers.

for windows user(s):

$env:CMAKE_GENERATOR = "MinGW Makefiles"
$env:CMAKE_ARGS = "-DCMAKE_C_COMPILER=C:/msys64/mingw64/bin/gcc.exe -DCMAKE_CXX_COMPILER=C:/msys64/mingw64/bin/g++.exe"
pip install ctransformers-(version).tar.gz

In mac, xcode command line tools are recommended by Apple for dealing all coding related issue(s); or you can bypass it for your own good/preference.

for mac user(s):

pip3 install ctransformers-(version).tar.gz

Make sure your gcc and g++ are >=11; you can check it by: gcc --version and g++ --version if you opt to build the wheel from source code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctransformer_core-0.2.28.tar.gz (10.6 MB view hashes)

Uploaded Source

Built Distributions

ctransformer_core-0.2.28-cp312-cp312-macosx_11_0_x86_64.whl (2.6 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ x86-64

ctransformer_core-0.2.28-cp311-cp311-win_amd64.whl (3.1 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page