Skip to content
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: 1 addition & 0 deletions .github/workflows/BuildDockerDeeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
- name: Free up disk space
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: true
android: true
dotnet: true
haskell: true
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: documentation

on: [push, pull_request]
on:
push:
pull_request:
workflow_dispatch:

permissions:
contents: write
Expand All @@ -13,7 +16,7 @@ jobs:
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
pip install numpy mako onnx_graphsurgeon ortools sphinx sphinx_rtd_theme myst_parser
pip install numpy mako onnx_graphsurgeon ortools sphinx sphinx_rtd_theme myst-parser[linkify] sphinx_favicon
- name: Sphinx build
run: |
sphinx-build docs _build
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This file contains the changelog for the Deeploy project. The changelog is divid
This release containing major architectural changes, new platform support, enhanced simulation workflows, floating-point kernel support, training infrastructure for CCT models, memory allocation strategies, and documentation improvements.

### List of Pull Requests
- Fix CI, Docker Files, and Documentation Workflow [#100](https://github.com/pulp-platform/Deeploy/pull/100)
- Chimera Platform Integration [#96](https://github.com/pulp-platform/Deeploy/pull/96)
- Add Tutorial and Refactor README [#97](https://github.com/pulp-platform/Deeploy/pull/97)
- Reduce Mean Float Template [#92](https://github.com/pulp-platform/Deeploy/pull/92)
Expand Down
15 changes: 9 additions & 6 deletions Container/Dockerfile.deeploy
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,19 @@ COPY Makefile ./
COPY requirements-dev.txt ./

# Compile emulators
RUN apt-get upgrade && \
apt-get update && \
apt-get install -y python3.10-venv \
python3.10-distutils

# WIESEP: We need to already clean up some space, otherwise the GitHub runners run out of disk space
RUN --mount=type=cache,target=/ccache \
ccache -z && \
make pulp-sdk chimera-sdk qemu mempool banshee xtensor && \
make gvsoc && \
cp -r /app/toolchain/gvsoc/core/requirements.txt /app/core-requirements.txt && \
cp -r /app/toolchain/gvsoc/gapy/requirements.txt /app/gapy-requirements.txt && \
rm -rf toolchain/pulp-sdk toolchain/qemu toolchain/mempool toolchain/banshee toolchain/xtensor toolchain/xtl toolchain/xsimd toolchain/gvsoc && \
ccache -s

# Install SoftHier emulator and toolchain
RUN --mount=type=cache,target=/ccache \
ccache -z && \
make SOFTHIER_INSTALL_DIR=/app/install/softhier softhier && \
ccache -s

Expand Down Expand Up @@ -92,7 +94,8 @@ RUN mkdir -p /root/.cargo/bin/ && \
libsdl2-dev \
python-is-python3 \
python3.10-venv \
python3.10-distutils && \
python3.10-distutils \
gcc && \
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python get-pip.py && \
rm get-pip.py && \
Expand Down
4 changes: 2 additions & 2 deletions Container/Dockerfile.toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ ENV PATH="/root/.cargo/bin:${PATH}"
WORKDIR /app

# Install dependencies
RUN apt-get upgrade && \
apt-get update && \
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git-lfs \
build-essential \
ccache \
Expand Down
6 changes: 2 additions & 4 deletions DeeployTest/testUtils/platformMapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,9 @@
from Deeploy.Targets.Snitch.Platform import SnitchOptimizer, SnitchPlatform
from Deeploy.Targets.SoftHier.Deployer import SoftHierDeployer
from Deeploy.Targets.SoftHier.Platform import SoftHierOptimizer, SoftHierPlatform
from Deeploy.Targets.Chimera.Deployer import ChimeraDeployer
from Deeploy.Targets.Chimera.Platform import ChimeraOptimizer, ChimeraPlatform

_SIGNPROP_PLATFORMS = ["Apollo3", "Apollo4", "QEMU-ARM", "Generic", "MemPool"]
_NONSIGNPROP_PLATFORMS = ["Siracusa", "Siracusa_w_neureka", "PULPOpen", "Snitch"]
_SIGNPROP_PLATFORMS = ["Apollo3", "Apollo4", "QEMU-ARM", "Generic", "MemPool", "SoftHier"]
_NONSIGNPROP_PLATFORMS = ["Siracusa", "Siracusa_w_neureka", "PULPOpen", "Snitch", "Chimera"]
_PLATFORMS = _SIGNPROP_PLATFORMS + _NONSIGNPROP_PLATFORMS


Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ You can find the documentation at the following links:

A DeepWiki generated documentation is availabe [here](https://deepwiki.com/pulp-platform/Deeploy).

A tutorial, originally made for the ETH SoCDAML course, is available in `Tutorials/SoCDAML.md`.

## Getting started

Download the repository and its submodules:
Expand Down