Spaces:
Running
on
Zero
Running
on
Zero
IceClear
commited on
Commit
·
6cbcc74
1
Parent(s):
c5715dc
update ver
Browse files- app.py +2 -2
- requirements.txt +2 -2
app.py
CHANGED
@@ -11,6 +11,8 @@
|
|
11 |
# // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
# // See the License for the specific language governing permissions and
|
13 |
# // limitations under the License.
|
|
|
|
|
14 |
import os
|
15 |
import torch
|
16 |
import mediapy
|
@@ -34,8 +36,6 @@ from torchvision.transforms import Compose, Lambda, Normalize
|
|
34 |
from torchvision.io.video import read_video
|
35 |
import argparse
|
36 |
|
37 |
-
import spaces
|
38 |
-
|
39 |
from common.distributed import (
|
40 |
get_device,
|
41 |
init_torch,
|
|
|
11 |
# // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
# // See the License for the specific language governing permissions and
|
13 |
# // limitations under the License.
|
14 |
+
import spaces
|
15 |
+
|
16 |
import os
|
17 |
import torch
|
18 |
import mediapy
|
|
|
36 |
from torchvision.io.video import read_video
|
37 |
import argparse
|
38 |
|
|
|
|
|
39 |
from common.distributed import (
|
40 |
get_device,
|
41 |
init_torch,
|
requirements.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
einops==0.7.0 # Tensor operations
|
3 |
|
4 |
# Training
|
5 |
-
torch==2.
|
6 |
omegaconf==2.3.0 # Configuration system.
|
7 |
lpips==0.1.4 # LPIPS model for VAE training
|
8 |
|
@@ -16,7 +16,7 @@ sentencepiece==0.2.0 # For Text Encoder
|
|
16 |
diffusers==0.29.1 # Diffusers
|
17 |
rotary-embedding-torch==0.5.3 # Rotary positional embedding
|
18 |
transformers==4.38.2 # Transformers
|
19 |
-
torchvision==0.
|
20 |
tiktoken==0.7.0 # Tiktoken for generation
|
21 |
transformers_stream_generator==0.0.5 #LLM generation support
|
22 |
|
|
|
2 |
einops==0.7.0 # Tensor operations
|
3 |
|
4 |
# Training
|
5 |
+
torch==2.4.0 # Torch
|
6 |
omegaconf==2.3.0 # Configuration system.
|
7 |
lpips==0.1.4 # LPIPS model for VAE training
|
8 |
|
|
|
16 |
diffusers==0.29.1 # Diffusers
|
17 |
rotary-embedding-torch==0.5.3 # Rotary positional embedding
|
18 |
transformers==4.38.2 # Transformers
|
19 |
+
torchvision==0.19.0 # Torchvision
|
20 |
tiktoken==0.7.0 # Tiktoken for generation
|
21 |
transformers_stream_generator==0.0.5 #LLM generation support
|
22 |
|