Abid Ali Awan Codex commited on
Commit
b92e8d4
·
1 Parent(s): 72b3151

Document local CUDA deployment

Browse files

Add the GitHub clone, Git LFS, NVIDIA Container Toolkit, and in-container CUDA verification steps to the Space README.

Co-authored-by: Codex <codex@openai.com>

Files changed (1) hide show
  1. README.md +25 -2
README.md CHANGED
@@ -103,10 +103,33 @@ Prerequisites:
103
 
104
  - Docker Engine with Docker Compose 2.30 or newer
105
  - a supported NVIDIA GPU and current NVIDIA driver
106
- - NVIDIA Container Toolkit when using Docker Engine on Linux
 
107
  - enough GPU memory for MiniCPM5-1B and Nemotron-Parse v1.2
108
 
109
- Start the application:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
 
111
  ```bash
112
  docker compose up --build
 
103
 
104
  - Docker Engine with Docker Compose 2.30 or newer
105
  - a supported NVIDIA GPU and current NVIDIA driver
106
+ - NVIDIA Container Toolkit configured for Docker Engine on Linux
107
+ - Git LFS for downloading the interface images
108
  - enough GPU memory for MiniCPM5-1B and Nemotron-Parse v1.2
109
 
110
+ Clone the GitHub repository and download its Git LFS assets:
111
+
112
+ ```bash
113
+ git clone https://github.com/kingabzpro/local-notice-check.git
114
+ cd local-notice-check
115
+
116
+ git lfs install
117
+ git lfs pull
118
+ ```
119
+
120
+ Before building, confirm that NVIDIA Container Toolkit exposes CUDA and the GPU
121
+ inside Docker:
122
+
123
+ ```bash
124
+ docker run --rm --gpus all \
125
+ pytorch/pytorch:2.9.1-cuda12.8-cudnn9-runtime \
126
+ python -c "import torch; print(torch.cuda.is_available(), torch.cuda.get_device_name(0))"
127
+ ```
128
+
129
+ The command must print `True` and the NVIDIA GPU name. If it fails, configure
130
+ NVIDIA Container Toolkit before starting the application.
131
+
132
+ Build and start NoticeCheck:
133
 
134
  ```bash
135
  docker compose up --build