meta-llama / codellama

Inference code for CodeLlama models
Other
15.87k stars 1.84k forks source link

NOTE: Redirects are currently not supported in Windows or MacOs. #32

Open spmhickstein opened 1 year ago

spmhickstein commented 1 year ago

I can't run the examples in Windows machine, currently blocked in this attempts to redirect.

We should see information about requirements in the documentation.

GaganHonor commented 1 year ago

You can use WSL feature Version 2 and install Debian or Ubuntu then Update and Upgrade your all packages .

Open [PowerShell] as an administrator. Run the following command:

         wsl --install
          This command will install the latest WSL to install [Debian]

           wsl --set-version Debian `2`

I guess some issues on win 11 so follow this if above not works :

Open powershell as an administrator. Run the following command to enable the required features:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
   dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

After running these commands, restart your computer.

Once your computer restarts, open Powershell as an administrator again.

Run the following command to set [WSL 2] as the default version:

wsl --set-default-version 2

Finally, try installing the Linux distribution again by running the following command:

wsl --install

I hope it helps ❤️