Skip to content

Fix docs #882

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

Closed
wants to merge 1 commit into from
Closed

Fix docs #882

wants to merge 1 commit into from

Conversation

kirklandsign
Copy link
Contributor

Summary:
Address issues on T166442606

  1. Make sure all python code snippet and bash commands can run.
  2. Modify some links a bit.

Differential Revision: D50250157

Summary:
Address issues on T166442606
1. Make sure all python code snippet and bash commands can run.
2. Modify some links a bit.

Differential Revision: D50250157
@netlify
Copy link

netlify bot commented Oct 13, 2023

Deploy Preview for resplendent-gnome-14e531 ready!

Name Link
🔨 Latest commit 3461326
🔍 Latest deploy log https://app.netlify.com/sites/resplendent-gnome-14e531/deploys/65288c4a79f9880008e9d79c
😎 Deploy Preview https://deploy-preview-882--resplendent-gnome-14e531.netlify.app/tutorial-xnnpack-delegate-lowering
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@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 Oct 13, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50250157

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 469ee1c.

mergennachin pushed a commit that referenced this pull request Oct 13, 2023
Summary:
Pull Request resolved: #882

Address issues on T166442606
1. Make sure all python code snippet and bash commands can run.
2. Modify some links a bit.

Reviewed By: mcr229, shoumikhin

Differential Revision: D50250157

fbshipit-source-id: 67cf996df0967d89f2f87c8ab6a2604bc829f546
mergennachin pushed a commit that referenced this pull request Oct 13, 2023
Summary:
Pull Request resolved: #882

Address issues on T166442606
1. Make sure all python code snippet and bash commands can run.
2. Modify some links a bit.

Reviewed By: mcr229, shoumikhin

Differential Revision: D50250157

fbshipit-source-id: 67cf996df0967d89f2f87c8ab6a2604bc829f546
dbort pushed a commit that referenced this pull request Oct 14, 2023
Summary:
Pull Request resolved: #882

Address issues on T166442606
1. Make sure all python code snippet and bash commands can run.
2. Modify some links a bit.

Reviewed By: mcr229, shoumikhin

Differential Revision: D50250157

fbshipit-source-id: 67cf996df0967d89f2f87c8ab6a2604bc829f546
Gasoonjia pushed a commit that referenced this pull request Jul 30, 2024
* Update quantize.py to use torchao Quantizers

Summary:

Remove duplicate code for Int4WeightOnlyQuantizer and
Int8DynActInt4WeightQuantizer and use torchao API.

Test Plan:

```
python torchchat.py generate llama2 --quantize '{"linear:int4": {"groupsize": 256}, "precision": {"dtype":"float16"}, "executor":{"accelerator":"cpu"}}' --prompt "Once upon a time," --max-new-tokens 256
python torchchat.py generate llama2 --quantize '{"linear:a8w4dq": {"groupsize": 256}, "precision": {"dtype":"float16"}, "executor":{"accelerator":"cpu"}}' --prompt "Once upon a time," --max-new-tokens 256
```

Reviewers:

Subscribers:

Tasks:

Tags:

* Fix import

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Install torchao from gh

* Explain import

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Fix dependencies

* Test ao PR #479

* Update torchao hash

* Update torchao pin

* Fix scheduler bf16/fp16 mix error

* Incorporate torchao changes

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* update hash

* Fix GPU CI job

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* More fix

* Fix executorch CI job

* Use quant api for int4 weight only quantization

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Fix

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Fix again

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Fix 3

* Fix 4

* Try something

* debug

* Only migrate 8a4w

---------

Co-authored-by: Jack Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants