Skip to content
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

remove LFS references now that metal/SFPI/UMD have no LFS assets #1803

Merged
merged 1 commit into from
Jan 16, 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
1 change: 0 additions & 1 deletion .github/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ RUN apt-get update && apt-get install -y \
python3-venv \
python3-pip \
git \
git-lfs \
libhwloc-dev \
pandoc \
libtbb-dev \
Expand Down
28 changes: 0 additions & 28 deletions docs/src/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,6 @@ brew install graphviz

## Dependencies

### Ubuntu Common

Make sure to have Git LFS installed. You can install it with the following command:

```bash
sudo apt-get install git-lfs
```

### Ubuntu 22.04

On Ubuntu 22.04 we need to install clang, ninja, and to update the version of cmake because 3.20 is the minimum required for this project.
Expand Down Expand Up @@ -208,26 +200,6 @@ CMake Error at CMakeLists.txt:2 (project):

If you get the following error, it means you need to install clang which you can do with `sudo apt install clang` on Ubuntu.

### `sfpi`, `trisc`, `ncrisc` build failure

```
tt-forge-fe/third_party/tt-mlir/third_party/tt-metal/src/tt-metal/tt_metal/third_party/sfpi/compiler/bin/riscv32-unknown-elf-g++: 1: version: not found
tt-forge-fe/third_party/tt-mlir/third_party/tt-metal/src/tt-metal/tt_metal/third_party/sfpi/compiler/bin/riscv32-unknown-elf-g++: 2: oid: not found
size: '1961632': No such file
size: '1961632': No such file
size: '1961632': No such file
Always | FATAL | ncrisc build failed
```

If you got the above error, it means that SFPI or similar component build failed. First, make sure you have GIT LFS setup (e.g. sudo apt-get install git-lfs). Then, try to pull SFPI submodule manually:

```bash
cd third_party/tt-metal/src/tt-metal
git submodule foreach 'git lfs fetch --all && git lfs pull'
```

Then, try to build again.

## Common Runtime Errors

### Debugging python on macOS
Expand Down
1 change: 0 additions & 1 deletion runtime/tools/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
"third_party/sfpi/compiler/share",
"third_party/sfpi/compiler/compiler",
"third_party/fmt",
"third_party/lfs",
"third_party/pybind11",
"third_party/taskflow",
"third_party/json",
Expand Down
Loading