prepare release
This commit is contained in:
Regular → Executable
+11
-7
@@ -1,14 +1,18 @@
|
||||
CUDA_VISIBLE_DEVICES=1 python opensora/sample/sample_t2v.py \
|
||||
--model_path 512_10node_bs2_lr2e-5_4img/checkpoint-94000/model \
|
||||
|
||||
|
||||
CUDA_VISIBLE_DEVICES=$1 python opensora/sample/sample_t2v.py \
|
||||
--model_path hw_65/model \
|
||||
--version 65x512x512 \
|
||||
--image_size 512 \
|
||||
--num_frames 65 \
|
||||
--height $6 \
|
||||
--width $7 \
|
||||
--cache_dir "./cache_dir" \
|
||||
--text_encoder_name DeepFloyd/t5-v1_1-xxl \
|
||||
--text_prompt examples/prompt_list_0.txt \
|
||||
--text_prompt examples/$2 \
|
||||
--ae CausalVAEModel_4x8x8 \
|
||||
--ae_path "/dxyl_data02/CausalVAEModel_4x8x8/" \
|
||||
--save_img_path "./sample_videos_94k_7.5_150s" \
|
||||
--save_img_path $3 \
|
||||
--fps 24 \
|
||||
--guidance_scale 7.5 \
|
||||
--num_sampling_steps 150 \
|
||||
--guidance_scale $4 \
|
||||
--num_sampling_steps $5 \
|
||||
--enable_tiling
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
CUDA_VISIBLE_DEVICES=2 python opensora/sample/sample_t2v.py \
|
||||
--model_path 257f_512_10node_bs1_lr2e-5_8img/checkpoint-5000/model \
|
||||
--version 65x512x512 \
|
||||
--image_size 512 \
|
||||
--cache_dir "./cache_dir" \
|
||||
--text_encoder_name DeepFloyd/t5-v1_1-xxl \
|
||||
--text_prompt examples/prompt_list_0.txt \
|
||||
--ae CausalVAEModel_4x8x8 \
|
||||
--ae_path "/dxyl_data02/CausalVAEModel_4x8x8/" \
|
||||
--save_img_path "./sample_videos_257f_5k_5.5_100s" \
|
||||
--fps 24 \
|
||||
--guidance_scale 5.5 \
|
||||
--num_sampling_steps 100 \
|
||||
--enable_tiling
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
|
||||
CUDA_VISIBLE_DEVICES=4 python opensora/sample/sample_t2v.py \
|
||||
--model_path 513f_512_9node_bs1_lr2e-5_4img/checkpoint-11500/model \
|
||||
--version 65x512x512 \
|
||||
--num_frames 513 \
|
||||
--height 512 \
|
||||
--width 512 \
|
||||
--cache_dir "./cache_dir" \
|
||||
--text_encoder_name DeepFloyd/t5-v1_1-xxl \
|
||||
--text_prompt examples/prompt_list_0.txt \
|
||||
--ae CausalVAEModel_4x8x8 \
|
||||
--ae_path "/dxyl_data02/CausalVAEModel_4x8x8/" \
|
||||
--save_img_path "./testttt" \
|
||||
--fps 24 \
|
||||
--guidance_scale 5.0 \
|
||||
--num_sampling_steps 150 \
|
||||
--enable_tiling
|
||||
@@ -0,0 +1,16 @@
|
||||
CUDA_VISIBLE_DEVICES=4 python opensora/sample/sample_t2v.py \
|
||||
--model_path hw_65/model \
|
||||
--version 65x512x512 \
|
||||
--num_frames 65 \
|
||||
--height 512 \
|
||||
--width 512 \
|
||||
--cache_dir "./cache_dir" \
|
||||
--text_encoder_name DeepFloyd/t5-v1_1-xxl \
|
||||
--text_prompt examples/prompt_list_0.txt \
|
||||
--ae CausalVAEModel_4x8x8 \
|
||||
--ae_path "/dxyl_data02/CausalVAEModel_4x8x8/" \
|
||||
--save_img_path "./testttt" \
|
||||
--fps 24 \
|
||||
--guidance_scale 10.0 \
|
||||
--num_sampling_steps 50 \
|
||||
--enable_tiling
|
||||
@@ -1,34 +0,0 @@
|
||||
export WANDB_KEY=""
|
||||
export ENTITY=""
|
||||
export PROJECT="t2v-f16s3-img4-128-imgvae188-bf16-gc-xformers"
|
||||
accelerate launch \
|
||||
--config_file scripts/accelerate_configs/deepspeed_zero2_config.yaml \
|
||||
opensora/train/train_t2v.py \
|
||||
--model LatteT2V-XL/122 \
|
||||
--text_encoder_name DeepFloyd/t5-v1_1-xxl \
|
||||
--dataset t2v \
|
||||
--ae stabilityai/sd-vae-ft-mse \
|
||||
--data_path /remote-home1/dataset/sharegpt4v_path_cap_.json \
|
||||
--video_folder /remote-home1/dataset/data_split \
|
||||
--sample_rate 1 \
|
||||
--num_frames 17 \
|
||||
--max_image_size 256 \
|
||||
--gradient_checkpointing \
|
||||
--attention_mode xformers \
|
||||
--train_batch_size=4 \
|
||||
--dataloader_num_workers 10 \
|
||||
--gradient_accumulation_steps=1 \
|
||||
--max_train_steps=1000000 \
|
||||
--learning_rate=2e-05 \
|
||||
--lr_scheduler="constant" \
|
||||
--lr_warmup_steps=0 \
|
||||
--mixed_precision="bf16" \
|
||||
--report_to="wandb" \
|
||||
--checkpointing_steps=500 \
|
||||
--output_dir="t2v-f17-256-img4-imagevae488-bf16-ckpt-xformers-bs4-lr2e-5-t5" \
|
||||
--allow_tf32 \
|
||||
--pretrained t2v.pt \
|
||||
--use_deepspeed \
|
||||
--model_max_length 300 \
|
||||
--use_image_num 4 \
|
||||
--use_img_from_vid
|
||||
+11
-11
@@ -1,12 +1,12 @@
|
||||
export WANDB_KEY=""
|
||||
export WANDB_KEY="953e958793b218efb850fa194e85843e2c3bd88b"
|
||||
# export WANDB_MODE="offline"
|
||||
export ENTITY="linbin"
|
||||
export PROJECT="512_10node_bs2_lr2e_4img_test1node"
|
||||
export PROJECT="129f_512_10node_bs1_lr2e-5_4img"
|
||||
export HF_DATASETS_OFFLINE=1
|
||||
export TRANSFORMERS_OFFLINE=1
|
||||
# export NCCL_IB_DISABLE=1
|
||||
# export NCCL_DEBUG=INFO
|
||||
# export NCCL_SOCKET_IFNAME=ibp25s0
|
||||
export NCCL_DEBUG=INFO
|
||||
export NCCL_SOCKET_IFNAME=ibp25s0
|
||||
export NCCL_P2P_DISABLE=1
|
||||
export PDSH_PATH_TYPE=ssh
|
||||
accelerate launch \
|
||||
@@ -18,29 +18,29 @@ accelerate launch \
|
||||
--dataset t2v \
|
||||
--ae CausalVAEModel_4x8x8 \
|
||||
--ae_path "/dxyl_data02/CausalVAEModel_4x8x8/" \
|
||||
--video_data "scripts/train_data/video_data.txt" \
|
||||
--video_data "scripts/train_data/video_data_513.txt" \
|
||||
--image_data "scripts/train_data/image_data.txt" \
|
||||
--sample_rate 1 \
|
||||
--num_frames 65 \
|
||||
--num_frames 129 \
|
||||
--max_image_size 512 \
|
||||
--gradient_checkpointing \
|
||||
--attention_mode xformers \
|
||||
--train_batch_size=2 \
|
||||
--dataloader_num_workers 10 \
|
||||
--dataloader_num_workers 8 \
|
||||
--gradient_accumulation_steps=1 \
|
||||
--max_train_steps=1000000 \
|
||||
--learning_rate=2e-05 \
|
||||
--lr_scheduler="constant" \
|
||||
--lr_warmup_steps=0 \
|
||||
--mixed_precision="bf16" \
|
||||
--report_to="tensorboard" \
|
||||
--report_to="wandb" \
|
||||
--checkpointing_steps=500 \
|
||||
--output_dir="512_10node_bs2_lr2e-5_4img_test1node" \
|
||||
--output_dir="129f_512_10node_bs1_lr2e-5_4img" \
|
||||
--allow_tf32 \
|
||||
--use_deepspeed \
|
||||
--model_max_length 300 \
|
||||
--use_image_num 4 \
|
||||
--enable_tiling \
|
||||
--pretrained t2v.pt \
|
||||
--pretrained 512_10node_bs2_lr2e-5_4img/checkpoint-94000/model/diffusion_pytorch_model.safetensors \
|
||||
--enable_tracker \
|
||||
--resume_from_checkpoint "latest"
|
||||
--resume_from_checkpoint "latest"
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
export WANDB_KEY="953e958793b218efb850fa194e85843e2c3bd88b"
|
||||
# export WANDB_MODE="offline"
|
||||
export ENTITY="linbin"
|
||||
export PROJECT="129f_512_10node_bs1_lr2e-5_2img"
|
||||
export PROJECT="257f_512_10node_bs1_lr2e-5_4img"
|
||||
export HF_DATASETS_OFFLINE=1
|
||||
export TRANSFORMERS_OFFLINE=1
|
||||
# export NCCL_IB_DISABLE=1
|
||||
# export NCCL_DEBUG=INFO
|
||||
export NCCL_DEBUG=INFO
|
||||
export NCCL_SOCKET_IFNAME=ibp25s0
|
||||
export NCCL_P2P_DISABLE=1
|
||||
export PDSH_PATH_TYPE=ssh
|
||||
@@ -21,7 +21,7 @@ accelerate launch \
|
||||
--video_data "scripts/train_data/video_data_513.txt" \
|
||||
--image_data "scripts/train_data/image_data.txt" \
|
||||
--sample_rate 1 \
|
||||
--num_frames 129 \
|
||||
--num_frames 257 \
|
||||
--max_image_size 512 \
|
||||
--gradient_checkpointing \
|
||||
--attention_mode xformers \
|
||||
@@ -34,13 +34,13 @@ accelerate launch \
|
||||
--lr_warmup_steps=0 \
|
||||
--mixed_precision="bf16" \
|
||||
--report_to="wandb" \
|
||||
--checkpointing_steps=100 \
|
||||
--output_dir="129f_512_10node_bs1_lr2e-5_2img" \
|
||||
--checkpointing_steps=500 \
|
||||
--output_dir="257f_512_10node_bs1_lr2e-5_4img" \
|
||||
--allow_tf32 \
|
||||
--use_deepspeed \
|
||||
--model_max_length 300 \
|
||||
--use_image_num 2 \
|
||||
--use_image_num 4 \
|
||||
--enable_tiling \
|
||||
--pretrained 512_10node_bs2_lr2e-5_4img/checkpoint-94000/model/diffusion_pytorch_model.safetensors \
|
||||
--enable_tracker \
|
||||
--resume_from_checkpoint "latest"
|
||||
--resume_from_checkpoint "latest"
|
||||
@@ -1,7 +1,7 @@
|
||||
export WANDB_KEY=""
|
||||
# export WANDB_MODE="offline"
|
||||
export WANDB_MODE="offline"
|
||||
export ENTITY="linbin"
|
||||
export PROJECT="513f_512_10node_bs1_lr2e-5_2img"
|
||||
export PROJECT="513f_512_9node_bs1_lr2e-5_4img"
|
||||
export HF_DATASETS_OFFLINE=1
|
||||
export TRANSFORMERS_OFFLINE=1
|
||||
# export NCCL_IB_DISABLE=1
|
||||
@@ -26,21 +26,21 @@ accelerate launch \
|
||||
--gradient_checkpointing \
|
||||
--attention_mode xformers \
|
||||
--train_batch_size=1 \
|
||||
--dataloader_num_workers 4 \
|
||||
--dataloader_num_workers 8 \
|
||||
--gradient_accumulation_steps=1 \
|
||||
--max_train_steps=1000000 \
|
||||
--learning_rate=2e-05 \
|
||||
--lr_scheduler="constant" \
|
||||
--lr_warmup_steps=0 \
|
||||
--mixed_precision="bf16" \
|
||||
--report_to="tensorboard" \
|
||||
--checkpointing_steps=500 \
|
||||
--output_dir="513f_512_10node_bs1_lr2e-5_2img" \
|
||||
--report_to="wandb" \
|
||||
--checkpointing_steps=250 \
|
||||
--output_dir="513f_512_9node_bs1_lr2e-5_4img" \
|
||||
--allow_tf32 \
|
||||
--use_deepspeed \
|
||||
--model_max_length 300 \
|
||||
--use_image_num 2 \
|
||||
--use_image_num 4 \
|
||||
--enable_tiling \
|
||||
--pretrained 512_10node_bs2_lr2e-5_4img/checkpoint-101500/model/diffusion_pytorch_model.safetensors \
|
||||
--pretrained /dxyl_code02/dev/Open-Sora-Plan/hw_65/model/diffusion_pytorch_model.safetensors \
|
||||
--enable_tracker \
|
||||
--resume_from_checkpoint "latest"
|
||||
|
||||
@@ -5,7 +5,7 @@ export PROJECT="512_10node_bs2_lr2e_4img_"
|
||||
export HF_DATASETS_OFFLINE=1
|
||||
export TRANSFORMERS_OFFLINE=1
|
||||
# export NCCL_IB_DISABLE=1
|
||||
# export NCCL_DEBUG=INFO
|
||||
export NCCL_DEBUG=INFO
|
||||
# export NCCL_SOCKET_IFNAME=ibp25s0
|
||||
export NCCL_P2P_DISABLE=1
|
||||
export PDSH_PATH_TYPE=ssh
|
||||
@@ -34,7 +34,7 @@ accelerate launch \
|
||||
--lr_warmup_steps=0 \
|
||||
--mixed_precision="bf16" \
|
||||
--report_to="wandb" \
|
||||
--checkpointing_steps=200 \
|
||||
--checkpointing_steps=500 \
|
||||
--output_dir="512_10node_bs2_lr2e-5_4img" \
|
||||
--allow_tf32 \
|
||||
--use_deepspeed \
|
||||
|
||||
Reference in New Issue
Block a user