Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
08f93e74
Unverified
Commit
08f93e74
authored
Nov 11, 2024
by
Nikolai Shcheglov
Committed by
GitHub
Nov 11, 2024
Browse files
Make shutil rename in python_only_dev (#10233)
Signed-off-by:
shcheglovnd
<
shcheglovnd@avride.ai
>
parent
9d5b4e4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
python_only_dev.py
python_only_dev.py
+2
-1
No files found.
python_only_dev.py
View file @
08f93e74
...
...
@@ -69,7 +69,8 @@ if not args.quit_dev:
current_vllm_path
=
os
.
path
.
join
(
cwd
,
"vllm"
)
print
(
f
"Renaming
{
pre_built_vllm_path
}
to
{
tmp_path
}
for backup"
)
os
.
rename
(
pre_built_vllm_path
,
tmp_path
)
shutil
.
copytree
(
pre_built_vllm_path
,
tmp_path
)
shutil
.
rmtree
(
pre_built_vllm_path
)
print
(
f
"Linking
{
current_vllm_path
}
to
{
pre_built_vllm_path
}
"
)
os
.
symlink
(
current_vllm_path
,
pre_built_vllm_path
)
...
...
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