-
Notifications
You must be signed in to change notification settings - Fork 72
[WIP] [ENH] add faster jvp computation for lasso type problems #17
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
Open
QB3
wants to merge
27
commits into
google:main
Choose a base branch
from
QB3:add_sparse_vjp
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
6ef6ed0
[WIP] first draft for sparse vjp
QB3 64034b8
[ci skip] fixed call jax.vjp, tests still do not pass
QB3 71b8b2c
[ci skip] made test implicit diff for sparse_jvp pass
QB3 4e8a791
[ci skip] added test lasso, currently fails
QB3 a9883d6
[ci skip] added test lasso without sparsity
QB3 7733f9a
Trigger google-cla
QB3 cbe7bac
[ci skip] made test pass for lasso without sparse computation
QB3 478d871
[ci skip]@ new try for sparse computation, still fails
QB3 0346b97
[ci skip] made sparse jvp work, remains to see how much we win
QB3 8a3c128
[ci skip] added little bench for sparse vjp, sol is better but runnin…
QB3 c9b0dae
[ci skip] try implemetation with hardcoded support
QB3 b698e02
[ci skip] take larger number of features, see speed ups
QB3 0c230ce
add make_restricted_optimality_fun to sparse_vjp
QB3 933f287
[ci skip] simplified + rearanged args in tests
QB3 1ddeeb9
[ci skip] CLN
QB3 3aae541
[ci skip] made test_custom_root_lasso
QB3 3a3ef0b
[ci skip] added sparse custom root + tests
QB3 4669b96
[ci skip] adapted example lasso, toward a sparse implementation
QB3 d110ff1
[ci skip] added benchmark sparse custom root
QB3 d15ae55
[ci skip] added sparse_custom_root to implicit diff example
QB3 77661b1
improved benchmark file
QB3 a7e5436
jax.numpy.linalg >> onp.linalg.norm
QB3 a8ee7cc
[ci skip] added back version with hardcoded support
QB3 d7e5cc1
[ciskip] updated benchmark
QB3 1c59af7
[ciskip] added sparse_custom root with other implem, currently fails
QB3 91348aa
[ciskip] X.T@(X @ params - y) >> grad(obj.square)
QB3 c64c596
[ci skip] made test custom root work
QB3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.