This commit is contained in:
zcr
2026-04-13 11:20:56 +08:00
parent 0025b997a2
commit 95166ef698
43 changed files with 21 additions and 0 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
.gitmodules vendored Normal file → Executable file
View File

0
.idea/.gitignore generated vendored Normal file → Executable file
View File

0
0_glb_to_obj.py Normal file → Executable file
View File

0
0_remesh.py Normal file → Executable file
View File

0
1_obj_to_step.py Normal file → Executable file
View File

0
2_step_to_svg.py Normal file → Executable file
View File

21
A6000部署说明 Executable file
View File

@@ -0,0 +1,21 @@
由于服务器架构不同,需要重新构建pytorch3D 和 nvdiffrast
conda activate trellis
pip uninstall -y pytorch3d nvdiffrast
export TORCH_CUDA_ARCH_LIST="8.6;8.9;9.0;12.0"
pip install setuptools wheel ninja --upgrade
pip install git+https://github.com/facebookresearch/pytorch3d.git --no-build-isolation --no-cache-dir
pip install git+https://github.com/NVlabs/nvdiffrast.git --no-build-isolation --no-cache-dir
python -c "
import torch
import pytorch3d
import nvdiffrast.torch as dr
print('PyTorch:', torch.__version__)
print('GPU:', torch.cuda.get_device_name(0))
print('Capability:', torch.cuda.get_device_capability(0))
print('pytorch3d version:', pytorch3d.__version__)
ctx = dr.RasterizeCudaContext()
print('✅ nvdiffrast CUDA context OK')
print('✅ pytorch3d should now work on A6000')
"

0
CODE_OF_CONDUCT.md Normal file → Executable file
View File

0
DATASET.md Normal file → Executable file
View File

0
app.py Normal file → Executable file
View File

0
app_text.py Normal file → Executable file
View File

0
blender_glb_to_obj.py Normal file → Executable file
View File

0
client.py Normal file → Executable file
View File

0
dataset_toolkits/build_metadata.py Normal file → Executable file
View File

0
dataset_toolkits/calculate_aesthetic_scores.py Normal file → Executable file
View File

0
dataset_toolkits/datasets/3D-FUTURE.py Normal file → Executable file
View File

0
dataset_toolkits/datasets/ABO.py Normal file → Executable file
View File

0
trellis/datasets/__init__.py Normal file → Executable file
View File

0
trellis/datasets/components.py Normal file → Executable file
View File

0
trellis/models/__init__.py Normal file → Executable file
View File

0
trellis/models/structured_latent_vae/__init__.py Normal file → Executable file
View File

0
trellis/models/structured_latent_vae/base.py Normal file → Executable file
View File

0
trellis/models/structured_latent_vae/decoder_gs.py Normal file → Executable file
View File

0
trellis/models/structured_latent_vae/decoder_mesh.py Normal file → Executable file
View File

0
trellis/models/structured_latent_vae/decoder_rf.py Normal file → Executable file
View File

0
trellis/modules/sparse/transformer/__init__.py Normal file → Executable file
View File

0
trellis/modules/sparse/transformer/blocks.py Normal file → Executable file
View File

0
trellis/modules/transformer/__init__.py Normal file → Executable file
View File

0
trellis/modules/transformer/blocks.py Normal file → Executable file
View File

0
trellis/pipelines/__init__.py Normal file → Executable file
View File

0
trellis/pipelines/base.py Normal file → Executable file
View File

0
trellis/pipelines/samplers/base.py Normal file → Executable file
View File

View File

0
trellis/representations/mesh/__init__.py Normal file → Executable file
View File

0
trellis/representations/mesh/cube2mesh.py Normal file → Executable file
View File

0
trellis/representations/mesh/flexicubes/DCO.txt Normal file → Executable file
View File

0
trellis/trainers/__init__.py Normal file → Executable file
View File

0
trellis/trainers/base.py Normal file → Executable file
View File

0
trellis/trainers/basic.py Normal file → Executable file
View File

View File

0
trellis/utils/data_utils.py Normal file → Executable file
View File

0
trellis/utils/dist_utils.py Normal file → Executable file
View File