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
9 changes: 9 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@304fc93e4623081443fee5b6317ac73b37923574 # v1.25.8
with:
token: ${{ secrets.GITHUB_TOKEN }}
# For commits that modify workflow files: SSH key enables tagging, but
# releases require manual creation. For full automation of such commits,
# use a PAT with `workflow` scope instead of GITHUB_TOKEN.
# See: https://github.com/JuliaRegistries/TagBot#commits-that-modify-workflow-files
ssh: ${{ secrets.DOCUMENTER_KEY }}
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
# changelog_format: github # 'custom' (default), 'github', or 'conventional'
17 changes: 10 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ITensorCPD"
uuid = "8ca0d870-8743-11ef-3aad-a3ebf6911431"
authors = ["Karl Pierce <kpierce@flatironinstitute.org>"]
version = "0.0.81"
version = "0.0.82"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand All @@ -18,15 +18,18 @@ TensorOperations = "6aa20fa7-93e2-5fca-9bc0-fbd0db3c71a2"
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"

[compat]
Adapt = ">=4"
GPUArraysCore = ">=0.2"
ITensors = ">=0.9"
Adapt = "4"
GPUArraysCore = "0.2"
ITensors = "0.9"
ITensorNetworks = "<0.19"
LinearAlgebra = "1.10.0"
OhMyThreads = ">=0.8"
Metal = "1"
OhMyThreads = "0.8"
Random = "1.10"
SparseArrays = "1.10"
StatsBase = "0.34.6"
StridedViews = ">=0.5"
TensorOperations = ">=5"
StridedViews = "0.5"
TensorOperations = "5"
TimerOutputs = "0.5"
julia = ">=1.10"

Expand Down
2 changes: 1 addition & 1 deletion src/algorithms/algorithms.jl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include("ALS/als_algs.jl")
include("als_algorithms/als_algs.jl")
109 changes: 0 additions & 109 deletions src/algorithms/als/randomized/krp_lev_score_sampled.jl

This file was deleted.

4 changes: 2 additions & 2 deletions src/optimizers/cpd_optimizers.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
abstract type CPDOptimizer end

## ALS optimizers
include("ALS/als_optimizer.jl")
include("ALS/optimize.jl")
include("als_optimizers/als_optimizer.jl")
include("als_optimizers/optimize.jl")
2 changes: 1 addition & 1 deletion test/pivot_mapping.jl
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,5 @@ using ITensorCPD: column_to_multi_coords
krpm = reshape(array(krp), (ia*ib, m))
omega * krpm
oh = ITensorCPD.omega_hadamard([A,B], cprank, omega)
@test all(array(oh) - omega * krpm .< 1e-10)
@test norm(array(oh) - omega * krpm) / norm(omega * krpm) < 1e-10
end
Loading