8000 Quantization docs: consilidate all API references on a single page by vkuzo · Pull Request #66198 · pytorch/pytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Quantization docs: consilidate all API references on a single page #66198

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 6 commits into from

Conversation

vkuzo
Copy link
Contributor
@vkuzo vkuzo commented Oct 6, 2021

Stack from ghstack:

Summary:

Consolidates all API reference material for quantization on a single
page, to reduce duplication of information.

Future PRs will improve the API reference page itself.

Test plan:

cd docs
make html
python -m http.server
// renders well

Differential Revision: D31447616

Summary:

Consolidates all API reference material for quantization on a single
page, to reduce duplication of information.

Future PRs will improve the API reference page itself.

Test plan:

```
cd docs
make html
python -m http.server
// renders well
```

[ghstack-poisoned]
@pytorch-probot
Copy link
pytorch-probot bot commented Oct 6, 2021
CI Flow Status

⚛️ CI Flow

Ruleset - Version: v1
Ruleset - File: https://github.com/pytorch/pytorch/blob/278dff21ad8257ae788ea05708d7c2807633d6a1/.github/generated-ciflow-ruleset.json
PR ciflow labels: ciflow/default

Workflows Labels (bold enabled) Status
Triggered Workflows
linux-bionic-py3.6-clang9 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/noarch, ciflow/xla ✅ triggered
linux-vulkan-bionic-py3.6-clang9 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/vulkan ✅ triggered
linux-xenial-cuda11.3-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/default, ciflow/linux ✅ triggered
linux-xenial-py3.6-clang7-asan ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/sanitizers ✅ triggered
linux-xenial-py3.6-clang7-onnx ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/onnx ✅ triggered
linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
linux-xenial-py3.6-gcc7-bazel-test ciflow/all, ciflow/bazel, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
win-vs2019-cpu-py3 ciflow/all, ciflow/cpu, ciflow/default, ciflow/win ✅ triggered
win-vs2019-cuda11.3-py3 ciflow/all, ciflow/cuda, ciflow/default, ciflow/win ✅ triggered
Skipped Workflows
libtorch-linux-xenial-cuda10.2-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux 🚫 skipped
libtorch-linux-xenial-cuda11.3-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux 🚫 skipped
linux-bionic-cuda10.2-py3.9-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/slow 🚫 skipped
linux-xenial-cuda10.2-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/slow 🚫 skipped
parallelnative-linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux 🚫 skipped
periodic-libtorch-linux-xenial-cuda11.1-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-linux-xenial-cuda10.2-py3-gcc7-slow-gradcheck ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled, ciflow/slow, ciflow/slow-gradcheck 🚫 skipped
periodic-linux-xenial-cuda11.1-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-win-vs2019-cuda11.1-py3 ciflow/all, ciflow/cuda, ciflow/scheduled, ciflow/win 🚫 skipped
puretorch-linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux 🚫 skipped

You can add a comment to the PR and tag @pytorchbot with the following commands:
# ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun

# ciflow rerun with additional labels "-l <ciflow/label_name>",
8000
 which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slow

For more information, please take a look at the CI Flow Wiki.

@facebook-github-bot
Copy link
Contributor
facebook-github-bot commented Oct 6, 2021

🔗 Helpful links

💊 CI failures summary and remediations

As of commit 278dff2 (more details on the Dr. CI page):


  • 1/1 failures introduced in this PR

🕵️ 1 new failure recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See GitHub Actions build linux-xenial-py3.6-gcc5.4 / test (default, 2, 2, linux.2xlarge) (1/1)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2021-10-09T01:05:11.9888071Z Intel MKL ERROR: Parameter 4 was incorrect on entry to DLASCL.
2021-10-09T01:05:11.9491045Z 
2021-10-09T01:05:11.9491897Z Intel MKL ERROR: Parameter 4 was incorrect on entry to SLASCL.
2021-10-09T01:05:11.9541533Z ok (0.039s)
2021-10-09T01:05:11.9702091Z   test_svd_errors_and_warnings_cpu_float64 (__main__.TestLinalgCPU) ... 
2021-10-09T01:05:11.9702688Z Intel MKL ERROR: Parameter 4 was incorrect on entry to DLASCL.
2021-10-09T01:05:11.9703031Z 
2021-10-09T01:05:11.9703412Z Intel MKL ERROR: Parameter 4 was incorrect on entry to DLASCL.
2021-10-09T01:05:11.9886810Z 
2021-10-09T01:05:11.9887348Z Intel MKL ERROR: Parameter 4 was incorrect on entry to DLASCL.
2021-10-09T01:05:11.9887669Z 
2021-10-09T01:05:11.9888071Z Intel MKL ERROR: Parameter 4 was incorrect on entry to DLASCL.
2021-10-09T01:05:11.9938463Z ok (0.040s)
2021-10-09T01:05:15.1850746Z   test_svd_lowrank_cpu_float64 (__main__.TestLinalgCPU) ... ok (3.191s)
2021-10-09T01:05:15.6723744Z   test_svd_memory_allocation_cpu_complex128 (__main__.TestLinalgCPU) ... test_linalg.py:3008: UserWarning: An output with one or more elements was resized since it had shape [3, 3], which does not match the required output shape [3].This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (Triggered internally at  /var/lib/jenkins/workspace/aten/src/ATen/native/Resize.cpp:23.)
2021-10-09T01:05:15.6725472Z   torch.linalg.svdvals(a, out=out0)
2021-10-09T01:05:15.8642103Z test_linalg.py:3009: UserWarning: An output with one or more elements was resized since it had shape [3], which does not match the required output shape [3, 3].This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (Triggered internally at  /var/lib/jenkins/workspace/aten/src/ATen/native/Resize.cpp:23.)
2021-10-09T01:05:15.8644455Z   torch.linalg.svd(a, full_matrices=False, out=(out0, out1, out2))
2021-10-09T01:05:15.8715957Z ok (0.687s)
2021-10-09T01:05:16.2063759Z   test_svd_memory_allocation_cpu_complex64 (__main__.TestLinalgCPU) ... ok (0.335s)
2021-10-09T01:05:16.3513243Z   test_svd_memory_allocation_cpu_float32 (__main__.TestLinalgCPU) ... ok (0.145s)
2021-10-09T01:05:16.5466123Z   test_svd_memory_allocation_cpu_float64 (__main__.TestLinalgCPU) ... ok (0.195s)

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

vkuzo added a commit that referenced this pull request Oct 6, 2021
Summary:

Consolidates all API reference material for quantization on a single
page, to reduce duplication of information.

Future PRs will improve the API reference page itself.

Test plan:

```
cd docs
make html
python -m http.server
// renders well
```

ghstack-source-id: 3bc550c
Pull Request resolved: #66198
@vkuzo
Copy link
Contributor Author
vkuzo commented Oct 6, 2021

@vkuzo has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

vkuzo added 5 commits October 8, 2021 10:59
…gle page"

Summary:

Consolidates all API reference material for quantization on a single
page, to reduce duplication of information.

Future PRs will improve the API reference page itself.

Test plan:

```
cd docs
make html
python -m http.server
// renders well
```

Differential Revision: [D31447616](https://our.internmc.facebook.com/intern/diff/D31447616)

[ghstack-poisoned]
…gle page"

Summary:

Consolidates all API reference material for quantization on a single
page, to reduce duplication of information.

Future PRs will improve the API reference page itself.

Test plan:

```
cd docs
make html
python -m http.server
// renders well
```

Differential Revision: [D31447616](https://our.internmc.facebook.com/intern/diff/D31447616)

[ghstack-poisoned]
…gle page"

Summary:

Consolidates all API reference material for quantization on a single
page, to reduce duplication of information.

Future PRs will improve the API reference page itself.

Test plan:

```
cd docs
make html
python -m http.server
// renders well
```

Differential Revision: [D31447616](https://our.internmc.facebook.com/intern/diff/D31447616)

[ghstack-poisoned]
…gle page"

Summary:

Consolidates all API reference material for quantization on a single
page, to reduce duplication of information.

Future PRs will improve the API reference page itself.

Test plan:

```
cd docs
make html
python -m http.server
// renders well
```

Differential Revision: [D31447616](https://our.internmc.facebook.com/intern/diff/D31447616)

[ghstack-poisoned]
…gle page"

Summary:

Consolidates all API reference material for quantization on a single
page, to reduce duplication of information.

Future PRs will improve the API reference page itself.

Test plan:

```
cd docs
make html
python -m http.server
// renders well
```

Differential Revision: [D31447616](https://our.internmc.facebook.com/intern/diff/D31447616)

[ghstack-poisoned]
@vkuzo
Copy link
Contributor Author
vkuzo commented Oct 9, 2021

@vkuzo has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

This pull request has been reverted by 037ac23. To re-land this change, follow these steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0