Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a435d3f
first changes: --input-image und load_entity_image()
schifyor Apr 30, 2026
fb0393a
fixing --image-input
schifyor May 6, 2026
36ecafa
replace `load_entity_image` with `load`function call
schifyor May 8, 2026
5f90ed8
add verifying to the reasoning process
schifyor May 10, 2026
5615398
add visual testing file for
schifyor May 11, 2026
8214256
add designated vision model
schifyor May 18, 2026
3c0b813
add clapcap model
schifyor May 20, 2026
0a9a5f9
adding ability to define multiple llms
schifyor Jun 5, 2026
d4771fb
remove load_entity_image
schifyor Jun 7, 2026
9987f64
reformat analyze and load function and add analyze_user_input
schifyor Jun 8, 2026
8bc5c08
small changes
schifyor Jun 27, 2026
3d0637f
refactor grasp.multimodal
schifyor Jun 28, 2026
68cf912
small fix
schifyor Jun 28, 2026
10d027a
add model choice for grasp llm
schifyor Jun 28, 2026
8f22aa8
refactoring Modality class use
schifyor Jun 28, 2026
d895392
add multiple image inputs
schifyor Jun 28, 2026
b457c1f
adding audio model for gpt
schifyor Jul 5, 2026
8b0897f
restrict model use for visual tasks
schifyor Jul 5, 2026
638f93b
add multimodality to website
schifyor Jul 6, 2026
f6c92d3
remove category from config
schifyor Jul 6, 2026
76d4cf8
format model list
schifyor Jul 6, 2026
cd18c67
add --load-user-input tag
schifyor Jul 10, 2026
458a264
update serve.yaml
schifyor Jul 10, 2026
8736ec9
bugfixes
schifyor Jul 10, 2026
e2d5185
bugfix with serve
schifyor Jul 10, 2026
8e81a10
fix prompts
schifyor Jul 10, 2026
9152c2d
bugfixes 2
schifyor Jul 15, 2026
6d49d5d
UI update
schifyor Jul 15, 2026
7ee122d
UI changes and json vision output
schifyor Jul 22, 2026
dffeb98
fix merge bug
schifyor Jul 22, 2026
40b9ea1
fix import
schifyor Jul 23, 2026
205e284
fix import 2
schifyor Jul 23, 2026
78db1dd
remove unused import
schifyor Jul 23, 2026
6e8b488
fix UI and bugs
schifyor Jul 24, 2026
7e94918
add image preview on load()
schifyor Jul 24, 2026
c82e6ce
adapt nginx config
schifyor Jul 24, 2026
f65a77c
Revert "adapt nginx config"
schifyor Jul 24, 2026
a0971c4
rescaling image on size
schifyor Aug 23, 2026
5817315
minor bugfixes
schifyor Aug 23, 2026
c2ff04b
remove unused import
schifyor Aug 23, 2026
5b1d73a
adapt anthropic.py to multimodal inputs
schifyor Aug 23, 2026
de11d83
fix import bug
schifyor Aug 23, 2026
72c0ad2
fix example loading bug
schifyor Aug 23, 2026
450c509
only give analyze tool when needed
schifyor Aug 23, 2026
749efef
more bugfixes
schifyor Aug 23, 2026
8e29770
make max image size a config arg
schifyor Aug 23, 2026
7eecf3d
fix task input
schifyor Aug 27, 2026
2c847ce
add build-essential so triton can jit-compile cude kernels at runtime
bastiscode Aug 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ WORKDIR /grasp
ENV PYTHONUNBUFFERED=1 \
GRASP_INDEX_DIR=/opt/grasp

RUN apt-get update && \
apt-get install -y --no-install-recommends ffmpeg build-essential &&\
rm -rf /var/lib/apt/lists/*

# Copy files
COPY . .

# Install GRASP
RUN pip install --no-cache-dir .
RUN pip install --upgrade pip && \
pip install --no-cache-dir .

# Run GRASP by default; override flags via `docker run grasp -- <args>`
ENTRYPOINT ["grasp"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ docker run --rm \
-e HF_HOME=/hf \
-v $HF_HOME:/hf \
-v $PWD/my_config.yaml:/grasp/server.yaml \
grasp serve server.yaml
grasp serve configs/serve.yaml
```

### Configure GRASP
Expand Down
7 changes: 7 additions & 0 deletions apps/grasp/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ server {
try_files /index.html =404;
}

location ~* \.mjs$ {
default_type application/javascript;
try_files $uri =404;
expires 1y;
add_header Cache-Control "public, immutable";
}

# Root and static files.
location / {
try_files $uri $uri/ =404;
Expand Down
286 changes: 279 additions & 7 deletions apps/grasp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion apps/grasp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"dompurify": "^3.3.0",
"highlight.js": "^11.11.1",
"marked": "^16.4.1",
"papaparse": "^5.5.3"
"papaparse": "^5.5.3",
"pdfjs-dist": "^4.10.38"
}
}
Loading