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
9fea35de
Commit
9fea35de
authored
Sep 18, 2024
by
chenpangpang
Browse files
feat: 输出os信息
parent
3b1f8b16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
script/1_base_test.sh
script/1_base_test.sh
+1
-1
No files found.
script/1_base_test.sh
View file @
9fea35de
#!/bin/bash
#!/bin/bash
docker run
--rm
--platform
=
linux/amd64
--gpus
all
$1
python
-c
\
docker run
--rm
--platform
=
linux/amd64
--gpus
all
$1
cat
/etc/issue
&&
python
-c
\
'import sys; \
'import sys; \
print("python version: ", sys.version); \
print("python version: ", sys.version); \
import torch; \
import torch; \
...
...
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