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

Issue: too slow: comparison with direct input of error #27

Open
lamyergeier opened this issue Dec 21, 2024 · 2 comments
Open

Issue: too slow: comparison with direct input of error #27

lamyergeier opened this issue Dec 21, 2024 · 2 comments

Comments

@lamyergeier
Copy link

lamyergeier commented Dec 21, 2024

Using wut

$ export OLLAMA_MODEL="llama3.2:latest"
$ lsdfg
bash: lsdfg: command not found...
$ time wut
Error Message Analysis                                                                                                                                                                                                         

The last command executed was lsdfg, which resulted in an error message:                                                                                                                                                       

bash: lsdfg: command not found...                                                                                                                                                                                              

This indicates that the shell (Bash) cannot find a command named lsdfg. The output also includes a hint that this command is not found by using the $ symbol to indicate a command not in the current directory or one of its  
parent directories.                                                                                                                                                                                                            

To fix this, you need to either:                                                                                                                                                                                               

 • Type the correct command                                                                                                                                                                                                    
 • Run a command like man lsdfg to check if it's available and for any syntax errors                                                                                                                                           

In this context, looking at previous commands shows that you tried running export OLLAMA_MODEL="llama3.2:latest" before trying lsdfg, but there's no direct relationship between these two commands.                           

real    0m40.206s
user    0m1.806s
sys     0m0.138s

Using directly

  • It starts almost immediately may be there is a delay of upto 1 second
$ ollama run llama3.2
>>> bash: lsdfg: command not found...
... 
That error message usually indicates that the bash shell is unable to find a command named "lsdfg". Here are some possible reasons for this error:

1. **Typo**: You might have misspelled the command name. Make sure you typed the correct command name.
2. **Invalid Command**: The command "lsdfg" doesn't exist in your system. Check if you're trying to use a command that's not installed or available on your system.
3. **Hidden File or Directory**: If you have a file or directory with a name containing "sdfg", it might be hiding the correct command.

To resolve this issue, try the following steps:

1. **Check available commands**: You can list all available commands by typing `ls /usr/bin` (or `/etc/bash.bashrc` if you're using a bash configuration file). This will show you the names of executable files in your 
system's directories.
2. **Search for a command**: If you think you know the correct command name, try searching for it online or checking your system documentation to see if it exists.
3. **Use tab completion**: Type `ls` and press the Tab key to see a list of available commands that start with "ls". You can then type `ls` followed by a few characters from the desired command name (e.g., `lsdf`) to 
complete the command name.

If you're still having trouble, please provide more information about your system, such as:

* Your operating system (Linux or macOS)
* The version of bash you're using
* Any other relevant details about your environment

I'll do my best to help you identify the issue and suggest a solution.

System Specification

$ inxi --verbosity 8
System:
  Host: lamyer Kernel: 6.12.4-200.fc41.x86_64 arch: x86_64 bits: 64
    compiler: gcc v: 2.43.1-4.fc41 clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.12.4-200.fc41.x86_64
    root=/dev/mapper/vgubuntu-FedoraRoot ro rd.lvm.lv=vgubuntu/FedoraRoot
    rhgb quiet module_blacklist=hid_sensor_hub nvme.noacpi=1
    vconsole.font=LatGrkCyr-12x22 modprobe.blacklist=cros_ec_lpcs
    rd.driver.blacklist=cros_ec_lpcs libata.allow_tpm=1
  Desktop: GNOME v: 47.2 tk: GTK v: 3.24.43 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 47.0 Distro: Fedora Linux 41
    (Workstation Edition)
Machine:
  Type: Laptop System: Framework product: Laptop (12th Gen Intel Core) v: A4
    serial: <superuser required>
  Mobo: Framework model: FRANMACP04 v: A4 serial: <superuser required>
    part-nu: FRANDACP04 uuid: <superuser required> UEFI: INSYDE v: 03.06
    date: 11/10/2022
Battery:
  ID-1: BAT1 charge: 31.0 Wh (60.2%) condition: 51.5/55.0 Wh (93.6%)
    volts: 15.8 min: 15.4 model: NVT Framewo type: Li-ion serial: 0062
    status: charging cycles: 190
Memory:
  System RAM: total: 32 GiB available: 31.05 GiB used: 15.54 GiB (50.0%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 64 GiB slots: 2 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Controller0-ChannelA-DIMM0 type: DDR4 detail: synchronous
    size: 16 GiB speed: 3200 MT/s volts: curr: 1 width (bits): data: 64
    total: 64 manufacturer: Crucial Technology part-no: CT16G4SFRA32A.M16FR
    serial: E79098BC
  Device-2: Controller1-ChannelA-DIMM0 type: DDR4 detail: synchronous
    size: 16 GiB speed: 3200 MT/s volts: curr: 1 width (bits): data: 64
    total: 64 manufacturer: Crucial Technology part-no: CT16G4SFRA32A.M16FR
    serial: E7909294
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: 12th Gen Intel Core i5-1240P bits: 64 type: MST AMCP
    arch: Alder Lake level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 3
    microcode: 0x435
  Topology: cpus: 1x dies: 1 clusters: 6 cores: 12 threads: 16 mt: 4 tpc: 2
    st: 8 smt: enabled cache: L1: 1.1 MiB desc: d-8x32 KiB, 4x48 KiB; i-4x32
    KiB, 8x64 KiB L2: 9 MiB desc: 4x1.2 MiB, 2x2 MiB L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 400 min/max: 400/4400:3300 scaling: driver: intel_pstate
    governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400
    8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400 15: 400 16: 400
    bogomips: 67584
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2
    bts clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16 cx8
    de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
    flush_l1d fma fpu fsgsbase fsrm fxsr gfni hfi ht hwp hwp_act_window
    hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt
    invpcid lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri
    msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pclmulqdq pdcm pdpe1gb
    pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed rdtscp
    rep_good sdbg sep serialize sha_ni smap smep smx split_lock_detect ss
    ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
    tsc_adjust tsc_deadline_timer tsc_known_freq umip user_shstk vaes vme vmx
    vnmi vpclmulqdq vpid waitpkg x2apic xgetbv1 xsave xsavec xsaveopt xsaves
    xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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: reg_file_data_sampling mitigation: Clear Register File
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow 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: Enhanced / Automatic IBRS; IBPB:
    conditional; RSB filling; PBRSB-eIBRS: SW sequence; BHI: BHI_DIS_S
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-P GT2 [Iris Xe Graphics] vendor: Framework
    driver: i915 v: kernel alternate: xe arch: Gen-12.2 process: Intel 10nm
    built: 2021-22+ ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4
    bus-ID: 00:02.0 chip-ID: 8086:46a6 class-ID: 0300
  Device-2: Realtek Laptop Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-7:2 chip-ID: 0bda:5634
    class-ID: 0e02 serial: 200901010001
  Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: BOE Display 0x095f built: 2019 res: 2256x1504
    dpi: 201 gamma: 1.2 chroma: red: x: 0.639 y: 0.329 green: x: 0.298 y: 0.600
    blue: x: 0.149 y: 0.059 white: x: 0.314 y: 0.329
    size: 285x190mm (11.22x7.48") diag: 343mm (13.5") ratio: 3:2
    modes: 2256x1504
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris wayland:
    drv: iris x11: drv: iris
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.2.8 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
    device-ID: 8086:46a6 memory: 15.16 GiB unified: yes display-ID: :0.0
  API: Vulkan v: 1.3.296 layers: 4 device: 0 type: integrated-gpu name: Intel
    Graphics (ADL GT2) driver: N/A device-ID: 8086:46a6
    surfaces: xcb,xlib,wayland device: 1 type: integrated-gpu name: Intel
    Graphics (ADL GT2) driver: N/A device-ID: 8086:46a6
    surfaces: xcb,xlib,wayland device: 2 type: cpu name: llvmpipe (LLVM
    19.1.0 256 bits) driver: N/A device-ID: 10005:0000
    surfaces: xcb,xlib,wayland device: 3 type: cpu name: llvmpipe (LLVM
    19.1.4 256 bits) driver: N/A device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Framework
    driver: snd_hda_intel v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:51c8 class-ID: 0403
  API: ALSA v: k6.12.4-200.fc41.x86_64 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 17.0 status: off (using pipewire-pulse)
    tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: a6:00.0
    chip-ID: 8086:2725 class-ID: 0280
  IF: wlp166s0 state: up mac: 8c:f8:c5:ed:74:48
  IP v4: 192.168.178.105/24 type: dynamic noprefixroute scope: global
    broadcast: 192.168.178.255
  IP v6: 2001:a61:b2b:5201:8f0:952f:93db:a6b7/64 type: dynamic noprefixroute
    scope: global
  IP v6: fd93:6b67:6ab1:0:487b:30f0:d5e2:4212/64 type: dynamic noprefixroute
    scope: global
  IP v6: fe80::2da5:7a6f:d917:3d73/64 type: noprefixroute scope: link
  IF-ID-1: br-18e1a7d0cf5f state: up speed: 10000 Mbps duplex: unknown
    mac: 02:42:18:ea:8c:81
  IP v4: 172.18.0.1/16 scope: global broadcast: 172.18.255.255
  IP v6: fe80::42:18ff:feea:8c81/64 virtual: proto kernel_ll scope: link
  IF-ID-2: docker0 state: up speed: 10000 Mbps duplex: unknown
    mac: 02:42:66:a7:c4:d0
  IP v4: 172.17.0.1/16 scope: global broadcast: 172.17.255.255
  IP v6: fe80::42:66ff:fea7:c4d0/64 virtual: proto kernel_ll scope: link
  IF-ID-3: veth5cf5987 state: up speed: 10000 Mbps duplex: full
    mac: 92:b1:aa:ca:ff:f0
  IF-ID-4: veth6a94261 state: up speed: 10000 Mbps duplex: full
    mac: 36:c4:d4:e8:8d:52
  IF-ID-5: veth9bac044 state: up speed: 10000 Mbps duplex: full
    mac: ca:0e:e2:b0:c4:65
  IF-ID-6: vethc530fd5 state: up speed: 10000 Mbps duplex: full
    mac: 1e:2a:b5:59:e6:7f
  IF-ID-7: vethe81336f state: up speed: 10000 Mbps duplex: full
    mac: c6:50:d7:2e:d4:dc
  Info: services: apache2, NetworkManager, wpa_supplicant
  WAN IP: 62.216.215.221
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:5 chip-ID: 8087:0032
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: 8C:F8:C5:ED:74:4C
    bt-v: 5.3 lmp-v: 12 status: discoverable: no pairing: no class-ID: 7c010c
Logical:
  Message: Unable to run lvs. Root privileges required.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.82 TiB used: 1.28 TiB (70.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 990 PRO 2TB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: S6Z2NJ0W312785Y fw-rev: 1B2QJXD7 temp: 32.9 C
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 100 GiB size: 98.12 GiB (98.12%) used: 60.72 GiB (61.9%)
    fs: ext4 dev: /dev/dm-0 maj-min: 253:0 mapped: vgubuntu-FedoraRoot
    label: N/A uuid: N/A
  ID-2: /boot raw-size: 768 MiB size: 738.4 MiB (96.15%)
    used: 378.1 MiB (51.2%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: FedoraBoot uuid: 2e29aca5-1465-4711-b45e-a41a10b87ad2
  ID-3: /boot/efi raw-size: 128 MiB size: 127.7 MiB (99.79%)
    used: 24.4 MiB (19.1%) fs: vfat dev: /dev/nvme0n1p4 maj-min: 259:4
    label: EFI-SP uuid: 4E68-279C
  ID-4: /home raw-size: 25 GiB size: 24.44 GiB (97.76%)
    used: 11.63 GiB (47.6%) fs: ext4 dev: /dev/dm-1 maj-min: 253:1
    mapped: vgubuntu-FedoraHome label: N/A uuid: N/A
  ID-5: /mnt/Backup raw-size: 100 GiB size: 97.87 GiB (97.87%)
    used: 23.83 GiB (24.3%) fs: ext4 dev: /dev/dm-5 maj-min: 253:5
    mapped: vgubuntu-Backup label: N/A uuid: N/A
  ID-6: /mnt/Data raw-size: 200 GiB size: 196.55 GiB (98.28%)
    used: 101.03 GiB (51.4%) fs: ext4 dev: /dev/dm-2 maj-min: 253:2
    mapped: vgubuntu-Data label: N/A uuid: N/A
  ID-7: /mnt/Documents raw-size: 325 GiB size: 318.83 GiB (98.10%)
    used: 233.14 GiB (73.1%) fs: ext4 dev: /dev/dm-3 maj-min: 253:3
    mapped: vgubuntu-Documents label: N/A uuid: N/A
  ID-8: /mnt/Media raw-size: 1010.64 GiB size: 993.7 GiB (98.32%)
    used: 843.87 GiB (84.9%) fs: ext4 dev: /dev/dm-4 maj-min: 253:4
    mapped: vgubuntu-Media label: N/A uuid: N/A
  ID-9: /mnt/Secure raw-size: 99.98 GiB size: 98.11 GiB (98.12%)
    used: 33.4 GiB (34.0%) fs: ext4 dev: /dev/dm-7 maj-min: 253:7 mapped: Secure
    label: N/A uuid: N/A
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 8 GiB used: 1.64 GiB (20.5%) priority: 100
    comp: lzo-rle avail: lzo max-streams: 16 dev: /dev/zram0
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 768 MiB fs: ext4 label: N/A
    uuid: d53d33f8-f3ef-4b0f-ace3-e2603e9d17ff
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 768 MiB fs: ext4
    label: UnassignedBoot uuid: 5b0ac390-3392-402d-a75c-8a497fa6b468
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-3:46 info: Logitech Logi Bolt Receiver
    type: keyboard,mouse,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c548 class-ID: 0300
  Device-2: 3-7:2 info: Realtek Laptop Camera type: video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 300mA chip-ID: 0bda:5634 class-ID: 0e02 serial: 200901010001
  Device-3: 3-9:3 info: Shenzhen Goodix USB2.0 MISC type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 27c6:609c class-ID: ef00
    serial: UID2E593C05_XXXX_MOC_B0
  Device-4: 3-10:5 info: Intel AX210 Bluetooth type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 8087:0032 class-ID: e001
  Hub-4: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: 7768 pm: rpm pkgs: 7700 libs: 618 tools: dnf,gnome-software,yum
    pm: flatpak pkgs: 68
  No active dnf repos in: /etc/dnf/dnf.conf
  Active yum repos in: /etc/yum.repos.d/docker-ce.repo
    1: docker-ce-stable ~ https://download.docker.com/linux/fedora/$releasever/$basearch/stable
  Active yum repos in: /etc/yum.repos.d/fedora-cisco-openh264.repo
    1: fedora-cisco-openh264 ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=$basearch
  No active yum repos in: /etc/yum.repos.d/fedora-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/fedora-updates.repo
    1: updates ~ https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/fedora.repo
    1: fedora ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/google-chrome.repo
    1: google-chrome ~ https://dl.google.com/linux/chrome/rpm/stable/x86_64
  Active yum repos in: /etc/yum.repos.d/google-earth-pro.repo
    1: google-earth-pro ~ http://dl.google.com/linux/earth/rpm/stable/x86_64
  No active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates.repo
    1: rpmfusion-free-updates ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free.repo
    1: rpmfusion-free ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-$releasever&arch=$basearch
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-steam.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
    1: rpmfusion-nonfree-updates ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree.repo
    1: rpmfusion-nonfree ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/vscode.repo
    1: code ~ https://packages.microsoft.com/yumrepos/vscode
Processes:
  CPU top: 5 of 538
  1: cpu: 57.0% command: ollama_llama_server pid: 2687616
    mem: 2916.7 MiB (9.1%)
  2: cpu: 50.0% command: sh pid: 2693063 mem: 4.22 MiB (0.0%)
  3: cpu: 18.2% command: firefox pid: 2198631 mem: 828.9 MiB (2.6%)
  4: cpu: 17.9% command: packagekitd pid: 2692620 mem: 245.4 MiB (0.7%)
  5: cpu: 6.7% command: gnome-shell pid: 468922 mem: 444.6 MiB (1.3%)
  Memory top: 5 of 538
  1: mem: 2916.7 MiB (9.1%) command: ollama_llama_server pid: 2687616
    cpu: 57.0%
  2: mem: 828.9 MiB (2.6%) command: firefox pid: 2198631 cpu: 18.2%
  3: mem: 701.6 MiB (2.2%) command: gnome-software pid: 469828 cpu: 0.2%
  4: mem: 573.6 MiB (1.8%) command: codium pid: 471416 cpu: 1.6%
  5: mem: 547.4 MiB (1.7%) command: ollama pid: 1739780 cpu: 0.0%
Info:
  Processes: 538 Power: uptime: 3d 14h 18m states: freeze,mem,disk
    suspend: s2idle avail: deep wakeups: 21 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 12.4 GiB
    services: gsd-power,thermald,upowerd Init: systemd v: 256
    target: graphical (5) default: graphical tool: systemctl
  Compilers: clang: 19.1.5 gcc: 14.2.1 Shell: Bash v: 5.2.32
    running-in: ptyxis-agent inxi: 3.3.36
@lamyergeier
Copy link
Author

lamyergeier commented Dec 21, 2024

I think I found out the issue

$ lsdfg
bash: lsdfg: command not found
$ time ollama run llama3.2 "bash: lsdfg: command not found"
That error message usually indicates that the Bash shell is unable to find a script or 
executable with the name "lsdfg". Here are some possible reasons and solutions:

1. **Typo**: Double-check that you've typed the command correctly, including the 
spelling of the executable.
2. **Missing executable**: Make sure the file doesn't exist or has been deleted. Try 
running `ls lsdfg` to see if it's present in your current directory.
3. **System configuration**: Some Linux distributions might have a specific package or 
configuration that affects which commands are available.

If you're still unsure, here are some possible next steps:

1. Check your terminal's history:
   bash history
   See if there are any previous attempts at running the command.
2. Run `ls -l` to see a list of files and directories in your current directory.
3. If you're trying to run an external command (not a local file), make sure the file 
is installed on your system or available via a package manager.

If none of these suggestions help, please provide more context about what you were 
trying to accomplish with `lsdfg`.


real	0m40.697s
user	0m0.064s
sys	0m0.059s

Solution

Please make wut, start typing immediately instead of "waiting for ollama to finish and then paste everything at once".

@shobrook
Copy link
Owner

I can add text streaming support so you don't have to wait for the full response to be generated before seeing it.

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

2 participants