Spaces:
Paused
Paused
Georg Claude Sonnet 4.5 commited on
Commit ·
4e59dce
1
Parent(s): dbd19a9
Use regular install instead of editable for mycuda
Browse files- Change 'pip install -e .' to 'pip install .' for mycuda
- Upgrade setuptools and wheel before building
- Editable mode not needed for Docker Space deployment
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -39,6 +39,7 @@ WORKDIR /app
|
|
| 39 |
|
| 40 |
# Install Python dependencies first (PyTorch needed for building C++ extensions)
|
| 41 |
COPY requirements.txt .
|
|
|
|
| 42 |
RUN pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cu118
|
| 43 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 44 |
|
|
@@ -47,7 +48,7 @@ RUN git clone https://github.com/NVlabs/FoundationPose.git /app/FoundationPose
|
|
| 47 |
|
| 48 |
# Build FoundationPose C++ extensions (skip kaolin - optional dependency)
|
| 49 |
WORKDIR /app/FoundationPose
|
| 50 |
-
RUN cd bundlesdf/mycuda && pip install
|
| 51 |
RUN cd mycpp && python setup.py build_ext --inplace
|
| 52 |
|
| 53 |
# Copy application files
|
|
|
|
| 39 |
|
| 40 |
# Install Python dependencies first (PyTorch needed for building C++ extensions)
|
| 41 |
COPY requirements.txt .
|
| 42 |
+
RUN pip install --no-cache-dir --upgrade setuptools wheel
|
| 43 |
RUN pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cu118
|
| 44 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 45 |
|
|
|
|
| 48 |
|
| 49 |
# Build FoundationPose C++ extensions (skip kaolin - optional dependency)
|
| 50 |
WORKDIR /app/FoundationPose
|
| 51 |
+
RUN cd bundlesdf/mycuda && pip install . --no-build-isolation
|
| 52 |
RUN cd mycpp && python setup.py build_ext --inplace
|
| 53 |
|
| 54 |
# Copy application files
|