Skip to content

Commit a0958d5

Browse files
vansangpfievsangjanai
andauthored
fix: align cuda-rt names (#26)
Co-authored-by: sangjanai <sang@janai>
1 parent cf5f608 commit a0958d5

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/menlo-build.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,10 @@ jobs:
442442
steps:
443443
- name: Download cuda dependencies from s3 and create checksum
444444
run: |
445-
wget https://minio.menlo.ai:9000/cicd/dist/cuda-dependencies/12.0/linux/cuda.tar.gz -O /tmp/cuda-12-0-linux-amd64.tar.gz
446-
wget https://minio.menlo.ai:9000/cicd/dist/cuda-dependencies/11.7/linux/cuda.tar.gz -O /tmp/cuda-11-7-linux-amd64.tar.gz
447-
wget https://minio.menlo.ai:9000/cicd/dist/cuda-dependencies/12.0/windows/cuda.tar.gz -O /tmp/cuda-12-0-windows-amd64.tar.gz
448-
wget https://minio.menlo.ai:9000/cicd/dist/cuda-dependencies/11.7/windows/cuda.tar.gz -O /tmp/cuda-11-7-windows-amd64.tar.gz
445+
wget https://minio.menlo.ai:9000/cicd/dist/cuda-dependencies/12.0/linux/cuda.tar.gz -O /tmp/cudart-llama-bin-linux-cu12.0-x64.tar.gz
446+
wget https://minio.menlo.ai:9000/cicd/dist/cuda-dependencies/11.7/linux/cuda.tar.gz -O /tmp/cudart-llama-bin-linux-cu11.7-x64.tar.gz
447+
wget https://minio.menlo.ai:9000/cicd/dist/cuda-dependencies/12.0/windows/cuda.tar.gz -O /tmp/cudart-llama-bin-win-cu12.0-64.tar.gz
448+
wget https://minio.menlo.ai:9000/cicd/dist/cuda-dependencies/11.7/windows/cuda.tar.gz -O /tmp/cudart-llama-bin-win-cu11.7-x64.tar.gz
449449
450450
version=${{ needs.create-draft-release.outputs.version }}
451451
outputs=${{ toJson(needs.read.outputs.result) }}
@@ -462,25 +462,25 @@ jobs:
462462
"- url: llama-\($version)-\($key).tar.gz\n sha512: >-\n \($sha512[$key])\n size: \($size[$key])"
463463
' >> checksum.yml
464464
465-
echo "- url: cuda-12-0-linux-amd64.tar.gz" >> checksum.yml
465+
echo "- url: cudart-llama-bin-linux-cu12.0-x64.tar.gz" >> checksum.yml
466466
echo " sha512: >-" >> checksum.yml
467-
echo " $(sha512sum /tmp/cuda-12-0-linux-amd64.tar.gz | awk '{ print $1 }')" >> checksum.yml
468-
echo " size: $(stat -c%s /tmp/cuda-12-0-linux-amd64.tar.gz)" >> checksum.yml
467+
echo " $(sha512sum /tmp/cudart-llama-bin-linux-cu12.0-x64.tar.gz | awk '{ print $1 }')" >> checksum.yml
468+
echo " size: $(stat -c%s /tmp/cudart-llama-bin-linux-cu12.0-x64.tar.gz)" >> checksum.yml
469469
470-
echo "- url: cuda-11-7-linux-amd64.tar.gz" >> checksum.yml
470+
echo "- url: cudart-llama-bin-linux-cu11.7-x64.tar.gz" >> checksum.yml
471471
echo " sha512: >-" >> checksum.yml
472-
echo " $(sha512sum /tmp/cuda-11-7-linux-amd64.tar.gz | awk '{ print $1 }')" >> checksum.yml
473-
echo " size: $(stat -c%s /tmp/cuda-11-7-linux-amd64.tar.gz)" >> checksum.yml
472+
echo " $(sha512sum /tmp/cudart-llama-bin-linux-cu11.7-x64.tar.gz | awk '{ print $1 }')" >> checksum.yml
473+
echo " size: $(stat -c%s /tmp/cudart-llama-bin-linux-cu11.7-x64.tar.gz)" >> checksum.yml
474474
475-
echo "- url: cuda-11-7-windows-amd64.tar.gz" >> checksum.yml
475+
echo "- url: cudart-llama-bin-win-cu11.7-x64.tar.gz" >> checksum.yml
476476
echo " sha512: >-" >> checksum.yml
477-
echo " $(sha512sum /tmp/cuda-11-7-windows-amd64.tar.gz | awk '{ print $1 }')" >> checksum.yml
478-
echo " size: $(stat -c%s /tmp/cuda-11-7-windows-amd64.tar.gz)" >> checksum.yml
477+
echo " $(sha512sum /tmp/cudart-llama-bin-win-cu11.7-x64.tar.gz | awk '{ print $1 }')" >> checksum.yml
478+
echo " size: $(stat -c%s /tmp/cudart-llama-bin-win-cu11.7-x64.tar.gz)" >> checksum.yml
479479
480-
echo "- url: cuda-12-0-windows-amd64.tar.gz" >> checksum.yml
480+
echo "- url: cudart-llama-bin-win-cu12.4.tar.gz" >> checksum.yml
481481
echo " sha512: >-" >> checksum.yml
482-
echo " $(sha512sum /tmp/cuda-12-0-windows-amd64.tar.gz | awk '{ print $1 }')" >> checksum.yml
483-
echo " size: $(stat -c%s /tmp/cuda-12-0-windows-amd64.tar.gz)" >> checksum.yml
482+
echo " $(sha512sum /tmp/cudart-llama-bin-win-cu12.4.tar.gz | awk '{ print $1 }')" >> checksum.yml
483+
echo " size: $(stat -c%s /tmp/cudart-llama-bin-win-cu12.4.tar.gz)" >> checksum.yml
484484
cat checksum.yml
485485
486486
- name: Upload checksum.yml to GitHub Release
@@ -494,46 +494,46 @@ jobs:
494494
asset_name: checksum.yml
495495
asset_content_type: text/yaml
496496

497-
- name: upload cuda-12-0-linux-amd64.tar.gz to Github Release
497+
- name: upload cudart-llama-bin-linux-cu12.0-x64.tar.gz to Github Release
498498
uses: actions/upload-release-asset@v1
499499
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
500500
env:
501501
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
502502
with:
503503
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
504-
asset_path: /tmp/cuda-12-0-linux-amd64.tar.gz
505-
asset_name: cuda-12-0-linux-amd64.tar.gz
504+
asset_path: /tmp/cudart-llama-bin-linux-cu12.0-x64.tar.gz
505+
asset_name: cudart-llama-bin-linux-cu12.0-x64.tar.gz
506506
asset_content_type: application/gzip
507507

508-
- name: upload cuda-11-7-linux-amd64.tar.gz to Github Release
508+
- name: upload cudart-llama-bin-linux-cu11.7-x64.tar.gz to Github Release
509509
uses: actions/upload-release-asset@v1
510510
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
511511
env:
512512
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
513513
with:
514514
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
515-
asset_path: /tmp/cuda-11-7-linux-amd64.tar.gz
516-
asset_name: cuda-11-7-linux-amd64.tar.gz
515+
asset_path: /tmp/cudart-llama-bin-linux-cu11.7-x64.tar.gz
516+
asset_name: cudart-llama-bin-linux-cu11.7-x64.tar.gz
517517
asset_content_type: application/gzip
518518

519-
- name: upload cuda-12-0-windows-amd64.tar.gz to Github Release
519+
- name: upload cudart-llama-bin-win-cu12.4.tar.gz to Github Release
520520
uses: actions/upload-release-asset@v1
521521
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
522522
env:
523523
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
524524
with:
525525
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
526-
asset_path: /tmp/cuda-12-0-windows-amd64.tar.gz
527-
asset_name: cuda-12-0-windows-amd64.tar.gz
526+
asset_path: /tmp/cudart-llama-bin-win-cu12.4.tar.gz
527+
asset_name: cudart-llama-bin-win-cu12.4.tar.gz
528528
asset_content_type: application/gzip
529529

530-
- name: upload cuda-11-7-windows-amd64.tar.gz to Github Release
530+
- name: upload cudart-llama-bin-win-cu11.7-x64.tar.gz to Github Release
531531
uses: actions/upload-release-asset@v1
532532
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
533533
env:
534534
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
535535
with:
536536
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
537-
asset_path: /tmp/cuda-11-7-windows-amd64.tar.gz
538-
asset_name: cuda-11-7-windows-amd64.tar.gz
537+
asset_path: /tmp/cudart-llama-bin-win-cu11.7-x64.tar.gz
538+
asset_name: cudart-llama-bin-win-cu11.7-x64.tar.gz
539539
asset_content_type: application/gzip

0 commit comments

Comments
 (0)