Update peft requirement from ==0.6.* to ==0.7.*
diff --git a/requirements.txt b/requirements.txt
index f4cbaeacb1..e15fb25c58 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,7 +8,7 @@ markdown
 numpy==1.24.*
 optimum==1.14.0
 pandas
-peft==0.6.*
+peft==0.7.*
 Pillow>=9.5.0
 pyyaml
 requests
diff --git a/requirements_amd.txt b/requirements_amd.txt
index 892cae7ce6..e7648b685f 100644
--- a/requirements_amd.txt
+++ b/requirements_amd.txt
@@ -8,7 +8,7 @@ markdown
 numpy==1.24.*
 optimum==1.14.0
 pandas
-peft==0.6.*
+peft==0.7.*
 Pillow>=9.5.0
 pyyaml
 requests
diff --git a/requirements_amd_noavx2.txt b/requirements_amd_noavx2.txt
index 228c51724f..4747ca8772 100644
--- a/requirements_amd_noavx2.txt
+++ b/requirements_amd_noavx2.txt
@@ -8,7 +8,7 @@ markdown
 numpy==1.24.*
 optimum==1.14.0
 pandas
-peft==0.6.*
+peft==0.7.*
 Pillow>=9.5.0
 pyyaml
 requests
diff --git a/requirements_apple_intel.txt b/requirements_apple_intel.txt
index 377373f117..9ee4ec6e61 100644
--- a/requirements_apple_intel.txt
+++ b/requirements_apple_intel.txt
@@ -8,7 +8,7 @@ markdown
 numpy==1.24.*
 optimum==1.14.0
 pandas
-peft==0.6.*
+peft==0.7.*
 Pillow>=9.5.0
 pyyaml
 requests
diff --git a/requirements_apple_silicon.txt b/requirements_apple_silicon.txt
index e280108ba5..08297db448 100644
--- a/requirements_apple_silicon.txt
+++ b/requirements_apple_silicon.txt
@@ -8,7 +8,7 @@ markdown
 numpy==1.24.*
 optimum==1.14.0
 pandas
-peft==0.6.*
+peft==0.7.*
 Pillow>=9.5.0
 pyyaml
 requests
diff --git a/requirements_cpu_only.txt b/requirements_cpu_only.txt
index 7e83c66205..28ea2ca39f 100644
--- a/requirements_cpu_only.txt
+++ b/requirements_cpu_only.txt
@@ -8,7 +8,7 @@ markdown
 numpy==1.24.*
 optimum==1.14.0
 pandas
-peft==0.6.*
+peft==0.7.*
 Pillow>=9.5.0
 pyyaml
 requests
diff --git a/requirements_cpu_only_noavx2.txt b/requirements_cpu_only_noavx2.txt
index b31eec1435..45ea916e94 100644
--- a/requirements_cpu_only_noavx2.txt
+++ b/requirements_cpu_only_noavx2.txt
@@ -8,7 +8,7 @@ markdown
 numpy==1.24.*
 optimum==1.14.0
 pandas
-peft==0.6.*
+peft==0.7.*
 Pillow>=9.5.0
 pyyaml
 requests
diff --git a/requirements_noavx2.txt b/requirements_noavx2.txt
index c00d9bd169..6269fd2115 100644
--- a/requirements_noavx2.txt
+++ b/requirements_noavx2.txt
@@ -8,7 +8,7 @@ markdown
 numpy==1.24.*
 optimum==1.14.0
 pandas
-peft==0.6.*
+peft==0.7.*
 Pillow>=9.5.0
 pyyaml
 requests
diff --git a/requirements_nowheels.txt b/requirements_nowheels.txt
index b285e4c0ae..30ad3f5dbe 100644
--- a/requirements_nowheels.txt
+++ b/requirements_nowheels.txt
@@ -8,7 +8,7 @@ markdown
 numpy==1.24.*
 optimum==1.14.0
 pandas
-peft==0.6.*
+peft==0.7.*
 Pillow>=9.5.0
 pyyaml
 requests

Updates the requirements on [peft](https://github.com/huggingface/peft) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/huggingface/peft/releases">peft's releases</a>.</em></p>
<blockquote>
<h2>v0.7.0: Orthogonal Fine-Tuning, Megatron support, better initialization, safetensors, and more</h2>
<h1>Highlights</h1>
<ul>
<li>Orthogonal Fine-Tuning (OFT): A new adapter that is similar to LoRA and shows a lot of promise for Stable Diffusion, especially with regard to controllability and compositionality. <a href="https://github.com/huggingface/peft/blob/main/examples/oft_dreambooth/train_dreambooth.py">Give it a try</a>! By <a href="https://github.com/okotaku"><code>@​okotaku</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1160">huggingface/peft#1160</a></li>
<li>Support for parallel linear LoRA layers using Megatron. This should lead to a speed up when using LoRA with Megatron. By <a href="https://github.com/zhangsheng377"><code>@​zhangsheng377</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1092">huggingface/peft#1092</a></li>
<li>LoftQ provides a new method to <a href="https://huggingface.co/docs/peft/main/en/conceptual_guides/lora#initialization-options">initialize LoRA layers</a> of quantized models. The big advantage is that the LoRA layer weights are chosen in a way to minimize the quantization error, as described here: <a href="https://arxiv.org/abs/2310.08659">https://arxiv.org/abs/2310.08659</a>. By <a href="https://github.com/yxli2123"><code>@​yxli2123</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1150">huggingface/peft#1150</a>.</li>
</ul>
<h2>Other notable additions</h2>
<ul>
<li>It is now possible to choose which adapters are merged when calling <code>merge</code> (<a href="https://redirect.github.com/huggingface/peft/issues/1132">#1132</a>)</li>
<li>IA³ now supports adapter deletion, by <a href="https://github.com/alexrs"><code>@​alexrs</code></a> (<a href="https://redirect.github.com/huggingface/peft/issues/1153">#1153</a>)</li>
<li>A new initialization method for LoRA has been added, <code>&quot;gaussian&quot;</code> (<a href="https://redirect.github.com/huggingface/peft/issues/1189">#1189</a>)</li>
<li>When training PEFT models with new tokens being added to the embedding layers, the embedding layer is now saved by default (<a href="https://redirect.github.com/huggingface/peft/issues/1147">#1147</a>)</li>
<li>It is now possible to mix certain adapters like LoRA and LoKr in the same model, see <a href="https://huggingface.co/docs/peft/main/en/developer_guides/mixed_models">the docs</a> (<a href="https://redirect.github.com/huggingface/peft/issues/1163">#1163</a>)</li>
<li>We started an initiative to improve the documenation, some of which should already be reflected in the current docs. Still, help by the community is always welcome. Check out <a href="https://redirect.github.com/huggingface/peft/issues/1089">this issue</a> to get going.</li>
</ul>
<h2>Migration to v0.7.0</h2>
<ul>
<li><a href="https://huggingface.co/docs/safetensors/index">Safetensors</a> are now the <a href="https://redirect.github.com/huggingface/peft/pull/1088">default format</a> for PEFT adapters. In practice, users should not have to change anything in their code, PEFT takes care of everything -- just be aware that instead of creating a file <code>adapter_model.bin</code>, calling <code>save_pretrained</code> now creates <code>adapter_model.safetensors</code>. Safetensors have numerous advantages over pickle files (which is the PyTorch default format) and well supported on Hugging Face Hub.</li>
<li>When merging multiple LoRA adapter weights together using <code>add_weighted_adapter</code> with the option <code>combination_type=&quot;linear&quot;</code>, the scaling of the adapter weights is now <a href="https://redirect.github.com/huggingface/peft/pull/1169">performed differently</a>, leading to improved results.</li>
<li>There was a big refactor of the inner workings of some PEFT adapters. For the vast majority of users, this should not make any difference (except making some code run faster). However, if your code is relying on PEFT internals, be aware that the inheritance structure of certain adapter layers has changed (e.g. <code>peft.lora.Linear</code> is no longer a subclass of <code>nn.Linear</code>, so <code>isinstance</code> checks may need updating). Also, to retrieve the original weight of an adapted layer, now use <code>self.get_base_layer().weight</code>, not <code>self.weight</code> (same for <code>bias</code>).</li>
</ul>
<h2>What's Changed</h2>
<p>As always, a bunch of small improvements, bug fixes and doc improvements were added. We thank all the external contributors, both new and recurring. Below is the list of all changes since the last release.</p>
<ul>
<li>After release: Bump version to 0.7.0.dev0 by <a href="https://github.com/BenjaminBossan"><code>@​BenjaminBossan</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1074">huggingface/peft#1074</a></li>
<li>FIX: Skip adaption prompt tests with new transformers versions by <a href="https://github.com/BenjaminBossan"><code>@​BenjaminBossan</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1077">huggingface/peft#1077</a></li>
<li>FIX: fix adaptation prompt CI and compatibility with latest transformers (4.35.0) by <a href="https://github.com/younesbelkada"><code>@​younesbelkada</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1084">huggingface/peft#1084</a></li>
<li>Improve documentation for IA³ by <a href="https://github.com/SumanthRH"><code>@​SumanthRH</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/984">huggingface/peft#984</a></li>
<li>[<code>Docker</code>] Update Dockerfile to force-use transformers main by <a href="https://github.com/younesbelkada"><code>@​younesbelkada</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1085">huggingface/peft#1085</a></li>
<li>Update the release checklist by <a href="https://github.com/BenjaminBossan"><code>@​BenjaminBossan</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1075">huggingface/peft#1075</a></li>
<li>fix-gptq-training by <a href="https://github.com/SunMarc"><code>@​SunMarc</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1086">huggingface/peft#1086</a></li>
<li>fix the failing CI tests by <a href="https://github.com/pacman100"><code>@​pacman100</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1094">huggingface/peft#1094</a></li>
<li>Fix f-string in import_utils by <a href="https://github.com/KCFindstr"><code>@​KCFindstr</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1091">huggingface/peft#1091</a></li>
<li>Fix IA3 config for Falcon models by <a href="https://github.com/SumanthRH"><code>@​SumanthRH</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1007">huggingface/peft#1007</a></li>
<li>FIX: Failing nightly CI tests due to IA3 config by <a href="https://github.com/BenjaminBossan"><code>@​BenjaminBossan</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1100">huggingface/peft#1100</a></li>
<li>[<code>core</code>] Fix safetensors serialization for shared tensors by <a href="https://github.com/younesbelkada"><code>@​younesbelkada</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1101">huggingface/peft#1101</a></li>
<li>Change to 0.6.1.dev0 by <a href="https://github.com/younesbelkada"><code>@​younesbelkada</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1102">huggingface/peft#1102</a></li>
<li>Release: 0.6.1 by <a href="https://github.com/younesbelkada"><code>@​younesbelkada</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1103">huggingface/peft#1103</a></li>
<li>set dev version by <a href="https://github.com/younesbelkada"><code>@​younesbelkada</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1104">huggingface/peft#1104</a></li>
<li>avoid unnecessary import by <a href="https://github.com/winglian"><code>@​winglian</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1109">huggingface/peft#1109</a></li>
<li>Refactor adapter deletion by <a href="https://github.com/BenjaminBossan"><code>@​BenjaminBossan</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1105">huggingface/peft#1105</a></li>
<li>Added num_dataloader_workers arg to fix Windows issue by <a href="https://github.com/lukaskuhn-lku"><code>@​lukaskuhn-lku</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1107">huggingface/peft#1107</a></li>
<li>Fix import issue transformers with <code>id_tensor_storage</code> by <a href="https://github.com/younesbelkada"><code>@​younesbelkada</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1116">huggingface/peft#1116</a></li>
<li>Correctly deal with  <code>ModulesToSaveWrapper</code> when using Low-level API by <a href="https://github.com/younesbelkada"><code>@​younesbelkada</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1112">huggingface/peft#1112</a></li>
<li>fix doc typo by <a href="https://github.com/coding-famer"><code>@​coding-famer</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1121">huggingface/peft#1121</a></li>
<li>Release: v0.6.2 by <a href="https://github.com/pacman100"><code>@​pacman100</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1125">huggingface/peft#1125</a></li>
<li>Release: v0.6.3.dev0 by <a href="https://github.com/pacman100"><code>@​pacman100</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1128">huggingface/peft#1128</a></li>
<li>FIX: Adding 2 adapters when target_modules is a str fails by <a href="https://github.com/BenjaminBossan"><code>@​BenjaminBossan</code></a> in <a href="https://redirect.github.com/huggingface/peft/pull/1111">huggingface/peft#1111</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/huggingface/peft/commit/2665f80a1738b315dce42da8f1a9c7fe793aa9ca"><code>2665f80</code></a> Release: 0.7.0 (<a href="https://redirect.github.com/huggingface/peft/issues/1214">#1214</a>)</li>
<li><a href="https://github.com/huggingface/peft/commit/9fd788bedbb8aeed2797a7521118801c7552a4a6"><code>9fd788b</code></a> TST: Add regression tests 2 (<a href="https://redirect.github.com/huggingface/peft/issues/1115">#1115</a>)</li>
<li><a href="https://github.com/huggingface/peft/commit/2336780f9e8e25f4d40670afbf1b6707b736367a"><code>2336780</code></a> Raise error when <code>modules_to_save</code> is specified and multiple adapters are bei...</li>
<li><a href="https://github.com/huggingface/peft/commit/c22a8e5d47774b3c9ed7352994ccd34e757fff58"><code>c22a8e5</code></a> DOC: How to configure new transformers models (<a href="https://redirect.github.com/huggingface/peft/issues/1195">#1195</a>)</li>
<li><a href="https://github.com/huggingface/peft/commit/1a7433b1362241699090daacfb09d8d80dc031e5"><code>1a7433b</code></a> TST Improve test for SD LoHa and OFT (<a href="https://redirect.github.com/huggingface/peft/issues/1210">#1210</a>)</li>
<li><a href="https://github.com/huggingface/peft/commit/70d559d029a17af8979841aa05ded602cd46cab1"><code>70d559d</code></a> DOC Initialization options for LoRA (<a href="https://redirect.github.com/huggingface/peft/issues/1218">#1218</a>)</li>
<li><a href="https://github.com/huggingface/peft/commit/bffbbbf76ab3af4563fa4c6079840d19dc423a9b"><code>bffbbbf</code></a> MNT Delete the delete doc workflows (<a href="https://redirect.github.com/huggingface/peft/issues/1213">#1213</a>)</li>
<li><a href="https://github.com/huggingface/peft/commit/9c70468a3c9efcd1aadc106642f59d38fccb8a5c"><code>9c70468</code></a> [docs] API docs (<a href="https://redirect.github.com/huggingface/peft/issues/1196">#1196</a>)</li>
<li><a href="https://github.com/huggingface/peft/commit/f7cf460f7c99b7c19fcf1b1874a733941562fa2c"><code>f7cf460</code></a> [docs] Update index and quicktour (<a href="https://redirect.github.com/huggingface/peft/issues/1191">#1191</a>)</li>
<li><a href="https://github.com/huggingface/peft/commit/1b1091c15835f5112d4c5460c80883f0136ea7af"><code>1b1091c</code></a> remove HF tokens (<a href="https://redirect.github.com/huggingface/peft/issues/1207">#1207</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/huggingface/peft/compare/v0.6.0...v0.7.0">compare view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>