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

README and benchmark improvements #867

Merged
merged 1 commit into from
Sep 11, 2024
Merged

README and benchmark improvements #867

merged 1 commit into from
Sep 11, 2024

Conversation

HDCharles
Copy link
Contributor

Summary:

quantization README:

  1. added fp6 to benchmarks
  2. rewrote autoquant section to give a higher level explanation before
    diving into the details
  3. reordered affine quantization section to first show techniques then
    dive into details
  4. added fp6 section
  5. moved kv cache stuff to new section
  6. added sparse-marlin section and removed sparse-marlin benchmark from
    top of README since we don't have a reasonable flow for users to use
    to apply it to their model without a pre-sparsified checkpoint.
  7. added uintx section

Benchmarks Changes:

  1. added instructions for adding things to benchmarks so everything
    stays consistent (in llama benchmark README)
  2. organized/ran benchmarks for uintx and fp6 and sparse-marlin 3) added evaluations.sh to mirror benchmarks.sh
  3. added sparse-marlin to eval.py
  4. fixed some generate.py logging bugs
  5. improved generate help quantization help text
  6. fixed some eval.py bugs with uintx
  7. added marlin to eval
  8. fixed eval help text

sparsity readme:

  1. added some details to sparsity

Test Plan:

benchmarks.sh
evaluations.sh

Reviewers:

Subscribers:

Tasks:

Tags:

Summary:

quantization README:

1) added fp6 to benchmarks
2) rewrote autoquant section to give a higher level explanation before
   diving into the details
3) reordered affine quantization section to first show techniques then
   dive into details
4) added fp6 section
5) moved kv cache stuff to new section
6) added sparse-marlin section and removed sparse-marlin benchmark from
   top of README since we don't have a reasonable flow for users to use
   to apply it to their model without a pre-sparsified checkpoint.
7) added uintx section

Benchmarks Changes:

1) added instructions for adding things to benchmarks so everything
   stays consistent (in llama benchmark README)
2) organized/ran benchmarks for uintx and fp6 and sparse-marlin
3) added evaluations.sh to mirror benchmarks.sh
4) added sparse-marlin to eval.py
5) fixed some generate.py logging bugs
6) improved generate help quantization help text
7) fixed some eval.py bugs with uintx
8) added marlin to eval
9) fixed eval help text

sparsity readme:
1) added some details to sparsity

Test Plan:

benchmarks.sh
evaluations.sh

Reviewers:

Subscribers:

Tasks:

Tags:
Copy link

pytorch-bot bot commented Sep 10, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/867

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit e6db619 with merge base e283743 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 10, 2024
@HDCharles HDCharles requested a review from jcaip September 10, 2024 23:17
Copy link
Contributor

@jerryzh168 jerryzh168 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for making all the benchmark/eval up to date!

@@ -1,28 +1,23 @@
README BENCHMARKS
Copy link
Contributor

Choose a reason for hiding this comment

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

btw, is this file manually organized?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

kind of, i organized it manually based on where the stuff would fall if you ran the entire benchmark suite, but since i ran them in different batches, they didn't come out all in the right order. And i added a few comments to make it easier to parse

@@ -1,44 +1,28 @@
export CHECKPOINT_PATH=../../../checkpoints # path to checkpoints folder
Copy link
Contributor

Choose a reason for hiding this comment

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

I think one improvement for this script might be to use a loop to only specify quantization or whatever arg that changes, instead of spelling out all the args, it might be easier to see what benchmarks we are running

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that would be good if we were productionizing things but most of the time i'm commenting things out and only running 1 or 2 examples and having them all spelt out is really nice

Copy link
Contributor

@jcaip jcaip left a comment

Choose a reason for hiding this comment

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

lgtm

@HDCharles HDCharles merged commit b4d0768 into main Sep 11, 2024
17 checks passed
jainapurva pushed a commit that referenced this pull request Sep 22, 2024
README improvements

Summary:

quantization README:

1) added fp6 to benchmarks
2) rewrote autoquant section to give a higher level explanation before
   diving into the details
3) reordered affine quantization section to first show techniques then
   dive into details
4) added fp6 section
5) moved kv cache stuff to new section
6) added sparse-marlin section and removed sparse-marlin benchmark from
   top of README since we don't have a reasonable flow for users to use
   to apply it to their model without a pre-sparsified checkpoint.
7) added uintx section

Benchmarks Changes:

1) added instructions for adding things to benchmarks so everything
   stays consistent (in llama benchmark README)
2) organized/ran benchmarks for uintx and fp6 and sparse-marlin
3) added evaluations.sh to mirror benchmarks.sh
4) added sparse-marlin to eval.py
5) fixed some generate.py logging bugs
6) improved generate help quantization help text
7) fixed some eval.py bugs with uintx
8) added marlin to eval
9) fixed eval help text

sparsity readme:
1) added some details to sparsity

Test Plan:

benchmarks.sh
evaluations.sh

Reviewers:

Subscribers:

Tasks:

Tags:
jainapurva pushed a commit that referenced this pull request Sep 23, 2024
README improvements

Summary:

quantization README:

1) added fp6 to benchmarks
2) rewrote autoquant section to give a higher level explanation before
   diving into the details
3) reordered affine quantization section to first show techniques then
   dive into details
4) added fp6 section
5) moved kv cache stuff to new section
6) added sparse-marlin section and removed sparse-marlin benchmark from
   top of README since we don't have a reasonable flow for users to use
   to apply it to their model without a pre-sparsified checkpoint.
7) added uintx section

Benchmarks Changes:

1) added instructions for adding things to benchmarks so everything
   stays consistent (in llama benchmark README)
2) organized/ran benchmarks for uintx and fp6 and sparse-marlin
3) added evaluations.sh to mirror benchmarks.sh
4) added sparse-marlin to eval.py
5) fixed some generate.py logging bugs
6) improved generate help quantization help text
7) fixed some eval.py bugs with uintx
8) added marlin to eval
9) fixed eval help text

sparsity readme:
1) added some details to sparsity

Test Plan:

benchmarks.sh
evaluations.sh

Reviewers:

Subscribers:

Tasks:

Tags:
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
…h#862)

* Updating torch nightly to pick up aoti improvements in 128339

* Update the torch version to 2.5

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
* Initial Creation of a quantization directory

* Moving qops

* updating import

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Update Quant call using llama.cpp (pytorch#868)

llama.cpp did a BC breaking refactor: ggerganov/llama.cpp@1c641e6
resulting in some of our CI breaking

This updates our CI to match llama.cpp's schema

* Updating torch nightly to pick up aoti improvements in 128339 (pytorch#862)

* Updating torch nightly to pick up aoti improvements in 128339

* Update the torch version to 2.5

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
* Removing all references to HQQ

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Update Quant call using llama.cpp (pytorch#868)

llama.cpp did a BC breaking refactor: ggerganov/llama.cpp@1c641e6
resulting in some of our CI breaking

This updates our CI to match llama.cpp's schema

* Updating torch nightly to pick up aoti improvements in 128339 (pytorch#862)

* Updating torch nightly to pick up aoti improvements in 128339

* Update the torch version to 2.5

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Creating an initial Quantization Directory (pytorch#863)

* Initial Creation of a quantization directory

* Moving qops

* updating import

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Update Quant call using llama.cpp (pytorch#868)

llama.cpp did a BC breaking refactor: ggerganov/llama.cpp@1c641e6
resulting in some of our CI breaking

This updates our CI to match llama.cpp's schema

* Updating torch nightly to pick up aoti improvements in 128339 (pytorch#862)

* Updating torch nightly to pick up aoti improvements in 128339

* Update the torch version to 2.5

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
* Removing GPTQ from all of torchchat

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Rebase + Add back accidental deletion

* Update Quant call using llama.cpp (pytorch#868)

llama.cpp did a BC breaking refactor: ggerganov/llama.cpp@1c641e6
resulting in some of our CI breaking

This updates our CI to match llama.cpp's schema

* Updating torch nightly to pick up aoti improvements in 128339 (pytorch#862)

* Updating torch nightly to pick up aoti improvements in 128339

* Update the torch version to 2.5

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Creating an initial Quantization Directory (pytorch#863)

* Initial Creation of a quantization directory

* Moving qops

* updating import

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Update Quant call using llama.cpp (pytorch#868)

llama.cpp did a BC breaking refactor: ggerganov/llama.cpp@1c641e6
resulting in some of our CI breaking

This updates our CI to match llama.cpp's schema

* Updating torch nightly to pick up aoti improvements in 128339 (pytorch#862)

* Updating torch nightly to pick up aoti improvements in 128339

* Update the torch version to 2.5

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Removing all references to HQQ (pytorch#869)

* Removing all references to HQQ

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Update Quant call using llama.cpp (pytorch#868)

llama.cpp did a BC breaking refactor: ggerganov/llama.cpp@1c641e6
resulting in some of our CI breaking

This updates our CI to match llama.cpp's schema

* Updating torch nightly to pick up aoti improvements in 128339 (pytorch#862)

* Updating torch nightly to pick up aoti improvements in 128339

* Update the torch version to 2.5

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Creating an initial Quantization Directory (pytorch#863)

* Initial Creation of a quantization directory

* Moving qops

* updating import

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)

* Update Quant call using llama.cpp (pytorch#868)

llama.cpp did a BC breaking refactor: ggerganov/llama.cpp@1c641e6
resulting in some of our CI breaking

This updates our CI to match llama.cpp's schema

* Updating torch nightly to pick up aoti improvements in 128339 (pytorch#862)

* Updating torch nightly to pick up aoti improvements in 128339

* Update the torch version to 2.5

* Updating lm_eval version (pytorch#865)

Fixing CI related to EleutherAI/wikitext_document_level change requirements from using HF Datasets

* Pinning numpy to under 2.0 (pytorch#867)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmark CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants