Closed sujitpal closed 1 year ago
The error message suggests that you're using GCC 7.3.1, which is a few years old (2018). Try updating your compiler: Assuming, AWS is using a debian based operating system, try:
sudo apt-get update && sudo apt-get upgrade gcc
If you are already in a root environment, use:
apt-get update && apt-get upgrade gcc
Hope this helps!
Many thanks for the pointer. I am on a Amazon Linux EC2 instance so I had to download the gcc10 package using instructions on this SO Page
sudo yum install -y gcc10.x86_64 gcc10-c++.x86_64
and updating the CC and CXX environment variables to point to gcc10-cc and gcc10-g++ respectively. I am now able to compile and run vicuna through the CLI.
Getting the following error when running
make -j
.This is on a AWS
p3.2xlarge
with DL-AMI installed and thepytorch_p39
conda environment activated (although not sure if it matters).Not a C/C++ programmer, so not sure what to make of this error, but guessing its something to do with the environment. Any help would be greatly appreciated, thanks!