Download gemma.cpp/build/_deps/benchmark-src/bindings/python/google_benchmark/BUILD from ZeroWw/gemma-2-9b-SBS: direct link, hf CLI and curl.
- Browser
- Download file 744 Bytes
-
https://huggingface.co/ZeroWw/gemma-2-9b-SBS/resolve/main/gemma.cpp/build/_deps/benchmark-src/bindings/python/google_benchmark/BUILD
- Command line
-
hf download hf://ZeroWw/gemma-2-9b-SBS/gemma.cpp/build/_deps/benchmark-src/bindings/python/google_benchmark/BUILD
-
curl -L -o BUILD https://huggingface.co/ZeroWw/gemma-2-9b-SBS/resolve/main/gemma.cpp/build/_deps/benchmark-src/bindings/python/google_benchmark/BUILD
744 Bytes
| load("//bindings/python:build_defs.bzl", "py_extension") | |
| py_library( | |
| name = "google_benchmark", | |
| srcs = ["__init__.py"], | |
| visibility = ["//visibility:public"], | |
| deps = [ | |
| ":_benchmark", | |
| ], | |
| ) | |
| py_extension( | |
| name = "_benchmark", | |
| srcs = ["benchmark.cc"], | |
| copts = [ | |
| "-fexceptions", | |
| "-fno-strict-aliasing", | |
| ], | |
| features = [ | |
| "-use_header_modules", | |
| "-parse_headers", | |
| ], | |
| deps = [ | |
| "//:benchmark", | |
| "@nanobind", | |
| "@python_headers", | |
| ], | |
| ) | |
| py_test( | |
| name = "example", | |
| srcs = ["example.py"], | |
| python_version = "PY3", | |
| srcs_version = "PY3", | |
| visibility = ["//visibility:public"], | |
| deps = [ | |
| ":google_benchmark", | |
| ], | |
| ) | |