This repository was archived by the owner on Sep 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
This repository was archived by the owner on Sep 28, 2025. It is now read-only.
ERROR compiling (on google colab) #14
Copy link
Copy link
Open
Description
For a full example:
https://colab.research.google.com/drive/1d9kikAwZvx_CD1Zpp5Ty8ZfPPECCAiDi?usp=sharing
Cloning into 'build/llama.cpp'...
remote: Enumerating objects: 30262, done.
remote: Counting objects: 100% (9111/9111), done.
remote: Compressing objects: 100% (386/386), done.
remote: Total 30262 (delta 8904), reused 8801 (delta 8717), pack-reused 21151
Receiving objects: 100% (30262/30262), 51.86 MiB | 20.17 MiB/s, done.
Resolving deltas: 100% (21673/21673), done.
HEAD is now at 8c933b70 fix typo in readme (#5399)
emcc:INFO: clearing cache as requested by --clear-cache: `/usr/share/emscripten/cache`
Traceback (most recent call last):
File "/usr/share/emscripten/emcc.py", line 3929, in <module>
sys.exit(main(sys.argv))
File "/usr/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/usr/share/emscripten/emcc.py", line 3922, in main
ret = run(args)
File "/usr/share/emscripten/emcc.py", line 1122, in run
options, newargs, settings_map = phase_parse_arguments(state)
File "/usr/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/usr/share/emscripten/emcc.py", line 1243, in phase_parse_arguments
options, settings_changes, user_js_defines, newargs = parse_args(newargs)
File "/usr/share/emscripten/emcc.py", line 3099, in parse_args
shared.Cache.erase()
File "/usr/share/emscripten/tools/cache.py", line 84, in erase
with self.lock():
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File "/usr/share/emscripten/tools/cache.py", line 74, in lock
self.acquire_cache_lock()
File "/usr/share/emscripten/tools/cache.py", line 43, in acquire_cache_lock
raise Exception('Attempt to lock the cache but FROZEN_CACHE is set')
Exception: Attempt to lock the cache but FROZEN_CACHE is set
---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
[<ipython-input-9-e4ece10c459d>](https://localhost:8080/#) in <cell line: 1>()
----> 1 get_ipython().run_cell_magic('shell', '', '#git clone [https://github.com/tangledgroup/llama-cpp-wasm.git\ncd](https://github.com/tangledgroup/llama-cpp-wasm.git/ncd) llama-cpp-wasm\n./build-single-thread.sh\n#./build-multi-thread.sh\n')
3 frames
[/usr/local/lib/python3.10/dist-packages/google/colab/_system_commands.py](https://localhost:8080/#) in check_returncode(self)
135 def check_returncode(self):
136 if self.returncode:
--> 137 raise subprocess.CalledProcessError(
138 returncode=self.returncode, cmd=self.args, output=self.output
139 )
CalledProcessError: Command '#git clone https://github.com/tangledgroup/llama-cpp-wasm.git
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels