@@ -23,32 +23,32 @@ jobs:
2323 ruby-version : ${{ matrix.ruby-version }}
2424 bundler-cache : true
2525
26- # Configure AWS credentials for S3 access
27- - name : Configure AWS credentials
28- uses : aws-actions/configure-aws-credentials@v2
29- with :
30- aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
31- aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
32- aws-region : eu-central-1
26+ # # Configure AWS credentials for S3 access
27+ # - name: Configure AWS credentials
28+ # uses: aws-actions/configure-aws-credentials@v2
29+ # with:
30+ # aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
31+ # aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
32+ # aws-region: eu-central-1
3333
34- # Download HuggingFace cache from S3
35- - name : Sync HuggingFace cache from S3
36- run : |
37- echo "Downloading HuggingFace cache from S3..."
38- aws s3 sync s3://red-candle-hf-cache/cache/ ~/.cache/huggingface/ --quiet
39- echo "Cache downloaded successfully"
40- echo "Cache size: $(du -sh ~/.cache/huggingface | cut -f1)"
41- echo "Models cached: $(ls -d ~/.cache/huggingface/hub/models--* 2>/dev/null | wc -l)"
34+ # # Download HuggingFace cache from S3
35+ # - name: Sync HuggingFace cache from S3
36+ # run: |
37+ # echo "Downloading HuggingFace cache from S3..."
38+ # aws s3 sync s3://red-candle-hf-cache/cache/ ~/.cache/huggingface/ --quiet
39+ # echo "Cache downloaded successfully"
40+ # echo "Cache size: $(du -sh ~/.cache/huggingface | cut -f1)"
41+ # echo "Models cached: $(ls -d ~/.cache/huggingface/hub/models--* 2>/dev/null | wc -l)"
4242
43- # Set offline mode since we have all models
44- echo "HF_HUB_OFFLINE=1" >> $GITHUB_ENV
45- echo "Offline mode enabled - no HuggingFace API calls will be made"
43+ # # Set offline mode since we have all models
44+ # echo "HF_HUB_OFFLINE=1" >> $GITHUB_ENV
45+ # echo "Offline mode enabled - no HuggingFace API calls will be made"
4646
47- - name : Display Memory Usage
48- run : free -h
47+ # - name: Display Memory Usage
48+ # run: free -h
4949
50- - name : Display Disk Space Before Test
51- run : df -h
50+ # - name: Display Disk Space Before Test
51+ # run: df -h
5252
5353 - name : Compile native extension
5454 run : bundle exec rake compile
0 commit comments