Issues / #549

#549 Update.sh fails to update with a KeyError: 'args' error

closed · @bscout9956 · 1 commentaires · Sur GitHub

Setup & installAMD / HIPNVIDIA / CUDALinux

Description

### Problem: When issuing a command to update (through update.sh), the update process fails with a KeyError: 'args' error.

### Expected Outcome:
The update process goes through smoothly.

### Actual Outcome:
Right after Strata is linked and the engine is compiled the setup.py script fails with the following error and traceback:

```bash
[127/128] Building CXX object CMakeFi...strata.dir/src/program/generate.cpp.o
/home/blackscout/llm/Strata/src/program/generate.cpp:827:5: warning: ‘int {anonymous}::argmax(const std::vector<float>&)’ defined but not used [-Wunused-function]
  827 | int argmax(const std::vector<float>& v) {
      |     ^~~~~~
[128/128] Linking CXX executable strata
  [ok] engine compiled: /home/blackscout/llm/Strata/engine/strata
Traceback (most recent call last):
  File "/home/blackscout/llm/Strata/setup.py", line 3604, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/blackscout/llm/Strata/setup.py", line 2925, in main
    return update_install(have, a)
  File "/home/blackscout/llm/Strata/setup.py", line 2558, in update_install
    if "--mtp" in cfg["args"][:-1]:
                  ~~~^^^^^^^^
KeyError: 'args'
```

### Additional Information
This happens at the current latest main branch at commit db4f91a. The original installation was at aeb35be and got installed, executed then later upgraded through a manual git pull then a `./update.sh` command. 

### Environment
**OS:** Arch Linux x86_64
**Kernel:** `Linux <hostname> 7.2.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 21 Sep 2026 18:51:14 +0000 x86_64 GNU/Linux`
**CPU:** AMD Ryzen 5 5600
**GPU:** NVIDIA GeForce RTX 3060 12GB
**Shell:** zsh 5.9.2
**OS Python Version:** 3.14.7

Sur le site

Liens install, modèles, releases.