Post

Replies

Boosts

Views

Activity

Reply to The new tensorflow-macos and tensorflow-metal incapacitate training
I am reporting the same issue on MacBook Air M2 with 16GB and 512 GB Drive. The training randomly stops after 15 minutes while the notebook indicates that the training is still going. The CPU and GPU usage drop to 0. My environment: Python 3.8.15 tensorflow-datasets      4.8.1 tensorflow-estimator     2.9.0 tensorflow-macos         2.9.2 tensorflow-metadata     1.12.0 tensorflow-metal         0.5.0 tensorflow-probability   0.15.0
Jan ’23
Reply to Pod install CocoaPods LoadError: Image not found (M1 MacBook)
Tried with the Ruby 2.4.10. with the same result. I installed 2.4.10 with: shell \curl -sSL https://get.rvm.io | bash -s stable shell CFLAGS="-Wno-error=implicit-function-declaration" rvm install 2.4.10 The FFI is installed: shell ls /usr/local/opt/libffi/lib libffi.7.dylib libffi.a       libffi.dylib   pkgconfig still the error is: shell Stack    CocoaPods : 1.10.1         Ruby : ruby 2.4.10p364 (2020-03-31 revision 67879) [-darwin20]     RubyGems : 3.0.9         Host : macOS 11.3.1 (20E241)        Xcode : 12.5 (12E262)          Git : git version 2.30.1 (Apple Git-130) Ruby lib dir : /Users/my_username/.rvm/rubies/ruby-2.4.10/lib Repositories :  Plugins cocoapods-deintegrate : 1.0.4 cocoapods-plugins     : 1.0.0 cocoapods-search      : 1.0.0 cocoapods-trunk       : 1.5.0 cocoapods-try         : 1.2.0 Podfile platform :ios, '14.0' use_frameworks! target 'Beacon Proximity' do   pod 'RxBluetoothKit', '~ 6.0' end Error LoadError - dlopen(/Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/ffi-1.15.0/lib/ffi_c.bundle, 9): Library not loaded: @rpath/libffi.7.dylib   Referenced from: /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/ffi-1.15.0/lib/ffi_c.bundle   Reason: image not found - /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/ffi-1.15.0/lib/ffi_c.bundle /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/ffi-1.15.0/lib/ffi.rb:6:in `rescue in top (required)' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/ffi-1.15.0/lib/ffi.rb:3:in `top (required)' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/ethon-0.14.0/lib/ethon.rb:3:in `top (required)' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `top (required)' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:74:in `cdn_url?' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:36:in `create_source_with_url' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:21:in `find_or_create_source_with_url' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:178:in `block in sources' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:177:in `map' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:177:in `sources' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1073:in `block in resolve_dependencies' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:124:in `analyze' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:414:in `analyze' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:238:in `resolve_dependencies' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:160:in `install!' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run' /Users/my_username/.rvm/rubies/ruby-2.4.10/lib/ruby/gems/2.4.0/gems/cocoapods-1.10.1/bin/pod:55:in `top (required)' /Users/my_username/.rvm/rubies/ruby-2.4.10/bin/pod:23:in `load' /Users/my_username/.rvm/rubies/ruby-2.4.10/bin/pod:23:in `main' /Users/my_username/.rvm/gems/ruby-2.4.10/bin/ruby_executable_hooks:22:in `eval' /Users/my_username/.rvm/gems/ruby-2.4.10/bin/ruby_executable_hooks:22:in `main'
May ’21
Reply to Fortran for Apple Silicon
This is an old question but I found that now there is a experimental fortran compiler for M1. Look on GitHub for: "gfortran 11-experimental-2 for ARM Big Sur (macOS 11)". I was able to compile my parallel code with this compiler and also a lot of other stuff. As for experimental version is is pretty stable.
Feb ’21