mirror of https://github.com/google/gemma.cpp.git
30 lines
570 B
Python
30 lines
570 B
Python
# Hello World example frontend to gemma.cpp.
|
|
package(
|
|
default_applicable_licenses = [
|
|
"//:license", # Placeholder comment, do not modify
|
|
],
|
|
default_visibility = ["//visibility:public"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "gemma",
|
|
hdrs = ["gemma.hpp"],
|
|
deps = [
|
|
"//:gemma_args",
|
|
"//:gemma_lib",
|
|
"//:ops",
|
|
"//:threading_context",
|
|
"//:tokenizer",
|
|
"@highway//:hwy",
|
|
],
|
|
)
|
|
|
|
cc_binary(
|
|
name = "simplified_gemma",
|
|
srcs = ["run.cc"],
|
|
deps = [
|
|
":gemma",
|
|
"//:gemma_args",
|
|
],
|
|
)
|