Post

Replies

Boosts

Views

Activity

Reply to Deep Learning Chapter 10: Advanced use of recurrent neural networks not Using GPU
On Google Colab with a GPU each epoch is ~383 seconds (not 32417seconds): `--2022-03-29 16:58:04-- https://s3.amazonaws.com/keras-datasets/jena_climate_2009_2016.csv.zip Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.217.132.216 Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.217.132.216|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 13565642 (13M) [application/zip] Saving to: ‘jena_climate_2009_2016.csv.zip’ jena_climate_2009_2 100%[===================>] 12.94M 61.8MB/s in 0.2s 2022-03-29 16:58:04 (61.8 MB/s) - ‘jena_climate_2009_2016.csv.zip’ saved [13565642/13565642] Archive: jena_climate_2009_2016.csv.zip inflating: jena_climate_2009_2016.csv inflating: __MACOSX/._jena_climate_2009_2016.csv ['"Date Time"', '"p (mbar)"', '"T (degC)"', '"Tpot (K)"', '"Tdew (degC)"', '"rh (%)"', '"VPmax (mbar)"', '"VPact (mbar)"', '"VPdef (mbar)"', '"sh (g/kg)"', '"H2OC (mmol/mol)"', '"rho (g/m**3)"', '"wv (m/s)"', '"max. wv (m/s)"', '"wd (deg)"'] 420451 num_train_samples: 210225 num_val_samples: 105112 num_test_samples: 105114 WARNING:tensorflow:Layer lstm will not use cuDNN kernels since it doesn't meet the criteria. It will use a generic GPU kernel as fallback when running on GPU. Epoch 1/50 819/819 [==============================] - 383s 461ms/step - loss: 147.6203 - mae: 10.0559 - val_loss: 137.3602 - val_mae: 9.6686 Epoch 2/50 118/819 [===>....`
Topic: Machine Learning & AI SubTopic: General Tags:
Mar ’22
Reply to ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64
I tried uninstalling and reinstalling CommandLineTools % ls -ag /Library/Developer total 0 drwxr-xr-x 4 wheel 128 May 31 18:18 . drwxr-xr-x 72 wheel 2304 May 17 12:01 .. drwxr-xr-x 6 wheel 192 May 31 18:17 CommandLineTools drwxr-xr-x 8 admin 256 May 17 01:44 PrivateFrameworks % xcrun --show-sdk-platform-path xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation xcrun: error: unable to lookup item 'PlatformPath' in SDK '/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk' (AI-Feynman) davidlaxer@x86_64-apple-darwin13 AI-Feynman % xcode-select -p /Library/Developer/CommandLineTools (AI-Feynman) davidlaxer@x86_64-apple-darwin13 AI-Feynman % xcrun --show-sdk-path --sdk macosx /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk (AI-Feynman) davidlaxer@x86_64-apple-darwin13 AI-Feynman % xcrun --sdk macosx10.13 --show-sdk-path xcrun: error: SDK "macosx10.13" cannot be located xcrun: error: SDK "macosx10.13" cannot be located xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.13' Why the reference to macosx10.13? How do I delete the old SDK reference?
Jun ’22
Reply to Missing librairies in /usr/lib on Big Sur?
I am getting this error trying to compile AI-Feynman ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64 I tried to generate a new .tbd file from libSystem.dylib with 'tapi stubify ...' but I can't locate the libSystem.B.dylib file. The other .dylibs in XCode are not the right ones. % locate libSystem.B.dylib /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libSystem.B.dylib /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libSystem.B.dylib /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libSystem.B.dylib Any ideas on how to generate a replacement .tbd file from a 'virtual' shared library which lives in a cache? % otool -L /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libSystem.dylib /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libSystem.dylib (architecture x86_64): /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.100.3) /usr/lib/system/libcache.dylib (compatibility version 1.0.0, current version 85.0.0) /usr/lib/system/libcommonCrypto.dylib (compatibility version 1.0.0, current version 60191.100.1) /usr/lib/system/libcompiler_rt.dylib (compatibility version 1.0.0, current version 103.1.0) /usr/lib/system/libcopyfile.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/system/libcorecrypto.dylib (compatibility version 1.0.0, current version 1218.100.47) /usr/lib/system/libdispatch.dylib (compatibility version 1.0.0, current version 1325.100.36) /usr/lib/system/libdyld.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/system/libmacho.dylib (compatibility version 1.0.0, current version 994.0.0) /usr/lib/system/libremovefile.dylib (compatibility version 1.0.0, current version 60.0.0) /usr/lib/system/libsystem_asl.dylib (compatibility version 1.0.0, current version 392.100.2) /usr/lib/system/libsystem_blocks.dylib (compatibility version 1.0.0, current version 79.1.0) /usr/lib/system/libsystem_c.dylib (compatibility version 1.0.0, current version 1507.100.9) /usr/lib/system/libsystem_collections.dylib (compatibility version 1.0.0, current version 1507.100.9) /usr/lib/system/libsystem_configuration.dylib (compatibility version 1.0.0, current version 1163.100.19) /usr/lib/system/libsystem_containermanager.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/system/libsystem_coreservices.dylib (compatibility version 1.0.0, current version 133.0.0) /usr/lib/system/libsystem_darwin.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/system/libsystem_dnssd.dylib (compatibility version 1.0.0, current version 1557.103.1) /usr/lib/system/libsystem_featureflags.dylib (compatibility version 1.0.0, current version 56.0.0) /usr/lib/system/libsystem_info.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/system/libsystem_m.dylib (compatibility version 1.0.0, current version 3204.80.2) /usr/lib/system/libsystem_malloc.dylib (compatibility version 1.0.0, current version 374.100.5) /usr/lib/system/libsystem_networkextension.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/system/libsystem_notify.dylib (compatibility version 1.0.0, current version 301.0.0) /usr/lib/system/libsystem_product_info_filter.dylib (compatibility version 1.0.0, current version 10.0.0) /usr/lib/system/libsystem_sandbox.dylib (compatibility version 1.0.0, current version 1657.103.1) /usr/lib/system/libsystem_sim_kernel.dylib (compatibility version 1.0.0, current version 238.100.1) /usr/lib/system/libsystem_sim_platform.dylib (compatibility version 1.0.0, current version 238.100.1) /usr/lib/system/libsystem_sim_pthread.dylib (compatibility version 1.0.0, current version 238.100.1) /usr/lib/system/libsystem_trace.dylib (compatibility version 1.0.0, current version 1375.100.9) /usr/lib/system/libunwind.dylib (compatibility version 1.0.0, current version 202.2.0) ... (base) davidlaxer@x86_64-apple-darwin13 iot-inspector-client % ls -l /usr/lib/system total 1720 drwxr-xr-x 4 root wheel 128 May 9 14:30 introspection -rwxr-xr-x 1 root wheel 1617536 May 9 14:30 libsystem_kernel.dylib -rwxr-xr-x 1 root wheel 512560 May 9 14:30 libsystem_platform.dylib -rwxr-xr-x 1 root wheel 656656 May 9 14:30 libsystem_pthread.dylib -rwxr-xr-x 1 root wheel 150080 May 9 14:30 wordexp-helper Any ideas on what the linker doesn't like about file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’22
Reply to Missing librairies in /usr/lib on Big Sur?
The problem as caused by version 12.0.0 of ld which lived in my Anaconda virtual environment. ld 13.1.6 did not have the issue. % ld -v @(#)PROGRAM:ld PROJECT:ld64-764 BUILD 11:29:01 May 17 2022 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em LTO support using: LLVM version 13.1.6, (clang-1316.0.21.2.5) (static support for 28, runtime is 28) TAPI support using: Apple TAPI version 13.1.6 (tapi-1316.0.7.3)
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’22