Skip to content

Commit

Permalink
Merge branch 'main' into wjy/dist
Browse files Browse the repository at this point in the history
  • Loading branch information
wujingyue authored Jan 20, 2025
2 parents d7dc6cd + aa3c3d3 commit ed9fbbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions nvfuser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import os
import re
import sys
from typing import Callable, Optional, Union, List, Iterable # noqa: F401
from typing import Callable, Iterable
import warnings

import torch
Expand Down Expand Up @@ -610,8 +610,8 @@ def _repro_error_str(self, section: str, inputs: list | None = None):

def validate(
self,
inputs: List[torch.Tensor],
reference_outputs: List[torch.Tensor],
inputs: list[torch.Tensor],
reference_outputs: list[torch.Tensor],
kwargs=None,
):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/python/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def check_cpp_translation(
"(A failure here suggests a mismatch in functionality between the original and cloned definitions.)"
)
print("Does FusionDefinition supports segmentation?\t", supports_segmentation)
print(fd.getReproErrorString("executing", inputs))
print(fd._repro_error_str("executing", inputs))
raise err


Expand Down

0 comments on commit ed9fbbf

Please sign in to comment.