Spaces:
Runtime error
Runtime error
Commit
·
d7cc57c
1
Parent(s):
46faf7d
Root user
Browse files- Dockerfile +4 -5
Dockerfile
CHANGED
@@ -41,15 +41,14 @@ ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
|
|
41 |
RUN pip install ninja
|
42 |
|
43 |
USER user
|
44 |
-
RUN ln -s $WORKDIR/oneformer/modeling/pixel_decoder/ops/ $WORKDIR/ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build install --user && cd ..
|
45 |
-
|
46 |
RUN sh deform_setup.sh
|
47 |
|
48 |
USER user
|
49 |
RUN sh deform_setup.sh
|
50 |
|
51 |
-
USER user
|
52 |
|
53 |
-
EXPOSE 7860
|
54 |
|
55 |
-
ENTRYPOINT ["python", "gradio_app.py"]
|
|
|
41 |
RUN pip install ninja
|
42 |
|
43 |
USER user
|
44 |
+
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 ..
|
|
|
45 |
RUN sh deform_setup.sh
|
46 |
|
47 |
USER user
|
48 |
RUN sh deform_setup.sh
|
49 |
|
50 |
+
# USER user
|
51 |
|
52 |
+
# EXPOSE 7860
|
53 |
|
54 |
+
# ENTRYPOINT ["python", "gradio_app.py"]
|