Skip to content

[Dev] Avant-gout #156

@jbcaillau

Description

@jbcaillau

@ocots @PierreMartinon with CTDirect v0.17.1 and midpoint everywhere, mini-benchmark on Goddard (N = 5000, A100 run CPU / GPU):

julia> @btime s = solve(o, :adnlp, :ipopt; print_level=0, grid_size=N);
  21.128 s (38947050 allocations: 13.78 GiB)

julia> @btime s = solve(o, :exa, :ipopt; print_level=0, grid_size=N);
  6.177 s (397083 allocations: 24.86 MiB)

julia> @btime s = solve(o, :adnlp, :madnlp; print_level=MadNLP.WARN, grid_size=N);
  16.669 s (23938965 allocations: 13.16 GiB)

julia> @btime s = solve(o, :exa, :madnlp; print_level=MadNLP.WARN, grid_size=N);
  905.175 ms (405572 allocations: 110.68 MiB)

julia> CUDA.@time s = solve(o, :exa, :madnlp; print_level=MadNLP.WARN, grid_size=N, exa_backend=CUDABackend());
  0.654175 seconds (838.60 k CPU allocations: 42.568 MiB) (3.38 k GPU allocations: 179.577 MiB, 1.60% memmgmt time)

Metadata

Metadata

Assignees

Labels

internal devModification to the code is requested and should not affect user experiment

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions