Add dep on Accelerate framework to torch podspecs (#88422)

A dep on Accelerate was added in https://github.com/pytorch/pytorch/pull/80449 We need to declare this dep in our podspec, otherwise users will have to add the Accelerate framework to their projects manually.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/88422
Approved by: https://github.com/kimishpatel, https://github.com/malfet
This commit is contained in:
John Detloff
2022-11-04 17:31:17 +00:00
committed by PyTorch MergeBot
parent dc00bb51b8
commit ead36e5a90
2 changed files with 2 additions and 0 deletions

View File

@ -33,4 +33,5 @@ Pod::Spec.new do |s|
'VALID_ARCHS' => 'x86_64 arm64'
}
s.library = ['c++', 'stdc++']
s.frameworks = 'Accelerate'
end

View File

@ -33,4 +33,5 @@ Pod::Spec.new do |s|
'VALID_ARCHS' => 'x86_64 arm64'
}
s.library = ['c++', 'stdc++']
s.frameworks = 'Accelerate'
end