Skip to content

Commit

Permalink
remove LFS references now that metal/SFPI/UMD have no LFS assets
Browse files Browse the repository at this point in the history
  • Loading branch information
TT-billteng committed Jan 16, 2025
1 parent 795e32e commit 79d27cf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 30 deletions.
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

0 comments on commit 79d27cf

Please sign in to comment.