File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+ ## [ 0.16.0 - 2024-07-30]
6
+
7
+ ### Fixed
8
+
9
+ - NextcloudApp: ` get_computation_device ` function now correctly returns result in upper_case.
10
+
5
11
## [ 0.15.0 - 2024-07-19]
6
12
7
13
### Added
Original file line number Diff line number Diff line change 1
1
"""Version of nc_py_api."""
2
2
3
- __version__ = "0.15.0 "
3
+ __version__ = "0.16.0.dev0 "
Original file line number Diff line number Diff line change @@ -54,4 +54,4 @@ def get_model_path(model_name: str) -> str:
54
54
55
55
def get_computation_device () -> str :
56
56
"""Returns computation device(`ROCM` or `CUDA`) if it is defined in the environment variable."""
57
- return os .environ .get ("COMPUTE_DEVICE" , "" )
57
+ return str ( os .environ .get ("COMPUTE_DEVICE" , "" )). upper ( )
You can’t perform that action at this time.
0 commit comments