-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Ed Connell edited this page Apr 28, 2020
·
1 revision
SwiftRT is a computational framework research project written almost entirely in the Swift language with a small amount of C used to interface with system libraries and Cuda. The project goals are:
- Simplify the model development process so engineers are able to successfully create and deploy models directly in their Swift applications
- Develop a faster execution model to reduce training time and speed model design iteration
- Leverage Google's Swift for TensorFlow Auto Differentiation support
-
Install the latest Swift for TensorFlow toolchain for your platform.
-
Clone the SwiftRT repository
git clone https://github.com/ewconnell/swiftrt.git
After downloading the toolchain, open the package and follow the installation instructions.
- start Xcode and go to the menu Xcode/Preferences/Components and select the new toolchain
- run the unit tests to verify that the installation is valid by pressing
command + u
- Install Cuda 10.2 for Ubuntu
- First make sure your graphics card driver is up to date!
- Then install using the Base Installer instructions
- Install cuDNN 7.4
- First visit the NVIDIA cuDNN download site and register
- Download "cuDNN v7.6.5 Library for Linux" for Cuda 10.2
- Then install
sudo tar -xzf cudnn-10.0-linux-x64-v7.4.1.5.tgz -C /usr/local
rm cudnn-10.0-linux-x64-v7.4.1.5.tgz
sudo ldconfig
- Install SwiftRT dependencies (TODO update this)
sudo apt-get install