Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST]win10 install fail build_win.bat #5698

Closed
shark-xiake opened this issue Jun 26, 2024 · 4 comments
Closed

[REQUEST]win10 install fail build_win.bat #5698

shark-xiake opened this issue Jun 26, 2024 · 4 comments
Assignees

Comments

@shark-xiake
Copy link

when I run build_win.bat, I get a deepspeed whl file finnally. The matter seems to have been resolved. However, when I ran the program, the following issue occurred

File "D:\anaconda3\envs\llm\lib\site-packages\sat_init_.py", line 6, in
from .training.deepspeed_training import training_main
File "D:\anaconda3\envs\llm\lib\site-packages\sat\training\deepspeed_training.py", line 27, in
import deepspeed
File "D:\anaconda3\envs\llm\lib\site-packages\deepspeed_init_.py", line 25, in
from . import ops
File "D:\anaconda3\envs\llm\lib\site-packages\deepspeed\ops_init_.py", line 11, in
from . import transformer
File "D:\anaconda3\envs\llm\lib\site-packages\deepspeed\ops\transformer_init_.py", line 8, in
from ...model_implementations.transformers.ds_transformer import DeepSpeedTransformerInference
File "D:\anaconda3\envs\llm\lib\site-packages\deepspeed\model_implementations\transformers\ds_transformer.py", line 17, in
from deepspeed.ops.transformer.inference.triton.mlp import TritonMLP
File "D:\anaconda3\envs\llm\lib\site-packages\deepspeed\ops\transformer\inference_init_.py", line 7, in
from ....model_implementations.transformers.ds_transformer import DeepSpeedTransformerInference
ImportError: cannot import name 'DeepSpeedTransformerInference' from partially initialized module 'deepspeed.model_implementations.transformers.ds_transformer' (most likely due to a circular import) (D:\anaconda3\envs\llm\lib\site-packages\deepspeed\model_implementations\transformers\ds_transformer.py)

@shark-xiake shark-xiake added the enhancement New feature or request label Jun 26, 2024
@loadams
Copy link
Contributor

loadams commented Jun 26, 2024

@shark-xiake can you please share the program you are running as a repro case?

@loadams loadams removed the enhancement New feature or request label Jun 26, 2024
@shark-xiake
Copy link
Author

I tested this project (https://github.com/lzw-lzw/RemoteGLM). Everything is normal on the Linux system

@loadams
Copy link
Contributor

loadams commented Jul 24, 2024

Hi @shark-xiake - can you test with the latest changes in the master branch? This should have fixes for the issues you hit.

@loadams loadams self-assigned this Jul 24, 2024
@loadams
Copy link
Contributor

loadams commented Aug 14, 2024

@shark-xiake - closing this as stale for now, we believe this should be resolved in the latest DeepSpeed if you build from source.

@loadams loadams closed this as completed Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants