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

[Cherry Picks] Analyze Bug Fixes (Updated) #465

Merged
merged 34 commits into from
Feb 22, 2024
Merged

Conversation

dbogunowicz and others added 30 commits January 23, 2024 16:14
* initial commit

* add docstrings

* simplify

* hardening

* refactor

* format registry lookup strings to be lowercases

* standardise aliases
…ata.1` if only one external data file gets eventually saved (#414)
* add support for benchmark.yaml

recent zoo models use `benchmark.yaml` instead of `benchmarks.yaml`. adding this additional pathway so `benchmark.yaml` is downloaded in the bulk model download

* update files filter

* fix tests

---------

Co-authored-by: dbogunowicz <[email protected]>
* Add analyze to init

* Move onnxruntime to deps

* Print model analysis (#423)

* [model.download] fix function returning nothing (#420)

* [BugFix] Path not expanded (#418)

* print model-analysis

* [Fix] Allow for processing Path in the sparsezoo analysis (#417)

* add print statement at the end of cli run

---------

Co-authored-by: Dipika Sikka <[email protected]>
Co-authored-by: Rahul Tuli <[email protected]>
Co-authored-by: dbogunowicz <[email protected]>

* Omit scalar weight (#424)

* ommit scalar weights:

* remove unwanted files

* comment

* Update src/sparsezoo/utils/onnx/analysis.py

Co-authored-by: Benjamin Fineran <[email protected]>

---------

Co-authored-by: Benjamin Fineran <[email protected]>

---------

Co-authored-by: George <[email protected]>
Co-authored-by: Dipika Sikka <[email protected]>
Co-authored-by: dbogunowicz <[email protected]>
Co-authored-by: Benjamin Fineran <[email protected]>
…437)

* fix analyze to work with larger models

* update for failing tests; add comments

* Update src/sparsezoo/utils/onnx/external_data.py

Co-authored-by: dbogunowicz <[email protected]>

---------

Co-authored-by: Dipika Sikka <[email protected]>
Co-authored-by: dbogunowicz <[email protected]>
* Download deployment dir for llms

* Use path instead of download
* chunk download, break down into 10

* lint

* threads download

* draft

* chunk download draft

* job based download and combining/deleteing chunks

* delete old code

* lint

* fix num jobs if file_size is less than the chunk size

* doc string and return types

* test

* lint
* fix equivalent changes made to analyze_v2 such that inference session works for llms; update wanrings to be debug printouts

* typo
on runtime, to avoid serialization issues
* initial fix

* style
* initial fix

* style

* incorporate sparsity into size calculation

* quality
Satrat and others added 4 commits February 22, 2024 14:59
* initial fix

* style
* initial fix

* style

* incorporate sparsity into size calculation

* quality
This reverts commit 509fa1a, reversing
changes made to 08f94c4.
@Satrat Satrat merged commit edf177e into release/1.7 Feb 22, 2024
4 checks passed
@Satrat Satrat deleted the analyze_cherry_picks branch February 22, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants