From 350c7d8f674841433152998ad82f58f3607c8eb8 Mon Sep 17 00:00:00 2001 From: Brodey Newman Date: Wed, 9 Oct 2024 00:23:18 +0000 Subject: [PATCH 1/3] chore: bm --- README.md | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/README.md b/README.md index 59b4671..289c98f 100644 --- a/README.md +++ b/README.md @@ -98,41 +98,4 @@ This project is inspired by some existing proprietary solutions: ## Benchmarks -### Without multiplexing - -```bash -strace -T -c -e trace=read,write,open,close python3 -c "import torch; print(torch.cuda.is_available())" -``` - -``` -% time seconds usecs/call calls errors syscall ------- ----------- ----------- --------- --------- ---------------- - 69.12 0.004175 1 2141 read - 26.66 0.001610 1 1157 close - 4.22 0.000255 2 93 write ------- ----------- ----------- --------- --------- ---------------- -100.00 0.006040 1 3391 total -``` - - - -```bash -strace -T -c -e trace=read,write,open,close python3 -c " -import torch -print('Creating a tensor...') -tensor = torch.zeros(10, 10) -print('Moving tensor to CUDA...') -tensor = tensor.to('cuda:0') -print('Tensor successfully moved to CUDA') -" -``` - -``` -% time seconds usecs/call calls errors syscall ------- ----------- ----------- --------- --------- ---------------- - 71.63 0.005715 2 2253 read - 22.00 0.001755 1 1159 close - 6.37 0.000508 2 231 write ------- ----------- ----------- --------- --------- ---------------- -100.00 0.007978 2 3643 total -``` \ No newline at end of file +todo \ No newline at end of file From 9c3c58997e2610290720fc9698cc356170b2e0fe Mon Sep 17 00:00:00 2001 From: Brodey Newman Date: Tue, 7 Jan 2025 02:43:25 +0000 Subject: [PATCH 2/3] fix: readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0259fc4..b1880e9 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ https://github.com/user-attachments/assets/b2db5d82-f214-41cf-8274-b913c04080f9 Building the binaries requires running codegen first. Scuda codegen reads the cuda dependency header files in order to generate rpc calls. -To ensure codegen works properly, the proper cuda packages are installed on your OS. Take a look at our [Dockerfile](./Dockerfile.build) to see an example. +To ensure codegen works properly, the the proper cuda packages need to be installed on your OS. Take a look at our [Dockerfile](./Dockerfile.build) to see an example. Codegen requires cuBLAS, cuDNN, NVML, etc: From 228152138645849f3ee97758f369e19dbbe98850 Mon Sep 17 00:00:00 2001 From: Brodey Newman Date: Wed, 8 Jan 2025 02:42:30 +0000 Subject: [PATCH 3/3] fix: rel --- .github/workflows/artifact-build-and-deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/artifact-build-and-deploy.yml b/.github/workflows/artifact-build-and-deploy.yml index 31af7b2..e5d6f6b 100644 --- a/.github/workflows/artifact-build-and-deploy.yml +++ b/.github/workflows/artifact-build-and-deploy.yml @@ -96,8 +96,8 @@ jobs: uses: softprops/action-gh-release@v1 with: prerelease: true - name: scuda-artifacts-${{ matrix.cuda_version }}-${{ matrix.os_distro }}-${{ matrix.distro_version }}-$(date +%Y-%m-%d-%H-%M) - tag_name: scuda-artifacts-${{ matrix.cuda_version }}-${{ matrix.os_distro }}-${{ matrix.distro_version }}-latest-$(date +%Y-%m-%d-%H-%M) + name: scuda-artifacts-${{ matrix.cuda_version }}-${{ matrix.os_distro }}-${{ matrix.distro_version }} + tag_name: scuda-artifacts-${{ matrix.cuda_version }}-${{ matrix.os_distro }}-${{ matrix.distro_version }} files: scuda-artifacts-${{ matrix.cuda_version }}-${{ matrix.distro_version }}.tar.gz fail_on_unmatched_files: true @@ -147,7 +147,7 @@ jobs: uses: softprops/action-gh-release@v1 with: prerelease: true - name: scuda-artifacts-${{ matrix.cuda_version }}-${{ matrix.os_distro }}-${{ matrix.distro_version }}-$(date +%Y-%m-%d-%H-%M) - tag_name: scuda-artifacts-${{ matrix.cuda_version }}-${{ matrix.os_distro }}-${{ matrix.distro_version }}-latest-$(date +%Y-%m-%d-%H-%M) + name: scuda-artifacts-${{ matrix.cuda_version }}-${{ matrix.os_distro }}-${{ matrix.distro_version }} + tag_name: scuda-artifacts-${{ matrix.cuda_version }}-${{ matrix.os_distro }}-${{ matrix.distro_version }} files: scuda-artifacts-${{ matrix.cuda_version }}-${{ matrix.distro_version }}.tar.gz fail_on_unmatched_files: true