Skip to content

Commit 6ed3407

Browse files
docs
1 parent 14ecaae commit 6ed3407

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
autodoc_mock_imports = [
3636
"torch",
3737
"triton",
38-
"numpy"
38+
"numpy",
39+
"vortex_torch_C"
3940
]
4041

4142

vortex_torch/abs/tensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
import torch
23
from enum import Enum
34
from typing import Any, Iterable

vortex_torch/flow/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# loader.py
1+
from __future__ import annotations
22
import os
33
import uuid
44
import types

vortex_torch/indexer/output_func.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import torch
2-
from typing import Any, Tuple, Dict, Callable, Optional
2+
from typing import Dict, Callable, Optional
33
from ..abs import vOp
44
from vortex_torch_C import topk_output
55
from .context import Context

vortex_torch/indexer/utils_sglang.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Chunkwise_HN2NH_Transpose,
99
Chunkwise_HN2NH_Transpose_FA3
1010
)
11-
from typing import Tuple, Any
11+
from typing import Tuple
1212
from .context import Context
1313

1414

0 commit comments

Comments
 (0)