karpathy / minGPT

A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training
MIT License
20.31k stars 2.53k forks source link

CI for unittests #101

Open ubgk opened 1 year ago

ubgk commented 1 year ago

This PR contributes a simple CI workflow running unittests for testing minGPT on macOS and Linux and recent versions of Python.

It takes about 2m30s to run after it's been cached once (after an initial run of ~3m30s).

ubgk commented 1 year ago

N.B. that GitHub Actions should be enabled from the repo settings for this PR to work.