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

Remove dependency of proj_matrix during scoring #61

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

JD-ETH
Copy link
Contributor

@JD-ETH JD-ETH commented Jan 2, 2024

finalize feature deletes the proj_matrix, but basic projector assumes it exists. remove dependency.

finalize feature deletes the proj_matrix, but basic projector assumes it exists. remove dependency.
@kristian-georgiev kristian-georgiev added the bug Something isn't working label Jan 5, 2024
@kristian-georgiev kristian-georgiev changed the base branch from main to 0.3.2 January 5, 2024 09:11
Copy link
Member

@kristian-georgiev kristian-georgiev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edit makes sense, simplifies dependencies between methods :)

@kristian-georgiev kristian-georgiev merged commit e5cbe1e into MadryLab:0.3.2 Jan 5, 2024
3 checks passed
kristian-georgiev added a commit that referenced this pull request Jan 17, 2024
* fix finalize features floods CPU memory: remove log and load mapped gradients to device  (#59)

* torch load gradients to device instead of CPU during finalize

loading data directly on device instead of moving from CPU to GPU in score computation steps

* Remove logging of raw tensors

* Remove dependency of proj_matrix during scoring (#61)

finalize feature deletes the proj_matrix, but basic projector assumes it exists. remove dependency.

* fix grads type check in iterative gradient computers

Co-authored-by: TheaperDeng <junweid2.illinois.edu>

* [added feature] regularization term for inv(xtx) calculation  (#63)

* Updated score_computers.py for lambda_reg

* Updated traker.py to include a lambda_reg term in arguments

* minor fixes

---------


Co-authored-by: Junwei Deng < junweid2@illinois.edu>
Co-authored-by: Jiadong Guo <jaedon.guo@gmail.com>
Co-authored-by: heale04 <136350745+heale04@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants