Unverified Commit 941ac9c3 authored by Linoy Tsaban's avatar Linoy Tsaban Committed by GitHub
Browse files

[training-scripts] Make more examples UV-compatible (follow up on #12000) (#12407)



* make qwen and kontext uv compatible

* add torchvision

* add torchvision

* add datasets, bitsandbytes, prodigyopt

---------
Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
parent 7242b5ff
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
# "Jinja2", # "Jinja2",
# "peft>=0.11.1", # "peft>=0.11.1",
# "sentencepiece", # "sentencepiece",
# "torchvision",
# "datasets",
# "bitsandbytes",
# "prodigyopt",
# ] # ]
# /// # ///
......
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
# "Jinja2", # "Jinja2",
# "peft>=0.11.1", # "peft>=0.11.1",
# "sentencepiece", # "sentencepiece",
# "torchvision",
# "datasets",
# "bitsandbytes",
# "prodigyopt",
# ] # ]
# /// # ///
......
...@@ -14,6 +14,24 @@ ...@@ -14,6 +14,24 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# /// script
# dependencies = [
# "diffusers @ git+https://github.com/huggingface/diffusers.git",
# "torch>=2.0.0",
# "accelerate>=0.31.0",
# "transformers>=4.41.2",
# "ftfy",
# "tensorboard",
# "Jinja2",
# "peft>=0.11.1",
# "sentencepiece",
# "torchvision",
# "datasets",
# "bitsandbytes",
# "prodigyopt",
# ]
# ///
import argparse import argparse
import copy import copy
import itertools import itertools
......
...@@ -13,6 +13,24 @@ ...@@ -13,6 +13,24 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# /// script
# dependencies = [
# "diffusers @ git+https://github.com/huggingface/diffusers.git",
# "torch>=2.0.0",
# "accelerate>=0.31.0",
# "transformers>=4.41.2",
# "ftfy",
# "tensorboard",
# "Jinja2",
# "peft>=0.11.1",
# "sentencepiece",
# "torchvision",
# "datasets",
# "bitsandbytes",
# "prodigyopt",
# ]
# ///
import argparse import argparse
import copy import copy
import itertools import itertools
......
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
# "Jinja2", # "Jinja2",
# "peft>=0.14.0", # "peft>=0.14.0",
# "sentencepiece", # "sentencepiece",
# "torchvision",
# "datasets",
# "bitsandbytes",
# "prodigyopt",
# ] # ]
# /// # ///
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment