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

Add support for Apple Silicon (M1, M2, M3, …) #185

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

blazer82
Copy link

Add support for Apple GPUs

  • Use --use_mps to enable Apple Silicon GPU support

e.g.

python demo.py --task FaceEnhancement --model GPEN-BFR-512 --in_size 512 --channel_multiplier 2 --narrow 1 --use_sr --sr_scale 4 --use_mps --indir examples/imgs --outdir examples/outs-bfr 

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

Successfully merging this pull request may close these issues.

1 participant