text: import torch
  
  from . import data
  from . import models
  from . import visual
  from . import trainers
  
  import logging.config
  
  __version__ = "0.4.1"
  
  logging.config.dictConfig({
      'version': 1,
      'disable_existing_loggers': False,
      'formatters': {
          'standard': {
              'format': '%(asctime)-15s %(message)s'
          },
      },
      'handlers': {
          'console': {
              'level': 'INFO',
              'class': 'logging.StreamHandler',
              'formatter': 'standard',
              'stream': 'ext://sys.stdout'
          },
      },
      'loggers': {
          'flair': {
              'handlers': ['console'],
              'level': 'INFO',
              'propagate': False
          }
      },
      'root': {
          'handlers': ['console'],
          'level': 'WARNING'
      }
  })
  
  logger = logging.getLogger('flair')
  
  
  device = None
  if torch.cuda.is_available():
      device = torch.device('cuda:14')
  else:
      device = torch.device('cpu')
  