h2ogpt: llama-cpp-python errors / Better Documentation

Following the linux guide but it’s incomplete. https://github.com/h2oai/h2ogpt/blob/main/docs/README_LINUX.md

conda create -n h2ogpt -y
conda activate h2ogpt
mamba install python=3.10 -c conda-forge -y
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 23.1.0
  latest version: 23.7.2

Please update conda by running

    $ conda update -n base -c defaults conda

Or to minimize the number of packages updated during conda update use

     conda install conda=23.7.2



## Package Plan ##

  environment location: /home/jettscythe/miniconda3/envs/h2ogpt



Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate h2ogpt
#
# To deactivate an active environment, use
#
#     $ conda deactivate

zsh: command not found: mamba

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 21

Most upvoted comments

For gcc version, please try this:

https://www.yodiw.com/solve-unsupported-gnu-version-gcc-versions-later-than-11-are-not-supported/

i.e.

MAX_GCC_VERSION=11

sudo apt install gcc-$MAX_GCC_VERSION g++-$MAX_GCC_VERSION
sudo ln -s /usr/bin/gcc-11 /usr/local/cuda/bin/

or something like that.

Ah, on mamba, just a typo in docs. mamba is faster than conda for installing packages, but I left this in:

  mamba install python=3.10 -c conda-forge -y

Will fix docs thanks.