Last active
July 4, 2025 14:56
-
-
Save fancellu/c81f2e65e04297c5c7939a3202f95df5 to your computer and use it in GitHub Desktop.
Revisions
-
fancellu revised this gist
Jul 4, 2025 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,10 @@ https://huggingface.co/spaces/Fancellu/bark-pytorch2.6-compatible This solves the PyTorch 2.6 breaking change where weights_only=True became the default, causing issues with older model files that contain non-tensor objects, with monkey patch patched_load() Updated to Python 3.11, latest Gradio, and requirements.txt If you have a GPU, you can run from Docker Desktop directly ```docker run -it -p 7860:7860 --gpus=all --platform=linux/amd64 registry.hf.space/fancellu-bark-pytorch2-6-compatible:latest python app.py``` Make sure you have containerd turned on -
fancellu created this gist
Jul 4, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ https://huggingface.co/spaces/Fancellu/bark-pytorch2.6-compatible This solves the PyTorch 2.6 breaking change where weights_only=True became the default, causing issues with older model files that contain non-tensor objects, with monkey patch patched_load() Updated to Python 3.11, latest Gradio, and requirements.txt