Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaehashi committed Oct 20, 2023
1 parent 2ae90ec commit 477ff86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_version_from_source_tree(source_tree):
version_file_path = '{}/cupy/_version.py'.format(source_tree)
with open(version_file_path) as f:
exec(f.read())
return __version__ # noqa
return locals()['__version__']


def get_system_cuda_version(cudart_name='cudart'):
Expand Down

0 comments on commit 477ff86

Please sign in to comment.