File tree Expand file tree Collapse file tree 7 files changed +19
-0
lines changed Expand file tree Collapse file tree 7 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1
1
# gemma.cpp is a lightweight, standalone C++ inference engine for the Gemma
2
2
# foundation models from Google.
3
3
4
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_binary.bzl" , "cc_binary" )
5
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_library.bzl" , "cc_library" )
6
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_test.bzl" , "cc_test" )
4
7
load ("@rules_license//rules:license.bzl" , "license" )
5
8
6
9
package (
Original file line number Diff line number Diff line change 1
1
# Weight compression and analysis.
2
2
3
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_library.bzl" , "cc_library" )
4
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_test.bzl" , "cc_test" )
5
+
3
6
package (
4
7
default_applicable_licenses = [
5
8
"//:license" , # Placeholder comment, do not modify
Original file line number Diff line number Diff line change 1
1
# [internal] load strict.bzl
2
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_library.bzl" , "cc_library" )
2
3
load ("@pybind11_bazel//:build_defs.bzl" , "pybind_extension" )
3
4
4
5
package (
Original file line number Diff line number Diff line change
1
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_binary.bzl" , "cc_binary" )
2
+
1
3
# Hello World example frontend to gemma.cpp.
2
4
package (
3
5
default_applicable_licenses = [
Original file line number Diff line number Diff line change
1
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_binary.bzl" , "cc_binary" )
2
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_library.bzl" , "cc_library" )
3
+
1
4
# Hello World example frontend to gemma.cpp.
2
5
package (
3
6
default_applicable_licenses = [
Original file line number Diff line number Diff line change 1
1
# File I/O and model loading
2
2
3
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_binary.bzl" , "cc_binary" )
4
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_library.bzl" , "cc_library" )
5
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_test.bzl" , "cc_test" )
6
+
3
7
package (
4
8
default_applicable_licenses = [
5
9
"//:license" , # Placeholder comment, do not modify
Original file line number Diff line number Diff line change
1
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_library.bzl" , "cc_library" )
2
+ load ("//third_party/bazel_rules/rules_cc/cc:cc_test.bzl" , "cc_test" )
3
+
1
4
package (
2
5
default_applicable_licenses = [
3
6
"//:license" , # Placeholder comment, do not modify
You can’t perform that action at this time.
0 commit comments