8000 [test] Touch test/__init__.py to support more testing workflows by danzimm · Pull Request #73 · pytorch-labs/helion · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[test] Touch test/__init__.py to support more testing workflows #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

There are no files selected for viewing

4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
pip install ${{ matrix.torch-spec }}
./.github/scripts/install_triton.sh
pip install -r requirements.txt
python -m unittest discover -s test/ -p "*.py" -v
python -m unittest discover -s test/ -p "*.py" -v -t .
test_cuda126_py312_a10g:
name: test-cuda12.6-py3.12-a10g
strategy:
Expand All @@ -63,4 +63,4 @@ jobs:
pip install ${{ matrix.torch-spec }}
./.github/scripts/install_triton.sh
pip install -r requirements.txt
python -m unittest discover -s test/ -p "*.py" -v
python -m unittest discover -s test/ -p "*.py" -v -t .
Empty file added test/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions test/test_closures.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def fn_with_global(x, tile) -> torch.Tensor:
import triton.language as tl
from torch._inductor.runtime.triton_helpers import math as tl_math

import test_closures as _source_module
import test.test_closures as _source_module

@triton.jit
def _sin_func_arg_kernel(a, _source_module_attr_global_tensor, out, a_size_0, _source_module_attr_global_tensor_stride_0, a_stride_0, out_stride_0, _BLOCK_SIZE_0: tl.constexpr):
Expand Down Expand Up @@ -280,7 +280,7 @@ def call_func_arg_on_host(a, alloc) -> torch.Tensor:
import triton.language as tl
from torch._inductor.runtime.triton_helpers import math as tl_math

import test_closures as _source_module
import test.test_closures as _source_module

@triton.jit
def _call_func_arg_on_host_kernel(a, out, a_size_0, a_stride_0, out_stride_0, _BLOCK_SIZE_0: tl.constexpr):
Expand Down
6 changes: 3 additions & 3 deletions test/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def test_template_via_closure0(self):
import triton.language as tl
from torch._inductor.runtime import triton_helpers

import test_examples as _global_source0
import test.test_examples as _global_source0

@triton.jit
def _matmul_with_epilogue_kernel(x, y, epilogue_closure_0, out, _BLOCK_SIZE_0: tl.constexpr, _BLOCK_SIZE_1: tl.constexpr, _BLOCK_SIZE_2: tl.constexpr):
Expand Down Expand Up @@ -323,7 +323,7 @@ def test_template_via_closure1(self):
import triton.language as tl
from torch._inductor.runtime import triton_helpers

import test_examples as _global_source0
import test.test_examples as _global_source0

@triton.jit
def _matmul_with_epilogue_kernel(x, y, epilogue_closure_0, out, _BLOCK_SIZE_0: tl.constexpr, _BLOCK_SIZE_1: tl.constexpr, _BLOCK_SIZE_2: tl.constexpr):
Expand Down Expand Up @@ -401,7 +401,7 @@ def test_template_via_closure2(self):
import triton.language as tl
from torch._inductor.runtime import triton_helpers

import test_examples as _global_source0
import test.test_examples as _global_source0

@triton.jit
def _matmul_with_epilogue_kernel(x, y, out, _BLOCK_SIZE_0: tl.constexpr, _BLOCK_SIZE_1: tl.constexpr, _BLOCK_SIZE_2: tl.constexpr):
Expand Down
Loading
0