Strip cr from docs
Browse files- README.md +4 -0
- docs/source/basic_tutorials/install.md +0 -13
- docs/source/basic_tutorials/launch.md +0 -13
- docs/source/basic_tutorials/migration.md +0 -13
- docs/source/basic_tutorials/notebook.md +0 -13
- docs/source/basic_tutorials/overview.md +0 -13
- docs/source/basic_tutorials/troubleshooting.md +0 -13
- docs/source/concept_guides/big_model_inference.md +0 -13
- docs/source/concept_guides/deferring_execution.md +0 -13
- docs/source/concept_guides/gradient_synchronization.md +0 -13
- docs/source/concept_guides/internal_mechanism.md +0 -13
- docs/source/concept_guides/low_precision_training.md +0 -13
- docs/source/concept_guides/performance.md +0 -13
- docs/source/concept_guides/training_tpu.md +0 -13
- docs/source/index.md +0 -13
- docs/source/package_reference/accelerator.md +0 -13
- docs/source/package_reference/big_modeling.md +0 -13
- docs/source/package_reference/cli.md +0 -13
- docs/source/package_reference/deepspeed.md +0 -13
- docs/source/package_reference/fsdp.md +0 -13
- docs/source/package_reference/kwargs.md +0 -13
- docs/source/package_reference/launchers.md +0 -13
- docs/source/package_reference/logging.md +0 -13
- docs/source/package_reference/megatron_lm.md +0 -13
- docs/source/package_reference/state.md +0 -13
- docs/source/package_reference/torch_wrappers.md +0 -13
- docs/source/package_reference/tracking.md +0 -13
- docs/source/package_reference/utilities.md +0 -13
- docs/source/quicktour.md +0 -13
- docs/source/usage_guides/big_modeling.md +0 -13
- docs/source/usage_guides/checkpoint.md +0 -13
- docs/source/usage_guides/deepspeed.md +0 -13
- docs/source/usage_guides/distributed_inference.md +0 -13
- docs/source/usage_guides/explore.md +0 -13
- docs/source/usage_guides/fsdp.md +0 -13
- docs/source/usage_guides/gradient_accumulation.md +0 -13
- docs/source/usage_guides/ipex.md +0 -13
- docs/source/usage_guides/local_sgd.md +0 -13
- docs/source/usage_guides/low_precision_training.md +0 -13
- docs/source/usage_guides/megatron_lm.md +0 -13
- docs/source/usage_guides/model_size_estimator.md +0 -13
- docs/source/usage_guides/mps.md +0 -13
- docs/source/usage_guides/quantization.md +0 -13
- docs/source/usage_guides/sagemaker.md +0 -13
- docs/source/usage_guides/tracking.md +0 -13
- docs/source/usage_guides/training_zoo.md +0 -13
README.md
CHANGED
@@ -33,4 +33,8 @@ Using `regex` in VSCODE, use the following replacement:
|
|
33 |
# Copyright(.*\n)+# limitations under the license.
|
34 |
```
|
35 |
|
|
|
|
|
|
|
|
|
36 |
Then remove all import statements (as we only care about the content).
|
|
|
33 |
# Copyright(.*\n)+# limitations under the license.
|
34 |
```
|
35 |
|
36 |
+
```regex
|
37 |
+
<!--Copyright(.*\n)+-->
|
38 |
+
```
|
39 |
+
|
40 |
Then remove all import statements (as we only care about the content).
|
docs/source/basic_tutorials/install.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Installation and Configuration
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Installation and Configuration
|
4 |
|
docs/source/basic_tutorials/launch.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Launching your 🤗 Accelerate scripts
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Launching your 🤗 Accelerate scripts
|
4 |
|
docs/source/basic_tutorials/migration.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Migrating your code to 🤗 Accelerate
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Migrating your code to 🤗 Accelerate
|
4 |
|
docs/source/basic_tutorials/notebook.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Launching Multi-GPU Training from a Jupyter Environment
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Launching Multi-GPU Training from a Jupyter Environment
|
4 |
|
docs/source/basic_tutorials/overview.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Overview
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Overview
|
4 |
|
docs/source/basic_tutorials/troubleshooting.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2023 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Troubleshooting guide
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Troubleshooting guide
|
4 |
|
docs/source/concept_guides/big_model_inference.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Handling big models for inference
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Handling big models for inference
|
4 |
|
docs/source/concept_guides/deferring_execution.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Deferring Executions
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Deferring Executions
|
4 |
|
docs/source/concept_guides/gradient_synchronization.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Gradient Synchronization
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Gradient Synchronization
|
4 |
|
docs/source/concept_guides/internal_mechanism.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# 🤗 Accelerate's internal mechanisms
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# 🤗 Accelerate's internal mechanisms
|
4 |
|
docs/source/concept_guides/low_precision_training.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2023 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Low Precision Training Methods
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Low Precision Training Methods
|
4 |
|
docs/source/concept_guides/performance.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Comparing performance between different device setups
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Comparing performance between different device setups
|
4 |
|
docs/source/concept_guides/training_tpu.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Training on TPUs with 🤗 Accelerate
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Training on TPUs with 🤗 Accelerate
|
4 |
|
docs/source/index.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Accelerate
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Accelerate
|
4 |
|
docs/source/package_reference/accelerator.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Accelerator
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Accelerator
|
4 |
|
docs/source/package_reference/big_modeling.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Working with large models
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Working with large models
|
4 |
|
docs/source/package_reference/cli.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# The Command Line
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# The Command Line
|
4 |
|
docs/source/package_reference/deepspeed.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Utilities for DeepSpeed
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Utilities for DeepSpeed
|
4 |
|
docs/source/package_reference/fsdp.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2023 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Utilities for Fully Sharded Data Parallelism
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Utilities for Fully Sharded Data Parallelism
|
4 |
|
docs/source/package_reference/kwargs.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Kwargs Handlers
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Kwargs Handlers
|
4 |
|
docs/source/package_reference/launchers.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Launchers
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Launchers
|
4 |
|
docs/source/package_reference/logging.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Logging with Accelerate
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Logging with Accelerate
|
4 |
|
docs/source/package_reference/megatron_lm.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Utilities for Megatron-LM
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Utilities for Megatron-LM
|
4 |
|
docs/source/package_reference/state.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Stateful Classes
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Stateful Classes
|
4 |
|
docs/source/package_reference/torch_wrappers.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Wrapper classes for torch Dataloaders, Optimizers, and Schedulers
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Wrapper classes for torch Dataloaders, Optimizers, and Schedulers
|
4 |
|
docs/source/package_reference/tracking.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Experiment Tracking
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Experiment Tracking
|
4 |
|
docs/source/package_reference/utilities.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Helpful Utilities
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Helpful Utilities
|
4 |
|
docs/source/quicktour.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Quick tour
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Quick tour
|
4 |
|
docs/source/usage_guides/big_modeling.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Handling big models for inference
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Handling big models for inference
|
4 |
|
docs/source/usage_guides/checkpoint.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Checkpointing
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Checkpointing
|
4 |
|
docs/source/usage_guides/deepspeed.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# DeepSpeed
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# DeepSpeed
|
4 |
|
docs/source/usage_guides/distributed_inference.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2023 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Distributed Inference with 🤗 Accelerate
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Distributed Inference with 🤗 Accelerate
|
4 |
|
docs/source/usage_guides/explore.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Learning how to incorporate 🤗 Accelerate features quickly!
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Learning how to incorporate 🤗 Accelerate features quickly!
|
4 |
|
docs/source/usage_guides/fsdp.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Fully Sharded Data Parallel
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Fully Sharded Data Parallel
|
4 |
|
docs/source/usage_guides/gradient_accumulation.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Performing gradient accumulation with 🤗 Accelerate
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Performing gradient accumulation with 🤗 Accelerate
|
4 |
|
docs/source/usage_guides/ipex.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Intel® Extension for PyTorch
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Intel® Extension for PyTorch
|
4 |
|
docs/source/usage_guides/local_sgd.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2023 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Using Local SGD with 🤗 Accelerate
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Using Local SGD with 🤗 Accelerate
|
4 |
|
docs/source/usage_guides/low_precision_training.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2023 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Low Precision Training Methods
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Low Precision Training Methods
|
4 |
|
docs/source/usage_guides/megatron_lm.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
|
17 |
# Megatron-LM
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
|
4 |
# Megatron-LM
|
docs/source/usage_guides/model_size_estimator.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Understanding how big of a model can fit on your machine
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Understanding how big of a model can fit on your machine
|
4 |
|
docs/source/usage_guides/mps.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Accelerated PyTorch Training on Mac
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Accelerated PyTorch Training on Mac
|
4 |
|
docs/source/usage_guides/quantization.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2023 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Quantization
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Quantization
|
4 |
|
docs/source/usage_guides/sagemaker.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2021 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Amazon SageMaker
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Amazon SageMaker
|
4 |
|
docs/source/usage_guides/tracking.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Tracking
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Tracking
|
4 |
|
docs/source/usage_guides/training_zoo.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
|
12 |
-
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
|
13 |
-
rendered properly in your Markdown viewer.
|
14 |
-
-->
|
15 |
|
16 |
# Example Zoo
|
17 |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Example Zoo
|
4 |
|