Skip to content

Commit

Permalink
[Minor] Downgrading mypy from latest 1.11 -> 1.10
Browse files Browse the repository at this point in the history
Latest `mypy` depends on `typing-extension` >= 4.6 which conflicts with
tensorflow which requires < 4.6. Downgrading `1.10` solves this issue.

Tested:
* Builds tt-forge OK
* Run simple test OK
* Run make_stups OK - no conflicts and no diff in generated stubs
  • Loading branch information
mtopalovicTT committed Jul 31, 2024
1 parent b73675a commit 18b16b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ add_subdirectory(pybuda)
### Generate stubs for ttforge
### Run `cmake --build build -- make_stubs` to generate stubs
add_custom_target(make_stubs
COMMAND pip install mypy
COMMAND pip install mypy==1.10
COMMAND stubgen -m pybuda._C -m pybuda._C.autograd -m pybuda._C.graph -m pybuda._C.torch_device -m pybuda._C.runtime -o pybuda -v
COMMENT "Generating stubs for ttforge"
USES_TERMINAL
Expand Down

0 comments on commit 18b16b0

Please sign in to comment.