Skip to content

Commit ccbc2ea

Browse files
committed
revert unnecessary changes
1 parent 3f542b7 commit ccbc2ea

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

llama-tornado

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def create_parser() -> argparse.ArgumentParser:
422422
)
423423
debug_group.add_argument(
424424
"--profiler-dump-dir",
425-
default="/home/ruiqi/GPULlama3.java/prof.json",
425+
default=None,
426426
help="Directory for profiler output",
427427
)
428428

set_paths

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,20 @@
66

77
# Resolve root of this project (LLaMA3) and TornadoVM
88
export LLAMA_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
9-
export TORNADO_ROOT="/home/ruiqi/TornadoVM_OCL/TornadoVM"
10-
11-
# Set the path to TornadoVM SDK binaries
12-
export TORNADO_SDK="/home/ruiqi/TornadoVM_OCL/TornadoVM/bin/sdk"
139

1410
# Add TornadoVM and LLaMA bin directories to PATH
15-
export PATH="${PATH}:${TORNADO_SDK}:${LLAMA_ROOT}"
11+
export PATH="${PATH}:${TORNADO_SDK}/bin:${LLAMA_ROOT}"
1612

1713
# Optional: Set JAVA_HOME if required
1814
# export JAVA_HOME=/path/to/graalvm
1915
# export PATH="${JAVA_HOME}/bin:${PATH}"
2016

21-
echo "[INFO] Environment configured for LLaMA3 with TornadoVM at: $TORNADO_ROOT"
17+
echo "[INFO] Environment configured for LLaMA3 with TornadoVM at: $TORNADO_SDK"
2218
# ===== Notes =====
2319
# After sourcing this script:
2420
# 1. TornadoVM will be available for GPU computation
2521
# 2. LLaMA3 command-line tools will be in your PATH
2622
# 3. You can run LLaMA3 with GPU acceleration using TornadoVM
2723
#
2824
# To use this script: source ./setup_environment.sh
29-
# or: . ./setup_environment.sh
25+
# or: . ./setup_environment.sh

0 commit comments

Comments
 (0)