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
chenpangpang
gpu-base-image-build
Commits
520f3c9f
Commit
520f3c9f
authored
Sep 18, 2024
by
chenpangpang
Browse files
feat: 测试脚本挂载路径更新
parent
66b363fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
script/2_text_generate_test.sh
script/2_text_generate_test.sh
+1
-1
script/3_image_generate_test.sh
script/3_image_generate_test.sh
+1
-1
No files found.
script/2_text_generate_test.sh
View file @
520f3c9f
#!/bin/bash
#!/bin/bash
TARGET_DIR
=
gpu-base-image-test
docker run
--rm
--platform
=
linux/amd64
--gpus
all
-v
./
$TARGET_DIR
:/workspace
--workdir
/workspace/gpt2
$1
python infer.py
docker run
--rm
--platform
=
linux/amd64
--gpus
all
-v
./
$TARGET_DIR
:/workspace
--workdir
/workspace/gpt2
$1
python infer.py
\ No newline at end of file
script/3_image_generate_test.sh
View file @
520f3c9f
#!/bin/bash
#!/bin/bash
TARGET_DIR
=
gpu-base-image-test
docker run
--rm
--platform
=
linux/amd64
--gpus
all
-v
./
$TARGET_DIR
:/workspace
--workdir
/workspace/stable-diffusion-v1-4
$1
python infer.py
docker run
--rm
--platform
=
linux/amd64
--gpus
all
-v
./
$TARGET_DIR
:/workspace
--workdir
/workspace/stable-diffusion-v1-4
$1
python infer.py
\ No newline at end of file
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