-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- bump umd to pick up simulator infra changes - soc + core descriptors for VCS simulator - CPM package for Google flatbuffer, NNG and libuv - apptainer .def for `aus` machines - TT_METAL_SIMULATOR_EN env var to target VCS simulator - remove everything versim related
- Loading branch information
Showing
21 changed files
with
218 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
Bootstrap: docker | ||
From: ubuntu:20.04 | ||
|
||
%post | ||
# Set noninteractive to avoid prompts during build | ||
export DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install build and runtime deps | ||
apt-get -y update | ||
xargs -a /opt/tt_metal_infra/scripts/docker/requirements.txt apt-get install -y --no-install-recommends | ||
apt-get clean | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Install dev deps | ||
apt-get -y update | ||
xargs -a /opt/tt_metal_infra/scripts/docker/requirements_dev.txt apt-get install -y --no-install-recommends | ||
apt-get clean | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Test Related Dependencies | ||
# /bin/bash /opt/tt_metal_infra/scripts/docker/install_test_deps.sh $DOXYGEN_VERSION | ||
|
||
# Setup Python and install dependencies | ||
python3 -m pip config set global.extra-index-url https://download.pytorch.org/whl/cpu | ||
python3 -m pip install setuptools wheel | ||
python3 -m pip install -r /opt/tt_metal_infra/tt-metal/tt_metal/python_env/requirements-dev.txt | ||
python3 -m pip install -r /opt/tt_metal_infra/tt-metal/docs/requirements-docs.txt | ||
|
||
# Install Clang-17 | ||
wget https://apt.llvm.org/llvm.sh | ||
chmod u+x llvm.sh | ||
./llvm.sh 17 | ||
|
||
# Install compatible gdb debugger for clang-17 | ||
wget https://ftp.gnu.org/gnu/gdb/gdb-14.2.tar.gz | ||
tar -xvf gdb-14.2.tar.gz | ||
cd gdb-14.2 | ||
./configure | ||
make -j$(nproc) | ||
|
||
# Install libc++-17-dev and libc++abi-17-dev after Clang-17 | ||
apt-get -y update | ||
apt-get install -y --no-install-recommends libc++-17-dev libc++abi-17-dev | ||
apt-get clean | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
%files | ||
scripts/docker/requirements.txt /opt/tt_metal_infra/scripts/docker/requirements.txt | ||
scripts/docker/requirements_dev.txt /opt/tt_metal_infra/scripts/docker/requirements_dev.txt | ||
scripts/docker/install_test_deps.sh /opt/tt_metal_infra/scripts/docker/install_test_deps.sh | ||
scripts /opt/tt_metal_infra/scripts | ||
build_metal.sh /scripts/build_metal.sh | ||
docs/requirements-docs.txt /opt/tt_metal_infra/tt-metal/docs/requirements-docs.txt | ||
tt_metal/python_env/* /opt/tt_metal_infra/tt-metal/tt_metal/python_env/ | ||
|
||
%environment | ||
export DEBIAN_FRONTEND=noninteractive | ||
export DOXYGEN_VERSION=1.9.6 | ||
export TT_METAL_INFRA_DIR=/opt/tt_metal_infra | ||
export PYTHON_ENV_DIR=${TT_METAL_INFRA_DIR}/tt-metal/python_env | ||
export PATH="$TT_METAL_INFRA_DIR/gdb-14.2/gdb:$PATH" | ||
|
||
%runscript | ||
tail -f /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
tt_metal/core_descriptors/blackhole_simulation_1x2_arch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Anything using [[#, #]] is logical coordinates (Can be relative) | ||
# relative index: 0 means first row, -1 means last row of functional grid... | ||
|
||
# product name: | ||
# num of HW command queues: | ||
# core descriptor config | ||
|
||
blackhole: | ||
1: | ||
compute_with_storage_grid_range: # Logical only start and end [x, y] | ||
start: [0, 1] | ||
end: [1, 1] | ||
|
||
storage_cores: # Relative to grid of tensix cores | ||
[] | ||
|
||
dispatch_cores: | ||
[] | ||
|
||
dispatch_core_type: | ||
"tensix" | ||
2: | ||
compute_with_storage_grid_range: # Logical only start and end [x, y] | ||
start: [0, 1] | ||
end: [1, 1] | ||
|
||
storage_cores: # Relative to grid of tensix cores | ||
[] | ||
|
||
dispatch_cores: | ||
[] | ||
|
||
dispatch_core_type: | ||
"tensix" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.