Download nemotron-ocr/cpp/trove/tests/Makefile from Metausermac13/nemotron-ocr-v2: direct link, hf CLI and curl.
- Browser
- Download file 354 Bytes
-
https://huggingface.co/Metausermac13/nemotron-ocr-v2/resolve/main/nemotron-ocr/cpp/trove/tests/Makefile
- Command line
-
hf download hf://Metausermac13/nemotron-ocr-v2/nemotron-ocr/cpp/trove/tests/Makefile
-
curl -L -o Makefile https://huggingface.co/Metausermac13/nemotron-ocr-v2/resolve/main/nemotron-ocr/cpp/trove/tests/Makefile
354 Bytes
| ARCH ?= sm_70 | |
| LOWER_BOUND ?= 1 | |
| UPPER_BOUND ?= 16 | |
| CUDA_HOME ?= /usr/local/cuda | |
| NVCC = $(CUDA_HOME)/bin/nvcc | |
| all: benchmark block | |
| benchmark: benchmark.cu | |
| $(NVCC) -arch=$(ARCH) -I../ -Xptxas -v benchmark.cu -o benchmark -DLOWER_BOUND=$(LOWER_BOUND) -DUPPER_BOUND=$(UPPER_BOUND) | |
| block: block.cu | |
| $(NVCC) -arch=$(ARCH) -I../ -Xptxas -v block.cu -o block | |