FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
CodeSearchNet/script/console at master · github/CodeSearchNet · GitHub
This repository was archived by the owner on Apr 11, 2023. It is now read-only.
github
/
CodeSearchNet
Public archive
Notifications
You must be signed in to change notification settings
Fork
408
Star
2.4k
Code
Issues
14
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
CodeSearchNet
/
script
/
console
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
12 lines (9 loc) · 367 Bytes
Breadcrumbs
CodeSearchNet
/
script
/
console
Copy path
File metadata and controls
executable file
·
12 lines (9 loc) · 367 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
#!
/bin/sh
set
-e
cd
$(
dirname
"
$0
"
)
/..
#
detect if user is on new version of nvidia-docker and run the appropriate command
if
docker run --gpus all nvidia/cuda:9.0-base nvidia-smi
2>
/dev/null
;
then
docker run --gpus all -it --net=host -v
$(
pwd
)
:/home/dev csnet:gpu bash
else
docker run --runtime=nvidia -it --net=host -v
$(
pwd
)
:/home/dev csnet:gpu bash
fi
Back
|
FazBrowse Home
|
New Git URL