Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xuwx1
LightX2V
Commits
7c3da5c0
"mmdet3d/datasets/transforms/dbsampler.py" did not exist on "579b0799da2357ce075b02b7271c9fdf27a5abf6"
Commit
7c3da5c0
authored
Apr 25, 2025
by
helloyongyang
Browse files
update transformers version
parent
8013b8a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
Dockerfile
Dockerfile
+5
-1
README.md
README.md
+4
-1
No files found.
Dockerfile
View file @
7c3da5c0
...
...
@@ -25,7 +25,11 @@ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
&&
update-alternatives
--install
/usr/bin/python python /usr/bin/python3.11 1
RUN
pip config
set
global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
\
&&
pip
install
-r
/workspace/lightx2v/requirements.txt
--use-deprecated
=
legacy-resolver
&&
pip
install
-r
/workspace/lightx2v/requirements.txt
# Install again separately to bypass the version conflict check
RUN
pip config
set
global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
\
&&
pip
install
transformers
==
4.45.2
# install flash-attention 2
RUN
cd
lightx2v/3rd/flash-attention
&&
pip
install
--no-cache-dir
-v
-e
.
...
...
README.md
View file @
7c3da5c0
...
...
@@ -27,7 +27,10 @@ git submodule update --init --recursive
# create conda env and install requirments
conda create
-n
lightx2v
python
=
3.11
&&
conda activate lightx2v
pip
install
-r
requirements.txt
--use-deprecated
=
legacy-resolver
pip
install
-r
requirements.txt
# Install again separately to bypass the version conflict check
pip
install
transformers
==
4.45.2
# install flash-attention 2
cd
lightx2v/3rd/flash-attention
&&
pip
install
--no-cache-dir
-v
-e
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment