Skip to content
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

Merge latest release/1.3.x changes and upgrade version in main #1268

Merged
merged 7 commits into from
Nov 22, 2023
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
3 changes: 1 addition & 2 deletions .github/workflows/pytorch-latest-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.repository }} == 'hemlholtz-analytics/heat'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.GHACTIONS }}
ref: '${{ env.base_branch }}'
- name: Fetch PyTorch release version
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pytorch-latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.repository }} == 'hemlholtz-analytics/heat'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.GHACTIONS }}
ref: '${{ env.base_branch }}'
- name: Fetch PyTorch release version
run: |
Expand Down
11 changes: 2 additions & 9 deletions heat/core/linalg/tests/test_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,8 @@ def test_lanczos(self):
lanczos_B = V_out @ T_out @ V_inv
self.assertTrue(ht.allclose(lanczos_B, B))

# single precision tolerance
if (
int(torch.__version__.split(".")[0]) == 1
and int(torch.__version__.split(".")[1]) >= 13
or int(torch.__version__.split(".")[0]) > 1
):
tolerance = 1e-3
else:
tolerance = 1e-4
# single precision tolerance for torch.inv() is pretty bad
tolerance = 1e-3

# float32, pre_defined v0, split mismatch
A = ht.random.randn(n, n, dtype=ht.float32, split=0)
Expand Down
2 changes: 1 addition & 1 deletion heat/core/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

major: int = 1
"""Indicates Heat's main version."""
minor: int = 3
minor: int = 4
"""Indicates feature extension."""
micro: int = 0
"""Indicates revisions for bugfixes."""
Expand Down
Loading