Skip to content

Commit

Permalink
add prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Qazalin committed Jun 20, 2024
1 parent 10a0264 commit a696557
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,10 @@ jobs:
run: git clone https://github.com/tinygrad/tinygrad.git ~/tinygrad
- name: Install dependencies
run: cd ~/tinygrad && pip install -e '.[testing]' --extra-index-url https://download.pytorch.org/whl/cpu
- name: Check Device.DEFAULT and print some source
run: |
cd ~/tinygrad
python3 -c "from tinygrad import Device; assert Device.DEFAULT == 'AMD', Device.DEFAULT"
DEBUG=5 python3 test/test_ops.py TestOps.test_tiny_add
- name: Run tinygrad tests
run: cd ~/tinygrad && MOCKGPU=1 AMD=1 python -m pytest -n=auto test/test_ops.py test/test_dtype.py test/test_dtype_alu.py test/test_linearizer.py test/test_randomness.py test/imported/test_indexing.py test/external/external_test_hcq.py --durations=20

0 comments on commit a696557

Please sign in to comment.