zhengruifeng opened a new pull request, #42411:
URL: https://github.com/apache/spark/pull/42411

   ### What changes were proposed in this pull request?
   `deepspeed` is not supported on MacOS
   
   
   ### Why are the changes needed?
   to fix this
   ```
   pip install -U -r dev/requirements.txt
   
   ...
   
   Collecting deepspeed (from -r dev/requirements.txt (line 69))
     Using cached deepspeed-0.10.0.tar.gz (836 kB)
     Preparing metadata (setup.py) ... error
     error: subprocess-exited-with-error
     
     × python setup.py egg_info did not run successfully.
     │ exit code: 1
     ╰─> [20 lines of output]
         Traceback (most recent call last):
           File "<string>", line 2, in <module>
           File "<pip-setuptools-caller>", line 34, in <module>
           File 
"/private/var/folders/l_/b6xgqlvx0895dljz46x9nl780000gp/T/pip-install-zd43o1nk/deepspeed_47bbb5784bc942e6bdf0f5ec24e9f939/setup.py",
 line 37, in <module>
             from op_builder.all_ops import ALL_OPS
           File 
"/private/var/folders/l_/b6xgqlvx0895dljz46x9nl780000gp/T/pip-install-zd43o1nk/deepspeed_47bbb5784bc942e6bdf0f5ec24e9f939/op_builder/all_ops.py",
 line 29, in <module>
             builder = get_accelerator().create_op_builder(member_name)
           File 
"/private/var/folders/l_/b6xgqlvx0895dljz46x9nl780000gp/T/pip-install-zd43o1nk/deepspeed_47bbb5784bc942e6bdf0f5ec24e9f939/accelerator/mps_accelerator.py",
 line 211, in create_op_builder
             builder_class = self.get_op_builder(op_name)
           File 
"/private/var/folders/l_/b6xgqlvx0895dljz46x9nl780000gp/T/pip-install-zd43o1nk/deepspeed_47bbb5784bc942e6bdf0f5ec24e9f939/accelerator/mps_accelerator.py",
 line 218, in get_op_builder
             from deepspeed.ops.op_builder.cpu import NotImplementedBuilder
           File 
"/private/var/folders/l_/b6xgqlvx0895dljz46x9nl780000gp/T/pip-install-zd43o1nk/deepspeed_47bbb5784bc942e6bdf0f5ec24e9f939/deepspeed/__init__.py",
 line 21, in <module>
             from . import ops
           File 
"/private/var/folders/l_/b6xgqlvx0895dljz46x9nl780000gp/T/pip-install-zd43o1nk/deepspeed_47bbb5784bc942e6bdf0f5ec24e9f939/deepspeed/ops/__init__.py",
 line 6, in <module>
             from . import adam
           File 
"/private/var/folders/l_/b6xgqlvx0895dljz46x9nl780000gp/T/pip-install-zd43o1nk/deepspeed_47bbb5784bc942e6bdf0f5ec24e9f939/deepspeed/ops/adam/__init__.py",
 line 6, in <module>
             from .cpu_adam import DeepSpeedCPUAdam
           File 
"/private/var/folders/l_/b6xgqlvx0895dljz46x9nl780000gp/T/pip-install-zd43o1nk/deepspeed_47bbb5784bc942e6bdf0f5ec24e9f939/deepspeed/ops/adam/cpu_adam.py",
 line 7, in <module>
             from cpuinfo import get_cpu_info
         ModuleNotFoundError: No module named 'cpuinfo'
         [end of output]
     
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
   error: metadata-generation-failed
   
   × Encountered error while generating package metadata.
   ╰─> See above for output.
   
   note: This is an issue with the package mentioned above, not pip.
   hint: See above for details.
   
   
   ```
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   manually check


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to