Unverified Commit 3bec3e9b authored by Jennifer Wei's avatar Jennifer Wei Committed by GitHub
Browse files

Merge pull request #438 from jnwei/pl_upgrades

Upgrades pl_upgrades to match main branch changes.
parents 49ab0539 c07075cf
...@@ -114,8 +114,7 @@ def tree_map(fn, tree, leaf_type): ...@@ -114,8 +114,7 @@ def tree_map(fn, tree, leaf_type):
elif isinstance(tree, leaf_type): elif isinstance(tree, leaf_type):
return fn(tree) return fn(tree)
else: else:
print(type(tree)) raise ValueError(f"Tree of type {type(tree)} not supported")
raise ValueError("Not supported")
tensor_tree_map = partial(tree_map, leaf_type=torch.Tensor) tensor_tree_map = partial(tree_map, leaf_type=torch.Tensor)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -52,7 +52,6 @@ def get_cuda_bare_metal_version(cuda_dir): ...@@ -52,7 +52,6 @@ def get_cuda_bare_metal_version(cuda_dir):
return raw_output, bare_metal_major, bare_metal_minor return raw_output, bare_metal_major, bare_metal_minor
compute_capabilities = set([ compute_capabilities = set([
(3, 7), # K80, e.g.
(5, 2), # Titan X (5, 2), # Titan X
(6, 1), # GeForce 1000-series (6, 1), # GeForce 1000-series
]) ])
...@@ -130,7 +129,7 @@ setup( ...@@ -130,7 +129,7 @@ setup(
classifiers=[ classifiers=[
'License :: OSI Approved :: Apache Software License', 'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux', 'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.9,' 'Programming Language :: Python :: 3.10,'
'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Topic :: Scientific/Engineering :: Artificial Intelligence',
], ],
) )
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment