jkorstad commited on
Commit
0a5affe
·
verified ·
1 Parent(s): dea556b

Update setup_blender.sh

Browse files
Files changed (1) hide show
  1. setup_blender.sh +12 -6
setup_blender.sh CHANGED
@@ -83,30 +83,36 @@ if [ ! -f "${UNIRIG_REQS_FILE_IN_SPACE}" ]; then
83
  fi
84
 
85
  echo "Upgrading pip for Blender Python..."
86
- "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir --upgrade pip setuptools wheel
 
87
 
88
  echo "1. Installing PyTorch ${TORCH_VERSION} and Torchvision ${TORCHVISION_VERSION}..."
 
89
  "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir \
90
  torch==${TORCH_VERSION} \
91
  torchvision==${TORCHVISION_VERSION} \
92
- --index-url ${TORCH_INDEX_URL}
93
 
94
  echo "2. Installing dependencies from ${UNIRIG_REQS_FILE_IN_SPACE} (includes bpy, flash_attn)..."
95
  # flash-attn compilation might also benefit from CPATH
96
- "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir -r "${UNIRIG_REQS_FILE_IN_SPACE}"
 
97
 
98
  echo "3. Installing ${SPCONV_PACKAGE}..."
99
- "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir ${SPCONV_PACKAGE}
 
100
 
101
  echo "4. Installing torch-scatter and torch-cluster..."
102
  # The CPATH, C_INCLUDE_PATH, CPLUS_INCLUDE_PATH set above should help this step
 
103
  "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir \
104
  torch-scatter \
105
  torch-cluster \
106
- -f "${PYG_FIND_LINKS_URL}"
107
 
108
  echo "5. Installing numpy==${NUMPY_VERSION}..."
109
- "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir numpy==${NUMPY_VERSION}
 
110
 
111
  echo "Dependency installation for Blender's Python complete."
112
 
 
83
  fi
84
 
85
  echo "Upgrading pip for Blender Python..."
86
+ # ** ADDED -vvv for verbosity **
87
+ "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir --upgrade pip setuptools wheel -vvv
88
 
89
  echo "1. Installing PyTorch ${TORCH_VERSION} and Torchvision ${TORCHVISION_VERSION}..."
90
+ # ** ADDED -vvv for verbosity **
91
  "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir \
92
  torch==${TORCH_VERSION} \
93
  torchvision==${TORCHVISION_VERSION} \
94
+ --index-url ${TORCH_INDEX_URL} -vvv
95
 
96
  echo "2. Installing dependencies from ${UNIRIG_REQS_FILE_IN_SPACE} (includes bpy, flash_attn)..."
97
  # flash-attn compilation might also benefit from CPATH
98
+ # ** ADDED -vvv for verbosity **
99
+ "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir -r "${UNIRIG_REQS_FILE_IN_SPACE}" -vvv
100
 
101
  echo "3. Installing ${SPCONV_PACKAGE}..."
102
+ # ** ADDED -vvv for verbosity **
103
+ "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir ${SPCONV_PACKAGE} -vvv
104
 
105
  echo "4. Installing torch-scatter and torch-cluster..."
106
  # The CPATH, C_INCLUDE_PATH, CPLUS_INCLUDE_PATH set above should help this step
107
+ # ** ADDED -vvv for verbosity **
108
  "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir \
109
  torch-scatter \
110
  torch-cluster \
111
+ -f "${PYG_FIND_LINKS_URL}" -vvv
112
 
113
  echo "5. Installing numpy==${NUMPY_VERSION}..."
114
+ # ** ADDED -vvv for verbosity **
115
+ "${BLENDER_PY_EXEC}" -m pip install --no-cache-dir numpy==${NUMPY_VERSION} -vvv
116
 
117
  echo "Dependency installation for Blender's Python complete."
118