Rate This Document
Findability
Accuracy
Completeness
Readability

Obtaining the Source Code

The ScaNN source code is stored in the scann directory of the google-research code repository. Version 1.2.10 is represented by a commit ID and does not have a fixed branch or tag. You need to download the google-research code repository and switch to the corresponding commit ID for ScaNN.

  1. Use PuTTY to log in to the server as the root user and go to the /path/to/scann directory for compiling the ScaNN source code.
  2. Go to the ScaNN source code compilation directory.
    1
    cd /path/to/scann
    
  3. Configure a network proxy for Git.
    1
    2
    3
    git config --global http.sslVerify false 
    git config --global https.sslverify false 
    git config --global http.proxy "http://Username:Password@Proxy_IP_address:Proxy_port"
    
  4. Download the google-research source code.
    1
    2
    3
    git clone https://github.com/google-research/google-research.git --depth=1
    cd google-research
    git fetch --unshallow
    

  5. Switch to ScaNN 1.2.10.
    1
    git checkout 03c4c851a28dffe0244c65089e68d6cbf73c730b
    

    The preceding command output shows that the version has been switched to ScaNN release 1.2.10.