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. # Run the formatter.
- id: ruff-format - id: ruff-format
types_or: [ python, pyi ] types_or: [ python, pyi ]
repos: - repo: https://github.com/astral-sh/uv-pre-commit
- repo: https://github.com/astral-sh/uv-pre-commit # uv version.
# uv version.
rev: 0.6.17 rev: 0.6.17
hooks: hooks:
- id: uv-lock - id: uv-lock

View File

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