Skip to content

Commit

Permalink
add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Aug 20, 2023
1 parent bef2555 commit 30b72bd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Unit Tests

on:
push:
pull_request:
workflow_dispatch:

jobs:
testmnist:
name: Train mnist
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Dependencies
run: pip install numpy
- name: Test EfficientNet
run: PYTHONPATH="." python mnist.py
2 changes: 2 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
teenygrad is <1000 mnist trainer

It shares 90% of its code with tinygrad, so understanding teenygrad is a good step to understanding tinygrad

While it supports most of tinygrad's functionality, the extra 3k lines in tinygrad get you speed and diverse backend support.

0 comments on commit 30b72bd

Please sign in to comment.