Compile bug: fails to CPU build on fresh clone, potentially due to external changes from HF
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 57/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- cmake, cpp
- Domaine
- build-system
Piste de recherche
Start with scripts/ui-assets.cmake, especially the validation at line 137 and the emit_files calls around line 592; reproduce the fresh-clone failure with the reported CMake configure and build commands. Check how the expected workbox[hash].js asset is obtained and validated against the listed UI assets. Done means a fresh CPU build completes without the missing-asset error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Git commit
$ git rev-parse HEAD
84b65301551d60881143228bca2c5b0d1f6332aa
Operating systems
Linux
GGML backends
CUDA
Problem description & steps to reproduce
I'm trying to build the latest beellama.cpp on my up to date Arch Linux machine, but it throws an error.
git clone https://github.com/Anbeeld/beellama.cpp.git
cd beellama.cpp
cmake -B build
cmake --build build -j 8
First Bad Commit
I tried to revert to several prior commits & building from CPU, but the issue occurred everywhere else I tried as well.
From looking at it, I don't think this is a regression caused by changes to beellama.cpp, but an issue with beellama.cpp being incompatible with external UI assets hosted by Hugging Face. I think this commit from upstream might be related. I tried to cherrypick it, but it had a large number of conflicts.
Compile command
cmake -B build
cmake --build build -j 8
Relevant log output
CMake Error at /home/callanb5/beellama.cpp/scripts/ui-assets.cmake:137 (message):
UI: current asset files:
_app/immutable/assets/LlamaMono.7z2dnkpH.woff2
_app/immutable/assets/LlamaSans.C2rXtH67.woff2
_app/immutable/assets/bundle.dlt2eMn9.css
_app/immutable/bundle.Dz2-236t.js
_app/version.json
apple-splash-landscape-1136x640.png
apple-splash-landscape-1334x750.png
apple-splash-landscape-2266x1488.png
apple-splash-landscape-2360x1640.png
apple-splash-landscape-2388x1668.png
apple-splash-landscape-2532x1170.png
apple-splash-landscape-2556x1179.png
apple-splash-landscape-2622x1206.png
apple-splash-landscape-2732x2048.png
apple-splash-landscape-2778x1284.png
apple-splash-landscape-2796x1290.png
apple-splash-landscape-2868x1320.png
apple-splash-landscape-dark-1136x640.png
apple-splash-landscape-dark-1334x750.png
apple-splash-landscape-dark-2266x1488.png
apple-splash-landscape-dark-2360x1640.png
apple-splash-landscape-dark-2388x1668.png
apple-splash-landscape-dark-2532x1170.png
apple-splash-landscape-dark-2556x1179.png
apple-splash-landscape-dark-2622x1206.png
apple-splash-landscape-dark-2732x2048.png
apple-splash-landscape-dark-2778x1284.png
apple-splash-landscape-dark-2796x1290.png
apple-splash-landscape-dark-2868x1320.png
apple-splash-portrait-1170x2532.png
apple-splash-portrait-1179x2556.png
apple-splash-portrait-1206x2622.png
apple-splash-portrait-1284x2778.png
apple-splash-portrait-1290x2796.png
apple-splash-portrait-1320x2868.png
apple-splash-portrait-1488x2266.png
apple-splash-portrait-1640x2360.png
apple-splash-portrait-1668x2388.png
apple-splash-portrait-2048x2732.png
apple-splash-portrait-640x1136.png
apple-splash-portrait-750x1334.png
apple-splash-portrait-dark-1170x2532.png
apple-splash-portrait-dark-1179x2556.png
apple-splash-portrait-dark-1206x2622.png
apple-splash-portrait-dark-1284x2778.png
apple-splash-portrait-dark-1290x2796.png
apple-splash-portrait-dark-1320x2868.png
apple-splash-portrait-dark-1488x2266.png
apple-splash-portrait-dark-1640x2360.png
apple-splash-portrait-dark-1668x2388.png
apple-splash-portrait-dark-2048x2732.png
apple-splash-portrait-dark-640x1136.png
apple-splash-portrait-dark-750x1334.png
apple-touch-icon-180x180.png
build.json
favicon-dark.ico
favicon-dark.svg
favicon.ico
favicon.svg
index.html
manifest.webmanifest
maskable-icon-512x512.png
pwa-192x192.png
pwa-512x512.png
pwa-64x64.png
recommended-mcp/context7.png
recommended-mcp/exa.ico
recommended-mcp/github-dark.png
recommended-mcp/github-light.png
recommended-mcp/huggingface.ico
service-worker.js
sw.js
UI: missing required asset(s):
workbox[hash].js
UI: hint: try cleaning your build directory:
/home/callanb5/beellama.cpp/build/tools/ui/dist
Call Stack (most recent call first):
/home/callanb5/beellama.cpp/scripts/ui-assets.cmake:196 (ui_validate_assets)
/home/callanb5/beellama.cpp/scripts/ui-assets.cmake:592 (emit_files)
- Langage dominant
- C++
- Étoiles
- 1.2k
- Forks
- 80
- Merge moyen
- 4 j 20 h
- PR mergées (30 j)
- 2
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Anbeeld/beellama.cpp
-
[BUG] KVarN assertion failure in build_inp_mem_hybrid_iswa() due to uninitialized self_kvarn_rotOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Anbeeld/beellama.cpp#205 ·
-
Difficulté 3/5 Une demi-journée Accessibilité débutants 58/100
Anbeeld/beellama.cpp#206 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
Anbeeld/beellama.cpp#203 · 2 commentaires ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
Anbeeld/beellama.cpp#202 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
Anbeeld/beellama.cpp#200 ·
Toutes les issues de Anbeeld/beellama.cpp
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
CachyOS/packageinstaller#144 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
TomerAberbach/profiler-md#951 ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug] Default key routing (JavaStringHash) picks a different partition than the Java client for about half of keysPeut-être pris @0z5a l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
apache/pulsar-client-go#1575 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
pocoproject/poco#5764 ·
Les mainteneurs répondent en général sous 2 jours
-
bug cpp-core-guidelines low-priority
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
NatronGitHub/openfx-supportext#164 ·
Les mainteneurs répondent en général sous 1 jour