Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on windows - please elaborate more #141

Open
s-github-2 opened this issue Dec 20, 2023 · 0 comments
Open

Installation on windows - please elaborate more #141

s-github-2 opened this issue Dec 20, 2023 · 0 comments

Comments

@s-github-2
Copy link

s-github-2 commented Dec 20, 2023

windows installation are minimal for newcomers - please elaborate more - here are some suggestions that got me going

  1. install WSL https://learn.microsoft.com/en-us/windows/wsl/install
    2.Be warmed that I needed bitlocker recovery key on my win11 pro system to boot back after installing WSL because it detected changes in the boot system and wouldnt boot without recovery key. Had to log on to microsoft account to find my recovery key for bitlocker
  2. install docker dekstop
  3. enable docker integration into the wsl distro (Ubuntu is default installation of wsl) through the docker desktop app
  4. Verify Docker Installation by running docker --version in your terminal or command prompt
  5. start ubuntu (default linux distro) from windows - it should have an app installed after the installation
  6. Navigate to the Project Directory . Use the cd command to navigate to this directory, e.g., cd /mnt/c/Projects/llama-gpt
    remember /mnt/c is the path to c drive from ubuntu or linux
  7. you might get a "permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock," if you try to run the command
    ./run.sh --model 7b in your linux terminal. To resolve this issue, you need to add your user to the docker group, which will grant the necessary permissions. Here's how you can do it:
    sudo usermod -aG docker $USER
  8. Apply Group Changes: by shutting down and restarting wsl. type wsl --shutdown in your Windows command prompt or PowerShell,
    this will shut down wsl
  9. restart wsl by typing ubuntu (default linux distro or whatever you have chosen) and check group membership by running
    groups command in your terminal
  10. Now you can run " ./run.sh --model 7b " command (assuming you are in correct directory where run.sh is located.
  11. if the run.sh command doesnt run , make sure its executable by running ' chmod +x run.sh ' in terminal
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

No branches or pull requests

1 participant