-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed issue with pytorch deleting objects that are being used
- Loading branch information
Showing
13 changed files
with
69 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "gbrl" | ||
version = "1.0.10" | ||
version = "1.0.11" | ||
description = "Gradient Boosted Trees for RL" | ||
readme = { file = "README.md", content-type = "text/markdown" } | ||
authors = [ | ||
|
@@ -45,7 +45,7 @@ requires-python = ">=3.9" | |
|
||
[tool.poetry] | ||
name = "gbrl" | ||
version = "1.0.9" | ||
version = "1.0.11" | ||
description = "Gradient Boosted Trees for RL" | ||
authors = ["Benjamin Fuhrer <[email protected]>", "Chen Tessler <[email protected]>", "Gal Dalal <[email protected]>"] | ||
readme = "README.md" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,8 @@ def build_extension(self, ext): | |
] | ||
if os.environ.get('COVERAGE', '0') == '1': | ||
cmake_args.append('-DCOVERAGE=ON') | ||
if os.environ.get('ASAN', '0') == '1': | ||
cmake_args.append('-DASAN=ON') | ||
if sysconfig.get_config_var('LIBRARY') is not None: | ||
cmake_args.append('-DPYTHON_LIBRARY=' + sysconfig.get_config_var('LIBRARY')) | ||
if 'CC' in os.environ: | ||
|
@@ -62,12 +64,6 @@ def build_extension(self, ext): | |
cmake_args.append('-DUSE_CUDA=ON') | ||
if 'CUDACXX' in os.environ: | ||
cmake_args.append('-DCMAKE_CUDA_COMPILER=' + os.environ['CUDACXX']) | ||
# # Set CMAKE_PREFIX_PATH for LLVM | ||
# if platform.system() == 'Darwin': # MacOS specific logic | ||
# brew_prefix = subprocess.check_output(['brew', '--prefix', 'llvm']).decode().strip() | ||
# print(brew_prefix) | ||
# cmake_args.append(f'-DCMAKE_PREFIX_PATH={brew_prefix}') | ||
# cmake_args.append(f'-DLLVM_DIR={brew_prefix}/lib/cmake/llvm') | ||
|
||
build_temp = self.build_temp | ||
if not os.path.exists(build_temp): | ||
|
@@ -105,7 +101,7 @@ def move_built_library(self, build_temp): | |
|
||
setup( | ||
name="gbrl", | ||
version = "1.0.10", | ||
version = "1.0.11", | ||
description = "Gradient Boosted Trees for RL", | ||
author="Benjamin Fuhrer, Chen Tessler, Gal Dalal", | ||
author_email="[email protected], [email protected]. [email protected]", | ||
|