Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion tools/hyperloom/custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,14 @@ plus `hl_cli_login.py` and a `launch.sh` wrapper) is gone: upstream now knows th
cmake -B ~/wt/hl-engine-build -G Ninja -S ~/wt/hl-engine -DCMAKE_BUILD_TYPE=Release \
-DONEBIT_HRX=ON -DONEBIT_HRX_TOOLCHAIN=/opt/rocm-therock \
-DONEBIT_HRX_LIBHSA=/opt/rocm-therock/lib/python3.14/site-packages/_rocm_sdk_core/lib/libhsa-runtime64.so.1
cmake --build ~/wt/hl-engine-build -j 4 --target 1bit llama-bench llama-perplexity llama-server
cmake --build ~/wt/hl-engine-build -j 4 --target onebit llama-bench llama-perplexity llama-server

# `--target onebit`, not `--target 1bit`: `1bit` is the output FILE name
# (set_target_properties(onebit PROPERTIES OUTPUT_NAME 1bit)), not a target. The two
# generators fail differently and both are bad -- Ninja rejects the whole command line
# ("unknown target '1bit'"), so nothing is built at all, while the Makefile generator
# finds a file called `1bit` in the build dir and treats it as an up-to-date file target,
# so the command exits 0 having built nothing and a stale binary looks fresh (engine#1993).
```

The build root is `HL_BUILD` (default `~/wt/hl-engine-build`): `1bit` sits at its top, and the
Expand Down
Loading