Skip to content

Commit

Permalink
pytorch import error
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsquires committed Mar 1, 2023
1 parent 1659a19 commit 12e4d51
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion taufactor/taufactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import numpy as np
from timeit import default_timer as timer
import matplotlib.pyplot as plt
import torch
try:
import torch
except ImportError:
raise ImportError("Pytorch is required to use this package. Please install pytorch and try again. More information about TauFactor's requirements can be found at https://taufactor.readthedocs.io/en/latest/")
import warnings

class Solver:
Expand Down

0 comments on commit 12e4d51

Please sign in to comment.