mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 22:30:35 +08:00
CI fixes
Summary: Update `main` build to latest CircleCI image - Ubuntu 2020.04. Avoid torch.logical_or and logical_and for PyTorch 1.4 compatibility. Also speed up the test run with Pytorch 1.4.0 (which has no ninja) by not setting NVCC_FLAGS for it. Reviewed By: theschnitz Differential Revision: D27262327 fbshipit-source-id: ddc359d134b1dc755f8b20bd3f33bb080cb3a0e1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6c4151a820
commit
cc08c6b288
@@ -131,6 +131,8 @@ def generate_upload_workflow(*, base_workflow_name, btype, cu_version, filter_br
|
||||
|
||||
|
||||
def indent(indentation, data_list):
|
||||
if len(data_list) == 0:
|
||||
return ""
|
||||
return ("\n" + " " * indentation).join(
|
||||
yaml.dump(data_list, default_flow_style=False).splitlines()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user