Spaces:
Running
on
T4
Running
on
T4
praeclarumjj3
commited on
Commit
•
f2f8acf
1
Parent(s):
f5c4dff
Root user
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -41,7 +41,8 @@ ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
|
|
41 |
RUN pip install ninja
|
42 |
|
43 |
USER user
|
44 |
-
RUN
|
|
|
45 |
RUN ln -s $WORKDIR/oneformer/modeling/pixel_decoder/ops/ $WORKDIR/ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build --build-base=$WORKDIR/ install --user && cd ..
|
46 |
RUN sh deform_setup.sh
|
47 |
|
|
|
41 |
RUN pip install ninja
|
42 |
|
43 |
USER user
|
44 |
+
RUN chown -R user:user /usr/local
|
45 |
+
RUN chmod -R 777 /usr/local
|
46 |
RUN ln -s $WORKDIR/oneformer/modeling/pixel_decoder/ops/ $WORKDIR/ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build --build-base=$WORKDIR/ install --user && cd ..
|
47 |
RUN sh deform_setup.sh
|
48 |
|