Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ updates:
interval: "weekly"

- package-ecosystem: docker
directory: /heat/core/tests
directory: /tests
schedule:
interval: "weekly"
84 changes: 42 additions & 42 deletions .github/rd-release-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,130 +116,130 @@ autolabeler:
- '/Support.+/'
- label: 'classification'
files:
- 'heat/classification/**/*'
- 'src/heat/classification/**/*'
- label: 'cluster'
files:
- 'heat/cluster/**/*'
- 'src/heat/cluster/**/*'
- label: 'core'
files:
- 'heat/core/**/*'
- 'src/heat/core/**/*'
- label: 'datasets'
files:
- 'heat/datasets/**/*'
- 'src/heat/datasets/**/*'
- label: 'decomposition'
files:
- 'heat/decomposition/**/*'
- 'src/heat/decomposition/**/*'
- label: 'fft'
files:
- 'heat/fft/**/*'
- 'src/heat/fft/**/*'
- label: 'graph'
files:
- 'heat/graph/**/*'
- 'src/heat/graph/**/*'
- label: 'naive bayes'
files:
- 'heat/naive_bayes/**/*'
- 'src/heat/naive_bayes/**/*'
- label: 'nn'
files:
- 'heat/nn/**/*'
- 'src/heat/nn/**/*'
- label: 'optim'
files:
- 'heat/optim/**/*'
- 'src/heat/optim/**/*'
- label: 'preprocessing'
files:
- 'heat/preprocessing/**/*'
- 'src/heat/preprocessing/**/*'
- label: 'regression'
files:
- 'heat/regression/**/*'
- 'src/heat/regression/**/*'
- label: 'sparse'
files:
- 'heat/sparse/**/*'
- 'src/heat/sparse/**/*'
- label: 'spatial'
files:
- 'heat/spatial/**/*'
- 'src/heat/spatial/**/*'
- label: 'utils'
files:
- 'heat/utils/**/*'
- 'src/heat/utils/**/*'
- label: 'linalg'
files:
- 'heat/core/linalg/**/*'
- 'src/heat/core/linalg/**/*'
- label: 'arithmetics'
files:
- 'heat/core/arithmetics.py'
- 'src/heat/core/arithmetics.py'
- label: 'base'
files:
- 'heat/core/base.py'
- 'src/heat/core/base.py'
- label: 'communication'
files:
- 'heat/core/communication.py'
- 'src/heat/core/communication.py'
- label: 'complex_math'
files:
- 'heat/core/complex_math.py'
- 'src/heat/core/complex_math.py'
- label: 'constants'
files:
- 'heat/core/constants.py'
- 'src/heat/core/constants.py'
- label: 'devices'
files:
- 'heat/core/devices.py'
- 'src/heat/core/devices.py'
- label: 'dndarray'
files:
- 'heat/core/dndarray.py'
- 'src/heat/core/dndarray.py'
- label: 'exponential'
files:
- 'heat/core/exponential.py'
- 'src/heat/core/exponential.py'
- label: 'indexing'
files:
- 'heat/core/indexing.py'
- 'src/heat/core/indexing.py'
- label: 'io'
files:
- 'heat/core/io.py'
- 'src/heat/core/io.py'
- label: 'logical'
files:
- 'heat/core/logical.py'
- 'src/heat/core/logical.py'
- label: 'manipulations'
files:
- 'heat/core/manipulations.py'
- 'src/heat/core/manipulations.py'
- label: 'memory'
files:
- 'heat/core/memory.py'
- 'src/heat/core/memory.py'
- label: 'printing'
files:
- 'heat/core/printing.py'
- 'src/heat/core/printing.py'
- label: 'random'
files:
- 'heat/core/random.py'
- 'src/heat/core/random.py'
- label: 'relational'
files:
- 'heat/core/relational.py'
- 'src/heat/core/relational.py'
- label: 'rounding'
files:
- 'heat/core/rounding.py'
- 'src/heat/core/rounding.py'
- label: 'sanitation'
files:
- 'heat/core/sanitation.py'
- 'src/heat/core/sanitation.py'
- label: 'signal'
files:
- 'heat/core/signal.py'
- 'src/heat/core/signal.py'
- label: 'statistics'
files:
- 'heat/core/statistics.py'
- 'src/heat/core/statistics.py'
- label: 'stride_tricks'
files:
- 'heat/core/stride_tricks.py'
- 'src/heat/core/stride_tricks.py'
- label: 'tiling'
files:
- 'heat/core/tiling.py'
- 'src/heat/core/tiling.py'
- label: 'trigonometrics'
files:
- 'heat/core/trigonometrics.py'
- 'src/heat/core/trigonometrics.py'
- label: 'types'
files:
- 'heat/core/types.py'
- 'src/heat/core/types.py'
- label: 'version'
files:
- 'heat/core/version.py'
- 'src/heat/core/version.py'
- label: 'vmap'
files:
- 'heat/core/vmap.py'
- 'src/heat/core/vmap.py'

change-template: '- #$NUMBER $TITLE (by @$AUTHOR)'
category-template: '### $TITLE'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ReceivePR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'heat/**'
- 'src/heat/**'

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ jobs:
pip install pytest
pip install ${{ matrix.pytorch-version }} --extra-index-url https://download.pytorch.org/whl/cpu
pip install ${{ matrix.install-options }}
mpirun -n 3 pytest heat/
mpirun -n 4 pytest heat/
mpirun -n 3 pytest
mpirun -n 4 pytest
10 changes: 5 additions & 5 deletions .github/workflows/release-prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ jobs:
## ----- END Workflow to update Dockerfile Images -------

# Write on to the version.py file
sed -i "s/major: int = \([0-9]\+\)/major: int = $MAJOR/g" heat/core/version.py
sed -i "s/minor: int = \([0-9]\+\)/minor: int = $MINOR/g" heat/core/version.py
sed -i "s/micro: int = \([0-9]\+\)/micro: int = $MICRO/g" heat/core/version.py
sed -i "s/extension: str = .*/extension: str = None/g" heat/core/version.py
sed -i "s/major: int = \([0-9]\+\)/major: int = $MAJOR/g" src/heat/core/version.py
sed -i "s/minor: int = \([0-9]\+\)/minor: int = $MINOR/g" src/heat/core/version.py
sed -i "s/micro: int = \([0-9]\+\)/micro: int = $MICRO/g" src/heat/core/version.py
sed -i "s/extension: str = .*/extension: str = None/g" src/heat/core/version.py

{ echo -e "# v${MAJOR}.${MINOR}.${MICRO} - ${{github.event.inputs.title}}\n${{ steps.release_drafter.outputs.body}}\n"; cat CHANGELOG.md; } > tmp.md
mv tmp.md CHANGELOG.md
Expand All @@ -105,7 +105,7 @@ jobs:
git config --global user.name "Heat Release Bot"

# Commit the changes
git add heat/core/version.py CHANGELOG.md
git add src/heat/core/version.py CHANGELOG.md
git commit -m "Bump version to $VERSION"

# Commit Dockerfile changes
Expand Down
6 changes: 3 additions & 3 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import sys

# sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath("../../heat"))
sys.path.insert(0, os.path.abspath("../../src/heat"))


# -- General configuration ------------------------------------------------
Expand All @@ -49,7 +49,7 @@

# Document Python Code
autoapi_type = "python"
autoapi_dirs = ["../../heat/"]
autoapi_dirs = ["../../src/heat/"]
autoapi_ignore = ["*/operations.py", "*/tests/*"]
autoapi_template_dir = "_templates/autoapi"

Expand Down Expand Up @@ -117,7 +117,7 @@ def setup(sphinx):
# built documents.
#
# The short X.Y version.
sys.path.insert(0, "../../heat/core")
sys.path.insert(0, "../../src/heat/core")
import version as ht_version

version = f"{ht_version.major}.{ht_version.minor}.{ht_version.micro}"
Expand Down
92 changes: 0 additions & 92 deletions heat/utils/data/tests/test_distributed_data.py

This file was deleted.

Loading