FreedomGPT icon indicating copy to clipboard operation
FreedomGPT copied to clipboard

Instructions Not Working

Open bitshifter52 opened this issue 1 year ago • 1 comments

I followed the instructions from the Readme.md and this is what happened:

Freedom GPT issues:

  • What I did * git clone --recursive https://github.com/ohmplatform/FreedomGPT.git freedom-gpt Cloning into 'freedom-gpt'... remote: Enumerating objects: 493, done. remote: Counting objects: 100% (57/57), done. remote: Compressing objects: 100% (20/20), done. remote: Total 493 (delta 39), reused 39 (delta 37), pack-reused 436 Receiving objects: 100% (493/493), 5.69 MiB | 2.34 MiB/s, done. Resolving deltas: 100% (270/270), done. Submodule 'llama.cpp' (https://github.com/ggerganov/llama.cpp.git) registered for path 'llama.cpp' Cloning into '/home/robert/freedom-gpt/llama.cpp'... remote: Enumerating objects: 3618, done.
    remote: Counting objects: 100% (3618/3618), done.
    remote: Compressing objects: 100% (1194/1194), done.
    remote: Total 3618 (delta 2427), reused 3504 (delta 2388), pack-reused 0
    Receiving objects: 100% (3618/3618), 3.26 MiB | 1.71 MiB/s, done. Resolving deltas: 100% (2427/2427), done. Submodule path 'llama.cpp': checked out '0e018fe008eacebdbcfa2d61b6c988c245c961cd'

cd freedom-gpt

  • First error * yarn install 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'

yarn --version 0.32+git

*** Second attempt from readme - also failed *** docker pull freedomgpt/freedomgpt Using default tag: latest latest: Pulling from freedomgpt/freedomgpt Digest: sha256:dbed2aa99ee0a2a1081b5ddb398b8cabdfe8d3a8688799e79a188b3b6a56c540 Status: Image is up to date for freedomgpt/freedomgpt:latest docker.io/freedomgpt/freedomgpt:latest

docker build -t freedomgpt/freedomgpt "docker build" requires exactly 1 argument. See 'docker build --help'.

Usage: docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile

docker --version Docker version 20.10.5+dfsg1, build 55c4c88

*** My system info: *** System: Kernel: 6.1.0-8mx-ahs-amd64 [6.1.25-1~mx21ahs+1] x86_64 bits: 64 compiler: gcc v: 10.2.1 parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-8mx-ahs-amd64 root=UUID= ro quiet splash Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64 Wildflower January 15 2023 base: Debian GNU/Linux 11 (bullseye) Machine: Type: Desktop System: Gigabyte product: X570 AORUS ELITE WIFI v: -CF serial: Mobo: Gigabyte model: X570 AORUS ELITE WIFI serial: UEFI: American Megatrends LLC. v: F38b date: 03/23/2023 Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K540/K545 serial: charge: 100% (should be ignored) rechargeable: yes status: Discharging Device-2: hidpp_battery_1 model: Logitech Wireless Mouse M510 serial: charge: 55% (should be ignored) rechargeable: yes status: Discharging CPU: Info: 6-Core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3 family: 19 (25) model-id: 21 (33) stepping: 0 microcode: A201025 cache: L2: 3 MiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 88801 Speed: 2198 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 2199 2: 2197 3: 2200 4: 2200 5: 2207 6: 2200 7: 2192 8: 2200 9: 2200 10: 2200 11: 2199 12: 2199 Vulnerabilities: Type: itlb_multihit status: Not affected Type: l1tf status: Not affected Type: mds status: Not affected Type: meltdown status: Not affected Type: mmio_stale_data status: Not affected Type: retbleed status: Not affected Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected Type: srbds status: Not affected Type: tsx_async_abort status: Not affected Graphics: Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: Micro-Star MSI driver: nvidia v: 520.56.06 bus-ID: 08:00.0 chip-ID: 10de:2504 class-ID: 0300 Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver: loaded: nvidia display-ID: :0.0 screens: 1 Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0") s-diag: 777mm (30.6") Monitor-1: HDMI-0 res: 2560x1440 dpi: 109 size: 597x336mm (23.5x13.2") diag: 685mm (27") OpenGL: renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2 v: 4.6.0 NVIDIA 520.56.06 direct render: Yes Audio: Device-1: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 08:00.1 chip-ID: 10de:228e class-ID: 0403 Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403 Sound Server-1: ALSA v: k6.1.0-8mx-ahs-amd64 running: yes Sound Server-2: PulseAudio v: 14.2 running: yes

bitshifter52 avatar Jun 14 '23 21:06 bitshifter52

If you used the version of yarn with cmdtest, it will fail to install. It seems like the build is broken, I followed the instructions at the stackoverflow link to fix it. https://stackoverflow.com/questions/46013544/yarn-install-command-error-no-such-file-or-directory-install BLUFF: sudo apt remove cmdtest sudo apt remove yarn curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update sudo apt-get install yarn -y

If you have an issue with nodejs, remove the one from package manager and follow this: https://github.com/nodejs/help/wiki/Installation

JLATORRE89 avatar Oct 28 '23 23:10 JLATORRE89