-
Notifications
You must be signed in to change notification settings - Fork 54
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
ht.array
, closed loophole allowing DNDarray
construction with incompatible shapes of local arrays
#1034
Merged
Merged
ht.array
, closed loophole allowing DNDarray
construction with incompatible shapes of local arrays
#1034
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
885f686
Merge branch 'release/1.2.x', set `main` version extension to "dev"
ClaudiaComito e30d739
Update link to llnl MPI tutorial and merge branch 'release/1.2.x'
ClaudiaComito 08d0dcb
Replace bug report MD template with form in view of further automation
ClaudiaComito 545a694
Fix bug report file name
ClaudiaComito 295351c
Update bug_report.yml
ClaudiaComito 91f8190
Update bug_report.yml
ClaudiaComito ef94a9b
Update bug_report.yml
ClaudiaComito 4a1fc1a
Update bug_report.yml
ClaudiaComito cb94ad1
Auto generated release notes and changelog (#974)
JuanPedroGHM 231831e
Tutorial note about local and global printing (#972)
JuanPedroGHM c1ef707
Updated the tutorial document. (#977)
Sai-Suraj-27 ee0ff4d
Set write permissions for workflow
ClaudiaComito a1f0b1b
Update schedule
ClaudiaComito 96506fa
Update schedule
ClaudiaComito 385374a
Update schedule
ClaudiaComito bff6b2c
Move pytorch version file out of workflows dir
ClaudiaComito 4f59d69
Update paths
ClaudiaComito 55fff46
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] 4fe322b
Push pytorch release update to release/1.2.x branch, not main
ClaudiaComito a52156b
Update schedule
ClaudiaComito 229e172
Bypass `on push` trigger
ClaudiaComito 6510ea4
Update schedule
ClaudiaComito 2a947a1
Fix condition syntax
ClaudiaComito 6ccec82
Fix syntax
ClaudiaComito 3cc0080
On push trigger workaround
ClaudiaComito 6c487d6
Update schedule
ClaudiaComito 05a2acd
Update schedule
ClaudiaComito 2223ce8
Merge branch 'main' into pre-commit-ci-update-config
ClaudiaComito d39cbfe
Enable non-negative sample size
neosunhan 105b905
Read `min` value directly from torch return object
neosunhan 54ab969
Enable non-negative number of samples for `logspace`
neosunhan 2dfd591
Add test for `logspace`
neosunhan 99aef73
Merge pull request #995 from helmholtz-analytics/features/994-linspac…
Markus-Goetz 92e64c4
Merge branch 'main' into bug/996-iinfo-finfo-min
mtar 891a983
Merge pull request #997 from helmholtz-analytics/bug/996-iinfo-finfo-min
mtar 7ca100d
Merge branch 'main' into pre-commit-ci-update-config
mtar 15240b0
Merge pull request #984 from helmholtz-analytics/pre-commit-ci-update…
mtar c85562b
Add MPI version field to bug report template
ClaudiaComito 52d88c0
fix: set cuda rng state on gpu tests for test_random.py (#1014)
JuanPedroGHM e56e6ec
Merge release/1.2.x into main
ClaudiaComito dd4a396
[pre-commit.ci] pre-commit autoupdate (#1024)
pre-commit-ci[bot] c745479
Refactored code for readability
Mystic-Slice 5ff0314
rename file and activate force push
mtar bd16040
Update bug_report.yml
mtar ba1225a
Update bug_report.yml
mtar 9e4882a
Update README.md
mtar 439d542
Update codecov.yml
mtar 0949a48
Update codecov.yml
mtar 9b53a25
Fixed code checking for non-matching local shapes while using is_spli…
Mystic-Slice 398ac0d
Add section `Google Summer of Code 2022`
ClaudiaComito 2fe13c3
Bug/1017 `prod` / `sum` with empty arrays (#1018)
neosunhan db44c93
Add section "Array API"
ClaudiaComito d5c14b7
Mirror Repository and run GitHub CI at HZDR (#1032)
mtar ea965ff
Bug/999 Fix `keepdim` in `any`/`all` (#1000)
neosunhan 756f43f
Merge branch 'main' into CleanUpIsSplit
ClaudiaComito 5ba9b32
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] ae9dd50
Merge pull request #1033 from helmholtz-analytics/pre-commit-ci-updat…
mtar fe894b0
Merge branch 'main' into CleanUpIsSplit
ClaudiaComito aeb9ef3
Updated error message
Mystic-Slice File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
@@ -1,19 +1,29 @@ | ||
test: | ||
image: ubuntu:20.04 | ||
image: nvidia/cuda:11.6.2-runtime-ubuntu20.04 | ||
tags: | ||
- heat | ||
- cuda | ||
- x86_64 | ||
script: | ||
- apt update | ||
- apt -y install build-essential python3-pip curl | ||
- DEBIAN_FRONTEND=noninteractive apt -y install libopenmpi-dev openmpi-bin openmpi-doc | ||
- apt -y install libhdf5-openmpi-dev libpnetcdf-dev | ||
- pip install pytest coverage | ||
- pip install .[hdf5,netcdf] | ||
- COVERAGE_FILE=report/cov/coverage1 mpirun --allow-run-as-root -n 1 coverage run --source=heat --parallel-mode -m pytest --junitxml=report/test/report1.xml heat/ | ||
- COVERAGE_FILE=report/cov/coverage2 mpirun --allow-run-as-root -n 3 coverage run --source=heat --parallel-mode -m pytest --junitxml=report/test/report2.xml heat/ | ||
- COVERAGE_FILE=report/cov/coverage5 mpirun --allow-run-as-root -n 5 coverage run --source=heat --parallel-mode -m pytest --junitxml=report/test/report5.xml heat/ | ||
- COVERAGE_FILE=report/cov/coverage8 mpirun --allow-run-as-root -n 8 coverage run --source=heat --parallel-mode -m pytest --junitxml=report/test/report8.xml heat/ | ||
- coverage combine report/cov/* | ||
- coverage report | ||
- coverage xml | ||
- curl -s https://codecov.io/bash | bash -s -- -c -F unit -f coverage.xml -t $CODECOV_TOKEN || echo "Codecov failed to upload" | ||
- apt update | ||
- apt -y install build-essential python3-pip curl git | ||
- DEBIAN_FRONTEND=noninteractive apt -y install libopenmpi-dev openmpi-bin openmpi-doc | ||
- apt -y install libhdf5-openmpi-dev libpnetcdf-dev | ||
- pip install pytest coverage | ||
- pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 | ||
- pip install .[hdf5,netcdf] | ||
- COVERAGE_FILE=report/cov/coverage1 HEAT_TEST_USE_DEVICE=cpu mpirun --allow-run-as-root -n 1 coverage run --source=heat --parallel-mode -m pytest --junitxml=report/test/report1.xml heat/ | ||
- COVERAGE_FILE=report/cov/coverage2 HEAT_TEST_USE_DEVICE=gpu mpirun --allow-run-as-root -n 3 coverage run --source=heat --parallel-mode -m pytest --junitxml=report/test/report3.xml heat/ | ||
- COVERAGE_FILE=report/cov/coverage5 HEAT_TEST_USE_DEVICE=cpu mpirun --allow-run-as-root -n 5 coverage run --source=heat --parallel-mode -m pytest --junitxml=report/test/report5.xml heat/ | ||
- COVERAGE_FILE=report/cov/coverage8 HEAT_TEST_USE_DEVICE=gpu mpirun --allow-run-as-root -n 6 coverage run --source=heat --parallel-mode -m pytest --junitxml=report/test/report6.xml heat/ | ||
- coverage combine report/cov/* | ||
- coverage report | ||
- coverage xml | ||
- curl -Os https://uploader.codecov.io/latest/linux/codecov | ||
- chmod +x codecov | ||
- ./codecov -F unit -f ./coverage.xml -t $CODECOV_TOKEN -Z | ||
artifacts: | ||
when: always | ||
paths: | ||
- report/test/report*.xml | ||
reports: | ||
junit: report/test/report*.xml |
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch @Mystic-Slice !