Skip to content

Commit

Permalink
Use new Runtime Torch installer mechanism and update torch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tremeschin committed Mar 17, 2024
1 parent 15fbefd commit 658483a
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 559 deletions.
7 changes: 5 additions & 2 deletions DepthFlow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
_spinner.start()

import DepthFlow.Resources as DepthFlowResources
import torch
import transformers

DEPTHFLOW = BrokenProject(
PACKAGE=__file__,
Expand All @@ -19,7 +17,12 @@

Broken.PROJECT = DEPTHFLOW

_spinner.stop()
BrokenTorch.manage(DEPTHFLOW.RESOURCES)
_spinner.start()

# isort: off
import torch
from .Modules import *
from .DepthFlow import *

Expand Down
Loading

0 comments on commit 658483a

Please sign in to comment.