Skip to content
New issue

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

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

Already on GitHub? # to your account

是否支持m1? #163

Closed
zhangpeng528 opened this issue Jun 16, 2022 · 4 comments · Fixed by #192
Closed

是否支持m1? #163

zhangpeng528 opened this issue Jun 16, 2022 · 4 comments · Fixed by #192

Comments

@zhangpeng528
Copy link

当前在apple m1上docker build,发现cuda无法兼容,然后miniconda版本也需要是aarch版本。

@xieyxclack
Copy link
Collaborator

Thanks for your interest! The suggested PyTorch version (1.8 or 1.10) cannot support running on M1 with GPUs since the GPU part of M1 is not based on nvidia CUDA. Maybe you can run FederatedScope with CPUs on M1 or run with other devices :)

@zhangpeng528
Copy link
Author

FederatedScope设计理念很不错,我非常想尝试。
在cpu上也可以尝试下,是否有指引示例提供出来?谢谢
另外是否有规划有可视化界面?当前因为未成功跑起来,文档中也没未见类似相关文档。

@xieyxclack
Copy link
Collaborator

You can set up use_gpu: False in federatedscope/example_configs/femnist.yaml (or other config file) and run the example on CPUs like:

python federatedscope/main.py --cfg federatedscope/example_configs/femnist.yaml

And we are working on supporting visualization with WandB and thanks a lot for your suggestion! If you have questions during your journey of Federated Learning, you can join our slack channel or DingDing group and have some discussion.

Thanks again for your interest!

@rayrayraykk rayrayraykk linked a pull request Jun 30, 2022 that will close this issue
@rayrayraykk
Copy link
Collaborator

You are more than welcome to use FS with M1 chips, we have added the guidance for M1 users in #192 .
Thanks again for your interest!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants