mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
enable symbolic ops tests for hip (#2485)
This commit is contained in:
parent
7f01dd04f0
commit
28a67106ca
2 changed files with 2 additions and 2 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -314,7 +314,7 @@ jobs:
|
|||
- name: Test HIP compilation on RDNA3 [gfx1100]
|
||||
run: |
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/hip/lib
|
||||
MOCKHIP=1 HIP=1 python -m pytest -s test/test_hip_rdna3.py
|
||||
MOCKHIP=1 HIP=1 python -m pytest -s test/test_hip_rdna3.py test/test_symbolic_ops.py
|
||||
|
||||
|
||||
tests:
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ from tinygrad.tensor import Tensor, Device
|
|||
import numpy as np
|
||||
|
||||
@unittest.skipIf(getenv("ARM64") or getenv("PTX"), "ARM64 and PTX are not supported")
|
||||
@unittest.skipIf(Device.DEFAULT in ["HIP", "WEBGPU"], f"{Device.DEFAULT} is not supported")
|
||||
@unittest.skipIf(Device.DEFAULT in ["WEBGPU"], f"{Device.DEFAULT} is not supported")
|
||||
class TestSymbolicOps(unittest.TestCase):
|
||||
def test_plus1(self):
|
||||
def f(a): return (a+1).realize()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue