You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Run the tests with `uv run pytest -n auto` to get started.
11
+
* This will also create a virtual environment in `.venv/`.
12
+
13
+
# Repository Structure
14
+
15
+
* The main `torch.Tensor` subclass is found in [`src/complex_tensor/complex_tensor.py`](https://github.com/openteams-ai/pytorch-complex-tensor/blob/main/src/complex_tensor/complex_tensor.py).
16
+
* Operations are implemented in the [`src/complex_tensor/ops/`](https://github.com/openteams-ai/pytorch-complex-tensor/tree/main/src/complex_tensor/ops) directory.
17
+
*[`_common.py`](https://github.com/openteams-ai/pytorch-complex-tensor/blob/main/src/complex_tensor/ops/_common.py) defines some basic utility functions.
18
+
*[`aten.py`](https://github.com/openteams-ai/pytorch-complex-tensor/blob/main/src/complex_tensor/ops/aten.py) defines overloads for `torch.ops.aten`.
19
+
*[`prims.py`](https://github.com/openteams-ai/pytorch-complex-tensor/blob/main/src/complex_tensor/ops/aten.py) does the same for `torch.ops.prims`.
20
+
* Currently, this directory is empty.
21
+
* Tests are located in [`src/complex_tensor/test`](https://github.com/openteams-ai/pytorch-complex-tensor/tree/main/src/complex_tensor/test).
22
+
* Testing currently needs to be expanded; currently only tests which provide `OpInfo`s in `torch.testing._internal.common_methods_invocations.op_db` are tested.
23
+
* Exceptions are noted in-tree with a `TODO`.
24
+
25
+
This repository is currently WIP, which means not all ops are implemented, but many common ones are.
0 commit comments