-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathset_paths
More file actions
25 lines (20 loc) · 924 Bytes
/
set_paths
File metadata and controls
25 lines (20 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
#!/bin/bash
# Environment setup script for running LLaMA3 with TornadoVM GPU acceleration
# This script configures all necessary environment variables for development and runtime
# Resolve root of this project (LLaMA3) and TornadoVM
export LLAMA_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Add TornadoVM and LLaMA bin directories to PATH
export PATH="${PATH}:${TORNADOVM_HOME}/bin:${LLAMA_ROOT}"
# Optional: Set JAVA_HOME if required
# export JAVA_HOME=/path/to/graalvm
# export PATH="${JAVA_HOME}/bin:${PATH}"
echo "[INFO] Environment configured for LLaMA3 with TornadoVM at: $TORNADOVM_HOME"
# ===== Notes =====
# After sourcing this script:
# 1. TornadoVM will be available for GPU computation
# 2. LLaMA3 command-line tools will be in your PATH
# 3. You can run LLaMA3 with GPU acceleration using TornadoVM
#
# To use this script: source ./setup_environment.sh
# or: . ./setup_environment.sh