update this to support the latest version of trellis (multiple image support)
- User
update this to support the latest version of trellis (multiple image support)
- Assistant
To update the provided scripts to support the latest version of TRELLIS with multiple image support, you will need to modify the installation, start, and potentially the pipeline scripts to handle the new functionality. Here’s how you can do it step by step, leveraging the provided files and repository context:
1. Update Installation (
install.js)The installation script installs dependencies and pipelines. If multiple image support requires additional dependencies or pipeline modifications, you’ll need to update the relevant sections.
Updated
install.jsExample:jsmodule.exports = { run: [ { method: "shell.run", params: { message: [ "git clone --recurse-submodules https://github.com/microsoft/TRELLIS.git app", ] } }, { method: "shell.run", params: { venv: "env", path: "app", message: [ "uv pip install -U setuptools wheel ninja", "uv pip install -U xformers torch==2.5.1 torchvision --index-url https://download.pytorch.org/whl/cu124", "uv pip install -r ../requirements.txt", "uv pip install huggingface_hub hf_transfer", "uv pip install https://github.com/woct0rdho/triton-windows/releases/download/v3.1.0-windows.post5/triton-3.1.0-cp310-cp310-win_amd64.whl" ] } }, { method: "shell.run", params: { venv: "env", path: "app", message: [ "uv pip install https://github.com/iiiytn1k/sd-webui-some-stuff/releases/download/diffoctreerast/diffoctreerast-0.0.0-cp310-cp310-win_amd64.whl", "uv pip install https://github.com/sdbds/diff-gaussian-rasterization/releases/download/diff-gaussian-rasterization/diff_gaussian_rasterization-0.0.0-cp310-cp310-win_amd64.whl" ] } }, { method: "fs.link", params: { venv: "app/env" } }, { method: "shell.run", params: { message: [ "echo Optimising pipeline script for multiple image support... && curl -o app/trellis/pipelines/trellis_image_to_3d.py https://raw.githubusercontent.com/0lento/TRELLIS/refs/heads/low-vram/trellis/pipelines/trellis_image_to_3d_multi_image.py" ] } } ] };
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.