Skip to content

Commit

Permalink
init, modified from anderskm/gputil#54
Browse files Browse the repository at this point in the history
  • Loading branch information
RuikangSun committed Jul 17, 2024
1 parent f8a3e93 commit 8226df4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GPUtil/GPUtil.py → GPUstatus/GPUstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import platform


__version__ = '1.4.0'
__version__ = '1.1.0'

class GPU:
def __init__(self, ID, uuid, load, memoryTotal, memoryUsed, memoryFree, driver, gpu_name, serial, display_mode, display_active, temp_gpu):
Expand Down
2 changes: 1 addition & 1 deletion GPUtil/__init__.py → GPUstatus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

from .GPUtil import GPU, getGPUs, getAvailable, getAvailability, getFirstAvailable, showUtilization, __version__
from .GPUstatus import GPU, getGPUs, getAvailable, getAvailability, getFirstAvailable, showUtilization, __version__
2 changes: 1 addition & 1 deletion GPUtil/demo_GPUtil.py → GPUstatus/demo_GPUstatus.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import GPUtil as GPU
import GPUstatus as GPU
import sys
# Get all device ids and their processing and memory utiliazion
# (deviceIds, gpuUtil, memUtil) = GPU.getGPUs()
Expand Down

0 comments on commit 8226df4

Please sign in to comment.