Skip to content

Commit 52ab617

Browse files
committed
Changed "llama" to "jarvis"
1 parent 4dfbcf9 commit 52ab617

File tree

372 files changed

+8811
-8811
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

372 files changed

+8811
-8811
lines changed

.devops/cloud-v-pipeline

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ node('x86_runner1'){ // Running on x86 runner containing latest vecto
77
checkout scm // Clone the repo on Runner
88
}
99
}
10-
stage('Compiling llama.cpp'){
10+
stage('Compiling jarvis.cpp'){
1111
sh'''#!/bin/bash
12-
make RISCV=1 RISCV_CROSS_COMPILE=1 # Compiling llama for RISC-V
12+
make RISCV=1 RISCV_CROSS_COMPILE=1 # Compiling jarvis for RISC-V
1313
'''
1414
}
15-
stage('Running llama.cpp'){
15+
stage('Running jarvis.cpp'){
1616
sh'''#!/bin/bash
1717
module load gnu-bin2/0.1 # loading latest versions of vector qemu and vector gcc
18-
qemu-riscv64 -L /softwares/gnu-bin2/sysroot -cpu rv64,v=true,vlen=256,elen=64,vext_spec=v1.0 ./llama-cli -m /home/alitariq/codellama-7b.Q4_K_M.gguf -p "Anything" -n 9 > llama_log.txt # Running llama.cpp on vector qemu-riscv64
19-
cat llama_log.txt # Printing results
18+
qemu-riscv64 -L /softwares/gnu-bin2/sysroot -cpu rv64,v=true,vlen=256,elen=64,vext_spec=v1.0 ./jarvis-cli -m /home/alitariq/codejarvis-7b.Q4_K_M.gguf -p "Anything" -n 9 > jarvis_log.txt # Running jarvis.cpp on vector qemu-riscv64
19+
cat jarvis_log.txt # Printing results
2020
'''
2121
}
2222
}

.devops/full-cuda.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ COPY . .
2626
RUN if [ "${CUDA_DOCKER_ARCH}" != "default" ]; then \
2727
export CMAKE_ARGS="-DCMAKE_CUDA_ARCHITECTURES=${CUDA_DOCKER_ARCH}"; \
2828
fi && \
29-
cmake -B build -DGGML_CUDA=ON -DLLAMA_CURL=ON ${CMAKE_ARGS} -DCMAKE_EXE_LINKER_FLAGS=-Wl,--allow-shlib-undefined . && \
29+
cmake -B build -DGGML_CUDA=ON -DJARVIS_CURL=ON ${CMAKE_ARGS} -DCMAKE_EXE_LINKER_FLAGS=-Wl,--allow-shlib-undefined . && \
3030
cmake --build build --config Release -j$(nproc) && \
3131
cp build/bin/* .
3232

.devops/full-musa.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ WORKDIR /app
1919

2020
COPY . .
2121

22-
RUN cmake -B build -DGGML_MUSA=ON -DLLAMA_CURL=ON ${CMAKE_ARGS} -DCMAKE_EXE_LINKER_FLAGS=-Wl,--allow-shlib-undefined . && \
22+
RUN cmake -B build -DGGML_MUSA=ON -DJARVIS_CURL=ON ${CMAKE_ARGS} -DCMAKE_EXE_LINKER_FLAGS=-Wl,--allow-shlib-undefined . && \
2323
cmake --build build --config Release -j$(nproc) && \
2424
cp build/bin/* .
2525

.devops/full-rocm.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG BASE_ROCM_DEV_CONTAINER=rocm/dev-ubuntu-${UBUNTU_VERSION}:${ROCM_VERSION}-co
99
FROM ${BASE_ROCM_DEV_CONTAINER} AS build
1010

1111
# Unless otherwise specified, we make a fat build.
12-
# List from https://github.com/ggerganov/llama.cpp/pull/1087#issuecomment-1682807878
12+
# List from https://github.com/ggerganov/jarvis.cpp/pull/1087#issuecomment-1682807878
1313
# This is mostly tied to rocBLAS supported archs.
1414
ARG ROCM_DOCKER_ARCH="\
1515
gfx803 \
@@ -41,7 +41,7 @@ ENV CC=/opt/rocm/llvm/bin/clang
4141
ENV CXX=/opt/rocm/llvm/bin/clang++
4242

4343
# Enable cURL
44-
ENV LLAMA_CURL=1
44+
ENV JARVIS_CURL=1
4545
RUN apt-get update && \
4646
apt-get install -y libcurl4-openssl-dev
4747

.devops/full.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ WORKDIR /app
1515

1616
COPY . .
1717

18-
ENV LLAMA_CURL=1
18+
ENV JARVIS_CURL=1
1919

2020

2121
RUN make -j$(nproc)

.devops/llama-cli-cann.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ ENV LD_LIBRARY_PATH=${ASCEND_TOOLKIT_HOME}/runtime/lib64/stub:$LD_LIBRARY_PATH
2323
RUN echo "Building with static libs" && \
2424
source /usr/local/Ascend/ascend-toolkit/set_env.sh --force && \
2525
cmake -B build -DGGML_CANN=ON -DBUILD_SHARED_LIBS=OFF && \
26-
cmake --build build --config Release --target llama-cli
26+
cmake --build build --config Release --target jarvis-cli
2727

2828
# TODO: use image with NNRT
2929
FROM cosdt/cann:$ASCEND_VERSION AS runtime
30-
COPY --from=build /app/build/bin/llama-cli /llama-cli
30+
COPY --from=build /app/build/bin/jarvis-cli /jarvis-cli
3131

3232
ENV LC_ALL=C.utf8
3333

@@ -41,4 +41,4 @@ ENV ASCEND_OPP_PATH=${ASCEND_TOOLKIT_HOME}/opp
4141
ENV TOOLCHAIN_HOME=${ASCEND_TOOLKIT_HOME}/toolkit
4242
ENV ASCEND_HOME_PATH=${ASCEND_TOOLKIT_HOME}
4343

44-
ENTRYPOINT ["/llama-cli" ]
44+
ENTRYPOINT ["/jarvis-cli" ]

.devops/llama-cli-cuda.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ RUN if [ "${CUDA_DOCKER_ARCH}" != "default" ]; then \
2323
export CMAKE_ARGS="-DCMAKE_CUDA_ARCHITECTURES=${CUDA_DOCKER_ARCH}"; \
2424
fi && \
2525
cmake -B build -DGGML_CUDA=ON ${CMAKE_ARGS} -DCMAKE_EXE_LINKER_FLAGS=-Wl,--allow-shlib-undefined . && \
26-
cmake --build build --config Release --target llama-cli -j$(nproc)
26+
cmake --build build --config Release --target jarvis-cli -j$(nproc)
2727

2828
FROM ${BASE_CUDA_RUN_CONTAINER} AS runtime
2929

3030
RUN apt-get update && \
3131
apt-get install -y libgomp1
3232

3333
COPY --from=build /app/build/ggml/src/libggml.so /libggml.so
34-
COPY --from=build /app/build/src/libllama.so /libllama.so
35-
COPY --from=build /app/build/bin/llama-cli /llama-cli
34+
COPY --from=build /app/build/src/libjarvis.so /libjarvis.so
35+
COPY --from=build /app/build/bin/jarvis-cli /jarvis-cli
3636

37-
ENTRYPOINT [ "/llama-cli" ]
37+
ENTRYPOINT [ "/jarvis-cli" ]

.devops/llama-cli-intel.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ RUN if [ "${GGML_SYCL_F16}" = "ON" ]; then \
1717
echo "Building with static libs" && \
1818
cmake -B build -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx \
1919
${OPT_SYCL_F16} -DBUILD_SHARED_LIBS=OFF && \
20-
cmake --build build --config Release --target llama-cli
20+
cmake --build build --config Release --target jarvis-cli
2121

2222
FROM intel/oneapi-basekit:$ONEAPI_VERSION AS runtime
2323

24-
COPY --from=build /app/build/bin/llama-cli /llama-cli
24+
COPY --from=build /app/build/bin/jarvis-cli /jarvis-cli
2525

2626
ENV LC_ALL=C.utf8
2727

28-
ENTRYPOINT [ "/llama-cli" ]
28+
ENTRYPOINT [ "/jarvis-cli" ]

.devops/llama-cli-musa.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ WORKDIR /app
1616
COPY . .
1717

1818
RUN cmake -B build -DGGML_MUSA=ON ${CMAKE_ARGS} -DCMAKE_EXE_LINKER_FLAGS=-Wl,--allow-shlib-undefined . && \
19-
cmake --build build --config Release --target llama-cli -j$(nproc)
19+
cmake --build build --config Release --target jarvis-cli -j$(nproc)
2020

2121
FROM ${BASE_MUSA_RUN_CONTAINER} AS runtime
2222

2323
RUN apt-get update && \
2424
apt-get install -y libgomp1
2525

2626
COPY --from=build /app/build/ggml/src/libggml.so /libggml.so
27-
COPY --from=build /app/build/src/libllama.so /libllama.so
28-
COPY --from=build /app/build/bin/llama-cli /llama-cli
27+
COPY --from=build /app/build/src/libjarvis.so /libjarvis.so
28+
COPY --from=build /app/build/bin/jarvis-cli /jarvis-cli
2929

30-
ENTRYPOINT [ "/llama-cli" ]
30+
ENTRYPOINT [ "/jarvis-cli" ]

.devops/llama-cli-rocm.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG BASE_ROCM_DEV_CONTAINER=rocm/dev-ubuntu-${UBUNTU_VERSION}:${ROCM_VERSION}-co
99
FROM ${BASE_ROCM_DEV_CONTAINER} AS build
1010

1111
# Unless otherwise specified, we make a fat build.
12-
# List from https://github.com/ggerganov/llama.cpp/pull/1087#issuecomment-1682807878
12+
# List from https://github.com/ggerganov/jarvis.cpp/pull/1087#issuecomment-1682807878
1313
# This is mostly tied to rocBLAS supported archs.
1414
ARG ROCM_DOCKER_ARCH="\
1515
gfx803 \
@@ -40,6 +40,6 @@ ENV GGML_HIPBLAS=1
4040
ENV CC=/opt/rocm/llvm/bin/clang
4141
ENV CXX=/opt/rocm/llvm/bin/clang++
4242

43-
RUN make -j$(nproc) llama-cli
43+
RUN make -j$(nproc) jarvis-cli
4444

45-
ENTRYPOINT [ "/app/llama-cli" ]
45+
ENTRYPOINT [ "/app/jarvis-cli" ]

0 commit comments

Comments
 (0)