Compare commits

...

2 Commits

Author SHA1 Message Date
Craig
cc3e6f819c format yaml 2025-04-29 10:22:00 +01:00
Craig
0f665c3e35 install pre commit hooks 2025-04-29 10:20:07 +01:00
2 changed files with 7 additions and 6 deletions

View File

@@ -18,9 +18,8 @@ repos:
# Run the formatter.
- id: ruff-format
types_or: [ python, pyi ]
repos:
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.17
hooks:
- id: uv-lock
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.17
hooks:
- id: uv-lock

View File

@@ -1,4 +1,6 @@
import torch
def main():
print(torch.__version__)
print("Hello from attention-from-scratch!")