Skip to content

CS121 (Parallel Computing) Final Project: Parallel Diffrast Forward Kernel

Notifications You must be signed in to change notification settings

SimonXie2004/Mini-Pytorch3D

Repository files navigation

Mini-Pytorch3D

CS121 (Parallel Computing) Final Project: Parallel Differentiable Rasterization Kernel

TODO

  • Edge weight (gamma) and depth weight (sigma) in forward render
  • Add gradient backward pass

Environment Setup

# Create project directory
git clone https://github.com/SimonXie2004/Mini-Pytorch3D

# If uv is not installed, download and install it
if ! command -v uv >/dev/null 2>&1; then
    wget -qO- https://astral.sh/uv/install.sh | sh
fi

# Create virtual environment
uv venv --python 3.13 env_mini_pytorch3d
source env_mini_pytorch3d/bin/activate

# Deactivate conda environment if any
if command -v conda >/dev/null 2>&1; then
    conda deactivate 2>/dev/null || true
fi

# Install dependencies
uv pip install -r requirements.txt

## Download resources (data & external libraries)
bash scripts/download_resources.sh

Build and Run

bash scripts/build_and_run.sh

About

CS121 (Parallel Computing) Final Project: Parallel Diffrast Forward Kernel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published