Skip to content

Commit d684196

Browse files
authored
Update __init__.py (#2243)
1 parent a501e32 commit d684196

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

mindtorch/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _running_with_deploy():
172172
from .storage import UntypedStorage, Storage, TypedStorage
173173

174174
from . import _dynamo, library
175-
from . import profiler, cuda, npu, amp, compiler, jit, version, __future__, overrides, \
175+
from . import profiler, cuda, npu, xpu, mps, amp, compiler, jit, version, __future__, overrides, \
176176
return_types, linalg, fx, backends, nn, fft, _jit_internal, utils, optim, testing, _ops
177177
from ._lowrank import svd_lowrank
178178
from .random import get_rng_state, initial_seed, manual_seed, seed, set_rng_state
@@ -182,4 +182,3 @@ def _running_with_deploy():
182182
from .torch_proxy import initialize_torch_proxy, setup_metadata_patch
183183
initialize_torch_proxy()
184184
setup_metadata_patch()
185-

requirements/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ transformers
3737
peft
3838
diffusers
3939
timeout_decorator
40-
torch
40+
torch
41+
ftfy
42+
requests_mock

0 commit comments

Comments
 (0)