Skip to content

Commit 25188be

Browse files
committed
Update blog
1 parent bf4b484 commit 25188be

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/blog/2025-11-07-1762514507.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ Wrote a simple script to convert ONNX to GGML. It auto-generates C++ code that c
1515

1616
The generated file can work on multiple backends: CPU, CUDA, ROCm, Vulkan, Metal etc, by providing the correct compiler flags during `cmake -B`, e.g. `-D GGML_CUDA=1` for CUDA.
1717

18-
The original PyTorch model was:
18+
Repo: [https://github.com/cmdr2/graph-compiler](https://github.com/cmdr2/graph-compiler)
19+
20+
I've currently got it to work for a TinyCNN model, and will add more operators as I make it convert larger models.
21+
22+
The PyTorch model used was:
1923

2024
```py
2125
class TinyCNN(nn.Module):
@@ -30,8 +34,4 @@ class TinyCNN(nn.Module):
3034
x = self.relu(self.conv(x))
3135
x = self.pool(x).flatten(1)
3236
return self.fc(x)
33-
```
34-
35-
Repo: [https://github.com/cmdr2/graph-compiler](https://github.com/cmdr2/graph-compiler)
36-
37-
I've currently got it to work for a TinyCNN model, and will add more operators as I make it convert larger models.
37+
```

0 commit comments

Comments
 (0)