-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation errors and add experimental batch support (#3)
* Add the cases for dispatching of cached networks depending on inputs, and for batched too. Add new preallocated outputs for batched variantts * BatchAccumulators * Add NDMBatched * fix import orders * Add KLocal Tensor Operators * Experimental SuperOperator problem * chain length * UnsafeArrays for manipulations * Batched evaluate * Plug points for Neural gpu * Remove cuarrays * Fix ambiguities in state generation batch * Improve type stability and remove allocations * Type stability for operator hamiltonian problem * Fix optimisers behaviour * When building batched derivative cache, don't reshape if not needed. * Improve batched calculator * v0.1.2 * update manifest * Update test configuration * backports * fix travis
- Loading branch information
1 parent
f68c135
commit 3fc5392
Showing
64 changed files
with
2,127 additions
and
312 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,20 +7,19 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: [1.2.0, 1.3.0-rc3] | ||
julia-version: [1.2, 1.3] | ||
os: [ubuntu-latest, macOS-latest] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: "Setup Julia environment ${{ matrix.julia-version }}" | ||
uses: julia-actions/setup-julia@v0.2 | ||
uses: julia-actions/setup-julia@v1.0.1 | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
- name: "Run Tests" | ||
run: | | ||
julia --color=yes --project=@. -e 'using Pkg; | ||
Pkg.activate(); | ||
Pkg.instantiate(); | ||
Pkg.add(PackageSpec(url="https://github.com/PhilipVinc/QuantumLattices.jl")); | ||
println("Instantiated");' | ||
julia --color=yes --project=@. -e "using Pkg; Pkg.test(coverage=true)" |
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,11 +1,10 @@ | ||
name = "NeuralQuantum" | ||
uuid = "eb923273-1014-53d4-802c-abcb7262255a" | ||
authors = ["Filippo Vicentini <[email protected]>"] | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
|
||
[deps] | ||
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" | ||
IRTools = "7869d1d1-7146-5819-86e3-90919afe41df" | ||
IterativeSolvers = "42fd0dbc-a981-5370-80f2-aaf504508153" | ||
LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
|
@@ -20,14 +19,16 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df" | |
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" | ||
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | ||
Strided = "5e0ebb24-38b0-5f93-81fe-25c709ecae67" | ||
UnsafeArrays = "c4a57d5a-5b31-53a6-b365-19f8c011fbd6" | ||
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" | ||
ZygoteRules = "700de1a5-db45-46bc-99cf-38207098b444" | ||
|
||
[compat] | ||
Zygote = ">= 0.4" | ||
julia = ">= 1.2" | ||
|
||
[extras] | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
|
||
[targets] | ||
test = ["Test"] |
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
Oops, something went wrong.