Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
neurips-2021-the-nethack-challenge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nethack
neurips-2021-the-nethack-challenge
Commits
f72602ab
Commit
f72602ab
authored
3 years ago
by
jyotish
Browse files
Options
Downloads
Patches
Plain Diff
Add sleep for debugging
parent
80a228d2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-48
2 additions, 48 deletions
Dockerfile
run.sh
+1
-0
1 addition, 0 deletions
run.sh
with
3 additions
and
48 deletions
Dockerfile
+
2
−
48
View file @
f72602ab
FROM
nvidia/cuda:10.2-cudnn7-runtime-ubuntu18.04
FROM
aicrowd/submission:141447
ENV
DEBIAN_FRONTEND=noninteractive
COPY
apt.txt /tmp/apt.txt
RUN
apt
-qq
update
&&
apt
-qq
install
-y
--no-install-recommends
`
cat
/tmp/apt.txt
`
\
&&
rm
-rf
/var/cache/
*
# Unicode support:
RUN
locale-gen en_US.UTF-8
ENV
LANG en_US.UTF-8
ENV
LANGUAGE en_US:en
ENV
LC_ALL en_US.UTF-8
# Create user home directory
ENV
USER_NAME aicrowd
ENV
HOME_DIR /home/$USER_NAME
# Replace HOST_UID/HOST_GUID with your user / group id
ENV
HOST_UID 1001
ENV
HOST_GID 1001
# Use bash as default shell, rather than sh
ENV
SHELL /bin/bash
# Set up user
RUN
adduser
--disabled-password
\
--gecos
"Default user"
\
--uid
${
HOST_UID
}
\
${
USER_NAME
}
USER
${USER_NAME}
WORKDIR
${HOME_DIR}
ENV
CONDA_DIR ${HOME_DIR}/.conda
RUN
wget
-nv
-O
miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-x86_64.sh
\
&&
bash miniconda.sh
-b
-p
${
CONDA_DIR
}
\
&&
.
${
CONDA_DIR
}
/etc/profile.d/conda.sh
\
&&
conda clean
-y
-a
\
&&
rm
-rf
miniconda.sh
ENV
PATH ${CONDA_DIR}/bin:${PATH}
RUN
conda
install
cmake
-y
&&
conda clean
-y
-a
COPY
--chown=1001:1001 requirements.txt ${HOME_DIR}/requirements.txt
RUN
pip
install
-r
requirements.txt
--no-cache-dir
COPY
--chown=1001:1001 . ${HOME_DIR}
\ No newline at end of file
COPY
--chown=1001:1001 . .
\ No newline at end of file
This diff is collapsed.
Click to expand it.
run.sh
+
1
−
0
View file @
f72602ab
#!/bin/bash
sleep
10000000
python rollout.py
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment