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

Bfgs pr (second attempt) #92

Merged
merged 2 commits into from
Dec 4, 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
6 changes: 2 additions & 4 deletions .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ jobs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
- name: Install dependencies
run: |
julia --project=docs -e '
Expand Down
4 changes: 0 additions & 4 deletions src/GeometricMachineLearning.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module GeometricMachineLearning
using GeometricBase
using GeometricEquations
using GeometricIntegrators
using GPUArrays
using KernelAbstractions
using LinearAlgebra
using NNlib
Expand All @@ -19,8 +18,6 @@ module GeometricMachineLearning
using InteractiveUtils
using TimerOutputs

import CUDA

import AbstractNeuralNetworks: Architecture, Model, AbstractExplicitLayer, AbstractExplicitCell, AbstractNeuralNetwork , NeuralNetwork
import AbstractNeuralNetworks: Chain, GridCell
import AbstractNeuralNetworks: Dense, Linear, Recurrent
Expand Down Expand Up @@ -227,7 +224,6 @@ module GeometricMachineLearning
export Batch, optimize_for_one_epoch!
include("data_loader/tensor_assign.jl")
include("data_loader/matrix_assign.jl")
include("data_loader/data_loader.jl")
include("data_loader/mnist_utils.jl")
include("data_loader/batch.jl")

Expand Down
4 changes: 0 additions & 4 deletions src/manifolds/stiefel_manifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ end

Base.:*(Y::StiefelManifold, B::AbstractMatrix) = Y.A*B
Base.:*(B::AbstractMatrix, Y::StiefelManifold) = B*Y.A
#this is needed for the implementation of MultiHeadAttention
function Base.:*(Y::Adjoint{T, StiefelManifold{T, AT}}, B::AbstractMatrix) where {T, AT<:AbstractGPUMatrix{T}}
Y.parent.A'*B
end

function Base.:*(Y::Adjoint{T, StiefelManifold{T, AT}}, B::AbstractMatrix) where {T, AT<:AbstractMatrix{T}}
Y.parent.A'*B
Expand Down