mlsys-lab 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mlsys/__init__.py +29 -0
- mlsys/__main__.py +4 -0
- mlsys/bank.py +81 -0
- mlsys/cli.py +139 -0
- mlsys/jsonsafe.py +36 -0
- mlsys/probe.py +29 -0
- mlsys/runner.py +70 -0
- mlsys/runners/__init__.py +8 -0
- mlsys/runners/cpp.py +60 -0
- mlsys/runners/cuda.py +61 -0
- mlsys/scorers.py +91 -0
- mlsys/sim/__init__.py +30 -0
- mlsys/sim/abi.py +48 -0
- mlsys/sim/cache.py +55 -0
- mlsys/sim/cuda_c.py +1176 -0
- mlsys/sim/gpu.py +439 -0
- mlsys/sim/simt.py +52 -0
- mlsys/task.py +71 -0
- mlsys/task_list2.json +29477 -0
- mlsys/tasks/alg-1-nn-single-query/check.py +33 -0
- mlsys/tasks/alg-1-nn-single-query/gen_fixtures.py +1 -0
- mlsys/tasks/alg-1-nn-single-query/meta.json +22 -0
- mlsys/tasks/alg-1-nn-single-query/solution_ref.py +11 -0
- mlsys/tasks/alg-1-nn-single-query/starter.py +4 -0
- mlsys/tasks/alg-1-nn-single-query/task.md +45 -0
- mlsys/tasks/alg-adam-with-bias-correction-step-by-step/check.py +30 -0
- mlsys/tasks/alg-adam-with-bias-correction-step-by-step/gen_fixtures.py +1 -0
- mlsys/tasks/alg-adam-with-bias-correction-step-by-step/meta.json +22 -0
- mlsys/tasks/alg-adam-with-bias-correction-step-by-step/solution_ref.py +45 -0
- mlsys/tasks/alg-adam-with-bias-correction-step-by-step/starter.py +6 -0
- mlsys/tasks/alg-adam-with-bias-correction-step-by-step/task.md +84 -0
- mlsys/tasks/alg-approximate-nn-recall-gate-lsh-random-hyperplane/check.py +14 -0
- mlsys/tasks/alg-approximate-nn-recall-gate-lsh-random-hyperplane/gen_fixtures.py +1 -0
- mlsys/tasks/alg-approximate-nn-recall-gate-lsh-random-hyperplane/meta.json +22 -0
- mlsys/tasks/alg-approximate-nn-recall-gate-lsh-random-hyperplane/solution_ref.py +45 -0
- mlsys/tasks/alg-approximate-nn-recall-gate-lsh-random-hyperplane/starter.py +2 -0
- mlsys/tasks/alg-approximate-nn-recall-gate-lsh-random-hyperplane/task.md +55 -0
- mlsys/tasks/alg-brute-force-knn-majority-vote/check.py +40 -0
- mlsys/tasks/alg-brute-force-knn-majority-vote/gen_fixtures.py +1 -0
- mlsys/tasks/alg-brute-force-knn-majority-vote/meta.json +22 -0
- mlsys/tasks/alg-brute-force-knn-majority-vote/solution_ref.py +30 -0
- mlsys/tasks/alg-brute-force-knn-majority-vote/starter.py +7 -0
- mlsys/tasks/alg-brute-force-knn-majority-vote/task.md +47 -0
- mlsys/tasks/alg-cosine-schedule-with-linear-warmup/check.py +45 -0
- mlsys/tasks/alg-cosine-schedule-with-linear-warmup/gen_fixtures.py +1 -0
- mlsys/tasks/alg-cosine-schedule-with-linear-warmup/meta.json +22 -0
- mlsys/tasks/alg-cosine-schedule-with-linear-warmup/solution_ref.py +44 -0
- mlsys/tasks/alg-cosine-schedule-with-linear-warmup/starter.py +4 -0
- mlsys/tasks/alg-cosine-schedule-with-linear-warmup/task.md +48 -0
- mlsys/tasks/alg-count-distance-computations-brute-vs-kd-tree/check.py +74 -0
- mlsys/tasks/alg-count-distance-computations-brute-vs-kd-tree/gen_fixtures.py +1 -0
- mlsys/tasks/alg-count-distance-computations-brute-vs-kd-tree/meta.json +22 -0
- mlsys/tasks/alg-count-distance-computations-brute-vs-kd-tree/solution_ref.py +56 -0
- mlsys/tasks/alg-count-distance-computations-brute-vs-kd-tree/starter.py +2 -0
- mlsys/tasks/alg-count-distance-computations-brute-vs-kd-tree/task.md +57 -0
- mlsys/tasks/alg-covariance-eig-vs-svd-on-ill-conditioned-x/check.py +53 -0
- mlsys/tasks/alg-covariance-eig-vs-svd-on-ill-conditioned-x/gen_fixtures.py +1 -0
- mlsys/tasks/alg-covariance-eig-vs-svd-on-ill-conditioned-x/meta.json +22 -0
- mlsys/tasks/alg-covariance-eig-vs-svd-on-ill-conditioned-x/solution_ref.py +32 -0
- mlsys/tasks/alg-covariance-eig-vs-svd-on-ill-conditioned-x/starter.py +7 -0
- mlsys/tasks/alg-covariance-eig-vs-svd-on-ill-conditioned-x/task.md +57 -0
- mlsys/tasks/alg-debug-cosine-missing-normalization-div-by-zero/check.py +39 -0
- mlsys/tasks/alg-debug-cosine-missing-normalization-div-by-zero/gen_fixtures.py +1 -0
- mlsys/tasks/alg-debug-cosine-missing-normalization-div-by-zero/meta.json +22 -0
- mlsys/tasks/alg-debug-cosine-missing-normalization-div-by-zero/solution_ref.py +16 -0
- mlsys/tasks/alg-debug-cosine-missing-normalization-div-by-zero/starter.py +6 -0
- mlsys/tasks/alg-debug-cosine-missing-normalization-div-by-zero/task.md +52 -0
- mlsys/tasks/alg-debug-empty-cluster-crash-nan-centroid/check.py +55 -0
- mlsys/tasks/alg-debug-empty-cluster-crash-nan-centroid/gen_fixtures.py +1 -0
- mlsys/tasks/alg-debug-empty-cluster-crash-nan-centroid/meta.json +22 -0
- mlsys/tasks/alg-debug-empty-cluster-crash-nan-centroid/solution_ref.py +25 -0
- mlsys/tasks/alg-debug-empty-cluster-crash-nan-centroid/starter.py +21 -0
- mlsys/tasks/alg-debug-empty-cluster-crash-nan-centroid/task.md +86 -0
- mlsys/tasks/alg-debug-missing-centering-wrong-normalization/check.py +24 -0
- mlsys/tasks/alg-debug-missing-centering-wrong-normalization/gen_fixtures.py +1 -0
- mlsys/tasks/alg-debug-missing-centering-wrong-normalization/meta.json +22 -0
- mlsys/tasks/alg-debug-missing-centering-wrong-normalization/solution_ref.py +14 -0
- mlsys/tasks/alg-debug-missing-centering-wrong-normalization/starter.py +10 -0
- mlsys/tasks/alg-debug-missing-centering-wrong-normalization/task.md +39 -0
- mlsys/tasks/alg-debug-off-by-one-k-wrong-tie-break/check.py +67 -0
- mlsys/tasks/alg-debug-off-by-one-k-wrong-tie-break/gen_fixtures.py +1 -0
- mlsys/tasks/alg-debug-off-by-one-k-wrong-tie-break/meta.json +22 -0
- mlsys/tasks/alg-debug-off-by-one-k-wrong-tie-break/solution_ref.py +22 -0
- mlsys/tasks/alg-debug-off-by-one-k-wrong-tie-break/starter.py +4 -0
- mlsys/tasks/alg-debug-off-by-one-k-wrong-tie-break/task.md +59 -0
- mlsys/tasks/alg-debug-softmax-wrong-axis-no-shift/check.py +47 -0
- mlsys/tasks/alg-debug-softmax-wrong-axis-no-shift/gen_fixtures.py +1 -0
- mlsys/tasks/alg-debug-softmax-wrong-axis-no-shift/meta.json +24 -0
- mlsys/tasks/alg-debug-softmax-wrong-axis-no-shift/solution_ref.py +6 -0
- mlsys/tasks/alg-debug-softmax-wrong-axis-no-shift/starter.py +5 -0
- mlsys/tasks/alg-debug-softmax-wrong-axis-no-shift/task.md +36 -0
- mlsys/tasks/alg-debug-u-v-transpose-or-component-ordering/check.py +34 -0
- mlsys/tasks/alg-debug-u-v-transpose-or-component-ordering/gen_fixtures.py +1 -0
- mlsys/tasks/alg-debug-u-v-transpose-or-component-ordering/meta.json +22 -0
- mlsys/tasks/alg-debug-u-v-transpose-or-component-ordering/solution_ref.py +6 -0
- mlsys/tasks/alg-debug-u-v-transpose-or-component-ordering/starter.py +8 -0
- mlsys/tasks/alg-debug-u-v-transpose-or-component-ordering/task.md +64 -0
- mlsys/tasks/alg-decision-boundary-labels-on-a-grid/check.py +49 -0
- mlsys/tasks/alg-decision-boundary-labels-on-a-grid/gen_fixtures.py +1 -0
- mlsys/tasks/alg-decision-boundary-labels-on-a-grid/meta.json +22 -0
- mlsys/tasks/alg-decision-boundary-labels-on-a-grid/solution_ref.py +50 -0
- mlsys/tasks/alg-decision-boundary-labels-on-a-grid/starter.py +4 -0
- mlsys/tasks/alg-decision-boundary-labels-on-a-grid/task.md +67 -0
- mlsys/tasks/alg-derive-verify-convergence-rate-l2-l1-t/check.py +35 -0
- mlsys/tasks/alg-derive-verify-convergence-rate-l2-l1-t/gen_fixtures.py +1 -0
- mlsys/tasks/alg-derive-verify-convergence-rate-l2-l1-t/meta.json +22 -0
- mlsys/tasks/alg-derive-verify-convergence-rate-l2-l1-t/solution_ref.py +13 -0
- mlsys/tasks/alg-derive-verify-convergence-rate-l2-l1-t/starter.py +4 -0
- mlsys/tasks/alg-derive-verify-convergence-rate-l2-l1-t/task.md +61 -0
- mlsys/tasks/alg-eckart-young-error-sum-of-dropped-sigma-2/check.py +45 -0
- mlsys/tasks/alg-eckart-young-error-sum-of-dropped-sigma-2/gen_fixtures.py +1 -0
- mlsys/tasks/alg-eckart-young-error-sum-of-dropped-sigma-2/meta.json +22 -0
- mlsys/tasks/alg-eckart-young-error-sum-of-dropped-sigma-2/solution_ref.py +19 -0
- mlsys/tasks/alg-eckart-young-error-sum-of-dropped-sigma-2/starter.py +13 -0
- mlsys/tasks/alg-eckart-young-error-sum-of-dropped-sigma-2/task.md +73 -0
- mlsys/tasks/alg-expansion-trick-pairwise-forced-vectorized/check.py +66 -0
- mlsys/tasks/alg-expansion-trick-pairwise-forced-vectorized/gen_fixtures.py +1 -0
- mlsys/tasks/alg-expansion-trick-pairwise-forced-vectorized/meta.json +27 -0
- mlsys/tasks/alg-expansion-trick-pairwise-forced-vectorized/solution_ref.py +7 -0
- mlsys/tasks/alg-expansion-trick-pairwise-forced-vectorized/starter.py +4 -0
- mlsys/tasks/alg-expansion-trick-pairwise-forced-vectorized/task.md +77 -0
- mlsys/tasks/alg-full-adamw-wd-warmup-clip-single-step/check.py +66 -0
- mlsys/tasks/alg-full-adamw-wd-warmup-clip-single-step/gen_fixtures.py +1 -0
- mlsys/tasks/alg-full-adamw-wd-warmup-clip-single-step/meta.json +22 -0
- mlsys/tasks/alg-full-adamw-wd-warmup-clip-single-step/solution_ref.py +29 -0
- mlsys/tasks/alg-full-adamw-wd-warmup-clip-single-step/starter.py +4 -0
- mlsys/tasks/alg-full-adamw-wd-warmup-clip-single-step/task.md +107 -0
- mlsys/tasks/alg-full-lloyd-with-fixed-init/check.py +43 -0
- mlsys/tasks/alg-full-lloyd-with-fixed-init/gen_fixtures.py +1 -0
- mlsys/tasks/alg-full-lloyd-with-fixed-init/meta.json +22 -0
- mlsys/tasks/alg-full-lloyd-with-fixed-init/solution_ref.py +23 -0
- mlsys/tasks/alg-full-lloyd-with-fixed-init/starter.py +5 -0
- mlsys/tasks/alg-full-lloyd-with-fixed-init/task.md +65 -0
- mlsys/tasks/alg-fused-cross-entropy-from-logits/check.py +34 -0
- mlsys/tasks/alg-fused-cross-entropy-from-logits/gen_fixtures.py +1 -0
- mlsys/tasks/alg-fused-cross-entropy-from-logits/meta.json +22 -0
- mlsys/tasks/alg-fused-cross-entropy-from-logits/solution_ref.py +12 -0
- mlsys/tasks/alg-fused-cross-entropy-from-logits/starter.py +2 -0
- mlsys/tasks/alg-fused-cross-entropy-from-logits/task.md +48 -0
- mlsys/tasks/alg-global-norm-gradient-clipping/check.py +39 -0
- mlsys/tasks/alg-global-norm-gradient-clipping/gen_fixtures.py +1 -0
- mlsys/tasks/alg-global-norm-gradient-clipping/meta.json +22 -0
- mlsys/tasks/alg-global-norm-gradient-clipping/solution_ref.py +7 -0
- mlsys/tasks/alg-global-norm-gradient-clipping/starter.py +8 -0
- mlsys/tasks/alg-global-norm-gradient-clipping/task.md +44 -0
- mlsys/tasks/alg-hamming-jaccard-on-binary-vectors/check.py +29 -0
- mlsys/tasks/alg-hamming-jaccard-on-binary-vectors/gen_fixtures.py +1 -0
- mlsys/tasks/alg-hamming-jaccard-on-binary-vectors/meta.json +22 -0
- mlsys/tasks/alg-hamming-jaccard-on-binary-vectors/solution_ref.py +14 -0
- mlsys/tasks/alg-hamming-jaccard-on-binary-vectors/starter.py +4 -0
- mlsys/tasks/alg-hamming-jaccard-on-binary-vectors/task.md +61 -0
- mlsys/tasks/alg-iterations-to-tolerance-vs-eigen-gap/check.py +35 -0
- mlsys/tasks/alg-iterations-to-tolerance-vs-eigen-gap/gen_fixtures.py +1 -0
- mlsys/tasks/alg-iterations-to-tolerance-vs-eigen-gap/meta.json +22 -0
- mlsys/tasks/alg-iterations-to-tolerance-vs-eigen-gap/solution_ref.py +23 -0
- mlsys/tasks/alg-iterations-to-tolerance-vs-eigen-gap/starter.py +4 -0
- mlsys/tasks/alg-iterations-to-tolerance-vs-eigen-gap/task.md +37 -0
- mlsys/tasks/alg-k-means-assignment-step-only/check.py +23 -0
- mlsys/tasks/alg-k-means-assignment-step-only/gen_fixtures.py +1 -0
- mlsys/tasks/alg-k-means-assignment-step-only/meta.json +22 -0
- mlsys/tasks/alg-k-means-assignment-step-only/solution_ref.py +7 -0
- mlsys/tasks/alg-k-means-assignment-step-only/starter.py +4 -0
- mlsys/tasks/alg-k-means-assignment-step-only/task.md +36 -0
- mlsys/tasks/alg-k-means-seeding-from-given-random-stream/check.py +70 -0
- mlsys/tasks/alg-k-means-seeding-from-given-random-stream/gen_fixtures.py +1 -0
- mlsys/tasks/alg-k-means-seeding-from-given-random-stream/meta.json +22 -0
- mlsys/tasks/alg-k-means-seeding-from-given-random-stream/solution_ref.py +32 -0
- mlsys/tasks/alg-k-means-seeding-from-given-random-stream/starter.py +4 -0
- mlsys/tasks/alg-k-means-seeding-from-given-random-stream/task.md +63 -0
- mlsys/tasks/alg-kahan-neumaier-compensated-summation/check.py +23 -0
- mlsys/tasks/alg-kahan-neumaier-compensated-summation/gen_fixtures.py +1 -0
- mlsys/tasks/alg-kahan-neumaier-compensated-summation/meta.json +22 -0
- mlsys/tasks/alg-kahan-neumaier-compensated-summation/solution_ref.py +13 -0
- mlsys/tasks/alg-kahan-neumaier-compensated-summation/starter.py +8 -0
- mlsys/tasks/alg-kahan-neumaier-compensated-summation/task.md +34 -0
- mlsys/tasks/alg-kd-tree-build-exact-nn-query/check.py +29 -0
- mlsys/tasks/alg-kd-tree-build-exact-nn-query/gen_fixtures.py +1 -0
- mlsys/tasks/alg-kd-tree-build-exact-nn-query/meta.json +23 -0
- mlsys/tasks/alg-kd-tree-build-exact-nn-query/solution_ref.py +61 -0
- mlsys/tasks/alg-kd-tree-build-exact-nn-query/starter.py +7 -0
- mlsys/tasks/alg-kd-tree-build-exact-nn-query/task.md +52 -0
- mlsys/tasks/alg-knn-regression-averaging/check.py +39 -0
- mlsys/tasks/alg-knn-regression-averaging/gen_fixtures.py +1 -0
- mlsys/tasks/alg-knn-regression-averaging/meta.json +22 -0
- mlsys/tasks/alg-knn-regression-averaging/solution_ref.py +18 -0
- mlsys/tasks/alg-knn-regression-averaging/starter.py +4 -0
- mlsys/tasks/alg-knn-regression-averaging/task.md +44 -0
- mlsys/tasks/alg-l2-vs-cosine-neighbor-set-divergence/check.py +39 -0
- mlsys/tasks/alg-l2-vs-cosine-neighbor-set-divergence/gen_fixtures.py +1 -0
- mlsys/tasks/alg-l2-vs-cosine-neighbor-set-divergence/meta.json +22 -0
- mlsys/tasks/alg-l2-vs-cosine-neighbor-set-divergence/solution_ref.py +25 -0
- mlsys/tasks/alg-l2-vs-cosine-neighbor-set-divergence/starter.py +4 -0
- mlsys/tasks/alg-l2-vs-cosine-neighbor-set-divergence/task.md +52 -0
- mlsys/tasks/alg-leave-one-out-knn-accuracy-without-leakage/check.py +55 -0
- mlsys/tasks/alg-leave-one-out-knn-accuracy-without-leakage/gen_fixtures.py +1 -0
- mlsys/tasks/alg-leave-one-out-knn-accuracy-without-leakage/meta.json +22 -0
- mlsys/tasks/alg-leave-one-out-knn-accuracy-without-leakage/solution_ref.py +18 -0
- mlsys/tasks/alg-leave-one-out-knn-accuracy-without-leakage/starter.py +4 -0
- mlsys/tasks/alg-leave-one-out-knn-accuracy-without-leakage/task.md +49 -0
- mlsys/tasks/alg-log1p-expm1-for-small-x/check.py +23 -0
- mlsys/tasks/alg-log1p-expm1-for-small-x/gen_fixtures.py +1 -0
- mlsys/tasks/alg-log1p-expm1-for-small-x/meta.json +28 -0
- mlsys/tasks/alg-log1p-expm1-for-small-x/solution_ref.py +7 -0
- mlsys/tasks/alg-log1p-expm1-for-small-x/starter.py +5 -0
- mlsys/tasks/alg-log1p-expm1-for-small-x/task.md +39 -0
- mlsys/tasks/alg-logsumexp-with-max-shift/check.py +35 -0
- mlsys/tasks/alg-logsumexp-with-max-shift/gen_fixtures.py +1 -0
- mlsys/tasks/alg-logsumexp-with-max-shift/meta.json +22 -0
- mlsys/tasks/alg-logsumexp-with-max-shift/solution_ref.py +12 -0
- mlsys/tasks/alg-logsumexp-with-max-shift/starter.py +4 -0
- mlsys/tasks/alg-logsumexp-with-max-shift/task.md +44 -0
- mlsys/tasks/alg-low-rank-round-trip-a-weight-matrix/check.py +95 -0
- mlsys/tasks/alg-low-rank-round-trip-a-weight-matrix/gen_fixtures.py +1 -0
- mlsys/tasks/alg-low-rank-round-trip-a-weight-matrix/meta.json +33 -0
- mlsys/tasks/alg-low-rank-round-trip-a-weight-matrix/solution_ref.py +16 -0
- mlsys/tasks/alg-low-rank-round-trip-a-weight-matrix/starter.py +11 -0
- mlsys/tasks/alg-low-rank-round-trip-a-weight-matrix/task.md +99 -0
- mlsys/tasks/alg-mahalanobis-distance-with-given-covariance/check.py +36 -0
- mlsys/tasks/alg-mahalanobis-distance-with-given-covariance/gen_fixtures.py +1 -0
- mlsys/tasks/alg-mahalanobis-distance-with-given-covariance/meta.json +22 -0
- mlsys/tasks/alg-mahalanobis-distance-with-given-covariance/solution_ref.py +8 -0
- mlsys/tasks/alg-mahalanobis-distance-with-given-covariance/starter.py +5 -0
- mlsys/tasks/alg-mahalanobis-distance-with-given-covariance/task.md +32 -0
- mlsys/tasks/alg-mini-batch-k-means-deterministic/check.py +39 -0
- mlsys/tasks/alg-mini-batch-k-means-deterministic/gen_fixtures.py +1 -0
- mlsys/tasks/alg-mini-batch-k-means-deterministic/meta.json +22 -0
- mlsys/tasks/alg-mini-batch-k-means-deterministic/solution_ref.py +53 -0
- mlsys/tasks/alg-mini-batch-k-means-deterministic/starter.py +4 -0
- mlsys/tasks/alg-mini-batch-k-means-deterministic/task.md +50 -0
- mlsys/tasks/alg-naive-softmax-overflow-max-subtraction-fix/check.py +31 -0
- mlsys/tasks/alg-naive-softmax-overflow-max-subtraction-fix/gen_fixtures.py +1 -0
- mlsys/tasks/alg-naive-softmax-overflow-max-subtraction-fix/meta.json +22 -0
- mlsys/tasks/alg-naive-softmax-overflow-max-subtraction-fix/solution_ref.py +7 -0
- mlsys/tasks/alg-naive-softmax-overflow-max-subtraction-fix/starter.py +4 -0
- mlsys/tasks/alg-naive-softmax-overflow-max-subtraction-fix/task.md +41 -0
- mlsys/tasks/alg-nesterov-accelerated-gradient/check.py +42 -0
- mlsys/tasks/alg-nesterov-accelerated-gradient/gen_fixtures.py +1 -0
- mlsys/tasks/alg-nesterov-accelerated-gradient/meta.json +22 -0
- mlsys/tasks/alg-nesterov-accelerated-gradient/solution_ref.py +17 -0
- mlsys/tasks/alg-nesterov-accelerated-gradient/starter.py +4 -0
- mlsys/tasks/alg-nesterov-accelerated-gradient/task.md +70 -0
- mlsys/tasks/alg-optimal-momentum-on-a-quadratic-vs-kappa/check.py +23 -0
- mlsys/tasks/alg-optimal-momentum-on-a-quadratic-vs-kappa/gen_fixtures.py +1 -0
- mlsys/tasks/alg-optimal-momentum-on-a-quadratic-vs-kappa/meta.json +22 -0
- mlsys/tasks/alg-optimal-momentum-on-a-quadratic-vs-kappa/solution_ref.py +21 -0
- mlsys/tasks/alg-optimal-momentum-on-a-quadratic-vs-kappa/starter.py +5 -0
- mlsys/tasks/alg-optimal-momentum-on-a-quadratic-vs-kappa/task.md +58 -0
- mlsys/tasks/alg-pairwise-l1-manhattan-matrix/check.py +18 -0
- mlsys/tasks/alg-pairwise-l1-manhattan-matrix/gen_fixtures.py +1 -0
- mlsys/tasks/alg-pairwise-l1-manhattan-matrix/meta.json +22 -0
- mlsys/tasks/alg-pairwise-l1-manhattan-matrix/solution_ref.py +23 -0
- mlsys/tasks/alg-pairwise-l1-manhattan-matrix/starter.py +5 -0
- mlsys/tasks/alg-pairwise-l1-manhattan-matrix/task.md +47 -0
- mlsys/tasks/alg-pca-via-svd-center-decompose-project/check.py +35 -0
- mlsys/tasks/alg-pca-via-svd-center-decompose-project/gen_fixtures.py +1 -0
- mlsys/tasks/alg-pca-via-svd-center-decompose-project/meta.json +22 -0
- mlsys/tasks/alg-pca-via-svd-center-decompose-project/solution_ref.py +8 -0
- mlsys/tasks/alg-pca-via-svd-center-decompose-project/starter.py +4 -0
- mlsys/tasks/alg-pca-via-svd-center-decompose-project/task.md +54 -0
- mlsys/tasks/alg-pick-rank-for-90-energy-report-footprint/check.py +34 -0
- mlsys/tasks/alg-pick-rank-for-90-energy-report-footprint/gen_fixtures.py +1 -0
- mlsys/tasks/alg-pick-rank-for-90-energy-report-footprint/meta.json +27 -0
- mlsys/tasks/alg-pick-rank-for-90-energy-report-footprint/solution_ref.py +10 -0
- mlsys/tasks/alg-pick-rank-for-90-energy-report-footprint/starter.py +2 -0
- mlsys/tasks/alg-pick-rank-for-90-energy-report-footprint/task.md +57 -0
- mlsys/tasks/alg-power-iteration-vs-numpy-svd-components/check.py +30 -0
- mlsys/tasks/alg-power-iteration-vs-numpy-svd-components/gen_fixtures.py +1 -0
- mlsys/tasks/alg-power-iteration-vs-numpy-svd-components/meta.json +22 -0
- mlsys/tasks/alg-power-iteration-vs-numpy-svd-components/solution_ref.py +47 -0
- mlsys/tasks/alg-power-iteration-vs-numpy-svd-components/starter.py +2 -0
- mlsys/tasks/alg-power-iteration-vs-numpy-svd-components/task.md +37 -0
- mlsys/tasks/alg-predict-converge-vs-diverge-from-learning-rate/check.py +27 -0
- mlsys/tasks/alg-predict-converge-vs-diverge-from-learning-rate/gen_fixtures.py +1 -0
- mlsys/tasks/alg-predict-converge-vs-diverge-from-learning-rate/meta.json +22 -0
- mlsys/tasks/alg-predict-converge-vs-diverge-from-learning-rate/solution_ref.py +3 -0
- mlsys/tasks/alg-predict-converge-vs-diverge-from-learning-rate/starter.py +2 -0
- mlsys/tasks/alg-predict-converge-vs-diverge-from-learning-rate/task.md +48 -0
- mlsys/tasks/alg-predict-convergence-iteration-final-labels/check.py +39 -0
- mlsys/tasks/alg-predict-convergence-iteration-final-labels/gen_fixtures.py +1 -0
- mlsys/tasks/alg-predict-convergence-iteration-final-labels/meta.json +22 -0
- mlsys/tasks/alg-predict-convergence-iteration-final-labels/solution_ref.py +26 -0
- mlsys/tasks/alg-predict-convergence-iteration-final-labels/starter.py +4 -0
- mlsys/tasks/alg-predict-convergence-iteration-final-labels/task.md +51 -0
- mlsys/tasks/alg-prove-expansion-identity-is-exact/check.py +19 -0
- mlsys/tasks/alg-prove-expansion-identity-is-exact/gen_fixtures.py +1 -0
- mlsys/tasks/alg-prove-expansion-identity-is-exact/meta.json +22 -0
- mlsys/tasks/alg-prove-expansion-identity-is-exact/solution_ref.py +6 -0
- mlsys/tasks/alg-prove-expansion-identity-is-exact/starter.py +4 -0
- mlsys/tasks/alg-prove-expansion-identity-is-exact/task.md +48 -0
- mlsys/tasks/alg-prove-inertia-non-increasing/check.py +57 -0
- mlsys/tasks/alg-prove-inertia-non-increasing/gen_fixtures.py +1 -0
- mlsys/tasks/alg-prove-inertia-non-increasing/meta.json +27 -0
- mlsys/tasks/alg-prove-inertia-non-increasing/solution_ref.py +27 -0
- mlsys/tasks/alg-prove-inertia-non-increasing/starter.py +4 -0
- mlsys/tasks/alg-prove-inertia-non-increasing/task.md +53 -0
- mlsys/tasks/alg-prove-logsumexp-shift-invariance/check.py +28 -0
- mlsys/tasks/alg-prove-logsumexp-shift-invariance/gen_fixtures.py +1 -0
- mlsys/tasks/alg-prove-logsumexp-shift-invariance/meta.json +22 -0
- mlsys/tasks/alg-prove-logsumexp-shift-invariance/solution_ref.py +6 -0
- mlsys/tasks/alg-prove-logsumexp-shift-invariance/starter.py +4 -0
- mlsys/tasks/alg-prove-logsumexp-shift-invariance/task.md +58 -0
- mlsys/tasks/alg-random-init-vs-k-means-final-inertia/check.py +58 -0
- mlsys/tasks/alg-random-init-vs-k-means-final-inertia/gen_fixtures.py +1 -0
- mlsys/tasks/alg-random-init-vs-k-means-final-inertia/meta.json +22 -0
- mlsys/tasks/alg-random-init-vs-k-means-final-inertia/solution_ref.py +39 -0
- mlsys/tasks/alg-random-init-vs-k-means-final-inertia/starter.py +4 -0
- mlsys/tasks/alg-random-init-vs-k-means-final-inertia/task.md +64 -0
- mlsys/tasks/alg-randomized-svd-halko-from-scratch/check.py +43 -0
- mlsys/tasks/alg-randomized-svd-halko-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/alg-randomized-svd-halko-from-scratch/meta.json +27 -0
- mlsys/tasks/alg-randomized-svd-halko-from-scratch/solution_ref.py +19 -0
- mlsys/tasks/alg-randomized-svd-halko-from-scratch/starter.py +4 -0
- mlsys/tasks/alg-randomized-svd-halko-from-scratch/task.md +95 -0
- mlsys/tasks/alg-rank-k-factors-without-forming-full-product/check.py +71 -0
- mlsys/tasks/alg-rank-k-factors-without-forming-full-product/gen_fixtures.py +1 -0
- mlsys/tasks/alg-rank-k-factors-without-forming-full-product/meta.json +27 -0
- mlsys/tasks/alg-rank-k-factors-without-forming-full-product/solution_ref.py +6 -0
- mlsys/tasks/alg-rank-k-factors-without-forming-full-product/starter.py +4 -0
- mlsys/tasks/alg-rank-k-factors-without-forming-full-product/task.md +69 -0
- mlsys/tasks/alg-rank-k-project-reconstruct/check.py +31 -0
- mlsys/tasks/alg-rank-k-project-reconstruct/gen_fixtures.py +1 -0
- mlsys/tasks/alg-rank-k-project-reconstruct/meta.json +22 -0
- mlsys/tasks/alg-rank-k-project-reconstruct/solution_ref.py +17 -0
- mlsys/tasks/alg-rank-k-project-reconstruct/starter.py +2 -0
- mlsys/tasks/alg-rank-k-project-reconstruct/task.md +43 -0
- mlsys/tasks/alg-read-singular-values-variance-explained/check.py +25 -0
- mlsys/tasks/alg-read-singular-values-variance-explained/gen_fixtures.py +1 -0
- mlsys/tasks/alg-read-singular-values-variance-explained/meta.json +22 -0
- mlsys/tasks/alg-read-singular-values-variance-explained/solution_ref.py +8 -0
- mlsys/tasks/alg-read-singular-values-variance-explained/starter.py +2 -0
- mlsys/tasks/alg-read-singular-values-variance-explained/task.md +49 -0
- mlsys/tasks/alg-recover-centroids-from-assignments-data/check.py +20 -0
- mlsys/tasks/alg-recover-centroids-from-assignments-data/gen_fixtures.py +1 -0
- mlsys/tasks/alg-recover-centroids-from-assignments-data/meta.json +22 -0
- mlsys/tasks/alg-recover-centroids-from-assignments-data/solution_ref.py +5 -0
- mlsys/tasks/alg-recover-centroids-from-assignments-data/starter.py +4 -0
- mlsys/tasks/alg-recover-centroids-from-assignments-data/task.md +18 -0
- mlsys/tasks/alg-recover-embedding-from-distances-classical-mds/check.py +31 -0
- mlsys/tasks/alg-recover-embedding-from-distances-classical-mds/gen_fixtures.py +1 -0
- mlsys/tasks/alg-recover-embedding-from-distances-classical-mds/meta.json +22 -0
- mlsys/tasks/alg-recover-embedding-from-distances-classical-mds/solution_ref.py +28 -0
- mlsys/tasks/alg-recover-embedding-from-distances-classical-mds/starter.py +6 -0
- mlsys/tasks/alg-recover-embedding-from-distances-classical-mds/task.md +46 -0
- mlsys/tasks/alg-rmsprop-adagrad-from-scratch/check.py +48 -0
- mlsys/tasks/alg-rmsprop-adagrad-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/alg-rmsprop-adagrad-from-scratch/meta.json +22 -0
- mlsys/tasks/alg-rmsprop-adagrad-from-scratch/solution_ref.py +37 -0
- mlsys/tasks/alg-rmsprop-adagrad-from-scratch/starter.py +6 -0
- mlsys/tasks/alg-rmsprop-adagrad-from-scratch/task.md +101 -0
- mlsys/tasks/alg-sgd-momentum-on-a-fixed-quadratic/check.py +37 -0
- mlsys/tasks/alg-sgd-momentum-on-a-fixed-quadratic/gen_fixtures.py +1 -0
- mlsys/tasks/alg-sgd-momentum-on-a-fixed-quadratic/meta.json +22 -0
- mlsys/tasks/alg-sgd-momentum-on-a-fixed-quadratic/solution_ref.py +40 -0
- mlsys/tasks/alg-sgd-momentum-on-a-fixed-quadratic/starter.py +6 -0
- mlsys/tasks/alg-sgd-momentum-on-a-fixed-quadratic/task.md +73 -0
- mlsys/tasks/alg-sgd-vs-adam-steps-to-tolerance-ill-conditioned/check.py +82 -0
- mlsys/tasks/alg-sgd-vs-adam-steps-to-tolerance-ill-conditioned/gen_fixtures.py +1 -0
- mlsys/tasks/alg-sgd-vs-adam-steps-to-tolerance-ill-conditioned/meta.json +22 -0
- mlsys/tasks/alg-sgd-vs-adam-steps-to-tolerance-ill-conditioned/solution_ref.py +58 -0
- mlsys/tasks/alg-sgd-vs-adam-steps-to-tolerance-ill-conditioned/starter.py +2 -0
- mlsys/tasks/alg-sgd-vs-adam-steps-to-tolerance-ill-conditioned/task.md +75 -0
- mlsys/tasks/alg-shifted-inverse-iteration-for-interior-eigenvalue/check.py +38 -0
- mlsys/tasks/alg-shifted-inverse-iteration-for-interior-eigenvalue/gen_fixtures.py +1 -0
- mlsys/tasks/alg-shifted-inverse-iteration-for-interior-eigenvalue/meta.json +22 -0
- mlsys/tasks/alg-shifted-inverse-iteration-for-interior-eigenvalue/solution_ref.py +16 -0
- mlsys/tasks/alg-shifted-inverse-iteration-for-interior-eigenvalue/starter.py +4 -0
- mlsys/tasks/alg-shifted-inverse-iteration-for-interior-eigenvalue/task.md +78 -0
- mlsys/tasks/alg-softmax-temperature-scaling-range/check.py +55 -0
- mlsys/tasks/alg-softmax-temperature-scaling-range/gen_fixtures.py +1 -0
- mlsys/tasks/alg-softmax-temperature-scaling-range/meta.json +20 -0
- mlsys/tasks/alg-softmax-temperature-scaling-range/solution_ref.py +11 -0
- mlsys/tasks/alg-softmax-temperature-scaling-range/starter.py +11 -0
- mlsys/tasks/alg-softmax-temperature-scaling-range/task.md +30 -0
- mlsys/tasks/alg-stable-log-softmax/check.py +45 -0
- mlsys/tasks/alg-stable-log-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/alg-stable-log-softmax/meta.json +22 -0
- mlsys/tasks/alg-stable-log-softmax/solution_ref.py +24 -0
- mlsys/tasks/alg-stable-log-softmax/starter.py +6 -0
- mlsys/tasks/alg-stable-log-softmax/task.md +43 -0
- mlsys/tasks/alg-stable-sigmoid-branch-on-sign/check.py +31 -0
- mlsys/tasks/alg-stable-sigmoid-branch-on-sign/gen_fixtures.py +1 -0
- mlsys/tasks/alg-stable-sigmoid-branch-on-sign/meta.json +22 -0
- mlsys/tasks/alg-stable-sigmoid-branch-on-sign/solution_ref.py +19 -0
- mlsys/tasks/alg-stable-sigmoid-branch-on-sign/starter.py +4 -0
- mlsys/tasks/alg-stable-sigmoid-branch-on-sign/task.md +39 -0
- mlsys/tasks/alg-stable-softmax-on-large-logits/check.py +31 -0
- mlsys/tasks/alg-stable-softmax-on-large-logits/gen_fixtures.py +1 -0
- mlsys/tasks/alg-stable-softmax-on-large-logits/meta.json +22 -0
- mlsys/tasks/alg-stable-softmax-on-large-logits/solution_ref.py +6 -0
- mlsys/tasks/alg-stable-softmax-on-large-logits/starter.py +8 -0
- mlsys/tasks/alg-stable-softmax-on-large-logits/task.md +28 -0
- mlsys/tasks/alg-streaming-incremental-svd-update/check.py +35 -0
- mlsys/tasks/alg-streaming-incremental-svd-update/gen_fixtures.py +1 -0
- mlsys/tasks/alg-streaming-incremental-svd-update/meta.json +22 -0
- mlsys/tasks/alg-streaming-incremental-svd-update/solution_ref.py +12 -0
- mlsys/tasks/alg-streaming-incremental-svd-update/starter.py +4 -0
- mlsys/tasks/alg-streaming-incremental-svd-update/task.md +89 -0
- mlsys/tasks/alg-subspace-block-iteration-for-top-k/check.py +95 -0
- mlsys/tasks/alg-subspace-block-iteration-for-top-k/fixtures/A.npy +0 -0
- mlsys/tasks/alg-subspace-block-iteration-for-top-k/fixtures/Q0.npy +0 -0
- mlsys/tasks/alg-subspace-block-iteration-for-top-k/gen_fixtures.py +36 -0
- mlsys/tasks/alg-subspace-block-iteration-for-top-k/meta.json +40 -0
- mlsys/tasks/alg-subspace-block-iteration-for-top-k/solution_ref.py +20 -0
- mlsys/tasks/alg-subspace-block-iteration-for-top-k/starter.py +22 -0
- mlsys/tasks/alg-subspace-block-iteration-for-top-k/task.md +94 -0
- mlsys/tasks/alg-tiled-blocked-pairwise-memory-access-model/check.py +45 -0
- mlsys/tasks/alg-tiled-blocked-pairwise-memory-access-model/gen_fixtures.py +1 -0
- mlsys/tasks/alg-tiled-blocked-pairwise-memory-access-model/meta.json +22 -0
- mlsys/tasks/alg-tiled-blocked-pairwise-memory-access-model/solution_ref.py +28 -0
- mlsys/tasks/alg-tiled-blocked-pairwise-memory-access-model/starter.py +3 -0
- mlsys/tasks/alg-tiled-blocked-pairwise-memory-access-model/task.md +63 -0
- mlsys/tasks/alg-top-1-eigenvector-via-power-iteration/check.py +51 -0
- mlsys/tasks/alg-top-1-eigenvector-via-power-iteration/fixtures/A.npy +0 -0
- mlsys/tasks/alg-top-1-eigenvector-via-power-iteration/fixtures/n_iter.npy +0 -0
- mlsys/tasks/alg-top-1-eigenvector-via-power-iteration/gen_fixtures.py +1 -0
- mlsys/tasks/alg-top-1-eigenvector-via-power-iteration/meta.json +20 -0
- mlsys/tasks/alg-top-1-eigenvector-via-power-iteration/solution_ref.py +22 -0
- mlsys/tasks/alg-top-1-eigenvector-via-power-iteration/starter.py +13 -0
- mlsys/tasks/alg-top-1-eigenvector-via-power-iteration/task.md +25 -0
- mlsys/tasks/alg-top-k-eigenvectors-via-deflation/check.py +63 -0
- mlsys/tasks/alg-top-k-eigenvectors-via-deflation/gen_fixtures.py +1 -0
- mlsys/tasks/alg-top-k-eigenvectors-via-deflation/meta.json +32 -0
- mlsys/tasks/alg-top-k-eigenvectors-via-deflation/solution_ref.py +11 -0
- mlsys/tasks/alg-top-k-eigenvectors-via-deflation/starter.py +6 -0
- mlsys/tasks/alg-top-k-eigenvectors-via-deflation/task.md +63 -0
- mlsys/tasks/alg-top-k-selection-via-argpartition-heap-no-full-sort/check.py +54 -0
- mlsys/tasks/alg-top-k-selection-via-argpartition-heap-no-full-sort/gen_fixtures.py +1 -0
- mlsys/tasks/alg-top-k-selection-via-argpartition-heap-no-full-sort/meta.json +25 -0
- mlsys/tasks/alg-top-k-selection-via-argpartition-heap-no-full-sort/solution_ref.py +16 -0
- mlsys/tasks/alg-top-k-selection-via-argpartition-heap-no-full-sort/starter.py +7 -0
- mlsys/tasks/alg-top-k-selection-via-argpartition-heap-no-full-sort/task.md +21 -0
- mlsys/tasks/alg-uniform-vs-distance-weighted-vote-divergence/check.py +53 -0
- mlsys/tasks/alg-uniform-vs-distance-weighted-vote-divergence/gen_fixtures.py +1 -0
- mlsys/tasks/alg-uniform-vs-distance-weighted-vote-divergence/meta.json +27 -0
- mlsys/tasks/alg-uniform-vs-distance-weighted-vote-divergence/solution_ref.py +35 -0
- mlsys/tasks/alg-uniform-vs-distance-weighted-vote-divergence/starter.py +4 -0
- mlsys/tasks/alg-uniform-vs-distance-weighted-vote-divergence/task.md +63 -0
- mlsys/tasks/alg-vectorize-assignment-with-expansion-trick/check.py +47 -0
- mlsys/tasks/alg-vectorize-assignment-with-expansion-trick/gen_fixtures.py +1 -0
- mlsys/tasks/alg-vectorize-assignment-with-expansion-trick/meta.json +27 -0
- mlsys/tasks/alg-vectorize-assignment-with-expansion-trick/solution_ref.py +8 -0
- mlsys/tasks/alg-vectorize-assignment-with-expansion-trick/starter.py +4 -0
- mlsys/tasks/alg-vectorize-assignment-with-expansion-trick/task.md +41 -0
- mlsys/tasks/alg-vectorized-pairwise-l2-matrix-no-cdist/check.py +28 -0
- mlsys/tasks/alg-vectorized-pairwise-l2-matrix-no-cdist/gen_fixtures.py +1 -0
- mlsys/tasks/alg-vectorized-pairwise-l2-matrix-no-cdist/meta.json +22 -0
- mlsys/tasks/alg-vectorized-pairwise-l2-matrix-no-cdist/solution_ref.py +8 -0
- mlsys/tasks/alg-vectorized-pairwise-l2-matrix-no-cdist/starter.py +4 -0
- mlsys/tasks/alg-vectorized-pairwise-l2-matrix-no-cdist/task.md +55 -0
- mlsys/tasks/alg-welford-online-variance-vs-naive/check.py +38 -0
- mlsys/tasks/alg-welford-online-variance-vs-naive/fixtures/x.npy +0 -0
- mlsys/tasks/alg-welford-online-variance-vs-naive/gen_fixtures.py +1 -0
- mlsys/tasks/alg-welford-online-variance-vs-naive/meta.json +20 -0
- mlsys/tasks/alg-welford-online-variance-vs-naive/solution_ref.py +13 -0
- mlsys/tasks/alg-welford-online-variance-vs-naive/starter.py +8 -0
- mlsys/tasks/alg-welford-online-variance-vs-naive/task.md +24 -0
- mlsys/tasks/alg-zca-whitening-transform/check.py +18 -0
- mlsys/tasks/alg-zca-whitening-transform/gen_fixtures.py +1 -0
- mlsys/tasks/alg-zca-whitening-transform/meta.json +22 -0
- mlsys/tasks/alg-zca-whitening-transform/solution_ref.py +12 -0
- mlsys/tasks/alg-zca-whitening-transform/starter.py +4 -0
- mlsys/tasks/alg-zca-whitening-transform/task.md +51 -0
- mlsys/tasks/cpp-4x4-transpose-with-vector-shuffles/main.cpp +32 -0
- mlsys/tasks/cpp-4x4-transpose-with-vector-shuffles/meta.json +1 -0
- mlsys/tasks/cpp-4x4-transpose-with-vector-shuffles/ref.cpp +23 -0
- mlsys/tasks/cpp-4x4-transpose-with-vector-shuffles/sol.hpp +16 -0
- mlsys/tasks/cpp-4x4-transpose-with-vector-shuffles/starter.cpp +8 -0
- mlsys/tasks/cpp-4x4-transpose-with-vector-shuffles/task.md +58 -0
- mlsys/tasks/cpp-aba-problem-identify-and-fix/main.cpp +71 -0
- mlsys/tasks/cpp-aba-problem-identify-and-fix/meta.json +19 -0
- mlsys/tasks/cpp-aba-problem-identify-and-fix/ref.cpp +42 -0
- mlsys/tasks/cpp-aba-problem-identify-and-fix/sol.hpp +76 -0
- mlsys/tasks/cpp-aba-problem-identify-and-fix/starter.cpp +41 -0
- mlsys/tasks/cpp-aba-problem-identify-and-fix/task.md +25 -0
- mlsys/tasks/cpp-alias-no-alias-classifier-15-pointer-pairs/main.cpp +39 -0
- mlsys/tasks/cpp-alias-no-alias-classifier-15-pointer-pairs/meta.json +19 -0
- mlsys/tasks/cpp-alias-no-alias-classifier-15-pointer-pairs/ref.cpp +44 -0
- mlsys/tasks/cpp-alias-no-alias-classifier-15-pointer-pairs/sol.hpp +34 -0
- mlsys/tasks/cpp-alias-no-alias-classifier-15-pointer-pairs/starter.cpp +12 -0
- mlsys/tasks/cpp-alias-no-alias-classifier-15-pointer-pairs/task.md +64 -0
- mlsys/tasks/cpp-alignas-64-buffer-aligned-load-path/main.cpp +29 -0
- mlsys/tasks/cpp-alignas-64-buffer-aligned-load-path/meta.json +1 -0
- mlsys/tasks/cpp-alignas-64-buffer-aligned-load-path/ref.cpp +11 -0
- mlsys/tasks/cpp-alignas-64-buffer-aligned-load-path/sol.hpp +28 -0
- mlsys/tasks/cpp-alignas-64-buffer-aligned-load-path/starter.cpp +12 -0
- mlsys/tasks/cpp-alignas-64-buffer-aligned-load-path/task.md +69 -0
- mlsys/tasks/cpp-alive-or-dead-lifetime-oracle-24-snippets/main.cpp +240 -0
- mlsys/tasks/cpp-alive-or-dead-lifetime-oracle-24-snippets/meta.json +15 -0
- mlsys/tasks/cpp-alive-or-dead-lifetime-oracle-24-snippets/ref.cpp +15 -0
- mlsys/tasks/cpp-alive-or-dead-lifetime-oracle-24-snippets/sol.hpp +11 -0
- mlsys/tasks/cpp-alive-or-dead-lifetime-oracle-24-snippets/starter.cpp +9 -0
- mlsys/tasks/cpp-alive-or-dead-lifetime-oracle-24-snippets/task.md +81 -0
- mlsys/tasks/cpp-anonymous-namespace-vs-static-internal-linkage/main.cpp +26 -0
- mlsys/tasks/cpp-anonymous-namespace-vs-static-internal-linkage/meta.json +2 -0
- mlsys/tasks/cpp-anonymous-namespace-vs-static-internal-linkage/ref.cpp +30 -0
- mlsys/tasks/cpp-anonymous-namespace-vs-static-internal-linkage/sol.hpp +25 -0
- mlsys/tasks/cpp-anonymous-namespace-vs-static-internal-linkage/starter.cpp +10 -0
- mlsys/tasks/cpp-anonymous-namespace-vs-static-internal-linkage/task.md +59 -0
- mlsys/tasks/cpp-aos-soa-conversion-for-a-single-field-sweep/main.cpp +48 -0
- mlsys/tasks/cpp-aos-soa-conversion-for-a-single-field-sweep/meta.json +17 -0
- mlsys/tasks/cpp-aos-soa-conversion-for-a-single-field-sweep/ref.cpp +23 -0
- mlsys/tasks/cpp-aos-soa-conversion-for-a-single-field-sweep/sol.hpp +48 -0
- mlsys/tasks/cpp-aos-soa-conversion-for-a-single-field-sweep/starter.cpp +15 -0
- mlsys/tasks/cpp-aos-soa-conversion-for-a-single-field-sweep/task.md +71 -0
- mlsys/tasks/cpp-arithmetic-intensity-flops-byte-of-a-kernel/main.cpp +68 -0
- mlsys/tasks/cpp-arithmetic-intensity-flops-byte-of-a-kernel/meta.json +15 -0
- mlsys/tasks/cpp-arithmetic-intensity-flops-byte-of-a-kernel/ref.cpp +20 -0
- mlsys/tasks/cpp-arithmetic-intensity-flops-byte-of-a-kernel/sol.hpp +37 -0
- mlsys/tasks/cpp-arithmetic-intensity-flops-byte-of-a-kernel/starter.cpp +11 -0
- mlsys/tasks/cpp-arithmetic-intensity-flops-byte-of-a-kernel/task.md +50 -0
- mlsys/tasks/cpp-array-sum-c-extension-numeric-exact/main.cpp +42 -0
- mlsys/tasks/cpp-array-sum-c-extension-numeric-exact/meta.json +15 -0
- mlsys/tasks/cpp-array-sum-c-extension-numeric-exact/ref.cpp +9 -0
- mlsys/tasks/cpp-array-sum-c-extension-numeric-exact/sol.hpp +34 -0
- mlsys/tasks/cpp-array-sum-c-extension-numeric-exact/starter.cpp +9 -0
- mlsys/tasks/cpp-array-sum-c-extension-numeric-exact/task.md +67 -0
- mlsys/tasks/cpp-asan-catches-heap-overflow-fix/main.cpp +33 -0
- mlsys/tasks/cpp-asan-catches-heap-overflow-fix/meta.json +13 -0
- mlsys/tasks/cpp-asan-catches-heap-overflow-fix/ref.cpp +11 -0
- mlsys/tasks/cpp-asan-catches-heap-overflow-fix/sol.hpp +18 -0
- mlsys/tasks/cpp-asan-catches-heap-overflow-fix/starter.cpp +12 -0
- mlsys/tasks/cpp-asan-catches-heap-overflow-fix/task.md +68 -0
- mlsys/tasks/cpp-atomic-counter-correct-final-value/main.cpp +15 -0
- mlsys/tasks/cpp-atomic-counter-correct-final-value/meta.json +1 -0
- mlsys/tasks/cpp-atomic-counter-correct-final-value/ref.cpp +19 -0
- mlsys/tasks/cpp-atomic-counter-correct-final-value/sol.hpp +12 -0
- mlsys/tasks/cpp-atomic-counter-correct-final-value/starter.cpp +9 -0
- mlsys/tasks/cpp-atomic-counter-correct-final-value/task.md +53 -0
- mlsys/tasks/cpp-bit-cast-float-array-round-trip-through-bytes/main.cpp +39 -0
- mlsys/tasks/cpp-bit-cast-float-array-round-trip-through-bytes/meta.json +2 -0
- mlsys/tasks/cpp-bit-cast-float-array-round-trip-through-bytes/ref.cpp +24 -0
- mlsys/tasks/cpp-bit-cast-float-array-round-trip-through-bytes/sol.hpp +13 -0
- mlsys/tasks/cpp-bit-cast-float-array-round-trip-through-bytes/starter.cpp +14 -0
- mlsys/tasks/cpp-bit-cast-float-array-round-trip-through-bytes/task.md +61 -0
- mlsys/tasks/cpp-bit-field-packed-int4-int8-quant-record/main.cpp +24 -0
- mlsys/tasks/cpp-bit-field-packed-int4-int8-quant-record/meta.json +13 -0
- mlsys/tasks/cpp-bit-field-packed-int4-int8-quant-record/ref.cpp +17 -0
- mlsys/tasks/cpp-bit-field-packed-int4-int8-quant-record/sol.hpp +37 -0
- mlsys/tasks/cpp-bit-field-packed-int4-int8-quant-record/starter.cpp +13 -0
- mlsys/tasks/cpp-bit-field-packed-int4-int8-quant-record/task.md +63 -0
- mlsys/tasks/cpp-break-a-shared-ptr-cycle-with-weak-ptr/main.cpp +50 -0
- mlsys/tasks/cpp-break-a-shared-ptr-cycle-with-weak-ptr/meta.json +15 -0
- mlsys/tasks/cpp-break-a-shared-ptr-cycle-with-weak-ptr/ref.cpp +17 -0
- mlsys/tasks/cpp-break-a-shared-ptr-cycle-with-weak-ptr/sol.hpp +37 -0
- mlsys/tasks/cpp-break-a-shared-ptr-cycle-with-weak-ptr/starter.cpp +19 -0
- mlsys/tasks/cpp-break-a-shared-ptr-cycle-with-weak-ptr/task.md +32 -0
- mlsys/tasks/cpp-buffer-with-correct-move-ctor-assign/main.cpp +84 -0
- mlsys/tasks/cpp-buffer-with-correct-move-ctor-assign/meta.json +1 -0
- mlsys/tasks/cpp-buffer-with-correct-move-ctor-assign/ref.cpp +37 -0
- mlsys/tasks/cpp-buffer-with-correct-move-ctor-assign/sol.hpp +56 -0
- mlsys/tasks/cpp-buffer-with-correct-move-ctor-assign/starter.cpp +29 -0
- mlsys/tasks/cpp-buffer-with-correct-move-ctor-assign/task.md +63 -0
- mlsys/tasks/cpp-build-a-manual-vtable-dispatcher/main.cpp +18 -0
- mlsys/tasks/cpp-build-a-manual-vtable-dispatcher/meta.json +13 -0
- mlsys/tasks/cpp-build-a-manual-vtable-dispatcher/ref.cpp +11 -0
- mlsys/tasks/cpp-build-a-manual-vtable-dispatcher/sol.hpp +34 -0
- mlsys/tasks/cpp-build-a-manual-vtable-dispatcher/starter.cpp +6 -0
- mlsys/tasks/cpp-build-a-manual-vtable-dispatcher/task.md +43 -0
- mlsys/tasks/cpp-by-value-factory-vs-out-parameter-copy-counts/main.cpp +74 -0
- mlsys/tasks/cpp-by-value-factory-vs-out-parameter-copy-counts/meta.json +13 -0
- mlsys/tasks/cpp-by-value-factory-vs-out-parameter-copy-counts/ref.cpp +13 -0
- mlsys/tasks/cpp-by-value-factory-vs-out-parameter-copy-counts/sol.hpp +42 -0
- mlsys/tasks/cpp-by-value-factory-vs-out-parameter-copy-counts/starter.cpp +13 -0
- mlsys/tasks/cpp-by-value-factory-vs-out-parameter-copy-counts/task.md +76 -0
- mlsys/tasks/cpp-cache-lines-touched-aos-vs-padded-record/main.cpp +48 -0
- mlsys/tasks/cpp-cache-lines-touched-aos-vs-padded-record/meta.json +18 -0
- mlsys/tasks/cpp-cache-lines-touched-aos-vs-padded-record/ref.cpp +19 -0
- mlsys/tasks/cpp-cache-lines-touched-aos-vs-padded-record/sol.hpp +53 -0
- mlsys/tasks/cpp-cache-lines-touched-aos-vs-padded-record/starter.cpp +15 -0
- mlsys/tasks/cpp-cache-lines-touched-aos-vs-padded-record/task.md +70 -0
- mlsys/tasks/cpp-capsule-owned-numpy-return-without-leak/main.cpp +65 -0
- mlsys/tasks/cpp-capsule-owned-numpy-return-without-leak/meta.json +2 -0
- mlsys/tasks/cpp-capsule-owned-numpy-return-without-leak/ref.cpp +29 -0
- mlsys/tasks/cpp-capsule-owned-numpy-return-without-leak/sol.hpp +39 -0
- mlsys/tasks/cpp-capsule-owned-numpy-return-without-leak/starter.cpp +25 -0
- mlsys/tasks/cpp-capsule-owned-numpy-return-without-leak/task.md +67 -0
- mlsys/tasks/cpp-cblas-sgemm-c-alpha-a-b-beta-c/main.cpp +36 -0
- mlsys/tasks/cpp-cblas-sgemm-c-alpha-a-b-beta-c/meta.json +13 -0
- mlsys/tasks/cpp-cblas-sgemm-c-alpha-a-b-beta-c/ref.cpp +19 -0
- mlsys/tasks/cpp-cblas-sgemm-c-alpha-a-b-beta-c/sol.hpp +32 -0
- mlsys/tasks/cpp-cblas-sgemm-c-alpha-a-b-beta-c/starter.cpp +12 -0
- mlsys/tasks/cpp-cblas-sgemm-c-alpha-a-b-beta-c/task.md +67 -0
- mlsys/tasks/cpp-classify-12-returns-nrvo-move-copy/main.cpp +99 -0
- mlsys/tasks/cpp-classify-12-returns-nrvo-move-copy/meta.json +15 -0
- mlsys/tasks/cpp-classify-12-returns-nrvo-move-copy/ref.cpp +14 -0
- mlsys/tasks/cpp-classify-12-returns-nrvo-move-copy/sol.hpp +25 -0
- mlsys/tasks/cpp-classify-12-returns-nrvo-move-copy/starter.cpp +12 -0
- mlsys/tasks/cpp-classify-12-returns-nrvo-move-copy/task.md +102 -0
- mlsys/tasks/cpp-classify-strong-basic-nothrow-guarantees-12-fns/main.cpp +211 -0
- mlsys/tasks/cpp-classify-strong-basic-nothrow-guarantees-12-fns/meta.json +1 -0
- mlsys/tasks/cpp-classify-strong-basic-nothrow-guarantees-12-fns/ref.cpp +22 -0
- mlsys/tasks/cpp-classify-strong-basic-nothrow-guarantees-12-fns/sol.hpp +15 -0
- mlsys/tasks/cpp-classify-strong-basic-nothrow-guarantees-12-fns/starter.cpp +7 -0
- mlsys/tasks/cpp-classify-strong-basic-nothrow-guarantees-12-fns/task.md +90 -0
- mlsys/tasks/cpp-commit-or-rollback-transaction-basic-strong/main.cpp +39 -0
- mlsys/tasks/cpp-commit-or-rollback-transaction-basic-strong/meta.json +15 -0
- mlsys/tasks/cpp-commit-or-rollback-transaction-basic-strong/ref.cpp +24 -0
- mlsys/tasks/cpp-commit-or-rollback-transaction-basic-strong/sol.hpp +33 -0
- mlsys/tasks/cpp-commit-or-rollback-transaction-basic-strong/starter.cpp +17 -0
- mlsys/tasks/cpp-commit-or-rollback-transaction-basic-strong/task.md +25 -0
- mlsys/tasks/cpp-compile-time-generated-lookup-table/main.cpp +24 -0
- mlsys/tasks/cpp-compile-time-generated-lookup-table/meta.json +13 -0
- mlsys/tasks/cpp-compile-time-generated-lookup-table/ref.cpp +17 -0
- mlsys/tasks/cpp-compile-time-generated-lookup-table/sol.hpp +36 -0
- mlsys/tasks/cpp-compile-time-generated-lookup-table/starter.cpp +10 -0
- mlsys/tasks/cpp-compile-time-generated-lookup-table/task.md +60 -0
- mlsys/tasks/cpp-compute-lda-ldb-ldc-for-a-submatrix-gemm/main.cpp +43 -0
- mlsys/tasks/cpp-compute-lda-ldb-ldc-for-a-submatrix-gemm/meta.json +18 -0
- mlsys/tasks/cpp-compute-lda-ldb-ldc-for-a-submatrix-gemm/ref.cpp +17 -0
- mlsys/tasks/cpp-compute-lda-ldb-ldc-for-a-submatrix-gemm/sol.hpp +37 -0
- mlsys/tasks/cpp-compute-lda-ldb-ldc-for-a-submatrix-gemm/starter.cpp +18 -0
- mlsys/tasks/cpp-compute-lda-ldb-ldc-for-a-submatrix-gemm/task.md +80 -0
- mlsys/tasks/cpp-concept-constrained-function-accept-reject/main.cpp +11 -0
- mlsys/tasks/cpp-concept-constrained-function-accept-reject/meta.json +21 -0
- mlsys/tasks/cpp-concept-constrained-function-accept-reject/ref.cpp +22 -0
- mlsys/tasks/cpp-concept-constrained-function-accept-reject/sol.hpp +49 -0
- mlsys/tasks/cpp-concept-constrained-function-accept-reject/starter.cpp +6 -0
- mlsys/tasks/cpp-concept-constrained-function-accept-reject/task.md +45 -0
- mlsys/tasks/cpp-const-cast-then-write-ub-fix/main.cpp +18 -0
- mlsys/tasks/cpp-const-cast-then-write-ub-fix/meta.json +13 -0
- mlsys/tasks/cpp-const-cast-then-write-ub-fix/ref.cpp +8 -0
- mlsys/tasks/cpp-const-cast-then-write-ub-fix/sol.hpp +22 -0
- mlsys/tasks/cpp-const-cast-then-write-ub-fix/starter.cpp +11 -0
- mlsys/tasks/cpp-const-cast-then-write-ub-fix/task.md +65 -0
- mlsys/tasks/cpp-const-correct-matrixview-type/main.cpp +34 -0
- mlsys/tasks/cpp-const-correct-matrixview-type/meta.json +2 -0
- mlsys/tasks/cpp-const-correct-matrixview-type/ref.cpp +9 -0
- mlsys/tasks/cpp-const-correct-matrixview-type/sol.hpp +29 -0
- mlsys/tasks/cpp-const-correct-matrixview-type/starter.cpp +17 -0
- mlsys/tasks/cpp-const-correct-matrixview-type/task.md +67 -0
- mlsys/tasks/cpp-const-overload-abi-distinctness-via-mangling/main.cpp +41 -0
- mlsys/tasks/cpp-const-overload-abi-distinctness-via-mangling/meta.json +15 -0
- mlsys/tasks/cpp-const-overload-abi-distinctness-via-mangling/ref.cpp +10 -0
- mlsys/tasks/cpp-const-overload-abi-distinctness-via-mangling/sol.hpp +27 -0
- mlsys/tasks/cpp-const-overload-abi-distinctness-via-mangling/starter.cpp +16 -0
- mlsys/tasks/cpp-const-overload-abi-distinctness-via-mangling/task.md +32 -0
- mlsys/tasks/cpp-constant-folding-classifier/main.cpp +12 -0
- mlsys/tasks/cpp-constant-folding-classifier/meta.json +15 -0
- mlsys/tasks/cpp-constant-folding-classifier/ref.cpp +39 -0
- mlsys/tasks/cpp-constant-folding-classifier/sol.hpp +32 -0
- mlsys/tasks/cpp-constant-folding-classifier/starter.cpp +7 -0
- mlsys/tasks/cpp-constant-folding-classifier/task.md +69 -0
- mlsys/tasks/cpp-constexpr-integer-sqrt-is-prime/main.cpp +17 -0
- mlsys/tasks/cpp-constexpr-integer-sqrt-is-prime/meta.json +19 -0
- mlsys/tasks/cpp-constexpr-integer-sqrt-is-prime/ref.cpp +25 -0
- mlsys/tasks/cpp-constexpr-integer-sqrt-is-prime/sol.hpp +12 -0
- mlsys/tasks/cpp-constexpr-integer-sqrt-is-prime/starter.cpp +11 -0
- mlsys/tasks/cpp-constexpr-integer-sqrt-is-prime/task.md +32 -0
- mlsys/tasks/cpp-constexpr-matrix-multiply-of-fixed-matrices/main.cpp +25 -0
- mlsys/tasks/cpp-constexpr-matrix-multiply-of-fixed-matrices/meta.json +16 -0
- mlsys/tasks/cpp-constexpr-matrix-multiply-of-fixed-matrices/ref.cpp +63 -0
- mlsys/tasks/cpp-constexpr-matrix-multiply-of-fixed-matrices/sol.hpp +25 -0
- mlsys/tasks/cpp-constexpr-matrix-multiply-of-fixed-matrices/starter.cpp +53 -0
- mlsys/tasks/cpp-constexpr-matrix-multiply-of-fixed-matrices/task.md +65 -0
- mlsys/tasks/cpp-copy-and-swap-for-the-strong-exception-guarantee/main.cpp +41 -0
- mlsys/tasks/cpp-copy-and-swap-for-the-strong-exception-guarantee/meta.json +2 -0
- mlsys/tasks/cpp-copy-and-swap-for-the-strong-exception-guarantee/ref.cpp +47 -0
- mlsys/tasks/cpp-copy-and-swap-for-the-strong-exception-guarantee/sol.hpp +35 -0
- mlsys/tasks/cpp-copy-and-swap-for-the-strong-exception-guarantee/starter.cpp +31 -0
- mlsys/tasks/cpp-copy-and-swap-for-the-strong-exception-guarantee/task.md +72 -0
- mlsys/tasks/cpp-copy-count-across-value-const-ref-ref-params/main.cpp +19 -0
- mlsys/tasks/cpp-copy-count-across-value-const-ref-ref-params/meta.json +13 -0
- mlsys/tasks/cpp-copy-count-across-value-const-ref-ref-params/ref.cpp +21 -0
- mlsys/tasks/cpp-copy-count-across-value-const-ref-ref-params/sol.hpp +48 -0
- mlsys/tasks/cpp-copy-count-across-value-const-ref-ref-params/starter.cpp +6 -0
- mlsys/tasks/cpp-copy-count-across-value-const-ref-ref-params/task.md +75 -0
- mlsys/tasks/cpp-correct-error-propagation-set-exc-return-null/main.cpp +37 -0
- mlsys/tasks/cpp-correct-error-propagation-set-exc-return-null/meta.json +13 -0
- mlsys/tasks/cpp-correct-error-propagation-set-exc-return-null/ref.cpp +9 -0
- mlsys/tasks/cpp-correct-error-propagation-set-exc-return-null/sol.hpp +38 -0
- mlsys/tasks/cpp-correct-error-propagation-set-exc-return-null/starter.cpp +9 -0
- mlsys/tasks/cpp-correct-error-propagation-set-exc-return-null/task.md +53 -0
- mlsys/tasks/cpp-count-deep-copies-vs-moves-in-a-batch-pipeline/main.cpp +91 -0
- mlsys/tasks/cpp-count-deep-copies-vs-moves-in-a-batch-pipeline/meta.json +2 -0
- mlsys/tasks/cpp-count-deep-copies-vs-moves-in-a-batch-pipeline/ref.cpp +29 -0
- mlsys/tasks/cpp-count-deep-copies-vs-moves-in-a-batch-pipeline/sol.hpp +48 -0
- mlsys/tasks/cpp-count-deep-copies-vs-moves-in-a-batch-pipeline/starter.cpp +11 -0
- mlsys/tasks/cpp-count-deep-copies-vs-moves-in-a-batch-pipeline/task.md +72 -0
- mlsys/tasks/cpp-count-reallocations-element-moves-on-push-back/main.cpp +31 -0
- mlsys/tasks/cpp-count-reallocations-element-moves-on-push-back/meta.json +13 -0
- mlsys/tasks/cpp-count-reallocations-element-moves-on-push-back/ref.cpp +38 -0
- mlsys/tasks/cpp-count-reallocations-element-moves-on-push-back/sol.hpp +56 -0
- mlsys/tasks/cpp-count-reallocations-element-moves-on-push-back/starter.cpp +12 -0
- mlsys/tasks/cpp-count-reallocations-element-moves-on-push-back/task.md +77 -0
- mlsys/tasks/cpp-dangling-reference-to-lifetime-extended-temporary-fix/main.cpp +16 -0
- mlsys/tasks/cpp-dangling-reference-to-lifetime-extended-temporary-fix/meta.json +13 -0
- mlsys/tasks/cpp-dangling-reference-to-lifetime-extended-temporary-fix/ref.cpp +7 -0
- mlsys/tasks/cpp-dangling-reference-to-lifetime-extended-temporary-fix/sol.hpp +14 -0
- mlsys/tasks/cpp-dangling-reference-to-lifetime-extended-temporary-fix/starter.cpp +17 -0
- mlsys/tasks/cpp-dangling-reference-to-lifetime-extended-temporary-fix/task.md +59 -0
- mlsys/tasks/cpp-define-aos-vs-soa-label-10-layouts/main.cpp +28 -0
- mlsys/tasks/cpp-define-aos-vs-soa-label-10-layouts/meta.json +13 -0
- mlsys/tasks/cpp-define-aos-vs-soa-label-10-layouts/ref.cpp +9 -0
- mlsys/tasks/cpp-define-aos-vs-soa-label-10-layouts/sol.hpp +21 -0
- mlsys/tasks/cpp-define-aos-vs-soa-label-10-layouts/starter.cpp +9 -0
- mlsys/tasks/cpp-define-aos-vs-soa-label-10-layouts/task.md +60 -0
- mlsys/tasks/cpp-demangle-12-mangled-names/main.cpp +16 -0
- mlsys/tasks/cpp-demangle-12-mangled-names/meta.json +15 -0
- mlsys/tasks/cpp-demangle-12-mangled-names/ref.cpp +14 -0
- mlsys/tasks/cpp-demangle-12-mangled-names/sol.hpp +35 -0
- mlsys/tasks/cpp-demangle-12-mangled-names/starter.cpp +8 -0
- mlsys/tasks/cpp-demangle-12-mangled-names/task.md +29 -0
- mlsys/tasks/cpp-deque-index-block-offset-mapping/main.cpp +34 -0
- mlsys/tasks/cpp-deque-index-block-offset-mapping/meta.json +13 -0
- mlsys/tasks/cpp-deque-index-block-offset-mapping/ref.cpp +15 -0
- mlsys/tasks/cpp-deque-index-block-offset-mapping/sol.hpp +25 -0
- mlsys/tasks/cpp-deque-index-block-offset-mapping/starter.cpp +11 -0
- mlsys/tasks/cpp-deque-index-block-offset-mapping/task.md +57 -0
- mlsys/tasks/cpp-destructor-order-under-exception-unwinding/main.cpp +61 -0
- mlsys/tasks/cpp-destructor-order-under-exception-unwinding/meta.json +2 -0
- mlsys/tasks/cpp-destructor-order-under-exception-unwinding/ref.cpp +44 -0
- mlsys/tasks/cpp-destructor-order-under-exception-unwinding/sol.hpp +32 -0
- mlsys/tasks/cpp-destructor-order-under-exception-unwinding/starter.cpp +13 -0
- mlsys/tasks/cpp-destructor-order-under-exception-unwinding/task.md +78 -0
- mlsys/tasks/cpp-detection-idiom-has-member-type-trait/main.cpp +17 -0
- mlsys/tasks/cpp-detection-idiom-has-member-type-trait/meta.json +13 -0
- mlsys/tasks/cpp-detection-idiom-has-member-type-trait/ref.cpp +22 -0
- mlsys/tasks/cpp-detection-idiom-has-member-type-trait/sol.hpp +55 -0
- mlsys/tasks/cpp-detection-idiom-has-member-type-trait/starter.cpp +17 -0
- mlsys/tasks/cpp-detection-idiom-has-member-type-trait/task.md +85 -0
- mlsys/tasks/cpp-double-checked-locking-init-exactly-once/main.cpp +25 -0
- mlsys/tasks/cpp-double-checked-locking-init-exactly-once/meta.json +13 -0
- mlsys/tasks/cpp-double-checked-locking-init-exactly-once/ref.cpp +15 -0
- mlsys/tasks/cpp-double-checked-locking-init-exactly-once/sol.hpp +21 -0
- mlsys/tasks/cpp-double-checked-locking-init-exactly-once/starter.cpp +11 -0
- mlsys/tasks/cpp-double-checked-locking-init-exactly-once/task.md +24 -0
- mlsys/tasks/cpp-dtype-shape-mismatch-error-handling/main.cpp +93 -0
- mlsys/tasks/cpp-dtype-shape-mismatch-error-handling/meta.json +19 -0
- mlsys/tasks/cpp-dtype-shape-mismatch-error-handling/ref.cpp +22 -0
- mlsys/tasks/cpp-dtype-shape-mismatch-error-handling/sol.hpp +39 -0
- mlsys/tasks/cpp-dtype-shape-mismatch-error-handling/starter.cpp +11 -0
- mlsys/tasks/cpp-dtype-shape-mismatch-error-handling/task.md +64 -0
- mlsys/tasks/cpp-erase-remove-idiom-correct-result/main.cpp +48 -0
- mlsys/tasks/cpp-erase-remove-idiom-correct-result/meta.json +15 -0
- mlsys/tasks/cpp-erase-remove-idiom-correct-result/ref.cpp +8 -0
- mlsys/tasks/cpp-erase-remove-idiom-correct-result/sol.hpp +14 -0
- mlsys/tasks/cpp-erase-remove-idiom-correct-result/starter.cpp +14 -0
- mlsys/tasks/cpp-erase-remove-idiom-correct-result/task.md +30 -0
- mlsys/tasks/cpp-error-code-vs-exception-result-equivalence/main.cpp +36 -0
- mlsys/tasks/cpp-error-code-vs-exception-result-equivalence/meta.json +13 -0
- mlsys/tasks/cpp-error-code-vs-exception-result-equivalence/ref.cpp +50 -0
- mlsys/tasks/cpp-error-code-vs-exception-result-equivalence/sol.hpp +51 -0
- mlsys/tasks/cpp-error-code-vs-exception-result-equivalence/starter.cpp +17 -0
- mlsys/tasks/cpp-error-code-vs-exception-result-equivalence/task.md +79 -0
- mlsys/tasks/cpp-extern-c-to-fix-a-mangling-link-error/main.cpp +21 -0
- mlsys/tasks/cpp-extern-c-to-fix-a-mangling-link-error/meta.json +15 -0
- mlsys/tasks/cpp-extern-c-to-fix-a-mangling-link-error/ref.cpp +7 -0
- mlsys/tasks/cpp-extern-c-to-fix-a-mangling-link-error/sol.hpp +9 -0
- mlsys/tasks/cpp-extern-c-to-fix-a-mangling-link-error/starter.cpp +10 -0
- mlsys/tasks/cpp-extern-c-to-fix-a-mangling-link-error/task.md +56 -0
- mlsys/tasks/cpp-factory-returns-with-exactly-one-construction/main.cpp +31 -0
- mlsys/tasks/cpp-factory-returns-with-exactly-one-construction/meta.json +1 -0
- mlsys/tasks/cpp-factory-returns-with-exactly-one-construction/ref.cpp +8 -0
- mlsys/tasks/cpp-factory-returns-with-exactly-one-construction/sol.hpp +39 -0
- mlsys/tasks/cpp-factory-returns-with-exactly-one-construction/starter.cpp +13 -0
- mlsys/tasks/cpp-factory-returns-with-exactly-one-construction/task.md +67 -0
- mlsys/tasks/cpp-false-sharing-classifier-10-access-patterns/main.cpp +15 -0
- mlsys/tasks/cpp-false-sharing-classifier-10-access-patterns/meta.json +13 -0
- mlsys/tasks/cpp-false-sharing-classifier-10-access-patterns/ref.cpp +53 -0
- mlsys/tasks/cpp-false-sharing-classifier-10-access-patterns/sol.hpp +45 -0
- mlsys/tasks/cpp-false-sharing-classifier-10-access-patterns/starter.cpp +7 -0
- mlsys/tasks/cpp-false-sharing-classifier-10-access-patterns/task.md +76 -0
- mlsys/tasks/cpp-fix-a-binding-that-copies-instead-of-viewing/main.cpp +35 -0
- mlsys/tasks/cpp-fix-a-binding-that-copies-instead-of-viewing/meta.json +19 -0
- mlsys/tasks/cpp-fix-a-binding-that-copies-instead-of-viewing/ref.cpp +7 -0
- mlsys/tasks/cpp-fix-a-binding-that-copies-instead-of-viewing/sol.hpp +16 -0
- mlsys/tasks/cpp-fix-a-binding-that-copies-instead-of-viewing/starter.cpp +12 -0
- mlsys/tasks/cpp-fix-a-binding-that-copies-instead-of-viewing/task.md +55 -0
- mlsys/tasks/cpp-fix-a-data-race-with-correct-atomics-tsan/main.cpp +32 -0
- mlsys/tasks/cpp-fix-a-data-race-with-correct-atomics-tsan/meta.json +2 -0
- mlsys/tasks/cpp-fix-a-data-race-with-correct-atomics-tsan/ref.cpp +10 -0
- mlsys/tasks/cpp-fix-a-data-race-with-correct-atomics-tsan/sol.hpp +20 -0
- mlsys/tasks/cpp-fix-a-data-race-with-correct-atomics-tsan/starter.cpp +14 -0
- mlsys/tasks/cpp-fix-a-data-race-with-correct-atomics-tsan/task.md +62 -0
- mlsys/tasks/cpp-fix-a-py-decref-leak/main.cpp +25 -0
- mlsys/tasks/cpp-fix-a-py-decref-leak/meta.json +13 -0
- mlsys/tasks/cpp-fix-a-py-decref-leak/ref.cpp +16 -0
- mlsys/tasks/cpp-fix-a-py-decref-leak/sol.hpp +36 -0
- mlsys/tasks/cpp-fix-a-py-decref-leak/starter.cpp +19 -0
- mlsys/tasks/cpp-fix-a-py-decref-leak/task.md +62 -0
- mlsys/tasks/cpp-fix-an-ambiguous-overload-broken-sfinae/main.cpp +11 -0
- mlsys/tasks/cpp-fix-an-ambiguous-overload-broken-sfinae/meta.json +15 -0
- mlsys/tasks/cpp-fix-an-ambiguous-overload-broken-sfinae/ref.cpp +54 -0
- mlsys/tasks/cpp-fix-an-ambiguous-overload-broken-sfinae/sol.hpp +12 -0
- mlsys/tasks/cpp-fix-an-ambiguous-overload-broken-sfinae/starter.cpp +55 -0
- mlsys/tasks/cpp-fix-an-ambiguous-overload-broken-sfinae/task.md +63 -0
- mlsys/tasks/cpp-fix-an-odr-violation-across-tus/main.cpp +16 -0
- mlsys/tasks/cpp-fix-an-odr-violation-across-tus/meta.json +15 -0
- mlsys/tasks/cpp-fix-an-odr-violation-across-tus/ref.cpp +8 -0
- mlsys/tasks/cpp-fix-an-odr-violation-across-tus/sol.hpp +25 -0
- mlsys/tasks/cpp-fix-an-odr-violation-across-tus/starter.cpp +13 -0
- mlsys/tasks/cpp-fix-an-odr-violation-across-tus/task.md +25 -0
- mlsys/tasks/cpp-fix-borrowed-stolen-reference-misuse/main.cpp +43 -0
- mlsys/tasks/cpp-fix-borrowed-stolen-reference-misuse/meta.json +13 -0
- mlsys/tasks/cpp-fix-borrowed-stolen-reference-misuse/ref.cpp +20 -0
- mlsys/tasks/cpp-fix-borrowed-stolen-reference-misuse/sol.hpp +31 -0
- mlsys/tasks/cpp-fix-borrowed-stolen-reference-misuse/starter.cpp +20 -0
- mlsys/tasks/cpp-fix-borrowed-stolen-reference-misuse/task.md +33 -0
- mlsys/tasks/cpp-fix-erase-while-iterating-loop/main.cpp +24 -0
- mlsys/tasks/cpp-fix-erase-while-iterating-loop/meta.json +13 -0
- mlsys/tasks/cpp-fix-erase-while-iterating-loop/ref.cpp +13 -0
- mlsys/tasks/cpp-fix-erase-while-iterating-loop/sol.hpp +28 -0
- mlsys/tasks/cpp-fix-erase-while-iterating-loop/starter.cpp +13 -0
- mlsys/tasks/cpp-fix-erase-while-iterating-loop/task.md +60 -0
- mlsys/tasks/cpp-fix-false-sharing-by-64b-padding/main.cpp +30 -0
- mlsys/tasks/cpp-fix-false-sharing-by-64b-padding/meta.json +15 -0
- mlsys/tasks/cpp-fix-false-sharing-by-64b-padding/ref.cpp +10 -0
- mlsys/tasks/cpp-fix-false-sharing-by-64b-padding/sol.hpp +20 -0
- mlsys/tasks/cpp-fix-false-sharing-by-64b-padding/starter.cpp +12 -0
- mlsys/tasks/cpp-fix-false-sharing-by-64b-padding/task.md +67 -0
- mlsys/tasks/cpp-fix-row-major-vs-col-major-gemm-call/main.cpp +53 -0
- mlsys/tasks/cpp-fix-row-major-vs-col-major-gemm-call/meta.json +13 -0
- mlsys/tasks/cpp-fix-row-major-vs-col-major-gemm-call/ref.cpp +12 -0
- mlsys/tasks/cpp-fix-row-major-vs-col-major-gemm-call/sol.hpp +39 -0
- mlsys/tasks/cpp-fix-row-major-vs-col-major-gemm-call/starter.cpp +13 -0
- mlsys/tasks/cpp-fix-row-major-vs-col-major-gemm-call/task.md +57 -0
- mlsys/tasks/cpp-fix-simd-tail-remainder-handling/main.cpp +31 -0
- mlsys/tasks/cpp-fix-simd-tail-remainder-handling/meta.json +13 -0
- mlsys/tasks/cpp-fix-simd-tail-remainder-handling/ref.cpp +18 -0
- mlsys/tasks/cpp-fix-simd-tail-remainder-handling/sol.hpp +6 -0
- mlsys/tasks/cpp-fix-simd-tail-remainder-handling/starter.cpp +15 -0
- mlsys/tasks/cpp-fix-simd-tail-remainder-handling/task.md +18 -0
- mlsys/tasks/cpp-fix-ub-left-shift-of-negative-oversized-shift/main.cpp +18 -0
- mlsys/tasks/cpp-fix-ub-left-shift-of-negative-oversized-shift/meta.json +1 -0
- mlsys/tasks/cpp-fix-ub-left-shift-of-negative-oversized-shift/ref.cpp +11 -0
- mlsys/tasks/cpp-fix-ub-left-shift-of-negative-oversized-shift/sol.hpp +19 -0
- mlsys/tasks/cpp-fix-ub-left-shift-of-negative-oversized-shift/starter.cpp +11 -0
- mlsys/tasks/cpp-fix-ub-left-shift-of-negative-oversized-shift/task.md +64 -0
- mlsys/tasks/cpp-flop-count-of-a-gemm-configuration/main.cpp +18 -0
- mlsys/tasks/cpp-flop-count-of-a-gemm-configuration/meta.json +15 -0
- mlsys/tasks/cpp-flop-count-of-a-gemm-configuration/ref.cpp +7 -0
- mlsys/tasks/cpp-flop-count-of-a-gemm-configuration/sol.hpp +21 -0
- mlsys/tasks/cpp-flop-count-of-a-gemm-configuration/starter.cpp +7 -0
- mlsys/tasks/cpp-flop-count-of-a-gemm-configuration/task.md +38 -0
- mlsys/tasks/cpp-from-scratch-blocked-gemm-microkernel/main.cpp +35 -0
- mlsys/tasks/cpp-from-scratch-blocked-gemm-microkernel/meta.json +2 -0
- mlsys/tasks/cpp-from-scratch-blocked-gemm-microkernel/ref.cpp +28 -0
- mlsys/tasks/cpp-from-scratch-blocked-gemm-microkernel/sol.hpp +10 -0
- mlsys/tasks/cpp-from-scratch-blocked-gemm-microkernel/starter.cpp +12 -0
- mlsys/tasks/cpp-from-scratch-blocked-gemm-microkernel/task.md +65 -0
- mlsys/tasks/cpp-full-offset-size-table-for-a-struct/main.cpp +98 -0
- mlsys/tasks/cpp-full-offset-size-table-for-a-struct/meta.json +13 -0
- mlsys/tasks/cpp-full-offset-size-table-for-a-struct/ref.cpp +33 -0
- mlsys/tasks/cpp-full-offset-size-table-for-a-struct/sol.hpp +21 -0
- mlsys/tasks/cpp-full-offset-size-table-for-a-struct/starter.cpp +10 -0
- mlsys/tasks/cpp-full-offset-size-table-for-a-struct/task.md +29 -0
- mlsys/tasks/cpp-gguf-style-q4-0-block-pack-unpack-round-trip/main.cpp +110 -0
- mlsys/tasks/cpp-gguf-style-q4-0-block-pack-unpack-round-trip/meta.json +19 -0
- mlsys/tasks/cpp-gguf-style-q4-0-block-pack-unpack-round-trip/ref.cpp +50 -0
- mlsys/tasks/cpp-gguf-style-q4-0-block-pack-unpack-round-trip/sol.hpp +41 -0
- mlsys/tasks/cpp-gguf-style-q4-0-block-pack-unpack-round-trip/starter.cpp +15 -0
- mlsys/tasks/cpp-gguf-style-q4-0-block-pack-unpack-round-trip/task.md +70 -0
- mlsys/tasks/cpp-growth-policy-reproduce-the-capacity-sequence/main.cpp +26 -0
- mlsys/tasks/cpp-growth-policy-reproduce-the-capacity-sequence/meta.json +13 -0
- mlsys/tasks/cpp-growth-policy-reproduce-the-capacity-sequence/ref.cpp +6 -0
- mlsys/tasks/cpp-growth-policy-reproduce-the-capacity-sequence/sol.hpp +21 -0
- mlsys/tasks/cpp-growth-policy-reproduce-the-capacity-sequence/starter.cpp +8 -0
- mlsys/tasks/cpp-growth-policy-reproduce-the-capacity-sequence/task.md +61 -0
- mlsys/tasks/cpp-handle-strided-non-contiguous-input/main.cpp +85 -0
- mlsys/tasks/cpp-handle-strided-non-contiguous-input/meta.json +15 -0
- mlsys/tasks/cpp-handle-strided-non-contiguous-input/ref.cpp +17 -0
- mlsys/tasks/cpp-handle-strided-non-contiguous-input/sol.hpp +28 -0
- mlsys/tasks/cpp-handle-strided-non-contiguous-input/starter.cpp +9 -0
- mlsys/tasks/cpp-handle-strided-non-contiguous-input/task.md +28 -0
- mlsys/tasks/cpp-hidden-visibility-reduces-exported-symbols/main.cpp +93 -0
- mlsys/tasks/cpp-hidden-visibility-reduces-exported-symbols/meta.json +1 -0
- mlsys/tasks/cpp-hidden-visibility-reduces-exported-symbols/ref.cpp +16 -0
- mlsys/tasks/cpp-hidden-visibility-reduces-exported-symbols/sol.hpp +23 -0
- mlsys/tasks/cpp-hidden-visibility-reduces-exported-symbols/starter.cpp +8 -0
- mlsys/tasks/cpp-hidden-visibility-reduces-exported-symbols/task.md +67 -0
- mlsys/tasks/cpp-hoist-loop-invariant-load-by-hand-licm/main.cpp +34 -0
- mlsys/tasks/cpp-hoist-loop-invariant-load-by-hand-licm/meta.json +15 -0
- mlsys/tasks/cpp-hoist-loop-invariant-load-by-hand-licm/ref.cpp +19 -0
- mlsys/tasks/cpp-hoist-loop-invariant-load-by-hand-licm/sol.hpp +34 -0
- mlsys/tasks/cpp-hoist-loop-invariant-load-by-hand-licm/starter.cpp +20 -0
- mlsys/tasks/cpp-hoist-loop-invariant-load-by-hand-licm/task.md +62 -0
- mlsys/tasks/cpp-hot-cold-field-split-to-hit-a-footprint-ratio/main.cpp +54 -0
- mlsys/tasks/cpp-hot-cold-field-split-to-hit-a-footprint-ratio/meta.json +2 -0
- mlsys/tasks/cpp-hot-cold-field-split-to-hit-a-footprint-ratio/ref.cpp +28 -0
- mlsys/tasks/cpp-hot-cold-field-split-to-hit-a-footprint-ratio/sol.hpp +26 -0
- mlsys/tasks/cpp-hot-cold-field-split-to-hit-a-footprint-ratio/starter.cpp +12 -0
- mlsys/tasks/cpp-hot-cold-field-split-to-hit-a-footprint-ratio/task.md +61 -0
- mlsys/tasks/cpp-in-place-c-modify-reflects-in-numpy/main.cpp +49 -0
- mlsys/tasks/cpp-in-place-c-modify-reflects-in-numpy/meta.json +13 -0
- mlsys/tasks/cpp-in-place-c-modify-reflects-in-numpy/ref.cpp +22 -0
- mlsys/tasks/cpp-in-place-c-modify-reflects-in-numpy/sol.hpp +21 -0
- mlsys/tasks/cpp-in-place-c-modify-reflects-in-numpy/starter.cpp +19 -0
- mlsys/tasks/cpp-in-place-c-modify-reflects-in-numpy/task.md +62 -0
- mlsys/tasks/cpp-in-place-vs-out-of-place-vectorization-legality/main.cpp +56 -0
- mlsys/tasks/cpp-in-place-vs-out-of-place-vectorization-legality/meta.json +15 -0
- mlsys/tasks/cpp-in-place-vs-out-of-place-vectorization-legality/ref.cpp +32 -0
- mlsys/tasks/cpp-in-place-vs-out-of-place-vectorization-legality/sol.hpp +28 -0
- mlsys/tasks/cpp-in-place-vs-out-of-place-vectorization-legality/starter.cpp +13 -0
- mlsys/tasks/cpp-in-place-vs-out-of-place-vectorization-legality/task.md +66 -0
- mlsys/tasks/cpp-int8-quantize-dequantize-round-trip/main.cpp +28 -0
- mlsys/tasks/cpp-int8-quantize-dequantize-round-trip/meta.json +13 -0
- mlsys/tasks/cpp-int8-quantize-dequantize-round-trip/ref.cpp +14 -0
- mlsys/tasks/cpp-int8-quantize-dequantize-round-trip/sol.hpp +11 -0
- mlsys/tasks/cpp-int8-quantize-dequantize-round-trip/starter.cpp +8 -0
- mlsys/tasks/cpp-int8-quantize-dequantize-round-trip/task.md +29 -0
- mlsys/tasks/cpp-int8-widening-dot-product-neon/main.cpp +36 -0
- mlsys/tasks/cpp-int8-widening-dot-product-neon/meta.json +19 -0
- mlsys/tasks/cpp-int8-widening-dot-product-neon/ref.cpp +29 -0
- mlsys/tasks/cpp-int8-widening-dot-product-neon/sol.hpp +29 -0
- mlsys/tasks/cpp-int8-widening-dot-product-neon/starter.cpp +14 -0
- mlsys/tasks/cpp-int8-widening-dot-product-neon/task.md +58 -0
- mlsys/tasks/cpp-integer-promotion-conversion-result-prediction/main.cpp +35 -0
- mlsys/tasks/cpp-integer-promotion-conversion-result-prediction/meta.json +15 -0
- mlsys/tasks/cpp-integer-promotion-conversion-result-prediction/ref.cpp +48 -0
- mlsys/tasks/cpp-integer-promotion-conversion-result-prediction/sol.hpp +37 -0
- mlsys/tasks/cpp-integer-promotion-conversion-result-prediction/starter.cpp +8 -0
- mlsys/tasks/cpp-integer-promotion-conversion-result-prediction/task.md +29 -0
- mlsys/tasks/cpp-iterator-invalidation-oracle-20-ops/main.cpp +35 -0
- mlsys/tasks/cpp-iterator-invalidation-oracle-20-ops/meta.json +19 -0
- mlsys/tasks/cpp-iterator-invalidation-oracle-20-ops/ref.cpp +29 -0
- mlsys/tasks/cpp-iterator-invalidation-oracle-20-ops/sol.hpp +38 -0
- mlsys/tasks/cpp-iterator-invalidation-oracle-20-ops/starter.cpp +9 -0
- mlsys/tasks/cpp-iterator-invalidation-oracle-20-ops/task.md +61 -0
- mlsys/tasks/cpp-leak-free-half-built-object-on-throw/main.cpp +136 -0
- mlsys/tasks/cpp-leak-free-half-built-object-on-throw/meta.json +15 -0
- mlsys/tasks/cpp-leak-free-half-built-object-on-throw/ref.cpp +30 -0
- mlsys/tasks/cpp-leak-free-half-built-object-on-throw/sol.hpp +17 -0
- mlsys/tasks/cpp-leak-free-half-built-object-on-throw/starter.cpp +32 -0
- mlsys/tasks/cpp-leak-free-half-built-object-on-throw/task.md +58 -0
- mlsys/tasks/cpp-level-1-2-blas-axpy-gemv-correctness/main.cpp +43 -0
- mlsys/tasks/cpp-level-1-2-blas-axpy-gemv-correctness/meta.json +1 -0
- mlsys/tasks/cpp-level-1-2-blas-axpy-gemv-correctness/ref.cpp +9 -0
- mlsys/tasks/cpp-level-1-2-blas-axpy-gemv-correctness/sol.hpp +35 -0
- mlsys/tasks/cpp-level-1-2-blas-axpy-gemv-correctness/starter.cpp +9 -0
- mlsys/tasks/cpp-level-1-2-blas-axpy-gemv-correctness/task.md +70 -0
- mlsys/tasks/cpp-linkage-classifier-15-declarations/main.cpp +14 -0
- mlsys/tasks/cpp-linkage-classifier-15-declarations/meta.json +13 -0
- mlsys/tasks/cpp-linkage-classifier-15-declarations/ref.cpp +22 -0
- mlsys/tasks/cpp-linkage-classifier-15-declarations/sol.hpp +64 -0
- mlsys/tasks/cpp-linkage-classifier-15-declarations/starter.cpp +7 -0
- mlsys/tasks/cpp-linkage-classifier-15-declarations/task.md +87 -0
- mlsys/tasks/cpp-load-factor-rehash-trigger-count/main.cpp +33 -0
- mlsys/tasks/cpp-load-factor-rehash-trigger-count/meta.json +13 -0
- mlsys/tasks/cpp-load-factor-rehash-trigger-count/ref.cpp +26 -0
- mlsys/tasks/cpp-load-factor-rehash-trigger-count/sol.hpp +21 -0
- mlsys/tasks/cpp-load-factor-rehash-trigger-count/starter.cpp +9 -0
- mlsys/tasks/cpp-load-factor-rehash-trigger-count/task.md +30 -0
- mlsys/tasks/cpp-make-shared-vs-shared-ptr-new-allocation-count/main.cpp +47 -0
- mlsys/tasks/cpp-make-shared-vs-shared-ptr-new-allocation-count/meta.json +2 -0
- mlsys/tasks/cpp-make-shared-vs-shared-ptr-new-allocation-count/ref.cpp +8 -0
- mlsys/tasks/cpp-make-shared-vs-shared-ptr-new-allocation-count/sol.hpp +22 -0
- mlsys/tasks/cpp-make-shared-vs-shared-ptr-new-allocation-count/starter.cpp +10 -0
- mlsys/tasks/cpp-make-shared-vs-shared-ptr-new-allocation-count/task.md +58 -0
- mlsys/tasks/cpp-map-ub-category-label-to-15-snippets/main.cpp +35 -0
- mlsys/tasks/cpp-map-ub-category-label-to-15-snippets/meta.json +13 -0
- mlsys/tasks/cpp-map-ub-category-label-to-15-snippets/ref.cpp +13 -0
- mlsys/tasks/cpp-map-ub-category-label-to-15-snippets/sol.hpp +20 -0
- mlsys/tasks/cpp-map-ub-category-label-to-15-snippets/starter.cpp +8 -0
- mlsys/tasks/cpp-map-ub-category-label-to-15-snippets/task.md +61 -0
- mlsys/tasks/cpp-memory-order-reordering-legality-12-cases/main.cpp +41 -0
- mlsys/tasks/cpp-memory-order-reordering-legality-12-cases/meta.json +19 -0
- mlsys/tasks/cpp-memory-order-reordering-legality-12-cases/ref.cpp +30 -0
- mlsys/tasks/cpp-memory-order-reordering-legality-12-cases/sol.hpp +29 -0
- mlsys/tasks/cpp-memory-order-reordering-legality-12-cases/starter.cpp +8 -0
- mlsys/tasks/cpp-memory-order-reordering-legality-12-cases/task.md +27 -0
- mlsys/tasks/cpp-message-passing-litmus-allowed-outcomes/main.cpp +25 -0
- mlsys/tasks/cpp-message-passing-litmus-allowed-outcomes/meta.json +19 -0
- mlsys/tasks/cpp-message-passing-litmus-allowed-outcomes/ref.cpp +22 -0
- mlsys/tasks/cpp-message-passing-litmus-allowed-outcomes/sol.hpp +31 -0
- mlsys/tasks/cpp-message-passing-litmus-allowed-outcomes/starter.cpp +11 -0
- mlsys/tasks/cpp-message-passing-litmus-allowed-outcomes/task.md +61 -0
- mlsys/tasks/cpp-mini-variant-active-member-switch/main.cpp +62 -0
- mlsys/tasks/cpp-mini-variant-active-member-switch/meta.json +13 -0
- mlsys/tasks/cpp-mini-variant-active-member-switch/ref.cpp +43 -0
- mlsys/tasks/cpp-mini-variant-active-member-switch/sol.hpp +64 -0
- mlsys/tasks/cpp-mini-variant-active-member-switch/starter.cpp +26 -0
- mlsys/tasks/cpp-mini-variant-active-member-switch/task.md +88 -0
- mlsys/tasks/cpp-minimize-distinct-template-instantiations/main.cpp +36 -0
- mlsys/tasks/cpp-minimize-distinct-template-instantiations/meta.json +15 -0
- mlsys/tasks/cpp-minimize-distinct-template-instantiations/ref.cpp +15 -0
- mlsys/tasks/cpp-minimize-distinct-template-instantiations/sol.hpp +28 -0
- mlsys/tasks/cpp-minimize-distinct-template-instantiations/starter.cpp +17 -0
- mlsys/tasks/cpp-minimize-distinct-template-instantiations/task.md +31 -0
- mlsys/tasks/cpp-move-ctor-forgets-to-null-double-free-fix/main.cpp +84 -0
- mlsys/tasks/cpp-move-ctor-forgets-to-null-double-free-fix/meta.json +21 -0
- mlsys/tasks/cpp-move-ctor-forgets-to-null-double-free-fix/ref.cpp +28 -0
- mlsys/tasks/cpp-move-ctor-forgets-to-null-double-free-fix/sol.hpp +38 -0
- mlsys/tasks/cpp-move-ctor-forgets-to-null-double-free-fix/starter.cpp +28 -0
- mlsys/tasks/cpp-move-ctor-forgets-to-null-double-free-fix/task.md +50 -0
- mlsys/tasks/cpp-multiple-accumulators-to-break-fp-dep-chain/main.cpp +23 -0
- mlsys/tasks/cpp-multiple-accumulators-to-break-fp-dep-chain/meta.json +2 -0
- mlsys/tasks/cpp-multiple-accumulators-to-break-fp-dep-chain/ref.cpp +10 -0
- mlsys/tasks/cpp-multiple-accumulators-to-break-fp-dep-chain/sol.hpp +16 -0
- mlsys/tasks/cpp-multiple-accumulators-to-break-fp-dep-chain/starter.cpp +9 -0
- mlsys/tasks/cpp-multiple-accumulators-to-break-fp-dep-chain/task.md +74 -0
- mlsys/tasks/cpp-multiple-inheritance-this-pointer-adjustment/main.cpp +12 -0
- mlsys/tasks/cpp-multiple-inheritance-this-pointer-adjustment/meta.json +2 -0
- mlsys/tasks/cpp-multiple-inheritance-this-pointer-adjustment/ref.cpp +14 -0
- mlsys/tasks/cpp-multiple-inheritance-this-pointer-adjustment/sol.hpp +43 -0
- mlsys/tasks/cpp-multiple-inheritance-this-pointer-adjustment/starter.cpp +14 -0
- mlsys/tasks/cpp-multiple-inheritance-this-pointer-adjustment/task.md +65 -0
- mlsys/tasks/cpp-name-the-storage-duration/main.cpp +129 -0
- mlsys/tasks/cpp-name-the-storage-duration/meta.json +15 -0
- mlsys/tasks/cpp-name-the-storage-duration/ref.cpp +14 -0
- mlsys/tasks/cpp-name-the-storage-duration/sol.hpp +7 -0
- mlsys/tasks/cpp-name-the-storage-duration/starter.cpp +8 -0
- mlsys/tasks/cpp-name-the-storage-duration/task.md +82 -0
- mlsys/tasks/cpp-neon-f32x4-saxpy-from-intrinsics/main.cpp +20 -0
- mlsys/tasks/cpp-neon-f32x4-saxpy-from-intrinsics/meta.json +2 -0
- mlsys/tasks/cpp-neon-f32x4-saxpy-from-intrinsics/ref.cpp +16 -0
- mlsys/tasks/cpp-neon-f32x4-saxpy-from-intrinsics/sol.hpp +8 -0
- mlsys/tasks/cpp-neon-f32x4-saxpy-from-intrinsics/starter.cpp +10 -0
- mlsys/tasks/cpp-neon-f32x4-saxpy-from-intrinsics/task.md +46 -0
- mlsys/tasks/cpp-neon-horizontal-sum-dot-product/main.cpp +32 -0
- mlsys/tasks/cpp-neon-horizontal-sum-dot-product/meta.json +9 -0
- mlsys/tasks/cpp-neon-horizontal-sum-dot-product/ref.cpp +29 -0
- mlsys/tasks/cpp-neon-horizontal-sum-dot-product/sol.hpp +26 -0
- mlsys/tasks/cpp-neon-horizontal-sum-dot-product/starter.cpp +10 -0
- mlsys/tasks/cpp-neon-horizontal-sum-dot-product/task.md +65 -0
- mlsys/tasks/cpp-noexcept-move-unlocks-vector-growth-moves/main.cpp +23 -0
- mlsys/tasks/cpp-noexcept-move-unlocks-vector-growth-moves/meta.json +19 -0
- mlsys/tasks/cpp-noexcept-move-unlocks-vector-growth-moves/ref.cpp +53 -0
- mlsys/tasks/cpp-noexcept-move-unlocks-vector-growth-moves/sol.hpp +37 -0
- mlsys/tasks/cpp-noexcept-move-unlocks-vector-growth-moves/starter.cpp +6 -0
- mlsys/tasks/cpp-noexcept-move-unlocks-vector-growth-moves/task.md +26 -0
- mlsys/tasks/cpp-open-addressing-hash-map-probe-sequence/main.cpp +28 -0
- mlsys/tasks/cpp-open-addressing-hash-map-probe-sequence/meta.json +19 -0
- mlsys/tasks/cpp-open-addressing-hash-map-probe-sequence/ref.cpp +12 -0
- mlsys/tasks/cpp-open-addressing-hash-map-probe-sequence/sol.hpp +24 -0
- mlsys/tasks/cpp-open-addressing-hash-map-probe-sequence/starter.cpp +10 -0
- mlsys/tasks/cpp-open-addressing-hash-map-probe-sequence/task.md +48 -0
- mlsys/tasks/cpp-overload-resolution-winner-15-calls/main.cpp +151 -0
- mlsys/tasks/cpp-overload-resolution-winner-15-calls/meta.json +1 -0
- mlsys/tasks/cpp-overload-resolution-winner-15-calls/ref.cpp +24 -0
- mlsys/tasks/cpp-overload-resolution-winner-15-calls/sol.hpp +8 -0
- mlsys/tasks/cpp-overload-resolution-winner-15-calls/starter.cpp +7 -0
- mlsys/tasks/cpp-overload-resolution-winner-15-calls/task.md +74 -0
- mlsys/tasks/cpp-peak-live-object-count-under-a-workload/main.cpp +38 -0
- mlsys/tasks/cpp-peak-live-object-count-under-a-workload/meta.json +13 -0
- mlsys/tasks/cpp-peak-live-object-count-under-a-workload/ref.cpp +23 -0
- mlsys/tasks/cpp-peak-live-object-count-under-a-workload/sol.hpp +32 -0
- mlsys/tasks/cpp-peak-live-object-count-under-a-workload/starter.cpp +8 -0
- mlsys/tasks/cpp-peak-live-object-count-under-a-workload/task.md +59 -0
- mlsys/tasks/cpp-pick-the-right-smart-pointer-12-scenarios/main.cpp +10 -0
- mlsys/tasks/cpp-pick-the-right-smart-pointer-12-scenarios/meta.json +8 -0
- mlsys/tasks/cpp-pick-the-right-smart-pointer-12-scenarios/ref.cpp +18 -0
- mlsys/tasks/cpp-pick-the-right-smart-pointer-12-scenarios/sol.hpp +41 -0
- mlsys/tasks/cpp-pick-the-right-smart-pointer-12-scenarios/starter.cpp +7 -0
- mlsys/tasks/cpp-pick-the-right-smart-pointer-12-scenarios/task.md +66 -0
- mlsys/tasks/cpp-pick-the-weakest-correct-memory-order-8-patterns/main.cpp +29 -0
- mlsys/tasks/cpp-pick-the-weakest-correct-memory-order-8-patterns/meta.json +15 -0
- mlsys/tasks/cpp-pick-the-weakest-correct-memory-order-8-patterns/ref.cpp +15 -0
- mlsys/tasks/cpp-pick-the-weakest-correct-memory-order-8-patterns/sol.hpp +31 -0
- mlsys/tasks/cpp-pick-the-weakest-correct-memory-order-8-patterns/starter.cpp +20 -0
- mlsys/tasks/cpp-pick-the-weakest-correct-memory-order-8-patterns/task.md +31 -0
- mlsys/tasks/cpp-placement-new-one-object-then-explicit-destroy/main.cpp +29 -0
- mlsys/tasks/cpp-placement-new-one-object-then-explicit-destroy/meta.json +2 -0
- mlsys/tasks/cpp-placement-new-one-object-then-explicit-destroy/ref.cpp +9 -0
- mlsys/tasks/cpp-placement-new-one-object-then-explicit-destroy/sol.hpp +22 -0
- mlsys/tasks/cpp-placement-new-one-object-then-explicit-destroy/starter.cpp +11 -0
- mlsys/tasks/cpp-placement-new-one-object-then-explicit-destroy/task.md +61 -0
- mlsys/tasks/cpp-portable-checked-overflow-detection/main.cpp +26 -0
- mlsys/tasks/cpp-portable-checked-overflow-detection/meta.json +13 -0
- mlsys/tasks/cpp-portable-checked-overflow-detection/ref.cpp +22 -0
- mlsys/tasks/cpp-portable-checked-overflow-detection/sol.hpp +30 -0
- mlsys/tasks/cpp-portable-checked-overflow-detection/starter.cpp +17 -0
- mlsys/tasks/cpp-portable-checked-overflow-detection/task.md +55 -0
- mlsys/tasks/cpp-predict-mangled-names-for-12-signatures/main.cpp +27 -0
- mlsys/tasks/cpp-predict-mangled-names-for-12-signatures/meta.json +13 -0
- mlsys/tasks/cpp-predict-mangled-names-for-12-signatures/ref.cpp +64 -0
- mlsys/tasks/cpp-predict-mangled-names-for-12-signatures/sol.hpp +33 -0
- mlsys/tasks/cpp-predict-mangled-names-for-12-signatures/starter.cpp +8 -0
- mlsys/tasks/cpp-predict-mangled-names-for-12-signatures/task.md +54 -0
- mlsys/tasks/cpp-predict-refcount-after-12-c-api-operations/main.cpp +67 -0
- mlsys/tasks/cpp-predict-refcount-after-12-c-api-operations/meta.json +15 -0
- mlsys/tasks/cpp-predict-refcount-after-12-c-api-operations/ref.cpp +34 -0
- mlsys/tasks/cpp-predict-refcount-after-12-c-api-operations/sol.hpp +9 -0
- mlsys/tasks/cpp-predict-refcount-after-12-c-api-operations/starter.cpp +8 -0
- mlsys/tasks/cpp-predict-refcount-after-12-c-api-operations/task.md +62 -0
- mlsys/tasks/cpp-predict-sizeof-of-a-small-struct/main.cpp +52 -0
- mlsys/tasks/cpp-predict-sizeof-of-a-small-struct/meta.json +2 -0
- mlsys/tasks/cpp-predict-sizeof-of-a-small-struct/ref.cpp +16 -0
- mlsys/tasks/cpp-predict-sizeof-of-a-small-struct/sol.hpp +9 -0
- mlsys/tasks/cpp-predict-sizeof-of-a-small-struct/starter.cpp +10 -0
- mlsys/tasks/cpp-predict-sizeof-of-a-small-struct/task.md +58 -0
- mlsys/tasks/cpp-predict-symbol-definition-count-for-a-header/main.cpp +62 -0
- mlsys/tasks/cpp-predict-symbol-definition-count-for-a-header/meta.json +15 -0
- mlsys/tasks/cpp-predict-symbol-definition-count-for-a-header/ref.cpp +23 -0
- mlsys/tasks/cpp-predict-symbol-definition-count-for-a-header/sol.hpp +29 -0
- mlsys/tasks/cpp-predict-symbol-definition-count-for-a-header/starter.cpp +7 -0
- mlsys/tasks/cpp-predict-symbol-definition-count-for-a-header/task.md +26 -0
- mlsys/tasks/cpp-predict-which-loops-autovectorize/main.cpp +143 -0
- mlsys/tasks/cpp-predict-which-loops-autovectorize/meta.json +15 -0
- mlsys/tasks/cpp-predict-which-loops-autovectorize/ref.cpp +14 -0
- mlsys/tasks/cpp-predict-which-loops-autovectorize/sol.hpp +51 -0
- mlsys/tasks/cpp-predict-which-loops-autovectorize/starter.cpp +12 -0
- mlsys/tasks/cpp-predict-which-loops-autovectorize/task.md +27 -0
- mlsys/tasks/cpp-predict-which-snippets-ubsan-flags/main.cpp +93 -0
- mlsys/tasks/cpp-predict-which-snippets-ubsan-flags/meta.json +1 -0
- mlsys/tasks/cpp-predict-which-snippets-ubsan-flags/ref.cpp +24 -0
- mlsys/tasks/cpp-predict-which-snippets-ubsan-flags/sol.hpp +6 -0
- mlsys/tasks/cpp-predict-which-snippets-ubsan-flags/starter.cpp +7 -0
- mlsys/tasks/cpp-predict-which-snippets-ubsan-flags/task.md +68 -0
- mlsys/tasks/cpp-producer-consumer-conservation-condvar/main.cpp +48 -0
- mlsys/tasks/cpp-producer-consumer-conservation-condvar/meta.json +19 -0
- mlsys/tasks/cpp-producer-consumer-conservation-condvar/ref.cpp +29 -0
- mlsys/tasks/cpp-producer-consumer-conservation-condvar/sol.hpp +30 -0
- mlsys/tasks/cpp-producer-consumer-conservation-condvar/starter.cpp +15 -0
- mlsys/tasks/cpp-producer-consumer-conservation-condvar/task.md +27 -0
- mlsys/tasks/cpp-read-a-nested-pointer-reference-const-declaration/main.cpp +9 -0
- mlsys/tasks/cpp-read-a-nested-pointer-reference-const-declaration/meta.json +9 -0
- mlsys/tasks/cpp-read-a-nested-pointer-reference-const-declaration/ref.cpp +38 -0
- mlsys/tasks/cpp-read-a-nested-pointer-reference-const-declaration/sol.hpp +10 -0
- mlsys/tasks/cpp-read-a-nested-pointer-reference-const-declaration/starter.cpp +32 -0
- mlsys/tasks/cpp-read-a-nested-pointer-reference-const-declaration/task.md +76 -0
- mlsys/tasks/cpp-read-write-rebind-legality-3-bits-20/main.cpp +85 -0
- mlsys/tasks/cpp-read-write-rebind-legality-3-bits-20/meta.json +1 -0
- mlsys/tasks/cpp-read-write-rebind-legality-3-bits-20/ref.cpp +34 -0
- mlsys/tasks/cpp-read-write-rebind-legality-3-bits-20/sol.hpp +18 -0
- mlsys/tasks/cpp-read-write-rebind-legality-3-bits-20/starter.cpp +8 -0
- mlsys/tasks/cpp-read-write-rebind-legality-3-bits-20/task.md +75 -0
- mlsys/tasks/cpp-redundant-load-delta-aliased-vs-restrict-accumulation/main.cpp +56 -0
- mlsys/tasks/cpp-redundant-load-delta-aliased-vs-restrict-accumulation/meta.json +19 -0
- mlsys/tasks/cpp-redundant-load-delta-aliased-vs-restrict-accumulation/ref.cpp +17 -0
- mlsys/tasks/cpp-redundant-load-delta-aliased-vs-restrict-accumulation/sol.hpp +34 -0
- mlsys/tasks/cpp-redundant-load-delta-aliased-vs-restrict-accumulation/starter.cpp +15 -0
- mlsys/tasks/cpp-redundant-load-delta-aliased-vs-restrict-accumulation/task.md +59 -0
- mlsys/tasks/cpp-refactor-two-return-paths-to-preserve-nrvo/main.cpp +20 -0
- mlsys/tasks/cpp-refactor-two-return-paths-to-preserve-nrvo/meta.json +13 -0
- mlsys/tasks/cpp-refactor-two-return-paths-to-preserve-nrvo/ref.cpp +13 -0
- mlsys/tasks/cpp-refactor-two-return-paths-to-preserve-nrvo/sol.hpp +35 -0
- mlsys/tasks/cpp-refactor-two-return-paths-to-preserve-nrvo/starter.cpp +11 -0
- mlsys/tasks/cpp-refactor-two-return-paths-to-preserve-nrvo/task.md +65 -0
- mlsys/tasks/cpp-refcount-balance-for-a-new-tuple-returner/main.cpp +47 -0
- mlsys/tasks/cpp-refcount-balance-for-a-new-tuple-returner/meta.json +2 -0
- mlsys/tasks/cpp-refcount-balance-for-a-new-tuple-returner/ref.cpp +15 -0
- mlsys/tasks/cpp-refcount-balance-for-a-new-tuple-returner/sol.hpp +40 -0
- mlsys/tasks/cpp-refcount-balance-for-a-new-tuple-returner/starter.cpp +11 -0
- mlsys/tasks/cpp-refcount-balance-for-a-new-tuple-returner/task.md +64 -0
- mlsys/tasks/cpp-remove-an-autovectorization-blocker/main.cpp +34 -0
- mlsys/tasks/cpp-remove-an-autovectorization-blocker/meta.json +19 -0
- mlsys/tasks/cpp-remove-an-autovectorization-blocker/ref.cpp +10 -0
- mlsys/tasks/cpp-remove-an-autovectorization-blocker/sol.hpp +14 -0
- mlsys/tasks/cpp-remove-an-autovectorization-blocker/starter.cpp +13 -0
- mlsys/tasks/cpp-remove-an-autovectorization-blocker/task.md +20 -0
- mlsys/tasks/cpp-remove-cv-decay-trait-from-scratch/main.cpp +14 -0
- mlsys/tasks/cpp-remove-cv-decay-trait-from-scratch/meta.json +15 -0
- mlsys/tasks/cpp-remove-cv-decay-trait-from-scratch/ref.cpp +44 -0
- mlsys/tasks/cpp-remove-cv-decay-trait-from-scratch/sol.hpp +38 -0
- mlsys/tasks/cpp-remove-cv-decay-trait-from-scratch/starter.cpp +31 -0
- mlsys/tasks/cpp-remove-cv-decay-trait-from-scratch/task.md +28 -0
- mlsys/tasks/cpp-remove-return-std-move-pessimization/main.cpp +25 -0
- mlsys/tasks/cpp-remove-return-std-move-pessimization/meta.json +19 -0
- mlsys/tasks/cpp-remove-return-std-move-pessimization/ref.cpp +6 -0
- mlsys/tasks/cpp-remove-return-std-move-pessimization/sol.hpp +33 -0
- mlsys/tasks/cpp-remove-return-std-move-pessimization/starter.cpp +11 -0
- mlsys/tasks/cpp-remove-return-std-move-pessimization/task.md +44 -0
- mlsys/tasks/cpp-reorder-struct-members-to-minimize-sizeof/main.cpp +50 -0
- mlsys/tasks/cpp-reorder-struct-members-to-minimize-sizeof/meta.json +1 -0
- mlsys/tasks/cpp-reorder-struct-members-to-minimize-sizeof/ref.cpp +21 -0
- mlsys/tasks/cpp-reorder-struct-members-to-minimize-sizeof/sol.hpp +10 -0
- mlsys/tasks/cpp-reorder-struct-members-to-minimize-sizeof/starter.cpp +12 -0
- mlsys/tasks/cpp-reorder-struct-members-to-minimize-sizeof/task.md +61 -0
- mlsys/tasks/cpp-replace-shared-ptr-with-unique-ptr-where-sole-owned/main.cpp +60 -0
- mlsys/tasks/cpp-replace-shared-ptr-with-unique-ptr-where-sole-owned/meta.json +15 -0
- mlsys/tasks/cpp-replace-shared-ptr-with-unique-ptr-where-sole-owned/ref.cpp +10 -0
- mlsys/tasks/cpp-replace-shared-ptr-with-unique-ptr-where-sole-owned/sol.hpp +27 -0
- mlsys/tasks/cpp-replace-shared-ptr-with-unique-ptr-where-sole-owned/starter.cpp +12 -0
- mlsys/tasks/cpp-replace-shared-ptr-with-unique-ptr-where-sole-owned/task.md +66 -0
- mlsys/tasks/cpp-reproduce-a-target-ctor-copy-move-dtor-event-sequence/main.cpp +23 -0
- mlsys/tasks/cpp-reproduce-a-target-ctor-copy-move-dtor-event-sequence/meta.json +2 -0
- mlsys/tasks/cpp-reproduce-a-target-ctor-copy-move-dtor-event-sequence/ref.cpp +17 -0
- mlsys/tasks/cpp-reproduce-a-target-ctor-copy-move-dtor-event-sequence/sol.hpp +38 -0
- mlsys/tasks/cpp-reproduce-a-target-ctor-copy-move-dtor-event-sequence/starter.cpp +7 -0
- mlsys/tasks/cpp-reproduce-a-target-ctor-copy-move-dtor-event-sequence/task.md +64 -0
- mlsys/tasks/cpp-reserve-to-prevent-pointer-invalidation/main.cpp +23 -0
- mlsys/tasks/cpp-reserve-to-prevent-pointer-invalidation/meta.json +15 -0
- mlsys/tasks/cpp-reserve-to-prevent-pointer-invalidation/ref.cpp +23 -0
- mlsys/tasks/cpp-reserve-to-prevent-pointer-invalidation/sol.hpp +27 -0
- mlsys/tasks/cpp-reserve-to-prevent-pointer-invalidation/starter.cpp +8 -0
- mlsys/tasks/cpp-reserve-to-prevent-pointer-invalidation/task.md +61 -0
- mlsys/tasks/cpp-restrict-enabled-load-hoist-on-saxpy-gemv/main.cpp +59 -0
- mlsys/tasks/cpp-restrict-enabled-load-hoist-on-saxpy-gemv/meta.json +19 -0
- mlsys/tasks/cpp-restrict-enabled-load-hoist-on-saxpy-gemv/ref.cpp +19 -0
- mlsys/tasks/cpp-restrict-enabled-load-hoist-on-saxpy-gemv/sol.hpp +31 -0
- mlsys/tasks/cpp-restrict-enabled-load-hoist-on-saxpy-gemv/starter.cpp +17 -0
- mlsys/tasks/cpp-restrict-enabled-load-hoist-on-saxpy-gemv/task.md +56 -0
- mlsys/tasks/cpp-saturating-add-sub-mul-without-ub/main.cpp +20 -0
- mlsys/tasks/cpp-saturating-add-sub-mul-without-ub/meta.json +19 -0
- mlsys/tasks/cpp-saturating-add-sub-mul-without-ub/ref.cpp +22 -0
- mlsys/tasks/cpp-saturating-add-sub-mul-without-ub/sol.hpp +10 -0
- mlsys/tasks/cpp-saturating-add-sub-mul-without-ub/starter.cpp +16 -0
- mlsys/tasks/cpp-saturating-add-sub-mul-without-ub/task.md +25 -0
- mlsys/tasks/cpp-scalar-vs-simd-equivalence-classifier/main.cpp +95 -0
- mlsys/tasks/cpp-scalar-vs-simd-equivalence-classifier/meta.json +15 -0
- mlsys/tasks/cpp-scalar-vs-simd-equivalence-classifier/ref.cpp +29 -0
- mlsys/tasks/cpp-scalar-vs-simd-equivalence-classifier/sol.hpp +37 -0
- mlsys/tasks/cpp-scalar-vs-simd-equivalence-classifier/starter.cpp +30 -0
- mlsys/tasks/cpp-scalar-vs-simd-equivalence-classifier/task.md +28 -0
- mlsys/tasks/cpp-scoped-arena-lifo-ctor-dtor-order/main.cpp +19 -0
- mlsys/tasks/cpp-scoped-arena-lifo-ctor-dtor-order/meta.json +1 -0
- mlsys/tasks/cpp-scoped-arena-lifo-ctor-dtor-order/ref.cpp +26 -0
- mlsys/tasks/cpp-scoped-arena-lifo-ctor-dtor-order/sol.hpp +48 -0
- mlsys/tasks/cpp-scoped-arena-lifo-ctor-dtor-order/starter.cpp +17 -0
- mlsys/tasks/cpp-scoped-arena-lifo-ctor-dtor-order/task.md +61 -0
- mlsys/tasks/cpp-sfinae-select-int-vs-float-code-path/main.cpp +18 -0
- mlsys/tasks/cpp-sfinae-select-int-vs-float-code-path/meta.json +2 -0
- mlsys/tasks/cpp-sfinae-select-int-vs-float-code-path/ref.cpp +23 -0
- mlsys/tasks/cpp-sfinae-select-int-vs-float-code-path/sol.hpp +14 -0
- mlsys/tasks/cpp-sfinae-select-int-vs-float-code-path/starter.cpp +18 -0
- mlsys/tasks/cpp-sfinae-select-int-vs-float-code-path/task.md +65 -0
- mlsys/tasks/cpp-shared-ptr-aliasing-constructor-subobject-ownership/main.cpp +50 -0
- mlsys/tasks/cpp-shared-ptr-aliasing-constructor-subobject-ownership/meta.json +2 -0
- mlsys/tasks/cpp-shared-ptr-aliasing-constructor-subobject-ownership/ref.cpp +8 -0
- mlsys/tasks/cpp-shared-ptr-aliasing-constructor-subobject-ownership/sol.hpp +34 -0
- mlsys/tasks/cpp-shared-ptr-aliasing-constructor-subobject-ownership/starter.cpp +9 -0
- mlsys/tasks/cpp-shared-ptr-aliasing-constructor-subobject-ownership/task.md +66 -0
- mlsys/tasks/cpp-single-inheritance-object-layout-offsets/main.cpp +13 -0
- mlsys/tasks/cpp-single-inheritance-object-layout-offsets/meta.json +2 -0
- mlsys/tasks/cpp-single-inheritance-object-layout-offsets/ref.cpp +16 -0
- mlsys/tasks/cpp-single-inheritance-object-layout-offsets/sol.hpp +43 -0
- mlsys/tasks/cpp-single-inheritance-object-layout-offsets/starter.cpp +17 -0
- mlsys/tasks/cpp-single-inheritance-object-layout-offsets/task.md +86 -0
- mlsys/tasks/cpp-sizeof-with-vs-without-a-virtual-vptr/main.cpp +49 -0
- mlsys/tasks/cpp-sizeof-with-vs-without-a-virtual-vptr/meta.json +8 -0
- mlsys/tasks/cpp-sizeof-with-vs-without-a-virtual-vptr/ref.cpp +9 -0
- mlsys/tasks/cpp-sizeof-with-vs-without-a-virtual-vptr/sol.hpp +25 -0
- mlsys/tasks/cpp-sizeof-with-vs-without-a-virtual-vptr/starter.cpp +9 -0
- mlsys/tasks/cpp-sizeof-with-vs-without-a-virtual-vptr/task.md +52 -0
- mlsys/tasks/cpp-slab-storage-reuse-stale-pointer-launder-fix/main.cpp +9 -0
- mlsys/tasks/cpp-slab-storage-reuse-stale-pointer-launder-fix/meta.json +13 -0
- mlsys/tasks/cpp-slab-storage-reuse-stale-pointer-launder-fix/ref.cpp +23 -0
- mlsys/tasks/cpp-slab-storage-reuse-stale-pointer-launder-fix/sol.hpp +26 -0
- mlsys/tasks/cpp-slab-storage-reuse-stale-pointer-launder-fix/starter.cpp +15 -0
- mlsys/tasks/cpp-slab-storage-reuse-stale-pointer-launder-fix/task.md +54 -0
- mlsys/tasks/cpp-small-vector-t-n-with-inline-storage/main.cpp +40 -0
- mlsys/tasks/cpp-small-vector-t-n-with-inline-storage/meta.json +1 -0
- mlsys/tasks/cpp-small-vector-t-n-with-inline-storage/ref.cpp +45 -0
- mlsys/tasks/cpp-small-vector-t-n-with-inline-storage/sol.hpp +52 -0
- mlsys/tasks/cpp-small-vector-t-n-with-inline-storage/starter.cpp +32 -0
- mlsys/tasks/cpp-small-vector-t-n-with-inline-storage/task.md +56 -0
- mlsys/tasks/cpp-spsc-ring-buffer-no-loss-no-duplication/main.cpp +66 -0
- mlsys/tasks/cpp-spsc-ring-buffer-no-loss-no-duplication/meta.json +2 -0
- mlsys/tasks/cpp-spsc-ring-buffer-no-loss-no-duplication/ref.cpp +23 -0
- mlsys/tasks/cpp-spsc-ring-buffer-no-loss-no-duplication/sol.hpp +43 -0
- mlsys/tasks/cpp-spsc-ring-buffer-no-loss-no-duplication/starter.cpp +20 -0
- mlsys/tasks/cpp-spsc-ring-buffer-no-loss-no-duplication/task.md +69 -0
- mlsys/tasks/cpp-standard-layout-trivially-copyable-flags-12-structs/main.cpp +22 -0
- mlsys/tasks/cpp-standard-layout-trivially-copyable-flags-12-structs/meta.json +1 -0
- mlsys/tasks/cpp-standard-layout-trivially-copyable-flags-12-structs/ref.cpp +35 -0
- mlsys/tasks/cpp-standard-layout-trivially-copyable-flags-12-structs/sol.hpp +11 -0
- mlsys/tasks/cpp-standard-layout-trivially-copyable-flags-12-structs/starter.cpp +12 -0
- mlsys/tasks/cpp-standard-layout-trivially-copyable-flags-12-structs/task.md +91 -0
- mlsys/tasks/cpp-static-init-order-fiasco-meyers-singleton/main.cpp +16 -0
- mlsys/tasks/cpp-static-init-order-fiasco-meyers-singleton/meta.json +15 -0
- mlsys/tasks/cpp-static-init-order-fiasco-meyers-singleton/ref.cpp +16 -0
- mlsys/tasks/cpp-static-init-order-fiasco-meyers-singleton/sol.hpp +23 -0
- mlsys/tasks/cpp-static-init-order-fiasco-meyers-singleton/starter.cpp +13 -0
- mlsys/tasks/cpp-static-init-order-fiasco-meyers-singleton/task.md +69 -0
- mlsys/tasks/cpp-store-buffering-dekker-outcome-enumeration/main.cpp +15 -0
- mlsys/tasks/cpp-store-buffering-dekker-outcome-enumeration/meta.json +2 -0
- mlsys/tasks/cpp-store-buffering-dekker-outcome-enumeration/ref.cpp +113 -0
- mlsys/tasks/cpp-store-buffering-dekker-outcome-enumeration/sol.hpp +25 -0
- mlsys/tasks/cpp-store-buffering-dekker-outcome-enumeration/starter.cpp +15 -0
- mlsys/tasks/cpp-store-buffering-dekker-outcome-enumeration/task.md +73 -0
- mlsys/tasks/cpp-strength-reduction-mul-add-preserving-result/main.cpp +24 -0
- mlsys/tasks/cpp-strength-reduction-mul-add-preserving-result/meta.json +2 -0
- mlsys/tasks/cpp-strength-reduction-mul-add-preserving-result/ref.cpp +13 -0
- mlsys/tasks/cpp-strength-reduction-mul-add-preserving-result/sol.hpp +20 -0
- mlsys/tasks/cpp-strength-reduction-mul-add-preserving-result/starter.cpp +9 -0
- mlsys/tasks/cpp-strength-reduction-mul-add-preserving-result/task.md +62 -0
- mlsys/tasks/cpp-strict-aliasing-divergence-o0-vs-o2/main.cpp +20 -0
- mlsys/tasks/cpp-strict-aliasing-divergence-o0-vs-o2/meta.json +2 -0
- mlsys/tasks/cpp-strict-aliasing-divergence-o0-vs-o2/ref.cpp +31 -0
- mlsys/tasks/cpp-strict-aliasing-divergence-o0-vs-o2/sol.hpp +20 -0
- mlsys/tasks/cpp-strict-aliasing-divergence-o0-vs-o2/starter.cpp +17 -0
- mlsys/tasks/cpp-strict-aliasing-divergence-o0-vs-o2/task.md +72 -0
- mlsys/tasks/cpp-sync-pattern-correctness-classifier/main.cpp +46 -0
- mlsys/tasks/cpp-sync-pattern-correctness-classifier/meta.json +19 -0
- mlsys/tasks/cpp-sync-pattern-correctness-classifier/ref.cpp +57 -0
- mlsys/tasks/cpp-sync-pattern-correctness-classifier/sol.hpp +26 -0
- mlsys/tasks/cpp-sync-pattern-correctness-classifier/starter.cpp +8 -0
- mlsys/tasks/cpp-sync-pattern-correctness-classifier/task.md +28 -0
- mlsys/tasks/cpp-threaded-gemm-matches-single-thread-within-tol/main.cpp +33 -0
- mlsys/tasks/cpp-threaded-gemm-matches-single-thread-within-tol/meta.json +2 -0
- mlsys/tasks/cpp-threaded-gemm-matches-single-thread-within-tol/ref.cpp +16 -0
- mlsys/tasks/cpp-threaded-gemm-matches-single-thread-within-tol/sol.hpp +14 -0
- mlsys/tasks/cpp-threaded-gemm-matches-single-thread-within-tol/starter.cpp +14 -0
- mlsys/tasks/cpp-threaded-gemm-matches-single-thread-within-tol/task.md +54 -0
- mlsys/tasks/cpp-treiber-lock-free-stack-multiset-conservation/main.cpp +84 -0
- mlsys/tasks/cpp-treiber-lock-free-stack-multiset-conservation/meta.json +2 -0
- mlsys/tasks/cpp-treiber-lock-free-stack-multiset-conservation/ref.cpp +39 -0
- mlsys/tasks/cpp-treiber-lock-free-stack-multiset-conservation/sol.hpp +36 -0
- mlsys/tasks/cpp-treiber-lock-free-stack-multiset-conservation/starter.cpp +22 -0
- mlsys/tasks/cpp-treiber-lock-free-stack-multiset-conservation/task.md +68 -0
- mlsys/tasks/cpp-two-s-complement-bit-patterns-values/main.cpp +39 -0
- mlsys/tasks/cpp-two-s-complement-bit-patterns-values/meta.json +1 -0
- mlsys/tasks/cpp-two-s-complement-bit-patterns-values/ref.cpp +16 -0
- mlsys/tasks/cpp-two-s-complement-bit-patterns-values/sol.hpp +11 -0
- mlsys/tasks/cpp-two-s-complement-bit-patterns-values/starter.cpp +11 -0
- mlsys/tasks/cpp-two-s-complement-bit-patterns-values/task.md +49 -0
- mlsys/tasks/cpp-type-pun-float-via-int-miscompile-memcpy-fix/main.cpp +36 -0
- mlsys/tasks/cpp-type-pun-float-via-int-miscompile-memcpy-fix/meta.json +1 -0
- mlsys/tasks/cpp-type-pun-float-via-int-miscompile-memcpy-fix/ref.cpp +26 -0
- mlsys/tasks/cpp-type-pun-float-via-int-miscompile-memcpy-fix/sol.hpp +28 -0
- mlsys/tasks/cpp-type-pun-float-via-int-miscompile-memcpy-fix/starter.cpp +21 -0
- mlsys/tasks/cpp-type-pun-float-via-int-miscompile-memcpy-fix/task.md +62 -0
- mlsys/tasks/cpp-ub-driven-check-elimination-o0-vs-o2/main.cpp +20 -0
- mlsys/tasks/cpp-ub-driven-check-elimination-o0-vs-o2/meta.json +1 -0
- mlsys/tasks/cpp-ub-driven-check-elimination-o0-vs-o2/ref.cpp +13 -0
- mlsys/tasks/cpp-ub-driven-check-elimination-o0-vs-o2/sol.hpp +22 -0
- mlsys/tasks/cpp-ub-driven-check-elimination-o0-vs-o2/starter.cpp +19 -0
- mlsys/tasks/cpp-ub-driven-check-elimination-o0-vs-o2/task.md +75 -0
- mlsys/tasks/cpp-ub-oracle-15-placement-new-union-launder-snippets/main.cpp +94 -0
- mlsys/tasks/cpp-ub-oracle-15-placement-new-union-launder-snippets/meta.json +2 -0
- mlsys/tasks/cpp-ub-oracle-15-placement-new-union-launder-snippets/ref.cpp +43 -0
- mlsys/tasks/cpp-ub-oracle-15-placement-new-union-launder-snippets/sol.hpp +43 -0
- mlsys/tasks/cpp-ub-oracle-15-placement-new-union-launder-snippets/starter.cpp +11 -0
- mlsys/tasks/cpp-ub-oracle-15-placement-new-union-launder-snippets/task.md +78 -0
- mlsys/tasks/cpp-ub-taxonomy-classifier-20-snippets/main.cpp +65 -0
- mlsys/tasks/cpp-ub-taxonomy-classifier-20-snippets/meta.json +1 -0
- mlsys/tasks/cpp-ub-taxonomy-classifier-20-snippets/ref.cpp +38 -0
- mlsys/tasks/cpp-ub-taxonomy-classifier-20-snippets/sol.hpp +27 -0
- mlsys/tasks/cpp-ub-taxonomy-classifier-20-snippets/starter.cpp +9 -0
- mlsys/tasks/cpp-ub-taxonomy-classifier-20-snippets/task.md +71 -0
- mlsys/tasks/cpp-unique-ptr-like-handle-with-custom-deleter/main.cpp +64 -0
- mlsys/tasks/cpp-unique-ptr-like-handle-with-custom-deleter/meta.json +1 -0
- mlsys/tasks/cpp-unique-ptr-like-handle-with-custom-deleter/ref.cpp +31 -0
- mlsys/tasks/cpp-unique-ptr-like-handle-with-custom-deleter/sol.hpp +53 -0
- mlsys/tasks/cpp-unique-ptr-like-handle-with-custom-deleter/starter.cpp +33 -0
- mlsys/tasks/cpp-unique-ptr-like-handle-with-custom-deleter/task.md +60 -0
- mlsys/tasks/cpp-value-category-of-15-expressions/main.cpp +10 -0
- mlsys/tasks/cpp-value-category-of-15-expressions/meta.json +8 -0
- mlsys/tasks/cpp-value-category-of-15-expressions/ref.cpp +41 -0
- mlsys/tasks/cpp-value-category-of-15-expressions/sol.hpp +39 -0
- mlsys/tasks/cpp-value-category-of-15-expressions/starter.cpp +7 -0
- mlsys/tasks/cpp-value-category-of-15-expressions/task.md +74 -0
- mlsys/tasks/cpp-virtual-call-indirection-cost-modeled/main.cpp +20 -0
- mlsys/tasks/cpp-virtual-call-indirection-cost-modeled/meta.json +1 -0
- mlsys/tasks/cpp-virtual-call-indirection-cost-modeled/ref.cpp +21 -0
- mlsys/tasks/cpp-virtual-call-indirection-cost-modeled/sol.hpp +29 -0
- mlsys/tasks/cpp-virtual-call-indirection-cost-modeled/starter.cpp +18 -0
- mlsys/tasks/cpp-virtual-call-indirection-cost-modeled/task.md +62 -0
- mlsys/tasks/cpp-what-may-appear-in-multiple-tus-classify/main.cpp +56 -0
- mlsys/tasks/cpp-what-may-appear-in-multiple-tus-classify/meta.json +1 -0
- mlsys/tasks/cpp-what-may-appear-in-multiple-tus-classify/ref.cpp +24 -0
- mlsys/tasks/cpp-what-may-appear-in-multiple-tus-classify/sol.hpp +38 -0
- mlsys/tasks/cpp-what-may-appear-in-multiple-tus-classify/starter.cpp +11 -0
- mlsys/tasks/cpp-what-may-appear-in-multiple-tus-classify/task.md +76 -0
- mlsys/tasks/cpp-which-expressions-are-constant-expressions-classify/main.cpp +17 -0
- mlsys/tasks/cpp-which-expressions-are-constant-expressions-classify/meta.json +2 -0
- mlsys/tasks/cpp-which-expressions-are-constant-expressions-classify/ref.cpp +48 -0
- mlsys/tasks/cpp-which-expressions-are-constant-expressions-classify/sol.hpp +8 -0
- mlsys/tasks/cpp-which-expressions-are-constant-expressions-classify/starter.cpp +11 -0
- mlsys/tasks/cpp-which-expressions-are-constant-expressions-classify/task.md +71 -0
- mlsys/tasks/cpp-which-override-is-called-12-calls/main.cpp +14 -0
- mlsys/tasks/cpp-which-override-is-called-12-calls/meta.json +2 -0
- mlsys/tasks/cpp-which-override-is-called-12-calls/ref.cpp +46 -0
- mlsys/tasks/cpp-which-override-is-called-12-calls/sol.hpp +15 -0
- mlsys/tasks/cpp-which-override-is-called-12-calls/starter.cpp +15 -0
- mlsys/tasks/cpp-which-override-is-called-12-calls/task.md +82 -0
- mlsys/tasks/cpp-which-refs-survive-vector-growth-classify/main.cpp +34 -0
- mlsys/tasks/cpp-which-refs-survive-vector-growth-classify/meta.json +2 -0
- mlsys/tasks/cpp-which-refs-survive-vector-growth-classify/ref.cpp +42 -0
- mlsys/tasks/cpp-which-refs-survive-vector-growth-classify/sol.hpp +27 -0
- mlsys/tasks/cpp-which-refs-survive-vector-growth-classify/starter.cpp +19 -0
- mlsys/tasks/cpp-which-refs-survive-vector-growth-classify/task.md +53 -0
- mlsys/tasks/cpp-which-special-members-are-implicitly-generated/main.cpp +36 -0
- mlsys/tasks/cpp-which-special-members-are-implicitly-generated/meta.json +13 -0
- mlsys/tasks/cpp-which-special-members-are-implicitly-generated/ref.cpp +23 -0
- mlsys/tasks/cpp-which-special-members-are-implicitly-generated/sol.hpp +53 -0
- mlsys/tasks/cpp-which-special-members-are-implicitly-generated/starter.cpp +10 -0
- mlsys/tasks/cpp-which-special-members-are-implicitly-generated/task.md +62 -0
- mlsys/tasks/cpp-which-struct-change-breaks-abi-classify/main.cpp +181 -0
- mlsys/tasks/cpp-which-struct-change-breaks-abi-classify/meta.json +2 -0
- mlsys/tasks/cpp-which-struct-change-breaks-abi-classify/ref.cpp +15 -0
- mlsys/tasks/cpp-which-struct-change-breaks-abi-classify/sol.hpp +21 -0
- mlsys/tasks/cpp-which-struct-change-breaks-abi-classify/starter.cpp +9 -0
- mlsys/tasks/cpp-which-struct-change-breaks-abi-classify/task.md +93 -0
- mlsys/tasks/cpp-zero-copy-numpy-view-via-buffer-protocol/main.cpp +32 -0
- mlsys/tasks/cpp-zero-copy-numpy-view-via-buffer-protocol/meta.json +15 -0
- mlsys/tasks/cpp-zero-copy-numpy-view-via-buffer-protocol/ref.cpp +11 -0
- mlsys/tasks/cpp-zero-copy-numpy-view-via-buffer-protocol/sol.hpp +22 -0
- mlsys/tasks/cpp-zero-copy-numpy-view-via-buffer-protocol/starter.cpp +10 -0
- mlsys/tasks/cpp-zero-copy-numpy-view-via-buffer-protocol/task.md +48 -0
- mlsys/tasks/cpu-2-bit-saturating-counter-mispredict-count/main.cpp +46 -0
- mlsys/tasks/cpu-2-bit-saturating-counter-mispredict-count/meta.json +15 -0
- mlsys/tasks/cpu-2-bit-saturating-counter-mispredict-count/ref.cpp +24 -0
- mlsys/tasks/cpu-2-bit-saturating-counter-mispredict-count/sol.hpp +21 -0
- mlsys/tasks/cpu-2-bit-saturating-counter-mispredict-count/starter.cpp +14 -0
- mlsys/tasks/cpu-2-bit-saturating-counter-mispredict-count/task.md +56 -0
- mlsys/tasks/cpu-3-level-inclusive-hierarchy-miss-vector/main.cpp +93 -0
- mlsys/tasks/cpu-3-level-inclusive-hierarchy-miss-vector/meta.json +2 -0
- mlsys/tasks/cpu-3-level-inclusive-hierarchy-miss-vector/ref.cpp +13 -0
- mlsys/tasks/cpu-3-level-inclusive-hierarchy-miss-vector/sol.hpp +21 -0
- mlsys/tasks/cpu-3-level-inclusive-hierarchy-miss-vector/starter.cpp +9 -0
- mlsys/tasks/cpu-3-level-inclusive-hierarchy-miss-vector/task.md +64 -0
- mlsys/tasks/cpu-4kb-vs-2mb-huge-page-tlb-miss-comparison/main.cpp +57 -0
- mlsys/tasks/cpu-4kb-vs-2mb-huge-page-tlb-miss-comparison/meta.json +15 -0
- mlsys/tasks/cpu-4kb-vs-2mb-huge-page-tlb-miss-comparison/ref.cpp +16 -0
- mlsys/tasks/cpu-4kb-vs-2mb-huge-page-tlb-miss-comparison/sol.hpp +23 -0
- mlsys/tasks/cpu-4kb-vs-2mb-huge-page-tlb-miss-comparison/starter.cpp +12 -0
- mlsys/tasks/cpu-4kb-vs-2mb-huge-page-tlb-miss-comparison/task.md +62 -0
- mlsys/tasks/cpu-address-to-tag-set-offset/main.cpp +25 -0
- mlsys/tasks/cpu-address-to-tag-set-offset/meta.json +19 -0
- mlsys/tasks/cpu-address-to-tag-set-offset/ref.cpp +11 -0
- mlsys/tasks/cpu-address-to-tag-set-offset/sol.hpp +16 -0
- mlsys/tasks/cpu-address-to-tag-set-offset/starter.cpp +10 -0
- mlsys/tasks/cpu-address-to-tag-set-offset/task.md +22 -0
- mlsys/tasks/cpu-aligned-allocator-verified-over-1000-allocs/main.cpp +34 -0
- mlsys/tasks/cpu-aligned-allocator-verified-over-1000-allocs/meta.json +19 -0
- mlsys/tasks/cpu-aligned-allocator-verified-over-1000-allocs/ref.cpp +19 -0
- mlsys/tasks/cpu-aligned-allocator-verified-over-1000-allocs/sol.hpp +21 -0
- mlsys/tasks/cpu-aligned-allocator-verified-over-1000-allocs/starter.cpp +12 -0
- mlsys/tasks/cpu-aligned-allocator-verified-over-1000-allocs/task.md +24 -0
- mlsys/tasks/cpu-alignment-aware-allocation-wasted-bytes/main.cpp +30 -0
- mlsys/tasks/cpu-alignment-aware-allocation-wasted-bytes/meta.json +15 -0
- mlsys/tasks/cpu-alignment-aware-allocation-wasted-bytes/ref.cpp +19 -0
- mlsys/tasks/cpu-alignment-aware-allocation-wasted-bytes/sol.hpp +10 -0
- mlsys/tasks/cpu-alignment-aware-allocation-wasted-bytes/starter.cpp +12 -0
- mlsys/tasks/cpu-alignment-aware-allocation-wasted-bytes/task.md +50 -0
- mlsys/tasks/cpu-amat-from-a-fixed-latency-ladder/check.py +42 -0
- mlsys/tasks/cpu-amat-from-a-fixed-latency-ladder/gen_fixtures.py +15 -0
- mlsys/tasks/cpu-amat-from-a-fixed-latency-ladder/meta.json +22 -0
- mlsys/tasks/cpu-amat-from-a-fixed-latency-ladder/solution_ref.py +15 -0
- mlsys/tasks/cpu-amat-from-a-fixed-latency-ladder/starter.py +3 -0
- mlsys/tasks/cpu-amat-from-a-fixed-latency-ladder/task.md +50 -0
- mlsys/tasks/cpu-aos-counters-vs-line-padded-soa-invalidation-pair/main.cpp +42 -0
- mlsys/tasks/cpu-aos-counters-vs-line-padded-soa-invalidation-pair/meta.json +1 -0
- mlsys/tasks/cpu-aos-counters-vs-line-padded-soa-invalidation-pair/ref.cpp +23 -0
- mlsys/tasks/cpu-aos-counters-vs-line-padded-soa-invalidation-pair/sol.hpp +50 -0
- mlsys/tasks/cpu-aos-counters-vs-line-padded-soa-invalidation-pair/starter.cpp +18 -0
- mlsys/tasks/cpu-aos-counters-vs-line-padded-soa-invalidation-pair/task.md +68 -0
- mlsys/tasks/cpu-aos-soa-aosoa-winner-per-workload/main.cpp +43 -0
- mlsys/tasks/cpu-aos-soa-aosoa-winner-per-workload/meta.json +19 -0
- mlsys/tasks/cpu-aos-soa-aosoa-winner-per-workload/ref.cpp +53 -0
- mlsys/tasks/cpu-aos-soa-aosoa-winner-per-workload/sol.hpp +24 -0
- mlsys/tasks/cpu-aos-soa-aosoa-winner-per-workload/starter.cpp +5 -0
- mlsys/tasks/cpu-aos-soa-aosoa-winner-per-workload/task.md +25 -0
- mlsys/tasks/cpu-aos-soa-byte-exact-round-trip/main.cpp +41 -0
- mlsys/tasks/cpu-aos-soa-byte-exact-round-trip/meta.json +15 -0
- mlsys/tasks/cpu-aos-soa-byte-exact-round-trip/ref.cpp +20 -0
- mlsys/tasks/cpu-aos-soa-byte-exact-round-trip/sol.hpp +16 -0
- mlsys/tasks/cpu-aos-soa-byte-exact-round-trip/starter.cpp +24 -0
- mlsys/tasks/cpu-aos-soa-byte-exact-round-trip/task.md +41 -0
- mlsys/tasks/cpu-aosoa-tile-width-optimal-traffic/main.cpp +43 -0
- mlsys/tasks/cpu-aosoa-tile-width-optimal-traffic/meta.json +15 -0
- mlsys/tasks/cpu-aosoa-tile-width-optimal-traffic/ref.cpp +15 -0
- mlsys/tasks/cpu-aosoa-tile-width-optimal-traffic/sol.hpp +34 -0
- mlsys/tasks/cpu-aosoa-tile-width-optimal-traffic/starter.cpp +18 -0
- mlsys/tasks/cpu-aosoa-tile-width-optimal-traffic/task.md +20 -0
- mlsys/tasks/cpu-arithmetic-intensity-of-an-op-flops-byte/check.py +26 -0
- mlsys/tasks/cpu-arithmetic-intensity-of-an-op-flops-byte/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-arithmetic-intensity-of-an-op-flops-byte/meta.json +22 -0
- mlsys/tasks/cpu-arithmetic-intensity-of-an-op-flops-byte/solution_ref.py +8 -0
- mlsys/tasks/cpu-arithmetic-intensity-of-an-op-flops-byte/starter.py +8 -0
- mlsys/tasks/cpu-arithmetic-intensity-of-an-op-flops-byte/task.md +45 -0
- mlsys/tasks/cpu-attainable-flop-s-from-the-roofline/main.cpp +20 -0
- mlsys/tasks/cpu-attainable-flop-s-from-the-roofline/meta.json +13 -0
- mlsys/tasks/cpu-attainable-flop-s-from-the-roofline/ref.cpp +6 -0
- mlsys/tasks/cpu-attainable-flop-s-from-the-roofline/sol.hpp +17 -0
- mlsys/tasks/cpu-attainable-flop-s-from-the-roofline/starter.cpp +9 -0
- mlsys/tasks/cpu-attainable-flop-s-from-the-roofline/task.md +55 -0
- mlsys/tasks/cpu-attention-score-matrix-line-traffic-pick-layout/main.cpp +52 -0
- mlsys/tasks/cpu-attention-score-matrix-line-traffic-pick-layout/meta.json +13 -0
- mlsys/tasks/cpu-attention-score-matrix-line-traffic-pick-layout/ref.cpp +36 -0
- mlsys/tasks/cpu-attention-score-matrix-line-traffic-pick-layout/sol.hpp +39 -0
- mlsys/tasks/cpu-attention-score-matrix-line-traffic-pick-layout/starter.cpp +15 -0
- mlsys/tasks/cpu-attention-score-matrix-line-traffic-pick-layout/task.md +64 -0
- mlsys/tasks/cpu-batched-embedding-lookups-maximize-mlp/main.cpp +51 -0
- mlsys/tasks/cpu-batched-embedding-lookups-maximize-mlp/meta.json +1 -0
- mlsys/tasks/cpu-batched-embedding-lookups-maximize-mlp/ref.cpp +30 -0
- mlsys/tasks/cpu-batched-embedding-lookups-maximize-mlp/sol.hpp +57 -0
- mlsys/tasks/cpu-batched-embedding-lookups-maximize-mlp/starter.cpp +11 -0
- mlsys/tasks/cpu-batched-embedding-lookups-maximize-mlp/task.md +69 -0
- mlsys/tasks/cpu-belady-opt-miss-count-vs-lru/main.cpp +38 -0
- mlsys/tasks/cpu-belady-opt-miss-count-vs-lru/meta.json +15 -0
- mlsys/tasks/cpu-belady-opt-miss-count-vs-lru/ref.cpp +60 -0
- mlsys/tasks/cpu-belady-opt-miss-count-vs-lru/sol.hpp +12 -0
- mlsys/tasks/cpu-belady-opt-miss-count-vs-lru/starter.cpp +12 -0
- mlsys/tasks/cpu-belady-opt-miss-count-vs-lru/task.md +51 -0
- mlsys/tasks/cpu-blocked-cache-aware-transpose-misses/main.cpp +60 -0
- mlsys/tasks/cpu-blocked-cache-aware-transpose-misses/meta.json +2 -0
- mlsys/tasks/cpu-blocked-cache-aware-transpose-misses/ref.cpp +14 -0
- mlsys/tasks/cpu-blocked-cache-aware-transpose-misses/sol.hpp +24 -0
- mlsys/tasks/cpu-blocked-cache-aware-transpose-misses/starter.cpp +9 -0
- mlsys/tasks/cpu-blocked-cache-aware-transpose-misses/task.md +56 -0
- mlsys/tasks/cpu-blocked-transpose-byte-exact/main.cpp +29 -0
- mlsys/tasks/cpu-blocked-transpose-byte-exact/meta.json +13 -0
- mlsys/tasks/cpu-blocked-transpose-byte-exact/ref.cpp +13 -0
- mlsys/tasks/cpu-blocked-transpose-byte-exact/sol.hpp +17 -0
- mlsys/tasks/cpu-blocked-transpose-byte-exact/starter.cpp +9 -0
- mlsys/tasks/cpu-blocked-transpose-byte-exact/task.md +44 -0
- mlsys/tasks/cpu-branchless-min-max-abs-select-correctness/check.py +38 -0
- mlsys/tasks/cpu-branchless-min-max-abs-select-correctness/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-branchless-min-max-abs-select-correctness/meta.json +22 -0
- mlsys/tasks/cpu-branchless-min-max-abs-select-correctness/solution_ref.py +13 -0
- mlsys/tasks/cpu-branchless-min-max-abs-select-correctness/starter.py +8 -0
- mlsys/tasks/cpu-branchless-min-max-abs-select-correctness/task.md +52 -0
- mlsys/tasks/cpu-branchless-top-k-mask-for-llm-sampling/check.py +45 -0
- mlsys/tasks/cpu-branchless-top-k-mask-for-llm-sampling/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-branchless-top-k-mask-for-llm-sampling/meta.json +27 -0
- mlsys/tasks/cpu-branchless-top-k-mask-for-llm-sampling/solution_ref.py +13 -0
- mlsys/tasks/cpu-branchless-top-k-mask-for-llm-sampling/starter.py +7 -0
- mlsys/tasks/cpu-branchless-top-k-mask-for-llm-sampling/task.md +65 -0
- mlsys/tasks/cpu-break-loop-carried-dependency-with-n-accumulators/main.cpp +36 -0
- mlsys/tasks/cpu-break-loop-carried-dependency-with-n-accumulators/meta.json +16 -0
- mlsys/tasks/cpu-break-loop-carried-dependency-with-n-accumulators/ref.cpp +19 -0
- mlsys/tasks/cpu-break-loop-carried-dependency-with-n-accumulators/sol.hpp +26 -0
- mlsys/tasks/cpu-break-loop-carried-dependency-with-n-accumulators/starter.cpp +14 -0
- mlsys/tasks/cpu-break-loop-carried-dependency-with-n-accumulators/task.md +57 -0
- mlsys/tasks/cpu-buddy-allocator-split-merge-correctness/main.cpp +36 -0
- mlsys/tasks/cpu-buddy-allocator-split-merge-correctness/meta.json +15 -0
- mlsys/tasks/cpu-buddy-allocator-split-merge-correctness/ref.cpp +59 -0
- mlsys/tasks/cpu-buddy-allocator-split-merge-correctness/sol.hpp +44 -0
- mlsys/tasks/cpu-buddy-allocator-split-merge-correctness/starter.cpp +53 -0
- mlsys/tasks/cpu-buddy-allocator-split-merge-correctness/task.md +24 -0
- mlsys/tasks/cpu-bump-arena-allocator-no-overlap-byte-exact/main.cpp +36 -0
- mlsys/tasks/cpu-bump-arena-allocator-no-overlap-byte-exact/meta.json +13 -0
- mlsys/tasks/cpu-bump-arena-allocator-no-overlap-byte-exact/ref.cpp +18 -0
- mlsys/tasks/cpu-bump-arena-allocator-no-overlap-byte-exact/sol.hpp +24 -0
- mlsys/tasks/cpu-bump-arena-allocator-no-overlap-byte-exact/starter.cpp +13 -0
- mlsys/tasks/cpu-bump-arena-allocator-no-overlap-byte-exact/task.md +55 -0
- mlsys/tasks/cpu-byte-efficiency-of-a-strided-walk/main.cpp +29 -0
- mlsys/tasks/cpu-byte-efficiency-of-a-strided-walk/meta.json +19 -0
- mlsys/tasks/cpu-byte-efficiency-of-a-strided-walk/ref.cpp +18 -0
- mlsys/tasks/cpu-byte-efficiency-of-a-strided-walk/sol.hpp +20 -0
- mlsys/tasks/cpu-byte-efficiency-of-a-strided-walk/starter.cpp +10 -0
- mlsys/tasks/cpu-byte-efficiency-of-a-strided-walk/task.md +26 -0
- mlsys/tasks/cpu-cache-line-aligned-token-record-min-footprint/main.cpp +121 -0
- mlsys/tasks/cpu-cache-line-aligned-token-record-min-footprint/meta.json +18 -0
- mlsys/tasks/cpu-cache-line-aligned-token-record-min-footprint/ref.cpp +22 -0
- mlsys/tasks/cpu-cache-line-aligned-token-record-min-footprint/sol.hpp +39 -0
- mlsys/tasks/cpu-cache-line-aligned-token-record-min-footprint/starter.cpp +31 -0
- mlsys/tasks/cpu-cache-line-aligned-token-record-min-footprint/task.md +102 -0
- mlsys/tasks/cpu-cache-oblivious-miss-rate-across-4-cache-sizes/main.cpp +54 -0
- mlsys/tasks/cpu-cache-oblivious-miss-rate-across-4-cache-sizes/meta.json +13 -0
- mlsys/tasks/cpu-cache-oblivious-miss-rate-across-4-cache-sizes/ref.cpp +22 -0
- mlsys/tasks/cpu-cache-oblivious-miss-rate-across-4-cache-sizes/sol.hpp +37 -0
- mlsys/tasks/cpu-cache-oblivious-miss-rate-across-4-cache-sizes/starter.cpp +9 -0
- mlsys/tasks/cpu-cache-oblivious-miss-rate-across-4-cache-sizes/task.md +81 -0
- mlsys/tasks/cpu-cache-oblivious-recursive-matmul-miss-count/main.cpp +57 -0
- mlsys/tasks/cpu-cache-oblivious-recursive-matmul-miss-count/meta.json +13 -0
- mlsys/tasks/cpu-cache-oblivious-recursive-matmul-miss-count/ref.cpp +58 -0
- mlsys/tasks/cpu-cache-oblivious-recursive-matmul-miss-count/sol.hpp +36 -0
- mlsys/tasks/cpu-cache-oblivious-recursive-matmul-miss-count/starter.cpp +18 -0
- mlsys/tasks/cpu-cache-oblivious-recursive-matmul-miss-count/task.md +92 -0
- mlsys/tasks/cpu-cache-pollution-from-a-streaming-memset/main.cpp +77 -0
- mlsys/tasks/cpu-cache-pollution-from-a-streaming-memset/meta.json +17 -0
- mlsys/tasks/cpu-cache-pollution-from-a-streaming-memset/ref.cpp +8 -0
- mlsys/tasks/cpu-cache-pollution-from-a-streaming-memset/sol.hpp +27 -0
- mlsys/tasks/cpu-cache-pollution-from-a-streaming-memset/starter.cpp +9 -0
- mlsys/tasks/cpu-cache-pollution-from-a-streaming-memset/task.md +81 -0
- mlsys/tasks/cpu-classify-interleave-vs-bind-benefit/main.cpp +48 -0
- mlsys/tasks/cpu-classify-interleave-vs-bind-benefit/meta.json +9 -0
- mlsys/tasks/cpu-classify-interleave-vs-bind-benefit/ref.cpp +26 -0
- mlsys/tasks/cpu-classify-interleave-vs-bind-benefit/sol.hpp +63 -0
- mlsys/tasks/cpu-classify-interleave-vs-bind-benefit/starter.cpp +8 -0
- mlsys/tasks/cpu-classify-interleave-vs-bind-benefit/task.md +88 -0
- mlsys/tasks/cpu-classify-latency-plateaus-to-cache-levels/main.cpp +50 -0
- mlsys/tasks/cpu-classify-latency-plateaus-to-cache-levels/meta.json +22 -0
- mlsys/tasks/cpu-classify-latency-plateaus-to-cache-levels/ref.cpp +14 -0
- mlsys/tasks/cpu-classify-latency-plateaus-to-cache-levels/sol.hpp +24 -0
- mlsys/tasks/cpu-classify-latency-plateaus-to-cache-levels/starter.cpp +7 -0
- mlsys/tasks/cpu-classify-latency-plateaus-to-cache-levels/task.md +85 -0
- mlsys/tasks/cpu-classify-memory-bound-vs-compute-bound/main.cpp +23 -0
- mlsys/tasks/cpu-classify-memory-bound-vs-compute-bound/meta.json +13 -0
- mlsys/tasks/cpu-classify-memory-bound-vs-compute-bound/ref.cpp +8 -0
- mlsys/tasks/cpu-classify-memory-bound-vs-compute-bound/sol.hpp +22 -0
- mlsys/tasks/cpu-classify-memory-bound-vs-compute-bound/starter.cpp +8 -0
- mlsys/tasks/cpu-classify-memory-bound-vs-compute-bound/task.md +46 -0
- mlsys/tasks/cpu-classify-misses-cold-capacity-conflict/main.cpp +83 -0
- mlsys/tasks/cpu-classify-misses-cold-capacity-conflict/meta.json +22 -0
- mlsys/tasks/cpu-classify-misses-cold-capacity-conflict/ref.cpp +72 -0
- mlsys/tasks/cpu-classify-misses-cold-capacity-conflict/sol.hpp +41 -0
- mlsys/tasks/cpu-classify-misses-cold-capacity-conflict/starter.cpp +12 -0
- mlsys/tasks/cpu-classify-misses-cold-capacity-conflict/task.md +85 -0
- mlsys/tasks/cpu-classify-when-to-densify-a-gather/main.cpp +93 -0
- mlsys/tasks/cpu-classify-when-to-densify-a-gather/meta.json +15 -0
- mlsys/tasks/cpu-classify-when-to-densify-a-gather/ref.cpp +33 -0
- mlsys/tasks/cpu-classify-when-to-densify-a-gather/sol.hpp +53 -0
- mlsys/tasks/cpu-classify-when-to-densify-a-gather/starter.cpp +12 -0
- mlsys/tasks/cpu-classify-when-to-densify-a-gather/task.md +70 -0
- mlsys/tasks/cpu-closed-form-stride-s-line-count-vs-simulator/main.cpp +41 -0
- mlsys/tasks/cpu-closed-form-stride-s-line-count-vs-simulator/meta.json +17 -0
- mlsys/tasks/cpu-closed-form-stride-s-line-count-vs-simulator/ref.cpp +9 -0
- mlsys/tasks/cpu-closed-form-stride-s-line-count-vs-simulator/sol.hpp +12 -0
- mlsys/tasks/cpu-closed-form-stride-s-line-count-vs-simulator/starter.cpp +8 -0
- mlsys/tasks/cpu-closed-form-stride-s-line-count-vs-simulator/task.md +71 -0
- mlsys/tasks/cpu-compare-4-predictors-mispredicts/main.cpp +21 -0
- mlsys/tasks/cpu-compare-4-predictors-mispredicts/meta.json +13 -0
- mlsys/tasks/cpu-compare-4-predictors-mispredicts/ref.cpp +47 -0
- mlsys/tasks/cpu-compare-4-predictors-mispredicts/sol.hpp +31 -0
- mlsys/tasks/cpu-compare-4-predictors-mispredicts/starter.cpp +8 -0
- mlsys/tasks/cpu-compare-4-predictors-mispredicts/task.md +49 -0
- mlsys/tasks/cpu-compensated-vs-naive-dot-product-accuracy/main.cpp +51 -0
- mlsys/tasks/cpu-compensated-vs-naive-dot-product-accuracy/meta.json +13 -0
- mlsys/tasks/cpu-compensated-vs-naive-dot-product-accuracy/ref.cpp +19 -0
- mlsys/tasks/cpu-compensated-vs-naive-dot-product-accuracy/sol.hpp +24 -0
- mlsys/tasks/cpu-compensated-vs-naive-dot-product-accuracy/starter.cpp +16 -0
- mlsys/tasks/cpu-compensated-vs-naive-dot-product-accuracy/task.md +75 -0
- mlsys/tasks/cpu-confirm-sqrt-c-traffic-scaling-law/main.cpp +86 -0
- mlsys/tasks/cpu-confirm-sqrt-c-traffic-scaling-law/meta.json +13 -0
- mlsys/tasks/cpu-confirm-sqrt-c-traffic-scaling-law/ref.cpp +22 -0
- mlsys/tasks/cpu-confirm-sqrt-c-traffic-scaling-law/sol.hpp +13 -0
- mlsys/tasks/cpu-confirm-sqrt-c-traffic-scaling-law/starter.cpp +9 -0
- mlsys/tasks/cpu-confirm-sqrt-c-traffic-scaling-law/task.md +57 -0
- mlsys/tasks/cpu-count-total-padding-bytes-for-a-record-array/main.cpp +52 -0
- mlsys/tasks/cpu-count-total-padding-bytes-for-a-record-array/meta.json +17 -0
- mlsys/tasks/cpu-count-total-padding-bytes-for-a-record-array/ref.cpp +23 -0
- mlsys/tasks/cpu-count-total-padding-bytes-for-a-record-array/sol.hpp +16 -0
- mlsys/tasks/cpu-count-total-padding-bytes-for-a-record-array/starter.cpp +12 -0
- mlsys/tasks/cpu-count-total-padding-bytes-for-a-record-array/task.md +68 -0
- mlsys/tasks/cpu-critical-path-length-of-an-op-dag/check.py +55 -0
- mlsys/tasks/cpu-critical-path-length-of-an-op-dag/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-critical-path-length-of-an-op-dag/meta.json +22 -0
- mlsys/tasks/cpu-critical-path-length-of-an-op-dag/solution_ref.py +22 -0
- mlsys/tasks/cpu-critical-path-length-of-an-op-dag/starter.py +3 -0
- mlsys/tasks/cpu-critical-path-length-of-an-op-dag/task.md +67 -0
- mlsys/tasks/cpu-critical-word-first-time-to-first-word/main.cpp +31 -0
- mlsys/tasks/cpu-critical-word-first-time-to-first-word/meta.json +13 -0
- mlsys/tasks/cpu-critical-word-first-time-to-first-word/ref.cpp +8 -0
- mlsys/tasks/cpu-critical-word-first-time-to-first-word/sol.hpp +27 -0
- mlsys/tasks/cpu-critical-word-first-time-to-first-word/starter.cpp +9 -0
- mlsys/tasks/cpu-critical-word-first-time-to-first-word/task.md +67 -0
- mlsys/tasks/cpu-csr-sparse-matvec-vs-dense-reference/check.py +53 -0
- mlsys/tasks/cpu-csr-sparse-matvec-vs-dense-reference/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-csr-sparse-matvec-vs-dense-reference/meta.json +22 -0
- mlsys/tasks/cpu-csr-sparse-matvec-vs-dense-reference/solution_ref.py +15 -0
- mlsys/tasks/cpu-csr-sparse-matvec-vs-dense-reference/starter.py +3 -0
- mlsys/tasks/cpu-csr-sparse-matvec-vs-dense-reference/task.md +60 -0
- mlsys/tasks/cpu-data-dependent-branch-to-arithmetic-mask/main.cpp +66 -0
- mlsys/tasks/cpu-data-dependent-branch-to-arithmetic-mask/meta.json +22 -0
- mlsys/tasks/cpu-data-dependent-branch-to-arithmetic-mask/ref.cpp +24 -0
- mlsys/tasks/cpu-data-dependent-branch-to-arithmetic-mask/sol.hpp +26 -0
- mlsys/tasks/cpu-data-dependent-branch-to-arithmetic-mask/starter.cpp +19 -0
- mlsys/tasks/cpu-data-dependent-branch-to-arithmetic-mask/task.md +84 -0
- mlsys/tasks/cpu-decide-when-nt-stores-help/main.cpp +77 -0
- mlsys/tasks/cpu-decide-when-nt-stores-help/meta.json +13 -0
- mlsys/tasks/cpu-decide-when-nt-stores-help/ref.cpp +7 -0
- mlsys/tasks/cpu-decide-when-nt-stores-help/sol.hpp +38 -0
- mlsys/tasks/cpu-decide-when-nt-stores-help/starter.cpp +10 -0
- mlsys/tasks/cpu-decide-when-nt-stores-help/task.md +89 -0
- mlsys/tasks/cpu-derive-collision-stride-verify-vs-simulator/main.cpp +60 -0
- mlsys/tasks/cpu-derive-collision-stride-verify-vs-simulator/meta.json +18 -0
- mlsys/tasks/cpu-derive-collision-stride-verify-vs-simulator/ref.cpp +8 -0
- mlsys/tasks/cpu-derive-collision-stride-verify-vs-simulator/sol.hpp +19 -0
- mlsys/tasks/cpu-derive-collision-stride-verify-vs-simulator/starter.cpp +8 -0
- mlsys/tasks/cpu-derive-collision-stride-verify-vs-simulator/task.md +77 -0
- mlsys/tasks/cpu-derive-min-padding-to-separate-n-thread-local-vars/main.cpp +27 -0
- mlsys/tasks/cpu-derive-min-padding-to-separate-n-thread-local-vars/meta.json +13 -0
- mlsys/tasks/cpu-derive-min-padding-to-separate-n-thread-local-vars/ref.cpp +12 -0
- mlsys/tasks/cpu-derive-min-padding-to-separate-n-thread-local-vars/sol.hpp +23 -0
- mlsys/tasks/cpu-derive-min-padding-to-separate-n-thread-local-vars/starter.cpp +14 -0
- mlsys/tasks/cpu-derive-min-padding-to-separate-n-thread-local-vars/task.md +60 -0
- mlsys/tasks/cpu-detect-and-count-denormal-producing-inputs/main.cpp +41 -0
- mlsys/tasks/cpu-detect-and-count-denormal-producing-inputs/meta.json +15 -0
- mlsys/tasks/cpu-detect-and-count-denormal-producing-inputs/ref.cpp +10 -0
- mlsys/tasks/cpu-detect-and-count-denormal-producing-inputs/sol.hpp +15 -0
- mlsys/tasks/cpu-detect-and-count-denormal-producing-inputs/starter.cpp +10 -0
- mlsys/tasks/cpu-detect-and-count-denormal-producing-inputs/task.md +51 -0
- mlsys/tasks/cpu-detect-falsely-shared-cache-lines/main.cpp +25 -0
- mlsys/tasks/cpu-detect-falsely-shared-cache-lines/meta.json +13 -0
- mlsys/tasks/cpu-detect-falsely-shared-cache-lines/ref.cpp +23 -0
- mlsys/tasks/cpu-detect-falsely-shared-cache-lines/sol.hpp +19 -0
- mlsys/tasks/cpu-detect-falsely-shared-cache-lines/starter.cpp +11 -0
- mlsys/tasks/cpu-detect-falsely-shared-cache-lines/task.md +46 -0
- mlsys/tasks/cpu-detect-fragmentation-induced-oom/main.cpp +65 -0
- mlsys/tasks/cpu-detect-fragmentation-induced-oom/meta.json +17 -0
- mlsys/tasks/cpu-detect-fragmentation-induced-oom/ref.cpp +30 -0
- mlsys/tasks/cpu-detect-fragmentation-induced-oom/sol.hpp +26 -0
- mlsys/tasks/cpu-detect-fragmentation-induced-oom/starter.cpp +12 -0
- mlsys/tasks/cpu-detect-fragmentation-induced-oom/task.md +69 -0
- mlsys/tasks/cpu-detect-raw-war-waw-hazards/check.py +67 -0
- mlsys/tasks/cpu-detect-raw-war-waw-hazards/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-detect-raw-war-waw-hazards/meta.json +22 -0
- mlsys/tasks/cpu-detect-raw-war-waw-hazards/solution_ref.py +20 -0
- mlsys/tasks/cpu-detect-raw-war-waw-hazards/starter.py +3 -0
- mlsys/tasks/cpu-detect-raw-war-waw-hazards/task.md +64 -0
- mlsys/tasks/cpu-direct-mapped-vs-4-way-vs-full-miss-triple/main.cpp +38 -0
- mlsys/tasks/cpu-direct-mapped-vs-4-way-vs-full-miss-triple/meta.json +9 -0
- mlsys/tasks/cpu-direct-mapped-vs-4-way-vs-full-miss-triple/ref.cpp +49 -0
- mlsys/tasks/cpu-direct-mapped-vs-4-way-vs-full-miss-triple/sol.hpp +28 -0
- mlsys/tasks/cpu-direct-mapped-vs-4-way-vs-full-miss-triple/starter.cpp +19 -0
- mlsys/tasks/cpu-direct-mapped-vs-4-way-vs-full-miss-triple/task.md +76 -0
- mlsys/tasks/cpu-distinct-cache-lines-touched/main.cpp +15 -0
- mlsys/tasks/cpu-distinct-cache-lines-touched/meta.json +13 -0
- mlsys/tasks/cpu-distinct-cache-lines-touched/ref.cpp +8 -0
- mlsys/tasks/cpu-distinct-cache-lines-touched/sol.hpp +7 -0
- mlsys/tasks/cpu-distinct-cache-lines-touched/starter.cpp +8 -0
- mlsys/tasks/cpu-distinct-cache-lines-touched/task.md +36 -0
- mlsys/tasks/cpu-distinct-pages-touched-page-working-set/check.py +19 -0
- mlsys/tasks/cpu-distinct-pages-touched-page-working-set/gen_fixtures.py +3 -0
- mlsys/tasks/cpu-distinct-pages-touched-page-working-set/meta.json +22 -0
- mlsys/tasks/cpu-distinct-pages-touched-page-working-set/solution_ref.py +7 -0
- mlsys/tasks/cpu-distinct-pages-touched-page-working-set/starter.py +5 -0
- mlsys/tasks/cpu-distinct-pages-touched-page-working-set/task.md +27 -0
- mlsys/tasks/cpu-effect-of-fusion-on-ai-and-bound-flip/main.cpp +34 -0
- mlsys/tasks/cpu-effect-of-fusion-on-ai-and-bound-flip/meta.json +13 -0
- mlsys/tasks/cpu-effect-of-fusion-on-ai-and-bound-flip/ref.cpp +18 -0
- mlsys/tasks/cpu-effect-of-fusion-on-ai-and-bound-flip/sol.hpp +39 -0
- mlsys/tasks/cpu-effect-of-fusion-on-ai-and-bound-flip/starter.cpp +19 -0
- mlsys/tasks/cpu-effect-of-fusion-on-ai-and-bound-flip/task.md +72 -0
- mlsys/tasks/cpu-elements-per-register-for-fp32-fp16-int8/check.py +19 -0
- mlsys/tasks/cpu-elements-per-register-for-fp32-fp16-int8/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-elements-per-register-for-fp32-fp16-int8/meta.json +22 -0
- mlsys/tasks/cpu-elements-per-register-for-fp32-fp16-int8/solution_ref.py +12 -0
- mlsys/tasks/cpu-elements-per-register-for-fp32-fp16-int8/starter.py +3 -0
- mlsys/tasks/cpu-elements-per-register-for-fp32-fp16-int8/task.md +44 -0
- mlsys/tasks/cpu-embedding-gather-choose-page-size/main.cpp +75 -0
- mlsys/tasks/cpu-embedding-gather-choose-page-size/meta.json +22 -0
- mlsys/tasks/cpu-embedding-gather-choose-page-size/ref.cpp +20 -0
- mlsys/tasks/cpu-embedding-gather-choose-page-size/sol.hpp +33 -0
- mlsys/tasks/cpu-embedding-gather-choose-page-size/starter.cpp +11 -0
- mlsys/tasks/cpu-embedding-gather-choose-page-size/task.md +60 -0
- mlsys/tasks/cpu-first-fit-vs-best-fit-vs-buddy-fragmentation/main.cpp +19 -0
- mlsys/tasks/cpu-first-fit-vs-best-fit-vs-buddy-fragmentation/meta.json +15 -0
- mlsys/tasks/cpu-first-fit-vs-best-fit-vs-buddy-fragmentation/ref.cpp +152 -0
- mlsys/tasks/cpu-first-fit-vs-best-fit-vs-buddy-fragmentation/sol.hpp +52 -0
- mlsys/tasks/cpu-first-fit-vs-best-fit-vs-buddy-fragmentation/starter.cpp +11 -0
- mlsys/tasks/cpu-first-fit-vs-best-fit-vs-buddy-fragmentation/task.md +57 -0
- mlsys/tasks/cpu-first-touch-page-placement-ownership/main.cpp +57 -0
- mlsys/tasks/cpu-first-touch-page-placement-ownership/meta.json +22 -0
- mlsys/tasks/cpu-first-touch-page-placement-ownership/ref.cpp +16 -0
- mlsys/tasks/cpu-first-touch-page-placement-ownership/sol.hpp +26 -0
- mlsys/tasks/cpu-first-touch-page-placement-ownership/starter.cpp +13 -0
- mlsys/tasks/cpu-first-touch-page-placement-ownership/task.md +80 -0
- mlsys/tasks/cpu-fit-a-roofline-from-modeled-throughput-points/main.cpp +24 -0
- mlsys/tasks/cpu-fit-a-roofline-from-modeled-throughput-points/meta.json +13 -0
- mlsys/tasks/cpu-fit-a-roofline-from-modeled-throughput-points/ref.cpp +11 -0
- mlsys/tasks/cpu-fit-a-roofline-from-modeled-throughput-points/sol.hpp +21 -0
- mlsys/tasks/cpu-fit-a-roofline-from-modeled-throughput-points/starter.cpp +11 -0
- mlsys/tasks/cpu-fit-a-roofline-from-modeled-throughput-points/task.md +45 -0
- mlsys/tasks/cpu-fix-a-hot-struct-field-with-large-stride/main.cpp +49 -0
- mlsys/tasks/cpu-fix-a-hot-struct-field-with-large-stride/meta.json +13 -0
- mlsys/tasks/cpu-fix-a-hot-struct-field-with-large-stride/ref.cpp +18 -0
- mlsys/tasks/cpu-fix-a-hot-struct-field-with-large-stride/sol.hpp +27 -0
- mlsys/tasks/cpu-fix-a-hot-struct-field-with-large-stride/starter.cpp +37 -0
- mlsys/tasks/cpu-fix-a-hot-struct-field-with-large-stride/task.md +47 -0
- mlsys/tasks/cpu-fix-a-power-of-two-leading-dimension-thrash/main.cpp +78 -0
- mlsys/tasks/cpu-fix-a-power-of-two-leading-dimension-thrash/meta.json +22 -0
- mlsys/tasks/cpu-fix-a-power-of-two-leading-dimension-thrash/ref.cpp +33 -0
- mlsys/tasks/cpu-fix-a-power-of-two-leading-dimension-thrash/sol.hpp +34 -0
- mlsys/tasks/cpu-fix-a-power-of-two-leading-dimension-thrash/starter.cpp +27 -0
- mlsys/tasks/cpu-fix-a-power-of-two-leading-dimension-thrash/task.md +73 -0
- mlsys/tasks/cpu-fix-a-too-large-tile-max-b-for-l2/main.cpp +63 -0
- mlsys/tasks/cpu-fix-a-too-large-tile-max-b-for-l2/meta.json +17 -0
- mlsys/tasks/cpu-fix-a-too-large-tile-max-b-for-l2/ref.cpp +7 -0
- mlsys/tasks/cpu-fix-a-too-large-tile-max-b-for-l2/sol.hpp +12 -0
- mlsys/tasks/cpu-fix-a-too-large-tile-max-b-for-l2/starter.cpp +11 -0
- mlsys/tasks/cpu-fix-a-too-large-tile-max-b-for-l2/task.md +61 -0
- mlsys/tasks/cpu-fix-an-einsum-axis-order-to-a-traffic-gate/main.cpp +62 -0
- mlsys/tasks/cpu-fix-an-einsum-axis-order-to-a-traffic-gate/meta.json +13 -0
- mlsys/tasks/cpu-fix-an-einsum-axis-order-to-a-traffic-gate/ref.cpp +28 -0
- mlsys/tasks/cpu-fix-an-einsum-axis-order-to-a-traffic-gate/sol.hpp +34 -0
- mlsys/tasks/cpu-fix-an-einsum-axis-order-to-a-traffic-gate/starter.cpp +31 -0
- mlsys/tasks/cpu-fix-an-einsum-axis-order-to-a-traffic-gate/task.md +58 -0
- mlsys/tasks/cpu-fix-bool-between-doubles-tail-padding/main.cpp +19 -0
- mlsys/tasks/cpu-fix-bool-between-doubles-tail-padding/meta.json +18 -0
- mlsys/tasks/cpu-fix-bool-between-doubles-tail-padding/ref.cpp +19 -0
- mlsys/tasks/cpu-fix-bool-between-doubles-tail-padding/sol.hpp +30 -0
- mlsys/tasks/cpu-fix-bool-between-doubles-tail-padding/starter.cpp +18 -0
- mlsys/tasks/cpu-fix-bool-between-doubles-tail-padding/task.md +80 -0
- mlsys/tasks/cpu-flush-to-zero-effect-on-results/check.py +67 -0
- mlsys/tasks/cpu-flush-to-zero-effect-on-results/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-flush-to-zero-effect-on-results/meta.json +27 -0
- mlsys/tasks/cpu-flush-to-zero-effect-on-results/solution_ref.py +19 -0
- mlsys/tasks/cpu-flush-to-zero-effect-on-results/starter.py +6 -0
- mlsys/tasks/cpu-flush-to-zero-effect-on-results/task.md +67 -0
- mlsys/tasks/cpu-fma-vs-mul-then-add-rounding-difference/main.cpp +37 -0
- mlsys/tasks/cpu-fma-vs-mul-then-add-rounding-difference/meta.json +9 -0
- mlsys/tasks/cpu-fma-vs-mul-then-add-rounding-difference/ref.cpp +11 -0
- mlsys/tasks/cpu-fma-vs-mul-then-add-rounding-difference/sol.hpp +20 -0
- mlsys/tasks/cpu-fma-vs-mul-then-add-rounding-difference/starter.cpp +11 -0
- mlsys/tasks/cpu-fma-vs-mul-then-add-rounding-difference/task.md +74 -0
- mlsys/tasks/cpu-force-vectorization-via-settrace/main.cpp +28 -0
- mlsys/tasks/cpu-force-vectorization-via-settrace/meta.json +13 -0
- mlsys/tasks/cpu-force-vectorization-via-settrace/ref.cpp +12 -0
- mlsys/tasks/cpu-force-vectorization-via-settrace/sol.hpp +24 -0
- mlsys/tasks/cpu-force-vectorization-via-settrace/starter.cpp +8 -0
- mlsys/tasks/cpu-force-vectorization-via-settrace/task.md +50 -0
- mlsys/tasks/cpu-force-vectorized-gather-via-settrace/main.cpp +89 -0
- mlsys/tasks/cpu-force-vectorized-gather-via-settrace/meta.json +13 -0
- mlsys/tasks/cpu-force-vectorized-gather-via-settrace/ref.cpp +17 -0
- mlsys/tasks/cpu-force-vectorized-gather-via-settrace/sol.hpp +29 -0
- mlsys/tasks/cpu-force-vectorized-gather-via-settrace/starter.cpp +15 -0
- mlsys/tasks/cpu-force-vectorized-gather-via-settrace/task.md +61 -0
- mlsys/tasks/cpu-fp16-vs-fp32-accumulation-error-growth/check.py +36 -0
- mlsys/tasks/cpu-fp16-vs-fp32-accumulation-error-growth/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-fp16-vs-fp32-accumulation-error-growth/meta.json +22 -0
- mlsys/tasks/cpu-fp16-vs-fp32-accumulation-error-growth/solution_ref.py +19 -0
- mlsys/tasks/cpu-fp16-vs-fp32-accumulation-error-growth/starter.py +6 -0
- mlsys/tasks/cpu-fp16-vs-fp32-accumulation-error-growth/task.md +63 -0
- mlsys/tasks/cpu-fp32-vs-fp16-lines-fetched-pair/main.cpp +16 -0
- mlsys/tasks/cpu-fp32-vs-fp16-lines-fetched-pair/meta.json +13 -0
- mlsys/tasks/cpu-fp32-vs-fp16-lines-fetched-pair/ref.cpp +16 -0
- mlsys/tasks/cpu-fp32-vs-fp16-lines-fetched-pair/sol.hpp +11 -0
- mlsys/tasks/cpu-fp32-vs-fp16-lines-fetched-pair/starter.cpp +10 -0
- mlsys/tasks/cpu-fp32-vs-fp16-lines-fetched-pair/task.md +38 -0
- mlsys/tasks/cpu-free-list-external-fragmentation-ratio/main.cpp +31 -0
- mlsys/tasks/cpu-free-list-external-fragmentation-ratio/meta.json +17 -0
- mlsys/tasks/cpu-free-list-external-fragmentation-ratio/ref.cpp +68 -0
- mlsys/tasks/cpu-free-list-external-fragmentation-ratio/sol.hpp +30 -0
- mlsys/tasks/cpu-free-list-external-fragmentation-ratio/starter.cpp +13 -0
- mlsys/tasks/cpu-free-list-external-fragmentation-ratio/task.md +73 -0
- mlsys/tasks/cpu-from-scratch-soa-transform-is-truly-elementwise/main.cpp +66 -0
- mlsys/tasks/cpu-from-scratch-soa-transform-is-truly-elementwise/meta.json +13 -0
- mlsys/tasks/cpu-from-scratch-soa-transform-is-truly-elementwise/ref.cpp +11 -0
- mlsys/tasks/cpu-from-scratch-soa-transform-is-truly-elementwise/sol.hpp +31 -0
- mlsys/tasks/cpu-from-scratch-soa-transform-is-truly-elementwise/starter.cpp +11 -0
- mlsys/tasks/cpu-from-scratch-soa-transform-is-truly-elementwise/task.md +58 -0
- mlsys/tasks/cpu-gather-via-index-array-distinct-lines/main.cpp +61 -0
- mlsys/tasks/cpu-gather-via-index-array-distinct-lines/meta.json +17 -0
- mlsys/tasks/cpu-gather-via-index-array-distinct-lines/ref.cpp +8 -0
- mlsys/tasks/cpu-gather-via-index-array-distinct-lines/sol.hpp +21 -0
- mlsys/tasks/cpu-gather-via-index-array-distinct-lines/starter.cpp +8 -0
- mlsys/tasks/cpu-gather-via-index-array-distinct-lines/task.md +75 -0
- mlsys/tasks/cpu-gather-vs-contiguous-load-modeled-uop-count/main.cpp +64 -0
- mlsys/tasks/cpu-gather-vs-contiguous-load-modeled-uop-count/meta.json +14 -0
- mlsys/tasks/cpu-gather-vs-contiguous-load-modeled-uop-count/ref.cpp +16 -0
- mlsys/tasks/cpu-gather-vs-contiguous-load-modeled-uop-count/sol.hpp +33 -0
- mlsys/tasks/cpu-gather-vs-contiguous-load-modeled-uop-count/starter.cpp +13 -0
- mlsys/tasks/cpu-gather-vs-contiguous-load-modeled-uop-count/task.md +85 -0
- mlsys/tasks/cpu-gemm-ai-as-a-function-of-m-n-k-and-reuse/main.cpp +23 -0
- mlsys/tasks/cpu-gemm-ai-as-a-function-of-m-n-k-and-reuse/meta.json +15 -0
- mlsys/tasks/cpu-gemm-ai-as-a-function-of-m-n-k-and-reuse/ref.cpp +10 -0
- mlsys/tasks/cpu-gemm-ai-as-a-function-of-m-n-k-and-reuse/sol.hpp +33 -0
- mlsys/tasks/cpu-gemm-ai-as-a-function-of-m-n-k-and-reuse/starter.cpp +9 -0
- mlsys/tasks/cpu-gemm-ai-as-a-function-of-m-n-k-and-reuse/task.md +58 -0
- mlsys/tasks/cpu-gshare-predictor-with-global-history/check.py +33 -0
- mlsys/tasks/cpu-gshare-predictor-with-global-history/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-gshare-predictor-with-global-history/meta.json +20 -0
- mlsys/tasks/cpu-gshare-predictor-with-global-history/solution_ref.py +16 -0
- mlsys/tasks/cpu-gshare-predictor-with-global-history/starter.py +10 -0
- mlsys/tasks/cpu-gshare-predictor-with-global-history/task.md +29 -0
- mlsys/tasks/cpu-horizontal-sum-via-lane-reduction-byte-exact/check.py +20 -0
- mlsys/tasks/cpu-horizontal-sum-via-lane-reduction-byte-exact/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-horizontal-sum-via-lane-reduction-byte-exact/meta.json +22 -0
- mlsys/tasks/cpu-horizontal-sum-via-lane-reduction-byte-exact/solution_ref.py +11 -0
- mlsys/tasks/cpu-horizontal-sum-via-lane-reduction-byte-exact/starter.py +5 -0
- mlsys/tasks/cpu-horizontal-sum-via-lane-reduction-byte-exact/task.md +41 -0
- mlsys/tasks/cpu-horner-fma-count-accuracy/main.cpp +18 -0
- mlsys/tasks/cpu-horner-fma-count-accuracy/meta.json +13 -0
- mlsys/tasks/cpu-horner-fma-count-accuracy/ref.cpp +14 -0
- mlsys/tasks/cpu-horner-fma-count-accuracy/sol.hpp +19 -0
- mlsys/tasks/cpu-horner-fma-count-accuracy/starter.cpp +11 -0
- mlsys/tasks/cpu-horner-fma-count-accuracy/task.md +41 -0
- mlsys/tasks/cpu-hot-cold-field-split-to-a-traffic-gate/check.py +44 -0
- mlsys/tasks/cpu-hot-cold-field-split-to-a-traffic-gate/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-hot-cold-field-split-to-a-traffic-gate/meta.json +22 -0
- mlsys/tasks/cpu-hot-cold-field-split-to-a-traffic-gate/solution_ref.py +2 -0
- mlsys/tasks/cpu-hot-cold-field-split-to-a-traffic-gate/starter.py +3 -0
- mlsys/tasks/cpu-hot-cold-field-split-to-a-traffic-gate/task.md +44 -0
- mlsys/tasks/cpu-idealized-ipc-under-an-n-wide-machine/main.cpp +68 -0
- mlsys/tasks/cpu-idealized-ipc-under-an-n-wide-machine/meta.json +22 -0
- mlsys/tasks/cpu-idealized-ipc-under-an-n-wide-machine/ref.cpp +41 -0
- mlsys/tasks/cpu-idealized-ipc-under-an-n-wide-machine/sol.hpp +33 -0
- mlsys/tasks/cpu-idealized-ipc-under-an-n-wide-machine/starter.cpp +12 -0
- mlsys/tasks/cpu-idealized-ipc-under-an-n-wide-machine/task.md +82 -0
- mlsys/tasks/cpu-identify-reuses-in-a-tiny-trace/main.cpp +27 -0
- mlsys/tasks/cpu-identify-reuses-in-a-tiny-trace/meta.json +23 -0
- mlsys/tasks/cpu-identify-reuses-in-a-tiny-trace/ref.cpp +18 -0
- mlsys/tasks/cpu-identify-reuses-in-a-tiny-trace/sol.hpp +13 -0
- mlsys/tasks/cpu-identify-reuses-in-a-tiny-trace/starter.cpp +10 -0
- mlsys/tasks/cpu-identify-reuses-in-a-tiny-trace/task.md +50 -0
- mlsys/tasks/cpu-ilp-of-an-attention-inner-loop-pick-unroll-accumulate/main.cpp +50 -0
- mlsys/tasks/cpu-ilp-of-an-attention-inner-loop-pick-unroll-accumulate/meta.json +13 -0
- mlsys/tasks/cpu-ilp-of-an-attention-inner-loop-pick-unroll-accumulate/ref.cpp +13 -0
- mlsys/tasks/cpu-ilp-of-an-attention-inner-loop-pick-unroll-accumulate/sol.hpp +31 -0
- mlsys/tasks/cpu-ilp-of-an-attention-inner-loop-pick-unroll-accumulate/starter.cpp +11 -0
- mlsys/tasks/cpu-ilp-of-an-attention-inner-loop-pick-unroll-accumulate/task.md +43 -0
- mlsys/tasks/cpu-inclusive-vs-exclusive-hierarchy-miss-counts/main.cpp +25 -0
- mlsys/tasks/cpu-inclusive-vs-exclusive-hierarchy-miss-counts/meta.json +18 -0
- mlsys/tasks/cpu-inclusive-vs-exclusive-hierarchy-miss-counts/ref.cpp +105 -0
- mlsys/tasks/cpu-inclusive-vs-exclusive-hierarchy-miss-counts/sol.hpp +35 -0
- mlsys/tasks/cpu-inclusive-vs-exclusive-hierarchy-miss-counts/starter.cpp +9 -0
- mlsys/tasks/cpu-inclusive-vs-exclusive-hierarchy-miss-counts/task.md +73 -0
- mlsys/tasks/cpu-insert-software-prefetch-distance-to-hide-latency/main.cpp +24 -0
- mlsys/tasks/cpu-insert-software-prefetch-distance-to-hide-latency/meta.json +9 -0
- mlsys/tasks/cpu-insert-software-prefetch-distance-to-hide-latency/ref.cpp +9 -0
- mlsys/tasks/cpu-insert-software-prefetch-distance-to-hide-latency/sol.hpp +26 -0
- mlsys/tasks/cpu-insert-software-prefetch-distance-to-hide-latency/starter.cpp +8 -0
- mlsys/tasks/cpu-insert-software-prefetch-distance-to-hide-latency/task.md +80 -0
- mlsys/tasks/cpu-int8-gemv-with-simd-widening-equivalence/main.cpp +30 -0
- mlsys/tasks/cpu-int8-gemv-with-simd-widening-equivalence/meta.json +2 -0
- mlsys/tasks/cpu-int8-gemv-with-simd-widening-equivalence/ref.cpp +16 -0
- mlsys/tasks/cpu-int8-gemv-with-simd-widening-equivalence/sol.hpp +11 -0
- mlsys/tasks/cpu-int8-gemv-with-simd-widening-equivalence/starter.cpp +19 -0
- mlsys/tasks/cpu-int8-gemv-with-simd-widening-equivalence/task.md +59 -0
- mlsys/tasks/cpu-interleaved-vs-first-touch-remote-accesses/main.cpp +44 -0
- mlsys/tasks/cpu-interleaved-vs-first-touch-remote-accesses/meta.json +13 -0
- mlsys/tasks/cpu-interleaved-vs-first-touch-remote-accesses/ref.cpp +30 -0
- mlsys/tasks/cpu-interleaved-vs-first-touch-remote-accesses/sol.hpp +32 -0
- mlsys/tasks/cpu-interleaved-vs-first-touch-remote-accesses/starter.cpp +13 -0
- mlsys/tasks/cpu-interleaved-vs-first-touch-remote-accesses/task.md +85 -0
- mlsys/tasks/cpu-kahan-pairwise-summation-accuracy/main.cpp +37 -0
- mlsys/tasks/cpu-kahan-pairwise-summation-accuracy/meta.json +15 -0
- mlsys/tasks/cpu-kahan-pairwise-summation-accuracy/ref.cpp +12 -0
- mlsys/tasks/cpu-kahan-pairwise-summation-accuracy/sol.hpp +24 -0
- mlsys/tasks/cpu-kahan-pairwise-summation-accuracy/starter.cpp +9 -0
- mlsys/tasks/cpu-kahan-pairwise-summation-accuracy/task.md +50 -0
- mlsys/tasks/cpu-knee-detection-in-a-working-set-sweep/main.cpp +68 -0
- mlsys/tasks/cpu-knee-detection-in-a-working-set-sweep/meta.json +13 -0
- mlsys/tasks/cpu-knee-detection-in-a-working-set-sweep/ref.cpp +13 -0
- mlsys/tasks/cpu-knee-detection-in-a-working-set-sweep/sol.hpp +22 -0
- mlsys/tasks/cpu-knee-detection-in-a-working-set-sweep/starter.cpp +10 -0
- mlsys/tasks/cpu-knee-detection-in-a-working-set-sweep/task.md +59 -0
- mlsys/tasks/cpu-kv-record-layout-optimal-for-both-read-paths/main.cpp +98 -0
- mlsys/tasks/cpu-kv-record-layout-optimal-for-both-read-paths/meta.json +13 -0
- mlsys/tasks/cpu-kv-record-layout-optimal-for-both-read-paths/ref.cpp +7 -0
- mlsys/tasks/cpu-kv-record-layout-optimal-for-both-read-paths/sol.hpp +31 -0
- mlsys/tasks/cpu-kv-record-layout-optimal-for-both-read-paths/starter.cpp +9 -0
- mlsys/tasks/cpu-kv-record-layout-optimal-for-both-read-paths/task.md +79 -0
- mlsys/tasks/cpu-label-5-traces-line-efficient-vs-wasteful/main.cpp +41 -0
- mlsys/tasks/cpu-label-5-traces-line-efficient-vs-wasteful/meta.json +17 -0
- mlsys/tasks/cpu-label-5-traces-line-efficient-vs-wasteful/ref.cpp +13 -0
- mlsys/tasks/cpu-label-5-traces-line-efficient-vs-wasteful/sol.hpp +13 -0
- mlsys/tasks/cpu-label-5-traces-line-efficient-vs-wasteful/starter.cpp +9 -0
- mlsys/tasks/cpu-label-5-traces-line-efficient-vs-wasteful/task.md +73 -0
- mlsys/tasks/cpu-large-activation-write-out-nt-vs-temporal-traffic/main.cpp +45 -0
- mlsys/tasks/cpu-large-activation-write-out-nt-vs-temporal-traffic/meta.json +13 -0
- mlsys/tasks/cpu-large-activation-write-out-nt-vs-temporal-traffic/ref.cpp +38 -0
- mlsys/tasks/cpu-large-activation-write-out-nt-vs-temporal-traffic/sol.hpp +50 -0
- mlsys/tasks/cpu-large-activation-write-out-nt-vs-temporal-traffic/starter.cpp +8 -0
- mlsys/tasks/cpu-large-activation-write-out-nt-vs-temporal-traffic/task.md +75 -0
- mlsys/tasks/cpu-linked-list-to-index-array-byte-exact-mlp-up/main.cpp +73 -0
- mlsys/tasks/cpu-linked-list-to-index-array-byte-exact-mlp-up/meta.json +13 -0
- mlsys/tasks/cpu-linked-list-to-index-array-byte-exact-mlp-up/ref.cpp +17 -0
- mlsys/tasks/cpu-linked-list-to-index-array-byte-exact-mlp-up/sol.hpp +36 -0
- mlsys/tasks/cpu-linked-list-to-index-array-byte-exact-mlp-up/starter.cpp +16 -0
- mlsys/tasks/cpu-linked-list-to-index-array-byte-exact-mlp-up/task.md +51 -0
- mlsys/tasks/cpu-local-vs-remote-access-counts/main.cpp +27 -0
- mlsys/tasks/cpu-local-vs-remote-access-counts/meta.json +21 -0
- mlsys/tasks/cpu-local-vs-remote-access-counts/ref.cpp +16 -0
- mlsys/tasks/cpu-local-vs-remote-access-counts/sol.hpp +21 -0
- mlsys/tasks/cpu-local-vs-remote-access-counts/starter.cpp +13 -0
- mlsys/tasks/cpu-local-vs-remote-access-counts/task.md +51 -0
- mlsys/tasks/cpu-logsumexp-stability-across-scales/main.cpp +26 -0
- mlsys/tasks/cpu-logsumexp-stability-across-scales/meta.json +21 -0
- mlsys/tasks/cpu-logsumexp-stability-across-scales/ref.cpp +13 -0
- mlsys/tasks/cpu-logsumexp-stability-across-scales/sol.hpp +22 -0
- mlsys/tasks/cpu-logsumexp-stability-across-scales/starter.cpp +7 -0
- mlsys/tasks/cpu-logsumexp-stability-across-scales/task.md +74 -0
- mlsys/tasks/cpu-loop-interchange-to-a-traffic-gate/main.cpp +58 -0
- mlsys/tasks/cpu-loop-interchange-to-a-traffic-gate/meta.json +9 -0
- mlsys/tasks/cpu-loop-interchange-to-a-traffic-gate/ref.cpp +9 -0
- mlsys/tasks/cpu-loop-interchange-to-a-traffic-gate/sol.hpp +29 -0
- mlsys/tasks/cpu-loop-interchange-to-a-traffic-gate/starter.cpp +9 -0
- mlsys/tasks/cpu-loop-interchange-to-a-traffic-gate/task.md +67 -0
- mlsys/tasks/cpu-loop-overhead-ops-eliminated-by-unrolling/main.cpp +23 -0
- mlsys/tasks/cpu-loop-overhead-ops-eliminated-by-unrolling/meta.json +10 -0
- mlsys/tasks/cpu-loop-overhead-ops-eliminated-by-unrolling/ref.cpp +7 -0
- mlsys/tasks/cpu-loop-overhead-ops-eliminated-by-unrolling/sol.hpp +19 -0
- mlsys/tasks/cpu-loop-overhead-ops-eliminated-by-unrolling/starter.cpp +10 -0
- mlsys/tasks/cpu-loop-overhead-ops-eliminated-by-unrolling/task.md +65 -0
- mlsys/tasks/cpu-lru-stack-monotonicity-over-50-traces/main.cpp +42 -0
- mlsys/tasks/cpu-lru-stack-monotonicity-over-50-traces/meta.json +17 -0
- mlsys/tasks/cpu-lru-stack-monotonicity-over-50-traces/ref.cpp +23 -0
- mlsys/tasks/cpu-lru-stack-monotonicity-over-50-traces/sol.hpp +13 -0
- mlsys/tasks/cpu-lru-stack-monotonicity-over-50-traces/starter.cpp +9 -0
- mlsys/tasks/cpu-lru-stack-monotonicity-over-50-traces/task.md +62 -0
- mlsys/tasks/cpu-max-outstanding-misses-mlp-degree/main.cpp +28 -0
- mlsys/tasks/cpu-max-outstanding-misses-mlp-degree/meta.json +17 -0
- mlsys/tasks/cpu-max-outstanding-misses-mlp-degree/ref.cpp +38 -0
- mlsys/tasks/cpu-max-outstanding-misses-mlp-degree/sol.hpp +14 -0
- mlsys/tasks/cpu-max-outstanding-misses-mlp-degree/starter.cpp +10 -0
- mlsys/tasks/cpu-max-outstanding-misses-mlp-degree/task.md +72 -0
- mlsys/tasks/cpu-min-accumulators-to-hide-fma-latency/check.py +53 -0
- mlsys/tasks/cpu-min-accumulators-to-hide-fma-latency/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-min-accumulators-to-hide-fma-latency/meta.json +27 -0
- mlsys/tasks/cpu-min-accumulators-to-hide-fma-latency/solution_ref.py +7 -0
- mlsys/tasks/cpu-min-accumulators-to-hide-fma-latency/starter.py +6 -0
- mlsys/tasks/cpu-min-accumulators-to-hide-fma-latency/task.md +73 -0
- mlsys/tasks/cpu-miss-rate-curve-from-a-reuse-histogram/main.cpp +61 -0
- mlsys/tasks/cpu-miss-rate-curve-from-a-reuse-histogram/meta.json +15 -0
- mlsys/tasks/cpu-miss-rate-curve-from-a-reuse-histogram/ref.cpp +10 -0
- mlsys/tasks/cpu-miss-rate-curve-from-a-reuse-histogram/sol.hpp +26 -0
- mlsys/tasks/cpu-miss-rate-curve-from-a-reuse-histogram/starter.cpp +10 -0
- mlsys/tasks/cpu-miss-rate-curve-from-a-reuse-histogram/task.md +56 -0
- mlsys/tasks/cpu-model-coherence-invalidations-for-interleaved-writes/main.cpp +31 -0
- mlsys/tasks/cpu-model-coherence-invalidations-for-interleaved-writes/meta.json +13 -0
- mlsys/tasks/cpu-model-coherence-invalidations-for-interleaved-writes/ref.cpp +24 -0
- mlsys/tasks/cpu-model-coherence-invalidations-for-interleaved-writes/sol.hpp +22 -0
- mlsys/tasks/cpu-model-coherence-invalidations-for-interleaved-writes/starter.cpp +11 -0
- mlsys/tasks/cpu-model-coherence-invalidations-for-interleaved-writes/task.md +69 -0
- mlsys/tasks/cpu-model-runtime-misses-mlp-latency/main.cpp +57 -0
- mlsys/tasks/cpu-model-runtime-misses-mlp-latency/meta.json +2 -0
- mlsys/tasks/cpu-model-runtime-misses-mlp-latency/ref.cpp +5 -0
- mlsys/tasks/cpu-model-runtime-misses-mlp-latency/sol.hpp +18 -0
- mlsys/tasks/cpu-model-runtime-misses-mlp-latency/starter.cpp +9 -0
- mlsys/tasks/cpu-model-runtime-misses-mlp-latency/task.md +72 -0
- mlsys/tasks/cpu-modeled-op-count-speedup-of-vectorized-dot/main.cpp +24 -0
- mlsys/tasks/cpu-modeled-op-count-speedup-of-vectorized-dot/meta.json +22 -0
- mlsys/tasks/cpu-modeled-op-count-speedup-of-vectorized-dot/ref.cpp +6 -0
- mlsys/tasks/cpu-modeled-op-count-speedup-of-vectorized-dot/sol.hpp +25 -0
- mlsys/tasks/cpu-modeled-op-count-speedup-of-vectorized-dot/starter.cpp +8 -0
- mlsys/tasks/cpu-modeled-op-count-speedup-of-vectorized-dot/task.md +74 -0
- mlsys/tasks/cpu-modulo-scheduling-initiation-interval-ii/check.py +21 -0
- mlsys/tasks/cpu-modulo-scheduling-initiation-interval-ii/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-modulo-scheduling-initiation-interval-ii/meta.json +22 -0
- mlsys/tasks/cpu-modulo-scheduling-initiation-interval-ii/solution_ref.py +2 -0
- mlsys/tasks/cpu-modulo-scheduling-initiation-interval-ii/starter.py +3 -0
- mlsys/tasks/cpu-modulo-scheduling-initiation-interval-ii/task.md +33 -0
- mlsys/tasks/cpu-moe-expert-routing-gather-min-traffic-layout/main.cpp +57 -0
- mlsys/tasks/cpu-moe-expert-routing-gather-min-traffic-layout/meta.json +13 -0
- mlsys/tasks/cpu-moe-expert-routing-gather-min-traffic-layout/ref.cpp +17 -0
- mlsys/tasks/cpu-moe-expert-routing-gather-min-traffic-layout/sol.hpp +32 -0
- mlsys/tasks/cpu-moe-expert-routing-gather-min-traffic-layout/starter.cpp +10 -0
- mlsys/tasks/cpu-moe-expert-routing-gather-min-traffic-layout/task.md +48 -0
- mlsys/tasks/cpu-multi-level-page-walk-cost-model/main.cpp +32 -0
- mlsys/tasks/cpu-multi-level-page-walk-cost-model/meta.json +17 -0
- mlsys/tasks/cpu-multi-level-page-walk-cost-model/ref.cpp +37 -0
- mlsys/tasks/cpu-multi-level-page-walk-cost-model/sol.hpp +26 -0
- mlsys/tasks/cpu-multi-level-page-walk-cost-model/starter.cpp +11 -0
- mlsys/tasks/cpu-multi-level-page-walk-cost-model/task.md +67 -0
- mlsys/tasks/cpu-n-way-set-associative-lru-simulator/main.cpp +43 -0
- mlsys/tasks/cpu-n-way-set-associative-lru-simulator/meta.json +22 -0
- mlsys/tasks/cpu-n-way-set-associative-lru-simulator/ref.cpp +36 -0
- mlsys/tasks/cpu-n-way-set-associative-lru-simulator/sol.hpp +19 -0
- mlsys/tasks/cpu-n-way-set-associative-lru-simulator/starter.cpp +12 -0
- mlsys/tasks/cpu-n-way-set-associative-lru-simulator/task.md +78 -0
- mlsys/tasks/cpu-naive-vs-1-level-vs-2-level-miss-triple/main.cpp +56 -0
- mlsys/tasks/cpu-naive-vs-1-level-vs-2-level-miss-triple/meta.json +13 -0
- mlsys/tasks/cpu-naive-vs-1-level-vs-2-level-miss-triple/ref.cpp +52 -0
- mlsys/tasks/cpu-naive-vs-1-level-vs-2-level-miss-triple/sol.hpp +40 -0
- mlsys/tasks/cpu-naive-vs-1-level-vs-2-level-miss-triple/starter.cpp +14 -0
- mlsys/tasks/cpu-naive-vs-1-level-vs-2-level-miss-triple/task.md +61 -0
- mlsys/tasks/cpu-naive-vs-tiled-matmul-reuse-distances-fit-l2/main.cpp +58 -0
- mlsys/tasks/cpu-naive-vs-tiled-matmul-reuse-distances-fit-l2/meta.json +13 -0
- mlsys/tasks/cpu-naive-vs-tiled-matmul-reuse-distances-fit-l2/ref.cpp +24 -0
- mlsys/tasks/cpu-naive-vs-tiled-matmul-reuse-distances-fit-l2/sol.hpp +22 -0
- mlsys/tasks/cpu-naive-vs-tiled-matmul-reuse-distances-fit-l2/starter.cpp +11 -0
- mlsys/tasks/cpu-naive-vs-tiled-matmul-reuse-distances-fit-l2/task.md +69 -0
- mlsys/tasks/cpu-native-nt-store-intrinsic-kernel/main.cpp +41 -0
- mlsys/tasks/cpu-native-nt-store-intrinsic-kernel/meta.json +18 -0
- mlsys/tasks/cpu-native-nt-store-intrinsic-kernel/ref.cpp +7 -0
- mlsys/tasks/cpu-native-nt-store-intrinsic-kernel/sol.hpp +33 -0
- mlsys/tasks/cpu-native-nt-store-intrinsic-kernel/starter.cpp +8 -0
- mlsys/tasks/cpu-native-nt-store-intrinsic-kernel/task.md +75 -0
- mlsys/tasks/cpu-neon-intrinsic-elementwise-kernel/check.py +58 -0
- mlsys/tasks/cpu-neon-intrinsic-elementwise-kernel/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-neon-intrinsic-elementwise-kernel/meta.json +29 -0
- mlsys/tasks/cpu-neon-intrinsic-elementwise-kernel/solution_ref.py +12 -0
- mlsys/tasks/cpu-neon-intrinsic-elementwise-kernel/starter.py +3 -0
- mlsys/tasks/cpu-neon-intrinsic-elementwise-kernel/task.md +59 -0
- mlsys/tasks/cpu-next-line-prefetcher-hit-miss-on-a-trace/main.cpp +17 -0
- mlsys/tasks/cpu-next-line-prefetcher-hit-miss-on-a-trace/meta.json +15 -0
- mlsys/tasks/cpu-next-line-prefetcher-hit-miss-on-a-trace/ref.cpp +39 -0
- mlsys/tasks/cpu-next-line-prefetcher-hit-miss-on-a-trace/sol.hpp +34 -0
- mlsys/tasks/cpu-next-line-prefetcher-hit-miss-on-a-trace/starter.cpp +10 -0
- mlsys/tasks/cpu-next-line-prefetcher-hit-miss-on-a-trace/task.md +45 -0
- mlsys/tasks/cpu-no-branch-hot-loop-enforced-via-settrace/main.cpp +52 -0
- mlsys/tasks/cpu-no-branch-hot-loop-enforced-via-settrace/meta.json +9 -0
- mlsys/tasks/cpu-no-branch-hot-loop-enforced-via-settrace/ref.cpp +6 -0
- mlsys/tasks/cpu-no-branch-hot-loop-enforced-via-settrace/sol.hpp +42 -0
- mlsys/tasks/cpu-no-branch-hot-loop-enforced-via-settrace/starter.cpp +9 -0
- mlsys/tasks/cpu-no-branch-hot-loop-enforced-via-settrace/task.md +64 -0
- mlsys/tasks/cpu-no-prefetch-vs-next-line-vs-stride-miss-triple/main.cpp +93 -0
- mlsys/tasks/cpu-no-prefetch-vs-next-line-vs-stride-miss-triple/meta.json +13 -0
- mlsys/tasks/cpu-no-prefetch-vs-next-line-vs-stride-miss-triple/ref.cpp +13 -0
- mlsys/tasks/cpu-no-prefetch-vs-next-line-vs-stride-miss-triple/sol.hpp +35 -0
- mlsys/tasks/cpu-no-prefetch-vs-next-line-vs-stride-miss-triple/starter.cpp +10 -0
- mlsys/tasks/cpu-no-prefetch-vs-next-line-vs-stride-miss-triple/task.md +46 -0
- mlsys/tasks/cpu-non-associativity-sum-orderings-vs-high-precision-ref/main.cpp +26 -0
- mlsys/tasks/cpu-non-associativity-sum-orderings-vs-high-precision-ref/meta.json +22 -0
- mlsys/tasks/cpu-non-associativity-sum-orderings-vs-high-precision-ref/ref.cpp +55 -0
- mlsys/tasks/cpu-non-associativity-sum-orderings-vs-high-precision-ref/sol.hpp +25 -0
- mlsys/tasks/cpu-non-associativity-sum-orderings-vs-high-precision-ref/starter.cpp +7 -0
- mlsys/tasks/cpu-non-associativity-sum-orderings-vs-high-precision-ref/task.md +82 -0
- mlsys/tasks/cpu-numa-amat-with-local-remote-latencies/main.cpp +28 -0
- mlsys/tasks/cpu-numa-amat-with-local-remote-latencies/meta.json +10 -0
- mlsys/tasks/cpu-numa-amat-with-local-remote-latencies/ref.cpp +13 -0
- mlsys/tasks/cpu-numa-amat-with-local-remote-latencies/sol.hpp +18 -0
- mlsys/tasks/cpu-numa-amat-with-local-remote-latencies/starter.cpp +15 -0
- mlsys/tasks/cpu-numa-amat-with-local-remote-latencies/task.md +70 -0
- mlsys/tasks/cpu-optimal-padded-leading-dim-for-a-matrix-stack/main.cpp +61 -0
- mlsys/tasks/cpu-optimal-padded-leading-dim-for-a-matrix-stack/meta.json +15 -0
- mlsys/tasks/cpu-optimal-padded-leading-dim-for-a-matrix-stack/ref.cpp +9 -0
- mlsys/tasks/cpu-optimal-padded-leading-dim-for-a-matrix-stack/sol.hpp +25 -0
- mlsys/tasks/cpu-optimal-padded-leading-dim-for-a-matrix-stack/starter.cpp +9 -0
- mlsys/tasks/cpu-optimal-padded-leading-dim-for-a-matrix-stack/task.md +50 -0
- mlsys/tasks/cpu-optimal-prefetch-distance-from-latency-loop-cost/main.cpp +22 -0
- mlsys/tasks/cpu-optimal-prefetch-distance-from-latency-loop-cost/meta.json +21 -0
- mlsys/tasks/cpu-optimal-prefetch-distance-from-latency-loop-cost/ref.cpp +17 -0
- mlsys/tasks/cpu-optimal-prefetch-distance-from-latency-loop-cost/sol.hpp +23 -0
- mlsys/tasks/cpu-optimal-prefetch-distance-from-latency-loop-cost/starter.cpp +13 -0
- mlsys/tasks/cpu-optimal-prefetch-distance-from-latency-loop-cost/task.md +70 -0
- mlsys/tasks/cpu-packed-vs-aligned-footprint-for-n-records/check.py +30 -0
- mlsys/tasks/cpu-packed-vs-aligned-footprint-for-n-records/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-packed-vs-aligned-footprint-for-n-records/meta.json +22 -0
- mlsys/tasks/cpu-packed-vs-aligned-footprint-for-n-records/solution_ref.py +26 -0
- mlsys/tasks/cpu-packed-vs-aligned-footprint-for-n-records/starter.py +7 -0
- mlsys/tasks/cpu-packed-vs-aligned-footprint-for-n-records/task.md +43 -0
- mlsys/tasks/cpu-pad-a-multi-head-projection-weight-stack-to-a-budget/main.cpp +76 -0
- mlsys/tasks/cpu-pad-a-multi-head-projection-weight-stack-to-a-budget/meta.json +13 -0
- mlsys/tasks/cpu-pad-a-multi-head-projection-weight-stack-to-a-budget/ref.cpp +21 -0
- mlsys/tasks/cpu-pad-a-multi-head-projection-weight-stack-to-a-budget/sol.hpp +39 -0
- mlsys/tasks/cpu-pad-a-multi-head-projection-weight-stack-to-a-budget/starter.cpp +14 -0
- mlsys/tasks/cpu-pad-a-multi-head-projection-weight-stack-to-a-budget/task.md +69 -0
- mlsys/tasks/cpu-pad-per-thread-counters-to-kill-false-sharing/main.cpp +34 -0
- mlsys/tasks/cpu-pad-per-thread-counters-to-kill-false-sharing/meta.json +17 -0
- mlsys/tasks/cpu-pad-per-thread-counters-to-kill-false-sharing/ref.cpp +5 -0
- mlsys/tasks/cpu-pad-per-thread-counters-to-kill-false-sharing/sol.hpp +14 -0
- mlsys/tasks/cpu-pad-per-thread-counters-to-kill-false-sharing/starter.cpp +9 -0
- mlsys/tasks/cpu-pad-per-thread-counters-to-kill-false-sharing/task.md +52 -0
- mlsys/tasks/cpu-paged-attention-kv-block-allocator-vs-block-size/main.cpp +19 -0
- mlsys/tasks/cpu-paged-attention-kv-block-allocator-vs-block-size/meta.json +22 -0
- mlsys/tasks/cpu-paged-attention-kv-block-allocator-vs-block-size/ref.cpp +33 -0
- mlsys/tasks/cpu-paged-attention-kv-block-allocator-vs-block-size/sol.hpp +30 -0
- mlsys/tasks/cpu-paged-attention-kv-block-allocator-vs-block-size/starter.cpp +14 -0
- mlsys/tasks/cpu-paged-attention-kv-block-allocator-vs-block-size/task.md +67 -0
- mlsys/tasks/cpu-pick-tile-b-for-capacity-fits-flag/main.cpp +94 -0
- mlsys/tasks/cpu-pick-tile-b-for-capacity-fits-flag/meta.json +18 -0
- mlsys/tasks/cpu-pick-tile-b-for-capacity-fits-flag/ref.cpp +13 -0
- mlsys/tasks/cpu-pick-tile-b-for-capacity-fits-flag/sol.hpp +23 -0
- mlsys/tasks/cpu-pick-tile-b-for-capacity-fits-flag/starter.cpp +8 -0
- mlsys/tasks/cpu-pick-tile-b-for-capacity-fits-flag/task.md +79 -0
- mlsys/tasks/cpu-pick-tile-keeping-working-set-in-l2/main.cpp +42 -0
- mlsys/tasks/cpu-pick-tile-keeping-working-set-in-l2/meta.json +13 -0
- mlsys/tasks/cpu-pick-tile-keeping-working-set-in-l2/ref.cpp +22 -0
- mlsys/tasks/cpu-pick-tile-keeping-working-set-in-l2/sol.hpp +27 -0
- mlsys/tasks/cpu-pick-tile-keeping-working-set-in-l2/starter.cpp +13 -0
- mlsys/tasks/cpu-pick-tile-keeping-working-set-in-l2/task.md +43 -0
- mlsys/tasks/cpu-pointer-chase-vs-independent-loads-chain-length/main.cpp +56 -0
- mlsys/tasks/cpu-pointer-chase-vs-independent-loads-chain-length/meta.json +22 -0
- mlsys/tasks/cpu-pointer-chase-vs-independent-loads-chain-length/ref.cpp +14 -0
- mlsys/tasks/cpu-pointer-chase-vs-independent-loads-chain-length/sol.hpp +22 -0
- mlsys/tasks/cpu-pointer-chase-vs-independent-loads-chain-length/starter.cpp +7 -0
- mlsys/tasks/cpu-pointer-chase-vs-independent-loads-chain-length/task.md +67 -0
- mlsys/tasks/cpu-pool-allocator-vs-malloc-per-object-footprint/main.cpp +34 -0
- mlsys/tasks/cpu-pool-allocator-vs-malloc-per-object-footprint/meta.json +9 -0
- mlsys/tasks/cpu-pool-allocator-vs-malloc-per-object-footprint/ref.cpp +22 -0
- mlsys/tasks/cpu-pool-allocator-vs-malloc-per-object-footprint/sol.hpp +31 -0
- mlsys/tasks/cpu-pool-allocator-vs-malloc-per-object-footprint/starter.cpp +22 -0
- mlsys/tasks/cpu-pool-allocator-vs-malloc-per-object-footprint/task.md +69 -0
- mlsys/tasks/cpu-predict-aos-vs-soa-line-optimal/main.cpp +29 -0
- mlsys/tasks/cpu-predict-aos-vs-soa-line-optimal/meta.json +17 -0
- mlsys/tasks/cpu-predict-aos-vs-soa-line-optimal/ref.cpp +54 -0
- mlsys/tasks/cpu-predict-aos-vs-soa-line-optimal/sol.hpp +22 -0
- mlsys/tasks/cpu-predict-aos-vs-soa-line-optimal/starter.cpp +10 -0
- mlsys/tasks/cpu-predict-aos-vs-soa-line-optimal/task.md +68 -0
- mlsys/tasks/cpu-predict-conflict-miss-pathology-for-size-stride/main.cpp +108 -0
- mlsys/tasks/cpu-predict-conflict-miss-pathology-for-size-stride/meta.json +18 -0
- mlsys/tasks/cpu-predict-conflict-miss-pathology-for-size-stride/ref.cpp +11 -0
- mlsys/tasks/cpu-predict-conflict-miss-pathology-for-size-stride/sol.hpp +34 -0
- mlsys/tasks/cpu-predict-conflict-miss-pathology-for-size-stride/starter.cpp +8 -0
- mlsys/tasks/cpu-predict-conflict-miss-pathology-for-size-stride/task.md +71 -0
- mlsys/tasks/cpu-predict-tlb-thrash-for-strided-tensor-walk/main.cpp +41 -0
- mlsys/tasks/cpu-predict-tlb-thrash-for-strided-tensor-walk/meta.json +22 -0
- mlsys/tasks/cpu-predict-tlb-thrash-for-strided-tensor-walk/ref.cpp +15 -0
- mlsys/tasks/cpu-predict-tlb-thrash-for-strided-tensor-walk/sol.hpp +32 -0
- mlsys/tasks/cpu-predict-tlb-thrash-for-strided-tensor-walk/starter.cpp +12 -0
- mlsys/tasks/cpu-predict-tlb-thrash-for-strided-tensor-walk/task.md +76 -0
- mlsys/tasks/cpu-predict-which-of-5-layouts-false-share/main.cpp +12 -0
- mlsys/tasks/cpu-predict-which-of-5-layouts-false-share/meta.json +17 -0
- mlsys/tasks/cpu-predict-which-of-5-layouts-false-share/ref.cpp +38 -0
- mlsys/tasks/cpu-predict-which-of-5-layouts-false-share/sol.hpp +21 -0
- mlsys/tasks/cpu-predict-which-of-5-layouts-false-share/starter.cpp +10 -0
- mlsys/tasks/cpu-predict-which-of-5-layouts-false-share/task.md +71 -0
- mlsys/tasks/cpu-predict-which-of-5-loops-auto-vectorize/main.cpp +102 -0
- mlsys/tasks/cpu-predict-which-of-5-loops-auto-vectorize/meta.json +15 -0
- mlsys/tasks/cpu-predict-which-of-5-loops-auto-vectorize/ref.cpp +11 -0
- mlsys/tasks/cpu-predict-which-of-5-loops-auto-vectorize/sol.hpp +40 -0
- mlsys/tasks/cpu-predict-which-of-5-loops-auto-vectorize/starter.cpp +9 -0
- mlsys/tasks/cpu-predict-which-of-5-loops-auto-vectorize/task.md +57 -0
- mlsys/tasks/cpu-predict-which-patterns-hw-prefetch-catches/main.cpp +31 -0
- mlsys/tasks/cpu-predict-which-patterns-hw-prefetch-catches/meta.json +15 -0
- mlsys/tasks/cpu-predict-which-patterns-hw-prefetch-catches/ref.cpp +15 -0
- mlsys/tasks/cpu-predict-which-patterns-hw-prefetch-catches/sol.hpp +18 -0
- mlsys/tasks/cpu-predict-which-patterns-hw-prefetch-catches/starter.cpp +10 -0
- mlsys/tasks/cpu-predict-which-patterns-hw-prefetch-catches/task.md +65 -0
- mlsys/tasks/cpu-prefetch-coverage-and-accuracy/main.cpp +87 -0
- mlsys/tasks/cpu-prefetch-coverage-and-accuracy/meta.json +13 -0
- mlsys/tasks/cpu-prefetch-coverage-and-accuracy/ref.cpp +7 -0
- mlsys/tasks/cpu-prefetch-coverage-and-accuracy/sol.hpp +23 -0
- mlsys/tasks/cpu-prefetch-coverage-and-accuracy/starter.cpp +11 -0
- mlsys/tasks/cpu-prefetch-coverage-and-accuracy/task.md +48 -0
- mlsys/tasks/cpu-prefetch-distance-to-saturate-mlp/main.cpp +31 -0
- mlsys/tasks/cpu-prefetch-distance-to-saturate-mlp/meta.json +9 -0
- mlsys/tasks/cpu-prefetch-distance-to-saturate-mlp/ref.cpp +17 -0
- mlsys/tasks/cpu-prefetch-distance-to-saturate-mlp/sol.hpp +28 -0
- mlsys/tasks/cpu-prefetch-distance-to-saturate-mlp/starter.cpp +21 -0
- mlsys/tasks/cpu-prefetch-distance-to-saturate-mlp/task.md +73 -0
- mlsys/tasks/cpu-prefetch-kv-cache-reads-for-decode/main.cpp +54 -0
- mlsys/tasks/cpu-prefetch-kv-cache-reads-for-decode/meta.json +15 -0
- mlsys/tasks/cpu-prefetch-kv-cache-reads-for-decode/ref.cpp +26 -0
- mlsys/tasks/cpu-prefetch-kv-cache-reads-for-decode/sol.hpp +42 -0
- mlsys/tasks/cpu-prefetch-kv-cache-reads-for-decode/starter.cpp +17 -0
- mlsys/tasks/cpu-prefetch-kv-cache-reads-for-decode/task.md +53 -0
- mlsys/tasks/cpu-prefill-vs-decode-roofline-placement/check.py +34 -0
- mlsys/tasks/cpu-prefill-vs-decode-roofline-placement/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-prefill-vs-decode-roofline-placement/meta.json +22 -0
- mlsys/tasks/cpu-prefill-vs-decode-roofline-placement/solution_ref.py +14 -0
- mlsys/tasks/cpu-prefill-vs-decode-roofline-placement/starter.py +3 -0
- mlsys/tasks/cpu-prefill-vs-decode-roofline-placement/task.md +66 -0
- mlsys/tasks/cpu-qk-t-loop-order-blocking-min-dram-bytes/main.cpp +42 -0
- mlsys/tasks/cpu-qk-t-loop-order-blocking-min-dram-bytes/meta.json +2 -0
- mlsys/tasks/cpu-qk-t-loop-order-blocking-min-dram-bytes/ref.cpp +22 -0
- mlsys/tasks/cpu-qk-t-loop-order-blocking-min-dram-bytes/sol.hpp +28 -0
- mlsys/tasks/cpu-qk-t-loop-order-blocking-min-dram-bytes/starter.cpp +18 -0
- mlsys/tasks/cpu-qk-t-loop-order-blocking-min-dram-bytes/task.md +66 -0
- mlsys/tasks/cpu-rank-4-traversals-by-modeled-mlp/main.cpp +55 -0
- mlsys/tasks/cpu-rank-4-traversals-by-modeled-mlp/meta.json +17 -0
- mlsys/tasks/cpu-rank-4-traversals-by-modeled-mlp/ref.cpp +31 -0
- mlsys/tasks/cpu-rank-4-traversals-by-modeled-mlp/sol.hpp +37 -0
- mlsys/tasks/cpu-rank-4-traversals-by-modeled-mlp/starter.cpp +16 -0
- mlsys/tasks/cpu-rank-4-traversals-by-modeled-mlp/task.md +83 -0
- mlsys/tasks/cpu-rank-5-kernels-by-roofline-attainable-perf/main.cpp +28 -0
- mlsys/tasks/cpu-rank-5-kernels-by-roofline-attainable-perf/meta.json +13 -0
- mlsys/tasks/cpu-rank-5-kernels-by-roofline-attainable-perf/ref.cpp +17 -0
- mlsys/tasks/cpu-rank-5-kernels-by-roofline-attainable-perf/sol.hpp +19 -0
- mlsys/tasks/cpu-rank-5-kernels-by-roofline-attainable-perf/starter.cpp +12 -0
- mlsys/tasks/cpu-rank-5-kernels-by-roofline-attainable-perf/task.md +54 -0
- mlsys/tasks/cpu-rank-ijk-ikj-jki-matmul-by-misses/main.cpp +48 -0
- mlsys/tasks/cpu-rank-ijk-ikj-jki-matmul-by-misses/meta.json +22 -0
- mlsys/tasks/cpu-rank-ijk-ikj-jki-matmul-by-misses/ref.cpp +69 -0
- mlsys/tasks/cpu-rank-ijk-ikj-jki-matmul-by-misses/sol.hpp +40 -0
- mlsys/tasks/cpu-rank-ijk-ikj-jki-matmul-by-misses/starter.cpp +15 -0
- mlsys/tasks/cpu-rank-ijk-ikj-jki-matmul-by-misses/task.md +58 -0
- mlsys/tasks/cpu-rank-three-kernels-by-amat-from-miss-vectors/main.cpp +20 -0
- mlsys/tasks/cpu-rank-three-kernels-by-amat-from-miss-vectors/meta.json +13 -0
- mlsys/tasks/cpu-rank-three-kernels-by-amat-from-miss-vectors/ref.cpp +19 -0
- mlsys/tasks/cpu-rank-three-kernels-by-amat-from-miss-vectors/sol.hpp +17 -0
- mlsys/tasks/cpu-rank-three-kernels-by-amat-from-miss-vectors/starter.cpp +11 -0
- mlsys/tasks/cpu-rank-three-kernels-by-amat-from-miss-vectors/task.md +48 -0
- mlsys/tasks/cpu-reassign-threads-to-nodes-to-min-remote-accesses/main.cpp +41 -0
- mlsys/tasks/cpu-reassign-threads-to-nodes-to-min-remote-accesses/meta.json +9 -0
- mlsys/tasks/cpu-reassign-threads-to-nodes-to-min-remote-accesses/ref.cpp +34 -0
- mlsys/tasks/cpu-reassign-threads-to-nodes-to-min-remote-accesses/sol.hpp +24 -0
- mlsys/tasks/cpu-reassign-threads-to-nodes-to-min-remote-accesses/starter.cpp +23 -0
- mlsys/tasks/cpu-reassign-threads-to-nodes-to-min-remote-accesses/task.md +67 -0
- mlsys/tasks/cpu-reassociate-a-reduction-to-shorten-critical-path/main.cpp +41 -0
- mlsys/tasks/cpu-reassociate-a-reduction-to-shorten-critical-path/meta.json +21 -0
- mlsys/tasks/cpu-reassociate-a-reduction-to-shorten-critical-path/ref.cpp +9 -0
- mlsys/tasks/cpu-reassociate-a-reduction-to-shorten-critical-path/sol.hpp +29 -0
- mlsys/tasks/cpu-reassociate-a-reduction-to-shorten-critical-path/starter.cpp +14 -0
- mlsys/tasks/cpu-reassociate-a-reduction-to-shorten-critical-path/task.md +68 -0
- mlsys/tasks/cpu-reassociate-for-parallel-sum-within-error-tol/main.cpp +34 -0
- mlsys/tasks/cpu-reassociate-for-parallel-sum-within-error-tol/meta.json +18 -0
- mlsys/tasks/cpu-reassociate-for-parallel-sum-within-error-tol/ref.cpp +22 -0
- mlsys/tasks/cpu-reassociate-for-parallel-sum-within-error-tol/sol.hpp +28 -0
- mlsys/tasks/cpu-reassociate-for-parallel-sum-within-error-tol/starter.cpp +15 -0
- mlsys/tasks/cpu-reassociate-for-parallel-sum-within-error-tol/task.md +75 -0
- mlsys/tasks/cpu-recursive-cache-oblivious-transpose/main.cpp +86 -0
- mlsys/tasks/cpu-recursive-cache-oblivious-transpose/meta.json +13 -0
- mlsys/tasks/cpu-recursive-cache-oblivious-transpose/ref.cpp +23 -0
- mlsys/tasks/cpu-recursive-cache-oblivious-transpose/sol.hpp +40 -0
- mlsys/tasks/cpu-recursive-cache-oblivious-transpose/starter.cpp +11 -0
- mlsys/tasks/cpu-recursive-cache-oblivious-transpose/task.md +67 -0
- mlsys/tasks/cpu-reduction-tree-layout-minimizing-false-sharing/main.cpp +35 -0
- mlsys/tasks/cpu-reduction-tree-layout-minimizing-false-sharing/meta.json +17 -0
- mlsys/tasks/cpu-reduction-tree-layout-minimizing-false-sharing/ref.cpp +12 -0
- mlsys/tasks/cpu-reduction-tree-layout-minimizing-false-sharing/sol.hpp +16 -0
- mlsys/tasks/cpu-reduction-tree-layout-minimizing-false-sharing/starter.cpp +8 -0
- mlsys/tasks/cpu-reduction-tree-layout-minimizing-false-sharing/task.md +56 -0
- mlsys/tasks/cpu-remainder-epilogue-correctness-for-non-multiple-n/main.cpp +20 -0
- mlsys/tasks/cpu-remainder-epilogue-correctness-for-non-multiple-n/meta.json +13 -0
- mlsys/tasks/cpu-remainder-epilogue-correctness-for-non-multiple-n/ref.cpp +16 -0
- mlsys/tasks/cpu-remainder-epilogue-correctness-for-non-multiple-n/sol.hpp +10 -0
- mlsys/tasks/cpu-remainder-epilogue-correctness-for-non-multiple-n/starter.cpp +16 -0
- mlsys/tasks/cpu-remainder-epilogue-correctness-for-non-multiple-n/task.md +40 -0
- mlsys/tasks/cpu-reorder-access-to-reduce-tlb-misses-below-gate/main.cpp +80 -0
- mlsys/tasks/cpu-reorder-access-to-reduce-tlb-misses-below-gate/meta.json +22 -0
- mlsys/tasks/cpu-reorder-access-to-reduce-tlb-misses-below-gate/ref.cpp +25 -0
- mlsys/tasks/cpu-reorder-access-to-reduce-tlb-misses-below-gate/sol.hpp +25 -0
- mlsys/tasks/cpu-reorder-access-to-reduce-tlb-misses-below-gate/starter.cpp +18 -0
- mlsys/tasks/cpu-reorder-access-to-reduce-tlb-misses-below-gate/task.md +75 -0
- mlsys/tasks/cpu-reorder-fields-to-minimize-size/main.cpp +7 -0
- mlsys/tasks/cpu-reorder-fields-to-minimize-size/meta.json +15 -0
- mlsys/tasks/cpu-reorder-fields-to-minimize-size/ref.cpp +15 -0
- mlsys/tasks/cpu-reorder-fields-to-minimize-size/sol.hpp +37 -0
- mlsys/tasks/cpu-reorder-fields-to-minimize-size/starter.cpp +9 -0
- mlsys/tasks/cpu-reorder-fields-to-minimize-size/task.md +48 -0
- mlsys/tasks/cpu-reorder-loop-indices-to-minimize-lines-fetched/main.cpp +43 -0
- mlsys/tasks/cpu-reorder-loop-indices-to-minimize-lines-fetched/meta.json +13 -0
- mlsys/tasks/cpu-reorder-loop-indices-to-minimize-lines-fetched/ref.cpp +16 -0
- mlsys/tasks/cpu-reorder-loop-indices-to-minimize-lines-fetched/sol.hpp +24 -0
- mlsys/tasks/cpu-reorder-loop-indices-to-minimize-lines-fetched/starter.cpp +10 -0
- mlsys/tasks/cpu-reorder-loop-indices-to-minimize-lines-fetched/task.md +44 -0
- mlsys/tasks/cpu-reuse-distance-histogram-stack-distance/main.cpp +25 -0
- mlsys/tasks/cpu-reuse-distance-histogram-stack-distance/meta.json +17 -0
- mlsys/tasks/cpu-reuse-distance-histogram-stack-distance/ref.cpp +29 -0
- mlsys/tasks/cpu-reuse-distance-histogram-stack-distance/sol.hpp +22 -0
- mlsys/tasks/cpu-reuse-distance-histogram-stack-distance/starter.cpp +10 -0
- mlsys/tasks/cpu-reuse-distance-histogram-stack-distance/task.md +69 -0
- mlsys/tasks/cpu-rfo-traffic-normal-vs-streaming-stores/main.cpp +24 -0
- mlsys/tasks/cpu-rfo-traffic-normal-vs-streaming-stores/meta.json +9 -0
- mlsys/tasks/cpu-rfo-traffic-normal-vs-streaming-stores/ref.cpp +15 -0
- mlsys/tasks/cpu-rfo-traffic-normal-vs-streaming-stores/sol.hpp +30 -0
- mlsys/tasks/cpu-rfo-traffic-normal-vs-streaming-stores/starter.cpp +17 -0
- mlsys/tasks/cpu-rfo-traffic-normal-vs-streaming-stores/task.md +62 -0
- mlsys/tasks/cpu-ridge-point-computation/main.cpp +17 -0
- mlsys/tasks/cpu-ridge-point-computation/meta.json +13 -0
- mlsys/tasks/cpu-ridge-point-computation/ref.cpp +5 -0
- mlsys/tasks/cpu-ridge-point-computation/sol.hpp +15 -0
- mlsys/tasks/cpu-ridge-point-computation/starter.cpp +7 -0
- mlsys/tasks/cpu-ridge-point-computation/task.md +44 -0
- mlsys/tasks/cpu-rolled-vs-unrolled-critical-path-with-accumulators/check.py +63 -0
- mlsys/tasks/cpu-rolled-vs-unrolled-critical-path-with-accumulators/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-rolled-vs-unrolled-critical-path-with-accumulators/meta.json +27 -0
- mlsys/tasks/cpu-rolled-vs-unrolled-critical-path-with-accumulators/solution_ref.py +6 -0
- mlsys/tasks/cpu-rolled-vs-unrolled-critical-path-with-accumulators/starter.py +3 -0
- mlsys/tasks/cpu-rolled-vs-unrolled-critical-path-with-accumulators/task.md +62 -0
- mlsys/tasks/cpu-row-gather-vs-column-gather-embedding-traffic/main.cpp +15 -0
- mlsys/tasks/cpu-row-gather-vs-column-gather-embedding-traffic/meta.json +15 -0
- mlsys/tasks/cpu-row-gather-vs-column-gather-embedding-traffic/ref.cpp +18 -0
- mlsys/tasks/cpu-row-gather-vs-column-gather-embedding-traffic/sol.hpp +31 -0
- mlsys/tasks/cpu-row-gather-vs-column-gather-embedding-traffic/starter.cpp +9 -0
- mlsys/tasks/cpu-row-gather-vs-column-gather-embedding-traffic/task.md +53 -0
- mlsys/tasks/cpu-scatter-with-duplicate-indices-byte-exact-accumulate/check.py +22 -0
- mlsys/tasks/cpu-scatter-with-duplicate-indices-byte-exact-accumulate/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-scatter-with-duplicate-indices-byte-exact-accumulate/meta.json +17 -0
- mlsys/tasks/cpu-scatter-with-duplicate-indices-byte-exact-accumulate/solution_ref.py +5 -0
- mlsys/tasks/cpu-scatter-with-duplicate-indices-byte-exact-accumulate/starter.py +8 -0
- mlsys/tasks/cpu-scatter-with-duplicate-indices-byte-exact-accumulate/task.md +29 -0
- mlsys/tasks/cpu-segment-the-gather-to-reuse-lines/main.cpp +69 -0
- mlsys/tasks/cpu-segment-the-gather-to-reuse-lines/meta.json +17 -0
- mlsys/tasks/cpu-segment-the-gather-to-reuse-lines/ref.cpp +20 -0
- mlsys/tasks/cpu-segment-the-gather-to-reuse-lines/sol.hpp +22 -0
- mlsys/tasks/cpu-segment-the-gather-to-reuse-lines/starter.cpp +9 -0
- mlsys/tasks/cpu-segment-the-gather-to-reuse-lines/task.md +66 -0
- mlsys/tasks/cpu-serial-vs-tree-reduction-critical-path/check.py +29 -0
- mlsys/tasks/cpu-serial-vs-tree-reduction-critical-path/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-serial-vs-tree-reduction-critical-path/meta.json +22 -0
- mlsys/tasks/cpu-serial-vs-tree-reduction-critical-path/solution_ref.py +29 -0
- mlsys/tasks/cpu-serial-vs-tree-reduction-critical-path/starter.py +3 -0
- mlsys/tasks/cpu-serial-vs-tree-reduction-critical-path/task.md +62 -0
- mlsys/tasks/cpu-shard-embedding-table-across-numa-nodes/check.py +45 -0
- mlsys/tasks/cpu-shard-embedding-table-across-numa-nodes/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-shard-embedding-table-across-numa-nodes/meta.json +22 -0
- mlsys/tasks/cpu-shard-embedding-table-across-numa-nodes/solution_ref.py +11 -0
- mlsys/tasks/cpu-shard-embedding-table-across-numa-nodes/starter.py +3 -0
- mlsys/tasks/cpu-shard-embedding-table-across-numa-nodes/task.md +58 -0
- mlsys/tasks/cpu-sharded-histogram-invalidation-budget-token-counting/main.cpp +81 -0
- mlsys/tasks/cpu-sharded-histogram-invalidation-budget-token-counting/meta.json +18 -0
- mlsys/tasks/cpu-sharded-histogram-invalidation-budget-token-counting/ref.cpp +6 -0
- mlsys/tasks/cpu-sharded-histogram-invalidation-budget-token-counting/sol.hpp +32 -0
- mlsys/tasks/cpu-sharded-histogram-invalidation-budget-token-counting/starter.cpp +6 -0
- mlsys/tasks/cpu-sharded-histogram-invalidation-budget-token-counting/task.md +84 -0
- mlsys/tasks/cpu-simd-lane-utilization-for-a-masked-op/main.cpp +20 -0
- mlsys/tasks/cpu-simd-lane-utilization-for-a-masked-op/meta.json +13 -0
- mlsys/tasks/cpu-simd-lane-utilization-for-a-masked-op/ref.cpp +15 -0
- mlsys/tasks/cpu-simd-lane-utilization-for-a-masked-op/sol.hpp +22 -0
- mlsys/tasks/cpu-simd-lane-utilization-for-a-masked-op/starter.cpp +10 -0
- mlsys/tasks/cpu-simd-lane-utilization-for-a-masked-op/task.md +39 -0
- mlsys/tasks/cpu-simd-load-line-straddle-labels/main.cpp +31 -0
- mlsys/tasks/cpu-simd-load-line-straddle-labels/meta.json +22 -0
- mlsys/tasks/cpu-simd-load-line-straddle-labels/ref.cpp +6 -0
- mlsys/tasks/cpu-simd-load-line-straddle-labels/sol.hpp +19 -0
- mlsys/tasks/cpu-simd-load-line-straddle-labels/starter.cpp +9 -0
- mlsys/tasks/cpu-simd-load-line-straddle-labels/task.md +62 -0
- mlsys/tasks/cpu-single-field-aos-vs-soa-line-fetches/main.cpp +62 -0
- mlsys/tasks/cpu-single-field-aos-vs-soa-line-fetches/meta.json +13 -0
- mlsys/tasks/cpu-single-field-aos-vs-soa-line-fetches/ref.cpp +7 -0
- mlsys/tasks/cpu-single-field-aos-vs-soa-line-fetches/sol.hpp +24 -0
- mlsys/tasks/cpu-single-field-aos-vs-soa-line-fetches/starter.cpp +8 -0
- mlsys/tasks/cpu-single-field-aos-vs-soa-line-fetches/task.md +50 -0
- mlsys/tasks/cpu-single-level-lru-cache-simulator/main.cpp +41 -0
- mlsys/tasks/cpu-single-level-lru-cache-simulator/meta.json +9 -0
- mlsys/tasks/cpu-single-level-lru-cache-simulator/ref.cpp +37 -0
- mlsys/tasks/cpu-single-level-lru-cache-simulator/sol.hpp +27 -0
- mlsys/tasks/cpu-single-level-lru-cache-simulator/starter.cpp +10 -0
- mlsys/tasks/cpu-single-level-lru-cache-simulator/task.md +51 -0
- mlsys/tasks/cpu-size-sliding-window-attention-to-fit-l2/main.cpp +24 -0
- mlsys/tasks/cpu-size-sliding-window-attention-to-fit-l2/meta.json +15 -0
- mlsys/tasks/cpu-size-sliding-window-attention-to-fit-l2/ref.cpp +15 -0
- mlsys/tasks/cpu-size-sliding-window-attention-to-fit-l2/sol.hpp +28 -0
- mlsys/tasks/cpu-size-sliding-window-attention-to-fit-l2/starter.cpp +17 -0
- mlsys/tasks/cpu-size-sliding-window-attention-to-fit-l2/task.md +47 -0
- mlsys/tasks/cpu-slab-internal-fragmentation-ratio/main.cpp +15 -0
- mlsys/tasks/cpu-slab-internal-fragmentation-ratio/meta.json +13 -0
- mlsys/tasks/cpu-slab-internal-fragmentation-ratio/ref.cpp +17 -0
- mlsys/tasks/cpu-slab-internal-fragmentation-ratio/sol.hpp +14 -0
- mlsys/tasks/cpu-slab-internal-fragmentation-ratio/starter.cpp +9 -0
- mlsys/tasks/cpu-slab-internal-fragmentation-ratio/task.md +38 -0
- mlsys/tasks/cpu-software-pipelined-producer-consumer-stalls/main.cpp +21 -0
- mlsys/tasks/cpu-software-pipelined-producer-consumer-stalls/meta.json +22 -0
- mlsys/tasks/cpu-software-pipelined-producer-consumer-stalls/ref.cpp +8 -0
- mlsys/tasks/cpu-software-pipelined-producer-consumer-stalls/sol.hpp +32 -0
- mlsys/tasks/cpu-software-pipelined-producer-consumer-stalls/starter.cpp +8 -0
- mlsys/tasks/cpu-software-pipelined-producer-consumer-stalls/task.md +65 -0
- mlsys/tasks/cpu-sort-indices-to-improve-gather-locality/main.cpp +78 -0
- mlsys/tasks/cpu-sort-indices-to-improve-gather-locality/meta.json +13 -0
- mlsys/tasks/cpu-sort-indices-to-improve-gather-locality/ref.cpp +20 -0
- mlsys/tasks/cpu-sort-indices-to-improve-gather-locality/sol.hpp +24 -0
- mlsys/tasks/cpu-sort-indices-to-improve-gather-locality/starter.cpp +10 -0
- mlsys/tasks/cpu-sort-indices-to-improve-gather-locality/task.md +60 -0
- mlsys/tasks/cpu-sorted-vs-unsorted-branch-mispredicts-the-classic/check.py +79 -0
- mlsys/tasks/cpu-sorted-vs-unsorted-branch-mispredicts-the-classic/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-sorted-vs-unsorted-branch-mispredicts-the-classic/meta.json +22 -0
- mlsys/tasks/cpu-sorted-vs-unsorted-branch-mispredicts-the-classic/solution_ref.py +20 -0
- mlsys/tasks/cpu-sorted-vs-unsorted-branch-mispredicts-the-classic/starter.py +3 -0
- mlsys/tasks/cpu-sorted-vs-unsorted-branch-mispredicts-the-classic/task.md +76 -0
- mlsys/tasks/cpu-stable-vs-naive-softmax-kl-to-reference/check.py +78 -0
- mlsys/tasks/cpu-stable-vs-naive-softmax-kl-to-reference/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-stable-vs-naive-softmax-kl-to-reference/meta.json +27 -0
- mlsys/tasks/cpu-stable-vs-naive-softmax-kl-to-reference/solution_ref.py +19 -0
- mlsys/tasks/cpu-stable-vs-naive-softmax-kl-to-reference/starter.py +6 -0
- mlsys/tasks/cpu-stable-vs-naive-softmax-kl-to-reference/task.md +61 -0
- mlsys/tasks/cpu-steady-state-mispredict-rate-for-p-biased-branch/main.cpp +61 -0
- mlsys/tasks/cpu-steady-state-mispredict-rate-for-p-biased-branch/meta.json +9 -0
- mlsys/tasks/cpu-steady-state-mispredict-rate-for-p-biased-branch/ref.cpp +6 -0
- mlsys/tasks/cpu-steady-state-mispredict-rate-for-p-biased-branch/sol.hpp +33 -0
- mlsys/tasks/cpu-steady-state-mispredict-rate-for-p-biased-branch/starter.cpp +7 -0
- mlsys/tasks/cpu-steady-state-mispredict-rate-for-p-biased-branch/task.md +76 -0
- mlsys/tasks/cpu-stride-arithmetic-address-line-count/main.cpp +36 -0
- mlsys/tasks/cpu-stride-arithmetic-address-line-count/meta.json +17 -0
- mlsys/tasks/cpu-stride-arithmetic-address-line-count/ref.cpp +31 -0
- mlsys/tasks/cpu-stride-arithmetic-address-line-count/sol.hpp +24 -0
- mlsys/tasks/cpu-stride-arithmetic-address-line-count/starter.cpp +19 -0
- mlsys/tasks/cpu-stride-arithmetic-address-line-count/task.md +70 -0
- mlsys/tasks/cpu-stride-prefetcher-detect-stride-prefetched-count/main.cpp +17 -0
- mlsys/tasks/cpu-stride-prefetcher-detect-stride-prefetched-count/meta.json +13 -0
- mlsys/tasks/cpu-stride-prefetcher-detect-stride-prefetched-count/ref.cpp +28 -0
- mlsys/tasks/cpu-stride-prefetcher-detect-stride-prefetched-count/sol.hpp +24 -0
- mlsys/tasks/cpu-stride-prefetcher-detect-stride-prefetched-count/starter.cpp +10 -0
- mlsys/tasks/cpu-stride-prefetcher-detect-stride-prefetched-count/task.md +41 -0
- mlsys/tasks/cpu-struct-size-and-field-offsets/check.py +57 -0
- mlsys/tasks/cpu-struct-size-and-field-offsets/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-struct-size-and-field-offsets/meta.json +22 -0
- mlsys/tasks/cpu-struct-size-and-field-offsets/solution_ref.py +31 -0
- mlsys/tasks/cpu-struct-size-and-field-offsets/starter.py +3 -0
- mlsys/tasks/cpu-struct-size-and-field-offsets/task.md +51 -0
- mlsys/tasks/cpu-tail-masking-for-n-not-multiple-of-width/main.cpp +22 -0
- mlsys/tasks/cpu-tail-masking-for-n-not-multiple-of-width/meta.json +17 -0
- mlsys/tasks/cpu-tail-masking-for-n-not-multiple-of-width/ref.cpp +16 -0
- mlsys/tasks/cpu-tail-masking-for-n-not-multiple-of-width/sol.hpp +15 -0
- mlsys/tasks/cpu-tail-masking-for-n-not-multiple-of-width/starter.cpp +12 -0
- mlsys/tasks/cpu-tail-masking-for-n-not-multiple-of-width/task.md +63 -0
- mlsys/tasks/cpu-tile-ijk-to-hit-an-l2-miss-gate/main.cpp +62 -0
- mlsys/tasks/cpu-tile-ijk-to-hit-an-l2-miss-gate/meta.json +15 -0
- mlsys/tasks/cpu-tile-ijk-to-hit-an-l2-miss-gate/ref.cpp +23 -0
- mlsys/tasks/cpu-tile-ijk-to-hit-an-l2-miss-gate/sol.hpp +25 -0
- mlsys/tasks/cpu-tile-ijk-to-hit-an-l2-miss-gate/starter.cpp +9 -0
- mlsys/tasks/cpu-tile-ijk-to-hit-an-l2-miss-gate/task.md +49 -0
- mlsys/tasks/cpu-tile-so-page-working-set-fits-tlb-reach/main.cpp +60 -0
- mlsys/tasks/cpu-tile-so-page-working-set-fits-tlb-reach/meta.json +13 -0
- mlsys/tasks/cpu-tile-so-page-working-set-fits-tlb-reach/ref.cpp +13 -0
- mlsys/tasks/cpu-tile-so-page-working-set-fits-tlb-reach/sol.hpp +24 -0
- mlsys/tasks/cpu-tile-so-page-working-set-fits-tlb-reach/starter.cpp +10 -0
- mlsys/tasks/cpu-tile-so-page-working-set-fits-tlb-reach/task.md +42 -0
- mlsys/tasks/cpu-tlb-miss-count-for-a-trace/check.py +44 -0
- mlsys/tasks/cpu-tlb-miss-count-for-a-trace/gen_fixtures.py +1 -0
- mlsys/tasks/cpu-tlb-miss-count-for-a-trace/meta.json +22 -0
- mlsys/tasks/cpu-tlb-miss-count-for-a-trace/solution_ref.py +2 -0
- mlsys/tasks/cpu-tlb-miss-count-for-a-trace/starter.py +3 -0
- mlsys/tasks/cpu-tlb-miss-count-for-a-trace/task.md +50 -0
- mlsys/tasks/cpu-transformer-layer-tensor-residency-budget/main.cpp +52 -0
- mlsys/tasks/cpu-transformer-layer-tensor-residency-budget/meta.json +13 -0
- mlsys/tasks/cpu-transformer-layer-tensor-residency-budget/ref.cpp +19 -0
- mlsys/tasks/cpu-transformer-layer-tensor-residency-budget/sol.hpp +28 -0
- mlsys/tasks/cpu-transformer-layer-tensor-residency-budget/starter.cpp +13 -0
- mlsys/tasks/cpu-transformer-layer-tensor-residency-budget/task.md +62 -0
- mlsys/tasks/cpu-two-level-l1-l2-tiling-per-level-misses/main.cpp +110 -0
- mlsys/tasks/cpu-two-level-l1-l2-tiling-per-level-misses/meta.json +23 -0
- mlsys/tasks/cpu-two-level-l1-l2-tiling-per-level-misses/ref.cpp +47 -0
- mlsys/tasks/cpu-two-level-l1-l2-tiling-per-level-misses/sol.hpp +51 -0
- mlsys/tasks/cpu-two-level-l1-l2-tiling-per-level-misses/starter.cpp +15 -0
- mlsys/tasks/cpu-two-level-l1-l2-tiling-per-level-misses/task.md +71 -0
- mlsys/tasks/cpu-two-pass-to-one-pass-reuse-distance-shrink/main.cpp +67 -0
- mlsys/tasks/cpu-two-pass-to-one-pass-reuse-distance-shrink/meta.json +18 -0
- mlsys/tasks/cpu-two-pass-to-one-pass-reuse-distance-shrink/ref.cpp +13 -0
- mlsys/tasks/cpu-two-pass-to-one-pass-reuse-distance-shrink/sol.hpp +23 -0
- mlsys/tasks/cpu-two-pass-to-one-pass-reuse-distance-shrink/starter.cpp +19 -0
- mlsys/tasks/cpu-two-pass-to-one-pass-reuse-distance-shrink/task.md +68 -0
- mlsys/tasks/cpu-unroll-a-loop-by-factor-u-byte-exact/main.cpp +37 -0
- mlsys/tasks/cpu-unroll-a-loop-by-factor-u-byte-exact/meta.json +9 -0
- mlsys/tasks/cpu-unroll-a-loop-by-factor-u-byte-exact/ref.cpp +10 -0
- mlsys/tasks/cpu-unroll-a-loop-by-factor-u-byte-exact/sol.hpp +18 -0
- mlsys/tasks/cpu-unroll-a-loop-by-factor-u-byte-exact/starter.cpp +10 -0
- mlsys/tasks/cpu-unroll-a-loop-by-factor-u-byte-exact/task.md +52 -0
- mlsys/tasks/cpu-unroll-factor-minimizing-overhead-register-pressure/main.cpp +19 -0
- mlsys/tasks/cpu-unroll-factor-minimizing-overhead-register-pressure/meta.json +15 -0
- mlsys/tasks/cpu-unroll-factor-minimizing-overhead-register-pressure/ref.cpp +21 -0
- mlsys/tasks/cpu-unroll-factor-minimizing-overhead-register-pressure/sol.hpp +27 -0
- mlsys/tasks/cpu-unroll-factor-minimizing-overhead-register-pressure/starter.cpp +16 -0
- mlsys/tasks/cpu-unroll-factor-minimizing-overhead-register-pressure/task.md +54 -0
- mlsys/tasks/cpu-veb-recursive-layout-vs-bfs-layout-misses/main.cpp +47 -0
- mlsys/tasks/cpu-veb-recursive-layout-vs-bfs-layout-misses/meta.json +17 -0
- mlsys/tasks/cpu-veb-recursive-layout-vs-bfs-layout-misses/ref.cpp +34 -0
- mlsys/tasks/cpu-veb-recursive-layout-vs-bfs-layout-misses/sol.hpp +20 -0
- mlsys/tasks/cpu-veb-recursive-layout-vs-bfs-layout-misses/starter.cpp +10 -0
- mlsys/tasks/cpu-veb-recursive-layout-vs-bfs-layout-misses/task.md +76 -0
- mlsys/tasks/cpu-vectorized-softmax-numerically-equivalent/main.cpp +18 -0
- mlsys/tasks/cpu-vectorized-softmax-numerically-equivalent/meta.json +17 -0
- mlsys/tasks/cpu-vectorized-softmax-numerically-equivalent/ref.cpp +19 -0
- mlsys/tasks/cpu-vectorized-softmax-numerically-equivalent/sol.hpp +18 -0
- mlsys/tasks/cpu-vectorized-softmax-numerically-equivalent/starter.cpp +7 -0
- mlsys/tasks/cpu-vectorized-softmax-numerically-equivalent/task.md +64 -0
- mlsys/tasks/cpu-verify-tiled-matmul-equals-naive/main.cpp +22 -0
- mlsys/tasks/cpu-verify-tiled-matmul-equals-naive/meta.json +13 -0
- mlsys/tasks/cpu-verify-tiled-matmul-equals-naive/ref.cpp +24 -0
- mlsys/tasks/cpu-verify-tiled-matmul-equals-naive/sol.hpp +12 -0
- mlsys/tasks/cpu-verify-tiled-matmul-equals-naive/starter.cpp +10 -0
- mlsys/tasks/cpu-verify-tiled-matmul-equals-naive/task.md +39 -0
- mlsys/tasks/cpu-working-set-curve-plateau-detection/main.cpp +42 -0
- mlsys/tasks/cpu-working-set-curve-plateau-detection/meta.json +13 -0
- mlsys/tasks/cpu-working-set-curve-plateau-detection/ref.cpp +18 -0
- mlsys/tasks/cpu-working-set-curve-plateau-detection/sol.hpp +21 -0
- mlsys/tasks/cpu-working-set-curve-plateau-detection/starter.cpp +11 -0
- mlsys/tasks/cpu-working-set-curve-plateau-detection/task.md +56 -0
- mlsys/tasks/cpu-working-set-size-of-a-loop-window/main.cpp +21 -0
- mlsys/tasks/cpu-working-set-size-of-a-loop-window/meta.json +13 -0
- mlsys/tasks/cpu-working-set-size-of-a-loop-window/ref.cpp +13 -0
- mlsys/tasks/cpu-working-set-size-of-a-loop-window/sol.hpp +23 -0
- mlsys/tasks/cpu-working-set-size-of-a-loop-window/starter.cpp +8 -0
- mlsys/tasks/cpu-working-set-size-of-a-loop-window/task.md +50 -0
- mlsys/tasks/cpu-write-combining-buffer-full-vs-partial-flushes/main.cpp +27 -0
- mlsys/tasks/cpu-write-combining-buffer-full-vs-partial-flushes/meta.json +19 -0
- mlsys/tasks/cpu-write-combining-buffer-full-vs-partial-flushes/ref.cpp +57 -0
- mlsys/tasks/cpu-write-combining-buffer-full-vs-partial-flushes/sol.hpp +20 -0
- mlsys/tasks/cpu-write-combining-buffer-full-vs-partial-flushes/starter.cpp +13 -0
- mlsys/tasks/cpu-write-combining-buffer-full-vs-partial-flushes/task.md +66 -0
- mlsys/tasks/gpu-1-padding-for-a-conflict-free-transpose-tile/check.py +65 -0
- mlsys/tasks/gpu-1-padding-for-a-conflict-free-transpose-tile/meta.json +10 -0
- mlsys/tasks/gpu-1-padding-for-a-conflict-free-transpose-tile/ref.cu +25 -0
- mlsys/tasks/gpu-1-padding-for-a-conflict-free-transpose-tile/starter.cu +16 -0
- mlsys/tasks/gpu-1-padding-for-a-conflict-free-transpose-tile/task.md +54 -0
- mlsys/tasks/gpu-1-padding-to-remove-transpose-bank-conflicts/check.py +84 -0
- mlsys/tasks/gpu-1-padding-to-remove-transpose-bank-conflicts/meta.json +28 -0
- mlsys/tasks/gpu-1-padding-to-remove-transpose-bank-conflicts/ref.cu +18 -0
- mlsys/tasks/gpu-1-padding-to-remove-transpose-bank-conflicts/starter.cu +13 -0
- mlsys/tasks/gpu-1-padding-to-remove-transpose-bank-conflicts/task.md +35 -0
- mlsys/tasks/gpu-1d-launch-index-table/check.py +32 -0
- mlsys/tasks/gpu-1d-launch-index-table/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-1d-launch-index-table/meta.json +22 -0
- mlsys/tasks/gpu-1d-launch-index-table/solution_ref.py +22 -0
- mlsys/tasks/gpu-1d-launch-index-table/starter.py +3 -0
- mlsys/tasks/gpu-1d-launch-index-table/task.md +45 -0
- mlsys/tasks/gpu-aos-vs-soa-embedding-gather-bandwidth-fraction/check.py +69 -0
- mlsys/tasks/gpu-aos-vs-soa-embedding-gather-bandwidth-fraction/meta.json +18 -0
- mlsys/tasks/gpu-aos-vs-soa-embedding-gather-bandwidth-fraction/ref.cu +15 -0
- mlsys/tasks/gpu-aos-vs-soa-embedding-gather-bandwidth-fraction/starter.cu +10 -0
- mlsys/tasks/gpu-aos-vs-soa-embedding-gather-bandwidth-fraction/task.md +56 -0
- mlsys/tasks/gpu-argmax-reduction-value-index/check.py +71 -0
- mlsys/tasks/gpu-argmax-reduction-value-index/meta.json +19 -0
- mlsys/tasks/gpu-argmax-reduction-value-index/ref.cu +31 -0
- mlsys/tasks/gpu-argmax-reduction-value-index/starter.cu +11 -0
- mlsys/tasks/gpu-argmax-reduction-value-index/task.md +68 -0
- mlsys/tasks/gpu-batched-attention-transpose-b-h-s-d-b-h-d-s/check.py +65 -0
- mlsys/tasks/gpu-batched-attention-transpose-b-h-s-d-b-h-d-s/meta.json +10 -0
- mlsys/tasks/gpu-batched-attention-transpose-b-h-s-d-b-h-d-s/ref.cu +32 -0
- mlsys/tasks/gpu-batched-attention-transpose-b-h-s-d-b-h-d-s/starter.cu +7 -0
- mlsys/tasks/gpu-batched-attention-transpose-b-h-s-d-b-h-d-s/task.md +79 -0
- mlsys/tasks/gpu-bf16-vs-fp16-dynamic-range-classification/check.py +82 -0
- mlsys/tasks/gpu-bf16-vs-fp16-dynamic-range-classification/meta.json +13 -0
- mlsys/tasks/gpu-bf16-vs-fp16-dynamic-range-classification/ref.cu +13 -0
- mlsys/tasks/gpu-bf16-vs-fp16-dynamic-range-classification/starter.cu +9 -0
- mlsys/tasks/gpu-bf16-vs-fp16-dynamic-range-classification/task.md +57 -0
- mlsys/tasks/gpu-blelloch-work-efficient-scan-up-sweep-down-sweep/check.py +62 -0
- mlsys/tasks/gpu-blelloch-work-efficient-scan-up-sweep-down-sweep/meta.json +17 -0
- mlsys/tasks/gpu-blelloch-work-efficient-scan-up-sweep-down-sweep/ref.cu +48 -0
- mlsys/tasks/gpu-blelloch-work-efficient-scan-up-sweep-down-sweep/starter.cu +20 -0
- mlsys/tasks/gpu-blelloch-work-efficient-scan-up-sweep-down-sweep/task.md +64 -0
- mlsys/tasks/gpu-block-reduction-sequential-addressing-from-scratch/check.py +63 -0
- mlsys/tasks/gpu-block-reduction-sequential-addressing-from-scratch/meta.json +28 -0
- mlsys/tasks/gpu-block-reduction-sequential-addressing-from-scratch/ref.cu +22 -0
- mlsys/tasks/gpu-block-reduction-sequential-addressing-from-scratch/starter.cu +12 -0
- mlsys/tasks/gpu-block-reduction-sequential-addressing-from-scratch/task.md +68 -0
- mlsys/tasks/gpu-blocked-attention-without-materializing-full-scores/check.py +75 -0
- mlsys/tasks/gpu-blocked-attention-without-materializing-full-scores/meta.json +9 -0
- mlsys/tasks/gpu-blocked-attention-without-materializing-full-scores/ref.cu +46 -0
- mlsys/tasks/gpu-blocked-attention-without-materializing-full-scores/starter.cu +11 -0
- mlsys/tasks/gpu-blocked-attention-without-materializing-full-scores/task.md +53 -0
- mlsys/tasks/gpu-bound-float-atomicadd-non-determinism/check.py +100 -0
- mlsys/tasks/gpu-bound-float-atomicadd-non-determinism/meta.json +16 -0
- mlsys/tasks/gpu-bound-float-atomicadd-non-determinism/ref.cu +28 -0
- mlsys/tasks/gpu-bound-float-atomicadd-non-determinism/starter.cu +12 -0
- mlsys/tasks/gpu-bound-float-atomicadd-non-determinism/task.md +74 -0
- mlsys/tasks/gpu-bound-the-spread-of-an-order-dependent-reduction/check.py +79 -0
- mlsys/tasks/gpu-bound-the-spread-of-an-order-dependent-reduction/meta.json +1 -0
- mlsys/tasks/gpu-bound-the-spread-of-an-order-dependent-reduction/ref.cu +23 -0
- mlsys/tasks/gpu-bound-the-spread-of-an-order-dependent-reduction/starter.cu +13 -0
- mlsys/tasks/gpu-bound-the-spread-of-an-order-dependent-reduction/task.md +71 -0
- mlsys/tasks/gpu-branchless-causal-mask-via-predicated-select/check.py +66 -0
- mlsys/tasks/gpu-branchless-causal-mask-via-predicated-select/meta.json +18 -0
- mlsys/tasks/gpu-branchless-causal-mask-via-predicated-select/ref.cu +14 -0
- mlsys/tasks/gpu-branchless-causal-mask-via-predicated-select/starter.cu +16 -0
- mlsys/tasks/gpu-branchless-causal-mask-via-predicated-select/task.md +64 -0
- mlsys/tasks/gpu-broadcast-shape-compatibility-classifier/check.py +54 -0
- mlsys/tasks/gpu-broadcast-shape-compatibility-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-broadcast-shape-compatibility-classifier/meta.json +16 -0
- mlsys/tasks/gpu-broadcast-shape-compatibility-classifier/solution_ref.py +21 -0
- mlsys/tasks/gpu-broadcast-shape-compatibility-classifier/starter.py +3 -0
- mlsys/tasks/gpu-broadcast-shape-compatibility-classifier/task.md +53 -0
- mlsys/tasks/gpu-broadcasting-add-from-scratch-manual-index-math/check.py +65 -0
- mlsys/tasks/gpu-broadcasting-add-from-scratch-manual-index-math/meta.json +18 -0
- mlsys/tasks/gpu-broadcasting-add-from-scratch-manual-index-math/ref.cu +13 -0
- mlsys/tasks/gpu-broadcasting-add-from-scratch-manual-index-math/starter.cu +9 -0
- mlsys/tasks/gpu-broadcasting-add-from-scratch-manual-index-math/task.md +50 -0
- mlsys/tasks/gpu-byte-accounting-of-an-attention-tile-through-the-hierarchy/check.py +67 -0
- mlsys/tasks/gpu-byte-accounting-of-an-attention-tile-through-the-hierarchy/meta.json +11 -0
- mlsys/tasks/gpu-byte-accounting-of-an-attention-tile-through-the-hierarchy/ref.cu +32 -0
- mlsys/tasks/gpu-byte-accounting-of-an-attention-tile-through-the-hierarchy/starter.cu +9 -0
- mlsys/tasks/gpu-byte-accounting-of-an-attention-tile-through-the-hierarchy/task.md +75 -0
- mlsys/tasks/gpu-byte-exact-int4-packing-round-trip/check.py +69 -0
- mlsys/tasks/gpu-byte-exact-int4-packing-round-trip/meta.json +15 -0
- mlsys/tasks/gpu-byte-exact-int4-packing-round-trip/ref.cu +20 -0
- mlsys/tasks/gpu-byte-exact-int4-packing-round-trip/starter.cu +8 -0
- mlsys/tasks/gpu-byte-exact-int4-packing-round-trip/task.md +47 -0
- mlsys/tasks/gpu-causal-masked-flash-step-predicated/check.py +77 -0
- mlsys/tasks/gpu-causal-masked-flash-step-predicated/meta.json +26 -0
- mlsys/tasks/gpu-causal-masked-flash-step-predicated/ref.cu +47 -0
- mlsys/tasks/gpu-causal-masked-flash-step-predicated/starter.cu +17 -0
- mlsys/tasks/gpu-causal-masked-flash-step-predicated/task.md +65 -0
- mlsys/tasks/gpu-choose-tile-size-to-minimize-modeled-dram-traffic/check.py +97 -0
- mlsys/tasks/gpu-choose-tile-size-to-minimize-modeled-dram-traffic/meta.json +20 -0
- mlsys/tasks/gpu-choose-tile-size-to-minimize-modeled-dram-traffic/ref.cu +30 -0
- mlsys/tasks/gpu-choose-tile-size-to-minimize-modeled-dram-traffic/starter.cu +15 -0
- mlsys/tasks/gpu-choose-tile-size-to-minimize-modeled-dram-traffic/task.md +63 -0
- mlsys/tasks/gpu-classify-atomics-two-pass-embarrassingly-parallel/check.py +72 -0
- mlsys/tasks/gpu-classify-atomics-two-pass-embarrassingly-parallel/meta.json +22 -0
- mlsys/tasks/gpu-classify-atomics-two-pass-embarrassingly-parallel/ref.cu +19 -0
- mlsys/tasks/gpu-classify-atomics-two-pass-embarrassingly-parallel/starter.cu +12 -0
- mlsys/tasks/gpu-classify-atomics-two-pass-embarrassingly-parallel/task.md +63 -0
- mlsys/tasks/gpu-classify-conflict-free-broadcast-n-way/check.py +75 -0
- mlsys/tasks/gpu-classify-conflict-free-broadcast-n-way/meta.json +20 -0
- mlsys/tasks/gpu-classify-conflict-free-broadcast-n-way/ref.cu +26 -0
- mlsys/tasks/gpu-classify-conflict-free-broadcast-n-way/starter.cu +12 -0
- mlsys/tasks/gpu-classify-conflict-free-broadcast-n-way/task.md +69 -0
- mlsys/tasks/gpu-classify-memory-bound-vs-compute-bound/check.py +62 -0
- mlsys/tasks/gpu-classify-memory-bound-vs-compute-bound/meta.json +1 -0
- mlsys/tasks/gpu-classify-memory-bound-vs-compute-bound/ref.cu +9 -0
- mlsys/tasks/gpu-classify-memory-bound-vs-compute-bound/starter.cu +7 -0
- mlsys/tasks/gpu-classify-memory-bound-vs-compute-bound/task.md +51 -0
- mlsys/tasks/gpu-coalesced-kv-cache-read-layout-design/check.py +66 -0
- mlsys/tasks/gpu-coalesced-kv-cache-read-layout-design/meta.json +18 -0
- mlsys/tasks/gpu-coalesced-kv-cache-read-layout-design/ref.cu +20 -0
- mlsys/tasks/gpu-coalesced-kv-cache-read-layout-design/starter.cu +17 -0
- mlsys/tasks/gpu-coalesced-kv-cache-read-layout-design/task.md +76 -0
- mlsys/tasks/gpu-coalesced-vs-strided-access/check.py +25 -0
- mlsys/tasks/gpu-coalesced-vs-strided-access/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-coalesced-vs-strided-access/meta.json +22 -0
- mlsys/tasks/gpu-coalesced-vs-strided-access/solution_ref.py +11 -0
- mlsys/tasks/gpu-coalesced-vs-strided-access/starter.py +2 -0
- mlsys/tasks/gpu-coalesced-vs-strided-access/task.md +54 -0
- mlsys/tasks/gpu-compare-fp32-vs-tf32-vs-bf16-matmul-accuracy/check.py +86 -0
- mlsys/tasks/gpu-compare-fp32-vs-tf32-vs-bf16-matmul-accuracy/meta.json +19 -0
- mlsys/tasks/gpu-compare-fp32-vs-tf32-vs-bf16-matmul-accuracy/ref.cu +36 -0
- mlsys/tasks/gpu-compare-fp32-vs-tf32-vs-bf16-matmul-accuracy/starter.cu +14 -0
- mlsys/tasks/gpu-compare-fp32-vs-tf32-vs-bf16-matmul-accuracy/task.md +71 -0
- mlsys/tasks/gpu-compute-arithmetic-intensity-of-an-op/check.py +27 -0
- mlsys/tasks/gpu-compute-arithmetic-intensity-of-an-op/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-compute-arithmetic-intensity-of-an-op/meta.json +22 -0
- mlsys/tasks/gpu-compute-arithmetic-intensity-of-an-op/solution_ref.py +8 -0
- mlsys/tasks/gpu-compute-arithmetic-intensity-of-an-op/starter.py +3 -0
- mlsys/tasks/gpu-compute-arithmetic-intensity-of-an-op/task.md +46 -0
- mlsys/tasks/gpu-compute-shared-memory-bank-conflict-degree/check.py +83 -0
- mlsys/tasks/gpu-compute-shared-memory-bank-conflict-degree/meta.json +18 -0
- mlsys/tasks/gpu-compute-shared-memory-bank-conflict-degree/ref.cu +15 -0
- mlsys/tasks/gpu-compute-shared-memory-bank-conflict-degree/starter.cu +11 -0
- mlsys/tasks/gpu-compute-shared-memory-bank-conflict-degree/task.md +53 -0
- mlsys/tasks/gpu-compute-theoretical-occupancy/check.py +62 -0
- mlsys/tasks/gpu-compute-theoretical-occupancy/meta.json +10 -0
- mlsys/tasks/gpu-compute-theoretical-occupancy/solution_ref.py +35 -0
- mlsys/tasks/gpu-compute-theoretical-occupancy/starter.py +11 -0
- mlsys/tasks/gpu-compute-theoretical-occupancy/task.md +95 -0
- mlsys/tasks/gpu-compute-wave-quantization-tail-effect/check.py +77 -0
- mlsys/tasks/gpu-compute-wave-quantization-tail-effect/meta.json +15 -0
- mlsys/tasks/gpu-compute-wave-quantization-tail-effect/ref.cu +11 -0
- mlsys/tasks/gpu-compute-wave-quantization-tail-effect/starter.cu +5 -0
- mlsys/tasks/gpu-compute-wave-quantization-tail-effect/task.md +63 -0
- mlsys/tasks/gpu-conflict-free-double-buffered-gemm-tile/check.py +108 -0
- mlsys/tasks/gpu-conflict-free-double-buffered-gemm-tile/meta.json +29 -0
- mlsys/tasks/gpu-conflict-free-double-buffered-gemm-tile/ref.cu +50 -0
- mlsys/tasks/gpu-conflict-free-double-buffered-gemm-tile/starter.cu +20 -0
- mlsys/tasks/gpu-conflict-free-double-buffered-gemm-tile/task.md +84 -0
- mlsys/tasks/gpu-conflict-free-shared-staging-for-a-gemm-tile/check.py +90 -0
- mlsys/tasks/gpu-conflict-free-shared-staging-for-a-gemm-tile/meta.json +1 -0
- mlsys/tasks/gpu-conflict-free-shared-staging-for-a-gemm-tile/ref.cu +27 -0
- mlsys/tasks/gpu-conflict-free-shared-staging-for-a-gemm-tile/starter.cu +22 -0
- mlsys/tasks/gpu-conflict-free-shared-staging-for-a-gemm-tile/task.md +67 -0
- mlsys/tasks/gpu-conflict-free-swizzle-index-function/check.py +64 -0
- mlsys/tasks/gpu-conflict-free-swizzle-index-function/meta.json +16 -0
- mlsys/tasks/gpu-conflict-free-swizzle-index-function/ref.cu +21 -0
- mlsys/tasks/gpu-conflict-free-swizzle-index-function/starter.cu +11 -0
- mlsys/tasks/gpu-conflict-free-swizzle-index-function/task.md +71 -0
- mlsys/tasks/gpu-count-32-128-byte-transactions-for-a-warp-access/check.py +42 -0
- mlsys/tasks/gpu-count-32-128-byte-transactions-for-a-warp-access/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-count-32-128-byte-transactions-for-a-warp-access/meta.json +16 -0
- mlsys/tasks/gpu-count-32-128-byte-transactions-for-a-warp-access/solution_ref.py +12 -0
- mlsys/tasks/gpu-count-32-128-byte-transactions-for-a-warp-access/starter.py +3 -0
- mlsys/tasks/gpu-count-32-128-byte-transactions-for-a-warp-access/task.md +39 -0
- mlsys/tasks/gpu-count-adds-hillis-steele-vs-blelloch/check.py +73 -0
- mlsys/tasks/gpu-count-adds-hillis-steele-vs-blelloch/meta.json +19 -0
- mlsys/tasks/gpu-count-adds-hillis-steele-vs-blelloch/ref.cu +73 -0
- mlsys/tasks/gpu-count-adds-hillis-steele-vs-blelloch/starter.cu +18 -0
- mlsys/tasks/gpu-count-adds-hillis-steele-vs-blelloch/task.md +76 -0
- mlsys/tasks/gpu-count-global-round-trips-saved-by-fusion/check.py +65 -0
- mlsys/tasks/gpu-count-global-round-trips-saved-by-fusion/meta.json +18 -0
- mlsys/tasks/gpu-count-global-round-trips-saved-by-fusion/ref.cu +11 -0
- mlsys/tasks/gpu-count-global-round-trips-saved-by-fusion/starter.cu +8 -0
- mlsys/tasks/gpu-count-global-round-trips-saved-by-fusion/task.md +53 -0
- mlsys/tasks/gpu-count-syncs-active-threads-per-step-1024-thread-reduce/check.py +79 -0
- mlsys/tasks/gpu-count-syncs-active-threads-per-step-1024-thread-reduce/meta.json +16 -0
- mlsys/tasks/gpu-count-syncs-active-threads-per-step-1024-thread-reduce/ref.cu +20 -0
- mlsys/tasks/gpu-count-syncs-active-threads-per-step-1024-thread-reduce/starter.cu +12 -0
- mlsys/tasks/gpu-count-syncs-active-threads-per-step-1024-thread-reduce/task.md +77 -0
- mlsys/tasks/gpu-counter-based-philox-style-rng-from-scratch/check.py +73 -0
- mlsys/tasks/gpu-counter-based-philox-style-rng-from-scratch/meta.json +15 -0
- mlsys/tasks/gpu-counter-based-philox-style-rng-from-scratch/ref.cu +20 -0
- mlsys/tasks/gpu-counter-based-philox-style-rng-from-scratch/starter.cu +9 -0
- mlsys/tasks/gpu-counter-based-philox-style-rng-from-scratch/task.md +48 -0
- mlsys/tasks/gpu-cut-registers-to-lift-occupancy-past-a-target/check.py +105 -0
- mlsys/tasks/gpu-cut-registers-to-lift-occupancy-past-a-target/meta.json +19 -0
- mlsys/tasks/gpu-cut-registers-to-lift-occupancy-past-a-target/ref.cu +15 -0
- mlsys/tasks/gpu-cut-registers-to-lift-occupancy-past-a-target/starter.cu +19 -0
- mlsys/tasks/gpu-cut-registers-to-lift-occupancy-past-a-target/task.md +66 -0
- mlsys/tasks/gpu-decide-the-fusion-boundary-when-not-to-fuse/check.py +96 -0
- mlsys/tasks/gpu-decide-the-fusion-boundary-when-not-to-fuse/meta.json +1 -0
- mlsys/tasks/gpu-decide-the-fusion-boundary-when-not-to-fuse/ref.cu +19 -0
- mlsys/tasks/gpu-decide-the-fusion-boundary-when-not-to-fuse/starter.cu +17 -0
- mlsys/tasks/gpu-decide-the-fusion-boundary-when-not-to-fuse/task.md +70 -0
- mlsys/tasks/gpu-dequant-fused-kernel-load-int8-dequant-in-register-accumulate/check.py +70 -0
- mlsys/tasks/gpu-dequant-fused-kernel-load-int8-dequant-in-register-accumulate/meta.json +11 -0
- mlsys/tasks/gpu-dequant-fused-kernel-load-int8-dequant-in-register-accumulate/ref.cu +28 -0
- mlsys/tasks/gpu-dequant-fused-kernel-load-int8-dequant-in-register-accumulate/starter.cu +9 -0
- mlsys/tasks/gpu-dequant-fused-kernel-load-int8-dequant-in-register-accumulate/task.md +76 -0
- mlsys/tasks/gpu-derive-flash-tile-sizes-from-the-sram-budget/check.py +66 -0
- mlsys/tasks/gpu-derive-flash-tile-sizes-from-the-sram-budget/meta.json +13 -0
- mlsys/tasks/gpu-derive-flash-tile-sizes-from-the-sram-budget/ref.cu +18 -0
- mlsys/tasks/gpu-derive-flash-tile-sizes-from-the-sram-budget/starter.cu +9 -0
- mlsys/tasks/gpu-derive-flash-tile-sizes-from-the-sram-budget/task.md +56 -0
- mlsys/tasks/gpu-derive-pipeline-stage-count-to-hide-latency/check.py +66 -0
- mlsys/tasks/gpu-derive-pipeline-stage-count-to-hide-latency/meta.json +15 -0
- mlsys/tasks/gpu-derive-pipeline-stage-count-to-hide-latency/ref.cu +9 -0
- mlsys/tasks/gpu-derive-pipeline-stage-count-to-hide-latency/starter.cu +6 -0
- mlsys/tasks/gpu-derive-pipeline-stage-count-to-hide-latency/task.md +46 -0
- mlsys/tasks/gpu-derive-the-rescale-factor-when-the-max-updates/check.py +64 -0
- mlsys/tasks/gpu-derive-the-rescale-factor-when-the-max-updates/meta.json +18 -0
- mlsys/tasks/gpu-derive-the-rescale-factor-when-the-max-updates/ref.cu +17 -0
- mlsys/tasks/gpu-derive-the-rescale-factor-when-the-max-updates/starter.cu +12 -0
- mlsys/tasks/gpu-derive-the-rescale-factor-when-the-max-updates/task.md +67 -0
- mlsys/tasks/gpu-deterministic-dropout-under-backward-recompute/check.py +86 -0
- mlsys/tasks/gpu-deterministic-dropout-under-backward-recompute/meta.json +15 -0
- mlsys/tasks/gpu-deterministic-dropout-under-backward-recompute/ref.cu +26 -0
- mlsys/tasks/gpu-deterministic-dropout-under-backward-recompute/starter.cu +13 -0
- mlsys/tasks/gpu-deterministic-dropout-under-backward-recompute/task.md +54 -0
- mlsys/tasks/gpu-diagnose-and-eliminate-a-register-spill/check.py +65 -0
- mlsys/tasks/gpu-diagnose-and-eliminate-a-register-spill/meta.json +16 -0
- mlsys/tasks/gpu-diagnose-and-eliminate-a-register-spill/ref.cu +17 -0
- mlsys/tasks/gpu-diagnose-and-eliminate-a-register-spill/starter.cu +20 -0
- mlsys/tasks/gpu-diagnose-and-eliminate-a-register-spill/task.md +62 -0
- mlsys/tasks/gpu-double-buffered-tiled-loop-numpy-model/check.py +97 -0
- mlsys/tasks/gpu-double-buffered-tiled-loop-numpy-model/meta.json +1 -0
- mlsys/tasks/gpu-double-buffered-tiled-loop-numpy-model/ref.cu +35 -0
- mlsys/tasks/gpu-double-buffered-tiled-loop-numpy-model/starter.cu +31 -0
- mlsys/tasks/gpu-double-buffered-tiled-loop-numpy-model/task.md +70 -0
- mlsys/tasks/gpu-dram-bytes-tiled-vs-untiled-matmul/check.py +107 -0
- mlsys/tasks/gpu-dram-bytes-tiled-vs-untiled-matmul/meta.json +18 -0
- mlsys/tasks/gpu-dram-bytes-tiled-vs-untiled-matmul/ref.cu +46 -0
- mlsys/tasks/gpu-dram-bytes-tiled-vs-untiled-matmul/starter.cu +30 -0
- mlsys/tasks/gpu-dram-bytes-tiled-vs-untiled-matmul/task.md +75 -0
- mlsys/tasks/gpu-evolve-naive-reduction-to-conflict-free-first-add-on-load-shuffle-tail/check.py +62 -0
- mlsys/tasks/gpu-evolve-naive-reduction-to-conflict-free-first-add-on-load-shuffle-tail/meta.json +20 -0
- mlsys/tasks/gpu-evolve-naive-reduction-to-conflict-free-first-add-on-load-shuffle-tail/ref.cu +36 -0
- mlsys/tasks/gpu-evolve-naive-reduction-to-conflict-free-first-add-on-load-shuffle-tail/starter.cu +25 -0
- mlsys/tasks/gpu-evolve-naive-reduction-to-conflict-free-first-add-on-load-shuffle-tail/task.md +70 -0
- mlsys/tasks/gpu-ex-cuda-coalesced-scale/check.py +62 -0
- mlsys/tasks/gpu-ex-cuda-coalesced-scale/meta.json +1 -0
- mlsys/tasks/gpu-ex-cuda-coalesced-scale/ref.cu +10 -0
- mlsys/tasks/gpu-ex-cuda-coalesced-scale/starter.cu +7 -0
- mlsys/tasks/gpu-ex-cuda-coalesced-scale/task.md +55 -0
- mlsys/tasks/gpu-find-the-ridge-point-of-a-device/check.py +66 -0
- mlsys/tasks/gpu-find-the-ridge-point-of-a-device/meta.json +15 -0
- mlsys/tasks/gpu-find-the-ridge-point-of-a-device/ref.cu +7 -0
- mlsys/tasks/gpu-find-the-ridge-point-of-a-device/starter.cu +5 -0
- mlsys/tasks/gpu-find-the-ridge-point-of-a-device/task.md +40 -0
- mlsys/tasks/gpu-fix-a-flash-kernel-that-mis-merges-block-statistics/check.py +81 -0
- mlsys/tasks/gpu-fix-a-flash-kernel-that-mis-merges-block-statistics/meta.json +23 -0
- mlsys/tasks/gpu-fix-a-flash-kernel-that-mis-merges-block-statistics/ref.cu +63 -0
- mlsys/tasks/gpu-fix-a-flash-kernel-that-mis-merges-block-statistics/starter.cu +62 -0
- mlsys/tasks/gpu-fix-a-flash-kernel-that-mis-merges-block-statistics/task.md +62 -0
- mlsys/tasks/gpu-fix-a-non-atomic-read-modify-write-race/check.py +58 -0
- mlsys/tasks/gpu-fix-a-non-atomic-read-modify-write-race/meta.json +23 -0
- mlsys/tasks/gpu-fix-a-non-atomic-read-modify-write-race/ref.cu +23 -0
- mlsys/tasks/gpu-fix-a-non-atomic-read-modify-write-race/starter.cu +29 -0
- mlsys/tasks/gpu-fix-a-non-atomic-read-modify-write-race/task.md +60 -0
- mlsys/tasks/gpu-fix-a-pipeline-missing-the-final-drain/check.py +60 -0
- mlsys/tasks/gpu-fix-a-pipeline-missing-the-final-drain/meta.json +13 -0
- mlsys/tasks/gpu-fix-a-pipeline-missing-the-final-drain/ref.cu +21 -0
- mlsys/tasks/gpu-fix-a-pipeline-missing-the-final-drain/starter.cu +22 -0
- mlsys/tasks/gpu-fix-a-pipeline-missing-the-final-drain/task.md +54 -0
- mlsys/tasks/gpu-fix-a-reduction-with-2-way-then-4-way-conflicts/check.py +64 -0
- mlsys/tasks/gpu-fix-a-reduction-with-2-way-then-4-way-conflicts/meta.json +18 -0
- mlsys/tasks/gpu-fix-a-reduction-with-2-way-then-4-way-conflicts/ref.cu +21 -0
- mlsys/tasks/gpu-fix-a-reduction-with-2-way-then-4-way-conflicts/starter.cu +24 -0
- mlsys/tasks/gpu-fix-a-reduction-with-2-way-then-4-way-conflicts/task.md +46 -0
- mlsys/tasks/gpu-fix-a-reduction-with-a-missing-syncthreads/check.py +65 -0
- mlsys/tasks/gpu-fix-a-reduction-with-a-missing-syncthreads/meta.json +9 -0
- mlsys/tasks/gpu-fix-a-reduction-with-a-missing-syncthreads/ref.cu +23 -0
- mlsys/tasks/gpu-fix-a-reduction-with-a-missing-syncthreads/starter.cu +23 -0
- mlsys/tasks/gpu-fix-a-reduction-with-a-missing-syncthreads/task.md +78 -0
- mlsys/tasks/gpu-fix-a-transpose-that-writes-uncoalesced/check.py +61 -0
- mlsys/tasks/gpu-fix-a-transpose-that-writes-uncoalesced/meta.json +16 -0
- mlsys/tasks/gpu-fix-a-transpose-that-writes-uncoalesced/ref.cu +19 -0
- mlsys/tasks/gpu-fix-a-transpose-that-writes-uncoalesced/starter.cu +13 -0
- mlsys/tasks/gpu-fix-a-transpose-that-writes-uncoalesced/task.md +63 -0
- mlsys/tasks/gpu-fix-a-triton-kernel-with-a-wrong-tail-mask/check.py +73 -0
- mlsys/tasks/gpu-fix-a-triton-kernel-with-a-wrong-tail-mask/meta.json +1 -0
- mlsys/tasks/gpu-fix-a-triton-kernel-with-a-wrong-tail-mask/ref.cu +11 -0
- mlsys/tasks/gpu-fix-a-triton-kernel-with-a-wrong-tail-mask/starter.cu +14 -0
- mlsys/tasks/gpu-fix-a-triton-kernel-with-a-wrong-tail-mask/task.md +52 -0
- mlsys/tasks/gpu-fix-boundary-handling-for-non-multiple-of-tile-dims/check.py +76 -0
- mlsys/tasks/gpu-fix-boundary-handling-for-non-multiple-of-tile-dims/meta.json +23 -0
- mlsys/tasks/gpu-fix-boundary-handling-for-non-multiple-of-tile-dims/ref.cu +56 -0
- mlsys/tasks/gpu-fix-boundary-handling-for-non-multiple-of-tile-dims/starter.cu +37 -0
- mlsys/tasks/gpu-fix-boundary-handling-for-non-multiple-of-tile-dims/task.md +59 -0
- mlsys/tasks/gpu-fix-catastrophic-cancellation-in-variance/check.py +64 -0
- mlsys/tasks/gpu-fix-catastrophic-cancellation-in-variance/meta.json +15 -0
- mlsys/tasks/gpu-fix-catastrophic-cancellation-in-variance/ref.cu +31 -0
- mlsys/tasks/gpu-fix-catastrophic-cancellation-in-variance/starter.cu +27 -0
- mlsys/tasks/gpu-fix-catastrophic-cancellation-in-variance/task.md +49 -0
- mlsys/tasks/gpu-fix-grid-stride-loop-that-drops-the-tail/check.py +61 -0
- mlsys/tasks/gpu-fix-grid-stride-loop-that-drops-the-tail/meta.json +17 -0
- mlsys/tasks/gpu-fix-grid-stride-loop-that-drops-the-tail/ref.cu +12 -0
- mlsys/tasks/gpu-fix-grid-stride-loop-that-drops-the-tail/starter.cu +10 -0
- mlsys/tasks/gpu-fix-grid-stride-loop-that-drops-the-tail/task.md +55 -0
- mlsys/tasks/gpu-fix-kernel-relying-on-removed-reconvergence-guarantee/check.py +72 -0
- mlsys/tasks/gpu-fix-kernel-relying-on-removed-reconvergence-guarantee/meta.json +9 -0
- mlsys/tasks/gpu-fix-kernel-relying-on-removed-reconvergence-guarantee/ref.cu +17 -0
- mlsys/tasks/gpu-fix-kernel-relying-on-removed-reconvergence-guarantee/starter.cu +21 -0
- mlsys/tasks/gpu-fix-kernel-relying-on-removed-reconvergence-guarantee/task.md +62 -0
- mlsys/tasks/gpu-fix-online-softmax-that-forgets-to-rescale-the-running-sum/check.py +64 -0
- mlsys/tasks/gpu-fix-online-softmax-that-forgets-to-rescale-the-running-sum/meta.json +17 -0
- mlsys/tasks/gpu-fix-online-softmax-that-forgets-to-rescale-the-running-sum/ref.cu +29 -0
- mlsys/tasks/gpu-fix-online-softmax-that-forgets-to-rescale-the-running-sum/starter.cu +30 -0
- mlsys/tasks/gpu-fix-online-softmax-that-forgets-to-rescale-the-running-sum/task.md +64 -0
- mlsys/tasks/gpu-fix-over-coarsening-that-spills-registers/check.py +115 -0
- mlsys/tasks/gpu-fix-over-coarsening-that-spills-registers/meta.json +1 -0
- mlsys/tasks/gpu-fix-over-coarsening-that-spills-registers/ref.cu +11 -0
- mlsys/tasks/gpu-fix-over-coarsening-that-spills-registers/starter.cu +35 -0
- mlsys/tasks/gpu-fix-over-coarsening-that-spills-registers/task.md +65 -0
- mlsys/tasks/gpu-fix-per-thread-stride-array-width/check.py +64 -0
- mlsys/tasks/gpu-fix-per-thread-stride-array-width/meta.json +19 -0
- mlsys/tasks/gpu-fix-per-thread-stride-array-width/ref.cu +9 -0
- mlsys/tasks/gpu-fix-per-thread-stride-array-width/starter.cu +17 -0
- mlsys/tasks/gpu-fix-per-thread-stride-array-width/task.md +52 -0
- mlsys/tasks/gpu-fix-rng-correlated-across-threads/check.py +61 -0
- mlsys/tasks/gpu-fix-rng-correlated-across-threads/meta.json +13 -0
- mlsys/tasks/gpu-fix-rng-correlated-across-threads/ref.cu +13 -0
- mlsys/tasks/gpu-fix-rng-correlated-across-threads/starter.cu +15 -0
- mlsys/tasks/gpu-fix-rng-correlated-across-threads/task.md +58 -0
- mlsys/tasks/gpu-fix-vectorized-kernel-oob-on-non-multiple-of-4-tail/check.py +64 -0
- mlsys/tasks/gpu-fix-vectorized-kernel-oob-on-non-multiple-of-4-tail/meta.json +1 -0
- mlsys/tasks/gpu-fix-vectorized-kernel-oob-on-non-multiple-of-4-tail/ref.cu +8 -0
- mlsys/tasks/gpu-fix-vectorized-kernel-oob-on-non-multiple-of-4-tail/starter.cu +12 -0
- mlsys/tasks/gpu-fix-vectorized-kernel-oob-on-non-multiple-of-4-tail/task.md +51 -0
- mlsys/tasks/gpu-fixed-tree-reduction-vs-atomic-reduction-reproducibility/check.py +109 -0
- mlsys/tasks/gpu-fixed-tree-reduction-vs-atomic-reduction-reproducibility/meta.json +15 -0
- mlsys/tasks/gpu-fixed-tree-reduction-vs-atomic-reduction-reproducibility/ref.cu +38 -0
- mlsys/tasks/gpu-fixed-tree-reduction-vs-atomic-reduction-reproducibility/starter.cu +17 -0
- mlsys/tasks/gpu-fixed-tree-reduction-vs-atomic-reduction-reproducibility/task.md +57 -0
- mlsys/tasks/gpu-float4-vectorized-copy-in-a-load-counting-model/check.py +69 -0
- mlsys/tasks/gpu-float4-vectorized-copy-in-a-load-counting-model/meta.json +1 -0
- mlsys/tasks/gpu-float4-vectorized-copy-in-a-load-counting-model/ref.cu +29 -0
- mlsys/tasks/gpu-float4-vectorized-copy-in-a-load-counting-model/starter.cu +16 -0
- mlsys/tasks/gpu-float4-vectorized-copy-in-a-load-counting-model/task.md +57 -0
- mlsys/tasks/gpu-footprint-compare-fp16-vs-int8-vs-int4-weights/check.py +56 -0
- mlsys/tasks/gpu-footprint-compare-fp16-vs-int8-vs-int4-weights/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-footprint-compare-fp16-vs-int8-vs-int4-weights/meta.json +27 -0
- mlsys/tasks/gpu-footprint-compare-fp16-vs-int8-vs-int4-weights/solution_ref.py +39 -0
- mlsys/tasks/gpu-footprint-compare-fp16-vs-int8-vs-int4-weights/starter.py +11 -0
- mlsys/tasks/gpu-footprint-compare-fp16-vs-int8-vs-int4-weights/task.md +94 -0
- mlsys/tasks/gpu-fp16-accumulation-overflow-demonstration/check.py +71 -0
- mlsys/tasks/gpu-fp16-accumulation-overflow-demonstration/meta.json +16 -0
- mlsys/tasks/gpu-fp16-accumulation-overflow-demonstration/ref.cu +20 -0
- mlsys/tasks/gpu-fp16-accumulation-overflow-demonstration/starter.cu +7 -0
- mlsys/tasks/gpu-fp16-accumulation-overflow-demonstration/task.md +51 -0
- mlsys/tasks/gpu-fuse-bias-gelu-into-a-matmul-epilogue/check.py +76 -0
- mlsys/tasks/gpu-fuse-bias-gelu-into-a-matmul-epilogue/meta.json +11 -0
- mlsys/tasks/gpu-fuse-bias-gelu-into-a-matmul-epilogue/ref.cu +28 -0
- mlsys/tasks/gpu-fuse-bias-gelu-into-a-matmul-epilogue/starter.cu +9 -0
- mlsys/tasks/gpu-fuse-bias-gelu-into-a-matmul-epilogue/task.md +68 -0
- mlsys/tasks/gpu-fuse-elementwise-chain-add-mul-relu/check.py +67 -0
- mlsys/tasks/gpu-fuse-elementwise-chain-add-mul-relu/meta.json +2 -0
- mlsys/tasks/gpu-fuse-elementwise-chain-add-mul-relu/ref.cu +12 -0
- mlsys/tasks/gpu-fuse-elementwise-chain-add-mul-relu/starter.cu +10 -0
- mlsys/tasks/gpu-fuse-elementwise-chain-add-mul-relu/task.md +73 -0
- mlsys/tasks/gpu-fuse-layernorm-residual-add/check.py +127 -0
- mlsys/tasks/gpu-fuse-layernorm-residual-add/meta.json +29 -0
- mlsys/tasks/gpu-fuse-layernorm-residual-add/ref.cu +28 -0
- mlsys/tasks/gpu-fuse-layernorm-residual-add/starter.cu +14 -0
- mlsys/tasks/gpu-fuse-layernorm-residual-add/task.md +72 -0
- mlsys/tasks/gpu-fused-dropout-add-layernorm-training-block/check.py +83 -0
- mlsys/tasks/gpu-fused-dropout-add-layernorm-training-block/meta.json +18 -0
- mlsys/tasks/gpu-fused-dropout-add-layernorm-training-block/ref.cu +61 -0
- mlsys/tasks/gpu-fused-dropout-add-layernorm-training-block/starter.cu +21 -0
- mlsys/tasks/gpu-fused-dropout-add-layernorm-training-block/task.md +69 -0
- mlsys/tasks/gpu-fused-gelu-silu-pointwise-from-scratch/check.py +70 -0
- mlsys/tasks/gpu-fused-gelu-silu-pointwise-from-scratch/meta.json +1 -0
- mlsys/tasks/gpu-fused-gelu-silu-pointwise-from-scratch/ref.cu +21 -0
- mlsys/tasks/gpu-fused-gelu-silu-pointwise-from-scratch/starter.cu +13 -0
- mlsys/tasks/gpu-fused-gelu-silu-pointwise-from-scratch/task.md +55 -0
- mlsys/tasks/gpu-global-loads-reduced-by-register-blocking/check.py +62 -0
- mlsys/tasks/gpu-global-loads-reduced-by-register-blocking/meta.json +13 -0
- mlsys/tasks/gpu-global-loads-reduced-by-register-blocking/ref.cu +15 -0
- mlsys/tasks/gpu-global-loads-reduced-by-register-blocking/starter.cu +10 -0
- mlsys/tasks/gpu-global-loads-reduced-by-register-blocking/task.md +57 -0
- mlsys/tasks/gpu-grid-stride-loop-decoupling-grid-size-from-n/check.py +69 -0
- mlsys/tasks/gpu-grid-stride-loop-decoupling-grid-size-from-n/meta.json +1 -0
- mlsys/tasks/gpu-grid-stride-loop-decoupling-grid-size-from-n/ref.cu +15 -0
- mlsys/tasks/gpu-grid-stride-loop-decoupling-grid-size-from-n/starter.cu +13 -0
- mlsys/tasks/gpu-grid-stride-loop-decoupling-grid-size-from-n/task.md +53 -0
- mlsys/tasks/gpu-group-wise-quant-scale-handling/check.py +68 -0
- mlsys/tasks/gpu-group-wise-quant-scale-handling/meta.json +15 -0
- mlsys/tasks/gpu-group-wise-quant-scale-handling/ref.cu +10 -0
- mlsys/tasks/gpu-group-wise-quant-scale-handling/starter.cu +7 -0
- mlsys/tasks/gpu-group-wise-quant-scale-handling/task.md +45 -0
- mlsys/tasks/gpu-half2-packed-feed-into-a-mixed-precision-matmul/check.py +63 -0
- mlsys/tasks/gpu-half2-packed-feed-into-a-mixed-precision-matmul/meta.json +18 -0
- mlsys/tasks/gpu-half2-packed-feed-into-a-mixed-precision-matmul/ref.cu +37 -0
- mlsys/tasks/gpu-half2-packed-feed-into-a-mixed-precision-matmul/starter.cu +12 -0
- mlsys/tasks/gpu-half2-packed-feed-into-a-mixed-precision-matmul/task.md +57 -0
- mlsys/tasks/gpu-high-occupancy-low-ilp-vs-low-occupancy-high-ilp/check.py +64 -0
- mlsys/tasks/gpu-high-occupancy-low-ilp-vs-low-occupancy-high-ilp/meta.json +13 -0
- mlsys/tasks/gpu-high-occupancy-low-ilp-vs-low-occupancy-high-ilp/ref.cu +18 -0
- mlsys/tasks/gpu-high-occupancy-low-ilp-vs-low-occupancy-high-ilp/starter.cu +8 -0
- mlsys/tasks/gpu-high-occupancy-low-ilp-vs-low-occupancy-high-ilp/task.md +57 -0
- mlsys/tasks/gpu-hillis-steele-inclusive-scan-from-scratch/check.py +60 -0
- mlsys/tasks/gpu-hillis-steele-inclusive-scan-from-scratch/meta.json +9 -0
- mlsys/tasks/gpu-hillis-steele-inclusive-scan-from-scratch/ref.cu +29 -0
- mlsys/tasks/gpu-hillis-steele-inclusive-scan-from-scratch/starter.cu +7 -0
- mlsys/tasks/gpu-hillis-steele-inclusive-scan-from-scratch/task.md +57 -0
- mlsys/tasks/gpu-identify-the-occupancy-limiter/check.py +37 -0
- mlsys/tasks/gpu-identify-the-occupancy-limiter/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-identify-the-occupancy-limiter/meta.json +22 -0
- mlsys/tasks/gpu-identify-the-occupancy-limiter/solution_ref.py +51 -0
- mlsys/tasks/gpu-identify-the-occupancy-limiter/starter.py +5 -0
- mlsys/tasks/gpu-identify-the-occupancy-limiter/task.md +111 -0
- mlsys/tasks/gpu-in-place-vs-out-of-place-transpose-tradeoff/check.py +79 -0
- mlsys/tasks/gpu-in-place-vs-out-of-place-transpose-tradeoff/meta.json +1 -0
- mlsys/tasks/gpu-in-place-vs-out-of-place-transpose-tradeoff/ref.cu +31 -0
- mlsys/tasks/gpu-in-place-vs-out-of-place-transpose-tradeoff/starter.cu +23 -0
- mlsys/tasks/gpu-in-place-vs-out-of-place-transpose-tradeoff/task.md +69 -0
- mlsys/tasks/gpu-instruction-reduction-factor-float4-vs-float1-with-tail/check.py +61 -0
- mlsys/tasks/gpu-instruction-reduction-factor-float4-vs-float1-with-tail/meta.json +18 -0
- mlsys/tasks/gpu-instruction-reduction-factor-float4-vs-float1-with-tail/ref.cu +14 -0
- mlsys/tasks/gpu-instruction-reduction-factor-float4-vs-float1-with-tail/starter.cu +12 -0
- mlsys/tasks/gpu-instruction-reduction-factor-float4-vs-float1-with-tail/task.md +58 -0
- mlsys/tasks/gpu-int4-nibble-unpack-dequant-matmul/check.py +73 -0
- mlsys/tasks/gpu-int4-nibble-unpack-dequant-matmul/meta.json +15 -0
- mlsys/tasks/gpu-int4-nibble-unpack-dequant-matmul/ref.cu +25 -0
- mlsys/tasks/gpu-int4-nibble-unpack-dequant-matmul/starter.cu +13 -0
- mlsys/tasks/gpu-int4-nibble-unpack-dequant-matmul/task.md +47 -0
- mlsys/tasks/gpu-int8-symmetric-matmul-with-fp32-dequant/check.py +66 -0
- mlsys/tasks/gpu-int8-symmetric-matmul-with-fp32-dequant/meta.json +16 -0
- mlsys/tasks/gpu-int8-symmetric-matmul-with-fp32-dequant/ref.cu +28 -0
- mlsys/tasks/gpu-int8-symmetric-matmul-with-fp32-dequant/starter.cu +13 -0
- mlsys/tasks/gpu-int8-symmetric-matmul-with-fp32-dequant/task.md +64 -0
- mlsys/tasks/gpu-intra-warp-inclusive-scan-via-shfl-up/check.py +63 -0
- mlsys/tasks/gpu-intra-warp-inclusive-scan-via-shfl-up/meta.json +23 -0
- mlsys/tasks/gpu-intra-warp-inclusive-scan-via-shfl-up/ref.cu +31 -0
- mlsys/tasks/gpu-intra-warp-inclusive-scan-via-shfl-up/starter.cu +16 -0
- mlsys/tasks/gpu-intra-warp-inclusive-scan-via-shfl-up/task.md +56 -0
- mlsys/tasks/gpu-inverted-dropout-scaling-correctness/check.py +64 -0
- mlsys/tasks/gpu-inverted-dropout-scaling-correctness/meta.json +1 -0
- mlsys/tasks/gpu-inverted-dropout-scaling-correctness/ref.cu +10 -0
- mlsys/tasks/gpu-inverted-dropout-scaling-correctness/starter.cu +7 -0
- mlsys/tasks/gpu-inverted-dropout-scaling-correctness/task.md +43 -0
- mlsys/tasks/gpu-label-variable-residency-flag-spills/check.py +95 -0
- mlsys/tasks/gpu-label-variable-residency-flag-spills/meta.json +15 -0
- mlsys/tasks/gpu-label-variable-residency-flag-spills/ref.cu +38 -0
- mlsys/tasks/gpu-label-variable-residency-flag-spills/starter.cu +11 -0
- mlsys/tasks/gpu-label-variable-residency-flag-spills/task.md +53 -0
- mlsys/tasks/gpu-launch-geometry-minimizing-idle-lanes-ragged-rows/check.py +118 -0
- mlsys/tasks/gpu-launch-geometry-minimizing-idle-lanes-ragged-rows/meta.json +17 -0
- mlsys/tasks/gpu-launch-geometry-minimizing-idle-lanes-ragged-rows/ref.cu +22 -0
- mlsys/tasks/gpu-launch-geometry-minimizing-idle-lanes-ragged-rows/starter.cu +12 -0
- mlsys/tasks/gpu-launch-geometry-minimizing-idle-lanes-ragged-rows/task.md +63 -0
- mlsys/tasks/gpu-layernorm-backward-dx-dgamma-dbeta/check.py +91 -0
- mlsys/tasks/gpu-layernorm-backward-dx-dgamma-dbeta/meta.json +9 -0
- mlsys/tasks/gpu-layernorm-backward-dx-dgamma-dbeta/ref.cu +65 -0
- mlsys/tasks/gpu-layernorm-backward-dx-dgamma-dbeta/starter.cu +7 -0
- mlsys/tasks/gpu-layernorm-backward-dx-dgamma-dbeta/task.md +78 -0
- mlsys/tasks/gpu-layernorm-forward-from-scratch/check.py +68 -0
- mlsys/tasks/gpu-layernorm-forward-from-scratch/meta.json +13 -0
- mlsys/tasks/gpu-layernorm-forward-from-scratch/ref.cu +28 -0
- mlsys/tasks/gpu-layernorm-forward-from-scratch/starter.cu +11 -0
- mlsys/tasks/gpu-layernorm-forward-from-scratch/task.md +60 -0
- mlsys/tasks/gpu-log-step-warp-reduction-via-shuffle-model/check.py +64 -0
- mlsys/tasks/gpu-log-step-warp-reduction-via-shuffle-model/meta.json +15 -0
- mlsys/tasks/gpu-log-step-warp-reduction-via-shuffle-model/ref.cu +29 -0
- mlsys/tasks/gpu-log-step-warp-reduction-via-shuffle-model/starter.cu +17 -0
- mlsys/tasks/gpu-log-step-warp-reduction-via-shuffle-model/task.md +46 -0
- mlsys/tasks/gpu-loop-count-divergence-penalty/check.py +59 -0
- mlsys/tasks/gpu-loop-count-divergence-penalty/meta.json +17 -0
- mlsys/tasks/gpu-loop-count-divergence-penalty/ref.cu +21 -0
- mlsys/tasks/gpu-loop-count-divergence-penalty/starter.cu +9 -0
- mlsys/tasks/gpu-loop-count-divergence-penalty/task.md +63 -0
- mlsys/tasks/gpu-map-multi-head-attention-onto-the-thread-hierarchy/check.py +103 -0
- mlsys/tasks/gpu-map-multi-head-attention-onto-the-thread-hierarchy/meta.json +21 -0
- mlsys/tasks/gpu-map-multi-head-attention-onto-the-thread-hierarchy/ref.cu +19 -0
- mlsys/tasks/gpu-map-multi-head-attention-onto-the-thread-hierarchy/starter.cu +10 -0
- mlsys/tasks/gpu-map-multi-head-attention-onto-the-thread-hierarchy/task.md +53 -0
- mlsys/tasks/gpu-merge-two-partial-online-softmax-blocks-associativity/check.py +87 -0
- mlsys/tasks/gpu-merge-two-partial-online-softmax-blocks-associativity/meta.json +1 -0
- mlsys/tasks/gpu-merge-two-partial-online-softmax-blocks-associativity/ref.cu +21 -0
- mlsys/tasks/gpu-merge-two-partial-online-softmax-blocks-associativity/starter.cu +13 -0
- mlsys/tasks/gpu-merge-two-partial-online-softmax-blocks-associativity/task.md +66 -0
- mlsys/tasks/gpu-mixed-precision-matmul-fp16-inputs-fp32-accumulate/check.py +72 -0
- mlsys/tasks/gpu-mixed-precision-matmul-fp16-inputs-fp32-accumulate/meta.json +16 -0
- mlsys/tasks/gpu-mixed-precision-matmul-fp16-inputs-fp32-accumulate/ref.cu +47 -0
- mlsys/tasks/gpu-mixed-precision-matmul-fp16-inputs-fp32-accumulate/starter.cu +14 -0
- mlsys/tasks/gpu-mixed-precision-matmul-fp16-inputs-fp32-accumulate/task.md +60 -0
- mlsys/tasks/gpu-model-compute-cycles-hidden-by-prefetch/check.py +73 -0
- mlsys/tasks/gpu-model-compute-cycles-hidden-by-prefetch/meta.json +15 -0
- mlsys/tasks/gpu-model-compute-cycles-hidden-by-prefetch/ref.cu +13 -0
- mlsys/tasks/gpu-model-compute-cycles-hidden-by-prefetch/starter.cu +8 -0
- mlsys/tasks/gpu-model-compute-cycles-hidden-by-prefetch/task.md +49 -0
- mlsys/tasks/gpu-model-launch-overhead-amortization/check.py +59 -0
- mlsys/tasks/gpu-model-launch-overhead-amortization/meta.json +17 -0
- mlsys/tasks/gpu-model-launch-overhead-amortization/ref.cu +9 -0
- mlsys/tasks/gpu-model-launch-overhead-amortization/starter.cu +9 -0
- mlsys/tasks/gpu-model-launch-overhead-amortization/task.md +54 -0
- mlsys/tasks/gpu-model-memory-saved-flashattention-vs-materialized-scores/check.py +71 -0
- mlsys/tasks/gpu-model-memory-saved-flashattention-vs-materialized-scores/meta.json +22 -0
- mlsys/tasks/gpu-model-memory-saved-flashattention-vs-materialized-scores/ref.cu +17 -0
- mlsys/tasks/gpu-model-memory-saved-flashattention-vs-materialized-scores/starter.cu +10 -0
- mlsys/tasks/gpu-model-memory-saved-flashattention-vs-materialized-scores/task.md +66 -0
- mlsys/tasks/gpu-model-serialized-atomic-ops-naive-vs-privatized/check.py +81 -0
- mlsys/tasks/gpu-model-serialized-atomic-ops-naive-vs-privatized/meta.json +1 -0
- mlsys/tasks/gpu-model-serialized-atomic-ops-naive-vs-privatized/ref.cu +25 -0
- mlsys/tasks/gpu-model-serialized-atomic-ops-naive-vs-privatized/starter.cu +17 -0
- mlsys/tasks/gpu-model-serialized-atomic-ops-naive-vs-privatized/task.md +57 -0
- mlsys/tasks/gpu-model-serialized-issue-count-for-a-divergent-branch/check.py +67 -0
- mlsys/tasks/gpu-model-serialized-issue-count-for-a-divergent-branch/meta.json +13 -0
- mlsys/tasks/gpu-model-serialized-issue-count-for-a-divergent-branch/ref.cu +24 -0
- mlsys/tasks/gpu-model-serialized-issue-count-for-a-divergent-branch/starter.cu +12 -0
- mlsys/tasks/gpu-model-serialized-issue-count-for-a-divergent-branch/task.md +64 -0
- mlsys/tasks/gpu-modeled-cycle-cost-of-a-multi-level-access-pattern/check.py +67 -0
- mlsys/tasks/gpu-modeled-cycle-cost-of-a-multi-level-access-pattern/meta.json +15 -0
- mlsys/tasks/gpu-modeled-cycle-cost-of-a-multi-level-access-pattern/ref.cu +14 -0
- mlsys/tasks/gpu-modeled-cycle-cost-of-a-multi-level-access-pattern/starter.cu +7 -0
- mlsys/tasks/gpu-modeled-cycle-cost-of-a-multi-level-access-pattern/task.md +40 -0
- mlsys/tasks/gpu-multi-block-scan-with-block-sum-carry/check.py +70 -0
- mlsys/tasks/gpu-multi-block-scan-with-block-sum-carry/meta.json +23 -0
- mlsys/tasks/gpu-multi-block-scan-with-block-sum-carry/ref.cu +60 -0
- mlsys/tasks/gpu-multi-block-scan-with-block-sum-carry/starter.cu +16 -0
- mlsys/tasks/gpu-multi-block-scan-with-block-sum-carry/task.md +68 -0
- mlsys/tasks/gpu-naive-matmul-from-scratch-forced-loop/check.py +33 -0
- mlsys/tasks/gpu-naive-matmul-from-scratch-forced-loop/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-naive-matmul-from-scratch-forced-loop/meta.json +27 -0
- mlsys/tasks/gpu-naive-matmul-from-scratch-forced-loop/solution_ref.py +28 -0
- mlsys/tasks/gpu-naive-matmul-from-scratch-forced-loop/starter.py +2 -0
- mlsys/tasks/gpu-naive-matmul-from-scratch-forced-loop/task.md +66 -0
- mlsys/tasks/gpu-naive-transpose-transaction-count/check.py +62 -0
- mlsys/tasks/gpu-naive-transpose-transaction-count/meta.json +18 -0
- mlsys/tasks/gpu-naive-transpose-transaction-count/ref.cu +14 -0
- mlsys/tasks/gpu-naive-transpose-transaction-count/starter.cu +9 -0
- mlsys/tasks/gpu-naive-transpose-transaction-count/task.md +46 -0
- mlsys/tasks/gpu-numpy-simt-simulator-for-saxpy/check.py +64 -0
- mlsys/tasks/gpu-numpy-simt-simulator-for-saxpy/meta.json +1 -0
- mlsys/tasks/gpu-numpy-simt-simulator-for-saxpy/ref.cu +6 -0
- mlsys/tasks/gpu-numpy-simt-simulator-for-saxpy/starter.cu +4 -0
- mlsys/tasks/gpu-numpy-simt-simulator-for-saxpy/task.md +58 -0
- mlsys/tasks/gpu-online-streaming-softmax-with-running-max-rescale/check.py +73 -0
- mlsys/tasks/gpu-online-streaming-softmax-with-running-max-rescale/meta.json +15 -0
- mlsys/tasks/gpu-online-streaming-softmax-with-running-max-rescale/ref.cu +23 -0
- mlsys/tasks/gpu-online-streaming-softmax-with-running-max-rescale/starter.cu +8 -0
- mlsys/tasks/gpu-online-streaming-softmax-with-running-max-rescale/task.md +51 -0
- mlsys/tasks/gpu-pack-operands-into-an-mma-thread-fragment-layout/check.py +94 -0
- mlsys/tasks/gpu-pack-operands-into-an-mma-thread-fragment-layout/meta.json +1 -0
- mlsys/tasks/gpu-pack-operands-into-an-mma-thread-fragment-layout/ref.cu +39 -0
- mlsys/tasks/gpu-pack-operands-into-an-mma-thread-fragment-layout/starter.cu +15 -0
- mlsys/tasks/gpu-pack-operands-into-an-mma-thread-fragment-layout/task.md +80 -0
- mlsys/tasks/gpu-persistent-kernel-vs-relaunch-tradeoff/check.py +95 -0
- mlsys/tasks/gpu-persistent-kernel-vs-relaunch-tradeoff/meta.json +17 -0
- mlsys/tasks/gpu-persistent-kernel-vs-relaunch-tradeoff/ref.cu +30 -0
- mlsys/tasks/gpu-persistent-kernel-vs-relaunch-tradeoff/starter.cu +9 -0
- mlsys/tasks/gpu-persistent-kernel-vs-relaunch-tradeoff/task.md +74 -0
- mlsys/tasks/gpu-pick-coarsening-factor-maximizing-modeled-arithmetic-intensity/check.py +67 -0
- mlsys/tasks/gpu-pick-coarsening-factor-maximizing-modeled-arithmetic-intensity/meta.json +18 -0
- mlsys/tasks/gpu-pick-coarsening-factor-maximizing-modeled-arithmetic-intensity/ref.cu +17 -0
- mlsys/tasks/gpu-pick-coarsening-factor-maximizing-modeled-arithmetic-intensity/starter.cu +13 -0
- mlsys/tasks/gpu-pick-coarsening-factor-maximizing-modeled-arithmetic-intensity/task.md +52 -0
- mlsys/tasks/gpu-pick-grid-size-to-minimize-tail-waste/check.py +75 -0
- mlsys/tasks/gpu-pick-grid-size-to-minimize-tail-waste/meta.json +17 -0
- mlsys/tasks/gpu-pick-grid-size-to-minimize-tail-waste/ref.cu +22 -0
- mlsys/tasks/gpu-pick-grid-size-to-minimize-tail-waste/starter.cu +9 -0
- mlsys/tasks/gpu-pick-grid-size-to-minimize-tail-waste/task.md +64 -0
- mlsys/tasks/gpu-predict-achievable-flops-from-the-roofline/check.py +70 -0
- mlsys/tasks/gpu-predict-achievable-flops-from-the-roofline/meta.json +15 -0
- mlsys/tasks/gpu-predict-achievable-flops-from-the-roofline/ref.cu +9 -0
- mlsys/tasks/gpu-predict-achievable-flops-from-the-roofline/starter.cu +6 -0
- mlsys/tasks/gpu-predict-achievable-flops-from-the-roofline/task.md +41 -0
- mlsys/tasks/gpu-predict-per-warp-divergence-path-count/check.py +87 -0
- mlsys/tasks/gpu-predict-per-warp-divergence-path-count/meta.json +13 -0
- mlsys/tasks/gpu-predict-per-warp-divergence-path-count/ref.cu +11 -0
- mlsys/tasks/gpu-predict-per-warp-divergence-path-count/starter.cu +7 -0
- mlsys/tasks/gpu-predict-per-warp-divergence-path-count/task.md +58 -0
- mlsys/tasks/gpu-privatized-shared-histogram-with-one-atomic-flush/check.py +73 -0
- mlsys/tasks/gpu-privatized-shared-histogram-with-one-atomic-flush/meta.json +19 -0
- mlsys/tasks/gpu-privatized-shared-histogram-with-one-atomic-flush/ref.cu +26 -0
- mlsys/tasks/gpu-privatized-shared-histogram-with-one-atomic-flush/starter.cu +8 -0
- mlsys/tasks/gpu-privatized-shared-histogram-with-one-atomic-flush/task.md +59 -0
- mlsys/tasks/gpu-program-id-block-offset-math-with-masking/check.py +73 -0
- mlsys/tasks/gpu-program-id-block-offset-math-with-masking/meta.json +1 -0
- mlsys/tasks/gpu-program-id-block-offset-math-with-masking/ref.cu +13 -0
- mlsys/tasks/gpu-program-id-block-offset-math-with-masking/starter.cu +9 -0
- mlsys/tasks/gpu-program-id-block-offset-math-with-masking/task.md +48 -0
- mlsys/tasks/gpu-prove-fp16-accumulate-loses-precision-vs-fp32/check.py +79 -0
- mlsys/tasks/gpu-prove-fp16-accumulate-loses-precision-vs-fp32/meta.json +15 -0
- mlsys/tasks/gpu-prove-fp16-accumulate-loses-precision-vs-fp32/ref.cu +22 -0
- mlsys/tasks/gpu-prove-fp16-accumulate-loses-precision-vs-fp32/starter.cu +10 -0
- mlsys/tasks/gpu-prove-fp16-accumulate-loses-precision-vs-fp32/task.md +47 -0
- mlsys/tasks/gpu-prove-geometry-independent-rng-gives-a-reproducible-mask/check.py +85 -0
- mlsys/tasks/gpu-prove-geometry-independent-rng-gives-a-reproducible-mask/meta.json +18 -0
- mlsys/tasks/gpu-prove-geometry-independent-rng-gives-a-reproducible-mask/ref.cu +20 -0
- mlsys/tasks/gpu-prove-geometry-independent-rng-gives-a-reproducible-mask/starter.cu +9 -0
- mlsys/tasks/gpu-prove-geometry-independent-rng-gives-a-reproducible-mask/task.md +62 -0
- mlsys/tasks/gpu-prove-naive-exp-overflows-safe-does-not/check.py +76 -0
- mlsys/tasks/gpu-prove-naive-exp-overflows-safe-does-not/meta.json +23 -0
- mlsys/tasks/gpu-prove-naive-exp-overflows-safe-does-not/ref.cu +25 -0
- mlsys/tasks/gpu-prove-naive-exp-overflows-safe-does-not/starter.cu +10 -0
- mlsys/tasks/gpu-prove-naive-exp-overflows-safe-does-not/task.md +64 -0
- mlsys/tasks/gpu-rank-access-patterns-coalesced-scattered/check.py +98 -0
- mlsys/tasks/gpu-rank-access-patterns-coalesced-scattered/meta.json +7 -0
- mlsys/tasks/gpu-rank-access-patterns-coalesced-scattered/ref.cu +31 -0
- mlsys/tasks/gpu-rank-access-patterns-coalesced-scattered/starter.cu +21 -0
- mlsys/tasks/gpu-rank-access-patterns-coalesced-scattered/task.md +61 -0
- mlsys/tasks/gpu-rank-llm-ops-on-the-roofline/check.py +69 -0
- mlsys/tasks/gpu-rank-llm-ops-on-the-roofline/meta.json +17 -0
- mlsys/tasks/gpu-rank-llm-ops-on-the-roofline/ref.cu +44 -0
- mlsys/tasks/gpu-rank-llm-ops-on-the-roofline/starter.cu +13 -0
- mlsys/tasks/gpu-rank-llm-ops-on-the-roofline/task.md +73 -0
- mlsys/tasks/gpu-re-place-hot-constant-vector-into-the-broadcast-path/check.py +63 -0
- mlsys/tasks/gpu-re-place-hot-constant-vector-into-the-broadcast-path/meta.json +16 -0
- mlsys/tasks/gpu-re-place-hot-constant-vector-into-the-broadcast-path/ref.cu +18 -0
- mlsys/tasks/gpu-re-place-hot-constant-vector-into-the-broadcast-path/starter.cu +19 -0
- mlsys/tasks/gpu-re-place-hot-constant-vector-into-the-broadcast-path/task.md +51 -0
- mlsys/tasks/gpu-reconstruct-predicate-true-lanes/check.py +29 -0
- mlsys/tasks/gpu-reconstruct-predicate-true-lanes/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-reconstruct-predicate-true-lanes/meta.json +22 -0
- mlsys/tasks/gpu-reconstruct-predicate-true-lanes/solution_ref.py +6 -0
- mlsys/tasks/gpu-reconstruct-predicate-true-lanes/starter.py +5 -0
- mlsys/tasks/gpu-reconstruct-predicate-true-lanes/task.md +33 -0
- mlsys/tasks/gpu-register-blocked-gemm-microkernel-outer-product-accumulate/check.py +94 -0
- mlsys/tasks/gpu-register-blocked-gemm-microkernel-outer-product-accumulate/meta.json +17 -0
- mlsys/tasks/gpu-register-blocked-gemm-microkernel-outer-product-accumulate/ref.cu +41 -0
- mlsys/tasks/gpu-register-blocked-gemm-microkernel-outer-product-accumulate/starter.cu +20 -0
- mlsys/tasks/gpu-register-blocked-gemm-microkernel-outer-product-accumulate/task.md +65 -0
- mlsys/tasks/gpu-relayout-column-major-gather-to-coalesced-row-major/check.py +61 -0
- mlsys/tasks/gpu-relayout-column-major-gather-to-coalesced-row-major/meta.json +1 -0
- mlsys/tasks/gpu-relayout-column-major-gather-to-coalesced-row-major/ref.cu +27 -0
- mlsys/tasks/gpu-relayout-column-major-gather-to-coalesced-row-major/starter.cu +15 -0
- mlsys/tasks/gpu-relayout-column-major-gather-to-coalesced-row-major/task.md +63 -0
- mlsys/tasks/gpu-replace-shared-memory-warp-final-reduce-with-shuffle-only/check.py +62 -0
- mlsys/tasks/gpu-replace-shared-memory-warp-final-reduce-with-shuffle-only/meta.json +28 -0
- mlsys/tasks/gpu-replace-shared-memory-warp-final-reduce-with-shuffle-only/ref.cu +17 -0
- mlsys/tasks/gpu-replace-shared-memory-warp-final-reduce-with-shuffle-only/starter.cu +12 -0
- mlsys/tasks/gpu-replace-shared-memory-warp-final-reduce-with-shuffle-only/task.md +66 -0
- mlsys/tasks/gpu-reverse-engineer-block-grid-mapping-from-outputs/check.py +77 -0
- mlsys/tasks/gpu-reverse-engineer-block-grid-mapping-from-outputs/meta.json +13 -0
- mlsys/tasks/gpu-reverse-engineer-block-grid-mapping-from-outputs/ref.cu +32 -0
- mlsys/tasks/gpu-reverse-engineer-block-grid-mapping-from-outputs/starter.cu +10 -0
- mlsys/tasks/gpu-reverse-engineer-block-grid-mapping-from-outputs/task.md +62 -0
- mlsys/tasks/gpu-rmsnorm-forward/check.py +69 -0
- mlsys/tasks/gpu-rmsnorm-forward/meta.json +15 -0
- mlsys/tasks/gpu-rmsnorm-forward/ref.cu +20 -0
- mlsys/tasks/gpu-rmsnorm-forward/starter.cu +11 -0
- mlsys/tasks/gpu-rmsnorm-forward/task.md +40 -0
- mlsys/tasks/gpu-roofline-of-decode-vs-prefill-batch-1/check.py +63 -0
- mlsys/tasks/gpu-roofline-of-decode-vs-prefill-batch-1/meta.json +17 -0
- mlsys/tasks/gpu-roofline-of-decode-vs-prefill-batch-1/ref.cu +30 -0
- mlsys/tasks/gpu-roofline-of-decode-vs-prefill-batch-1/starter.cu +10 -0
- mlsys/tasks/gpu-roofline-of-decode-vs-prefill-batch-1/task.md +70 -0
- mlsys/tasks/gpu-safe-softmax-max-subtraction-from-scratch/check.py +77 -0
- mlsys/tasks/gpu-safe-softmax-max-subtraction-from-scratch/meta.json +15 -0
- mlsys/tasks/gpu-safe-softmax-max-subtraction-from-scratch/ref.cu +20 -0
- mlsys/tasks/gpu-safe-softmax-max-subtraction-from-scratch/starter.cu +7 -0
- mlsys/tasks/gpu-safe-softmax-max-subtraction-from-scratch/task.md +43 -0
- mlsys/tasks/gpu-scan-for-radix-sort-digit-offsets/check.py +64 -0
- mlsys/tasks/gpu-scan-for-radix-sort-digit-offsets/meta.json +13 -0
- mlsys/tasks/gpu-scan-for-radix-sort-digit-offsets/ref.cu +54 -0
- mlsys/tasks/gpu-scan-for-radix-sort-digit-offsets/starter.cu +13 -0
- mlsys/tasks/gpu-scan-for-radix-sort-digit-offsets/task.md +71 -0
- mlsys/tasks/gpu-seeded-dropout-mask-matches-reference/check.py +69 -0
- mlsys/tasks/gpu-seeded-dropout-mask-matches-reference/meta.json +1 -0
- mlsys/tasks/gpu-seeded-dropout-mask-matches-reference/ref.cu +16 -0
- mlsys/tasks/gpu-seeded-dropout-mask-matches-reference/starter.cu +13 -0
- mlsys/tasks/gpu-seeded-dropout-mask-matches-reference/task.md +60 -0
- mlsys/tasks/gpu-segmented-scan/check.py +75 -0
- mlsys/tasks/gpu-segmented-scan/meta.json +23 -0
- mlsys/tasks/gpu-segmented-scan/ref.cu +54 -0
- mlsys/tasks/gpu-segmented-scan/starter.cu +18 -0
- mlsys/tasks/gpu-segmented-scan/task.md +66 -0
- mlsys/tasks/gpu-sequential-vs-pairwise-vs-kahan-summation-error/check.py +61 -0
- mlsys/tasks/gpu-sequential-vs-pairwise-vs-kahan-summation-error/meta.json +18 -0
- mlsys/tasks/gpu-sequential-vs-pairwise-vs-kahan-summation-error/ref.cu +16 -0
- mlsys/tasks/gpu-sequential-vs-pairwise-vs-kahan-summation-error/starter.cu +9 -0
- mlsys/tasks/gpu-sequential-vs-pairwise-vs-kahan-summation-error/task.md +66 -0
- mlsys/tasks/gpu-shared-memory-tiled-matmul-numpy-model/check.py +74 -0
- mlsys/tasks/gpu-shared-memory-tiled-matmul-numpy-model/meta.json +18 -0
- mlsys/tasks/gpu-shared-memory-tiled-matmul-numpy-model/ref.cu +37 -0
- mlsys/tasks/gpu-shared-memory-tiled-matmul-numpy-model/starter.cu +19 -0
- mlsys/tasks/gpu-shared-memory-tiled-matmul-numpy-model/task.md +48 -0
- mlsys/tasks/gpu-shared-memory-tiled-transpose-coalesced-r-w/check.py +60 -0
- mlsys/tasks/gpu-shared-memory-tiled-transpose-coalesced-r-w/meta.json +1 -0
- mlsys/tasks/gpu-shared-memory-tiled-transpose-coalesced-r-w/ref.cu +28 -0
- mlsys/tasks/gpu-shared-memory-tiled-transpose-coalesced-r-w/starter.cu +15 -0
- mlsys/tasks/gpu-shared-memory-tiled-transpose-coalesced-r-w/task.md +59 -0
- mlsys/tasks/gpu-shfl-xor-butterfly-source-lane-derivation/check.py +60 -0
- mlsys/tasks/gpu-shfl-xor-butterfly-source-lane-derivation/meta.json +23 -0
- mlsys/tasks/gpu-shfl-xor-butterfly-source-lane-derivation/ref.cu +15 -0
- mlsys/tasks/gpu-shfl-xor-butterfly-source-lane-derivation/starter.cu +11 -0
- mlsys/tasks/gpu-shfl-xor-butterfly-source-lane-derivation/task.md +57 -0
- mlsys/tasks/gpu-single-buffer-vs-double-buffer-stall-cycles/check.py +62 -0
- mlsys/tasks/gpu-single-buffer-vs-double-buffer-stall-cycles/meta.json +13 -0
- mlsys/tasks/gpu-single-buffer-vs-double-buffer-stall-cycles/ref.cu +20 -0
- mlsys/tasks/gpu-single-buffer-vs-double-buffer-stall-cycles/starter.cu +11 -0
- mlsys/tasks/gpu-single-buffer-vs-double-buffer-stall-cycles/task.md +54 -0
- mlsys/tasks/gpu-split-accumulate-blocked-pairwise-reduction/check.py +63 -0
- mlsys/tasks/gpu-split-accumulate-blocked-pairwise-reduction/meta.json +18 -0
- mlsys/tasks/gpu-split-accumulate-blocked-pairwise-reduction/ref.cu +22 -0
- mlsys/tasks/gpu-split-accumulate-blocked-pairwise-reduction/starter.cu +10 -0
- mlsys/tasks/gpu-split-accumulate-blocked-pairwise-reduction/task.md +59 -0
- mlsys/tasks/gpu-stride-0-broadcast-without-materializing/check.py +74 -0
- mlsys/tasks/gpu-stride-0-broadcast-without-materializing/meta.json +1 -0
- mlsys/tasks/gpu-stride-0-broadcast-without-materializing/ref.cu +13 -0
- mlsys/tasks/gpu-stride-0-broadcast-without-materializing/starter.cu +11 -0
- mlsys/tasks/gpu-stride-0-broadcast-without-materializing/task.md +46 -0
- mlsys/tasks/gpu-tensor-core-tiled-qk-t-mixed-precision-model/check.py +75 -0
- mlsys/tasks/gpu-tensor-core-tiled-qk-t-mixed-precision-model/meta.json +15 -0
- mlsys/tasks/gpu-tensor-core-tiled-qk-t-mixed-precision-model/ref.cu +25 -0
- mlsys/tasks/gpu-tensor-core-tiled-qk-t-mixed-precision-model/starter.cu +11 -0
- mlsys/tasks/gpu-tensor-core-tiled-qk-t-mixed-precision-model/task.md +51 -0
- mlsys/tasks/gpu-thread-coarsening-each-thread-computes-a-cxc-output-tile/check.py +64 -0
- mlsys/tasks/gpu-thread-coarsening-each-thread-computes-a-cxc-output-tile/meta.json +13 -0
- mlsys/tasks/gpu-thread-coarsening-each-thread-computes-a-cxc-output-tile/ref.cu +45 -0
- mlsys/tasks/gpu-thread-coarsening-each-thread-computes-a-cxc-output-tile/starter.cu +18 -0
- mlsys/tasks/gpu-thread-coarsening-each-thread-computes-a-cxc-output-tile/task.md +55 -0
- mlsys/tasks/gpu-tree-vs-sequential-summation-error-bound/check.py +69 -0
- mlsys/tasks/gpu-tree-vs-sequential-summation-error-bound/meta.json +24 -0
- mlsys/tasks/gpu-tree-vs-sequential-summation-error-bound/ref.cu +26 -0
- mlsys/tasks/gpu-tree-vs-sequential-summation-error-bound/starter.cu +13 -0
- mlsys/tasks/gpu-tree-vs-sequential-summation-error-bound/task.md +61 -0
- mlsys/tasks/gpu-triton-dropout-with-seeded-rng/check.py +75 -0
- mlsys/tasks/gpu-triton-dropout-with-seeded-rng/meta.json +1 -0
- mlsys/tasks/gpu-triton-dropout-with-seeded-rng/ref.cu +19 -0
- mlsys/tasks/gpu-triton-dropout-with-seeded-rng/starter.cu +11 -0
- mlsys/tasks/gpu-triton-dropout-with-seeded-rng/task.md +53 -0
- mlsys/tasks/gpu-triton-flashattention-forward-interpret-mode/check.py +75 -0
- mlsys/tasks/gpu-triton-flashattention-forward-interpret-mode/meta.json +13 -0
- mlsys/tasks/gpu-triton-flashattention-forward-interpret-mode/ref.cu +62 -0
- mlsys/tasks/gpu-triton-flashattention-forward-interpret-mode/starter.cu +18 -0
- mlsys/tasks/gpu-triton-flashattention-forward-interpret-mode/task.md +69 -0
- mlsys/tasks/gpu-triton-fused-elementwise-add-scale-activation/check.py +72 -0
- mlsys/tasks/gpu-triton-fused-elementwise-add-scale-activation/meta.json +18 -0
- mlsys/tasks/gpu-triton-fused-elementwise-add-scale-activation/ref.cu +11 -0
- mlsys/tasks/gpu-triton-fused-elementwise-add-scale-activation/starter.cu +8 -0
- mlsys/tasks/gpu-triton-fused-elementwise-add-scale-activation/task.md +39 -0
- mlsys/tasks/gpu-triton-fused-softmax-row-per-program/check.py +74 -0
- mlsys/tasks/gpu-triton-fused-softmax-row-per-program/meta.json +1 -0
- mlsys/tasks/gpu-triton-fused-softmax-row-per-program/ref.cu +26 -0
- mlsys/tasks/gpu-triton-fused-softmax-row-per-program/starter.cu +14 -0
- mlsys/tasks/gpu-triton-fused-softmax-row-per-program/task.md +51 -0
- mlsys/tasks/gpu-triton-matmul-with-tl-dot/check.py +72 -0
- mlsys/tasks/gpu-triton-matmul-with-tl-dot/meta.json +15 -0
- mlsys/tasks/gpu-triton-matmul-with-tl-dot/ref.cu +24 -0
- mlsys/tasks/gpu-triton-matmul-with-tl-dot/starter.cu +13 -0
- mlsys/tasks/gpu-triton-matmul-with-tl-dot/task.md +43 -0
- mlsys/tasks/gpu-triton-tiled-matmul-interpret-mode/check.py +62 -0
- mlsys/tasks/gpu-triton-tiled-matmul-interpret-mode/meta.json +13 -0
- mlsys/tasks/gpu-triton-tiled-matmul-interpret-mode/ref.cu +35 -0
- mlsys/tasks/gpu-triton-tiled-matmul-interpret-mode/starter.cu +15 -0
- mlsys/tasks/gpu-triton-tiled-matmul-interpret-mode/task.md +65 -0
- mlsys/tasks/gpu-triton-vector-add-interpret/check.py +62 -0
- mlsys/tasks/gpu-triton-vector-add-interpret/meta.json +1 -0
- mlsys/tasks/gpu-triton-vector-add-interpret/ref.cu +9 -0
- mlsys/tasks/gpu-triton-vector-add-interpret/starter.cu +6 -0
- mlsys/tasks/gpu-triton-vector-add-interpret/task.md +29 -0
- mlsys/tasks/gpu-tune-blockdim-shared-budget-for-max-occupancy/check.py +79 -0
- mlsys/tasks/gpu-tune-blockdim-shared-budget-for-max-occupancy/meta.json +23 -0
- mlsys/tasks/gpu-tune-blockdim-shared-budget-for-max-occupancy/ref.cu +34 -0
- mlsys/tasks/gpu-tune-blockdim-shared-budget-for-max-occupancy/starter.cu +13 -0
- mlsys/tasks/gpu-tune-blockdim-shared-budget-for-max-occupancy/task.md +81 -0
- mlsys/tasks/gpu-warp-aggregated-atomics-one-atomic-per-warp/check.py +71 -0
- mlsys/tasks/gpu-warp-aggregated-atomics-one-atomic-per-warp/meta.json +1 -0
- mlsys/tasks/gpu-warp-aggregated-atomics-one-atomic-per-warp/ref.cu +18 -0
- mlsys/tasks/gpu-warp-aggregated-atomics-one-atomic-per-warp/starter.cu +15 -0
- mlsys/tasks/gpu-warp-aggregated-atomics-one-atomic-per-warp/task.md +52 -0
- mlsys/tasks/gpu-warp-cooperative-softmax-max-sum/check.py +68 -0
- mlsys/tasks/gpu-warp-cooperative-softmax-max-sum/meta.json +15 -0
- mlsys/tasks/gpu-warp-cooperative-softmax-max-sum/ref.cu +27 -0
- mlsys/tasks/gpu-warp-cooperative-softmax-max-sum/starter.cu +14 -0
- mlsys/tasks/gpu-warp-cooperative-softmax-max-sum/task.md +45 -0
- mlsys/tasks/gpu-warp-reduction-layernorm-over-the-hidden-dim/check.py +68 -0
- mlsys/tasks/gpu-warp-reduction-layernorm-over-the-hidden-dim/meta.json +13 -0
- mlsys/tasks/gpu-warp-reduction-layernorm-over-the-hidden-dim/ref.cu +59 -0
- mlsys/tasks/gpu-warp-reduction-layernorm-over-the-hidden-dim/starter.cu +19 -0
- mlsys/tasks/gpu-warp-reduction-layernorm-over-the-hidden-dim/task.md +63 -0
- mlsys/tasks/gpu-warp-uniform-check-helper/check.py +20 -0
- mlsys/tasks/gpu-warp-uniform-check-helper/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-warp-uniform-check-helper/meta.json +22 -0
- mlsys/tasks/gpu-warp-uniform-check-helper/solution_ref.py +18 -0
- mlsys/tasks/gpu-warp-uniform-check-helper/starter.py +7 -0
- mlsys/tasks/gpu-warp-uniform-check-helper/task.md +43 -0
- mlsys/tasks/gpu-warps-launched-wasted-lane-fraction/check.py +34 -0
- mlsys/tasks/gpu-warps-launched-wasted-lane-fraction/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-warps-launched-wasted-lane-fraction/meta.json +22 -0
- mlsys/tasks/gpu-warps-launched-wasted-lane-fraction/solution_ref.py +23 -0
- mlsys/tasks/gpu-warps-launched-wasted-lane-fraction/starter.py +3 -0
- mlsys/tasks/gpu-warps-launched-wasted-lane-fraction/task.md +48 -0
- mlsys/tasks/gpu-warps-needed-to-fully-hide-memory-latency/check.py +27 -0
- mlsys/tasks/gpu-warps-needed-to-fully-hide-memory-latency/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-warps-needed-to-fully-hide-memory-latency/meta.json +16 -0
- mlsys/tasks/gpu-warps-needed-to-fully-hide-memory-latency/solution_ref.py +10 -0
- mlsys/tasks/gpu-warps-needed-to-fully-hide-memory-latency/starter.py +10 -0
- mlsys/tasks/gpu-warps-needed-to-fully-hide-memory-latency/task.md +44 -0
- mlsys/tasks/gpu-welford-one-pass-mean-variance/check.py +71 -0
- mlsys/tasks/gpu-welford-one-pass-mean-variance/meta.json +15 -0
- mlsys/tasks/gpu-welford-one-pass-mean-variance/ref.cu +22 -0
- mlsys/tasks/gpu-welford-one-pass-mean-variance/starter.cu +10 -0
- mlsys/tasks/gpu-welford-one-pass-mean-variance/task.md +51 -0
- mlsys/tasks/gpu-which-pointers-may-legally-vectorize-to-float4/check.py +23 -0
- mlsys/tasks/gpu-which-pointers-may-legally-vectorize-to-float4/gen_fixtures.py +1 -0
- mlsys/tasks/gpu-which-pointers-may-legally-vectorize-to-float4/meta.json +16 -0
- mlsys/tasks/gpu-which-pointers-may-legally-vectorize-to-float4/solution_ref.py +6 -0
- mlsys/tasks/gpu-which-pointers-may-legally-vectorize-to-float4/starter.py +7 -0
- mlsys/tasks/gpu-which-pointers-may-legally-vectorize-to-float4/task.md +38 -0
- mlsys/tasks/gpu-wmma-16x16x16-fragment-tiling-math/check.py +66 -0
- mlsys/tasks/gpu-wmma-16x16x16-fragment-tiling-math/meta.json +18 -0
- mlsys/tasks/gpu-wmma-16x16x16-fragment-tiling-math/ref.cu +21 -0
- mlsys/tasks/gpu-wmma-16x16x16-fragment-tiling-math/starter.cu +9 -0
- mlsys/tasks/gpu-wmma-16x16x16-fragment-tiling-math/task.md +52 -0
- mlsys/tasks/llm-additive-inf-vs-multiplicative-0-1-mask-kl/check.py +38 -0
- mlsys/tasks/llm-additive-inf-vs-multiplicative-0-1-mask-kl/gen_fixtures.py +1 -0
- mlsys/tasks/llm-additive-inf-vs-multiplicative-0-1-mask-kl/meta.json +22 -0
- mlsys/tasks/llm-additive-inf-vs-multiplicative-0-1-mask-kl/solution_ref.py +29 -0
- mlsys/tasks/llm-additive-inf-vs-multiplicative-0-1-mask-kl/starter.py +6 -0
- mlsys/tasks/llm-additive-inf-vs-multiplicative-0-1-mask-kl/task.md +57 -0
- mlsys/tasks/llm-alibi-bias-matrix-head-slopes-from-scratch/check.py +28 -0
- mlsys/tasks/llm-alibi-bias-matrix-head-slopes-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/llm-alibi-bias-matrix-head-slopes-from-scratch/meta.json +22 -0
- mlsys/tasks/llm-alibi-bias-matrix-head-slopes-from-scratch/solution_ref.py +23 -0
- mlsys/tasks/llm-alibi-bias-matrix-head-slopes-from-scratch/starter.py +6 -0
- mlsys/tasks/llm-alibi-bias-matrix-head-slopes-from-scratch/task.md +47 -0
- mlsys/tasks/llm-alibi-slope-closed-form-for-n-heads/check.py +27 -0
- mlsys/tasks/llm-alibi-slope-closed-form-for-n-heads/gen_fixtures.py +1 -0
- mlsys/tasks/llm-alibi-slope-closed-form-for-n-heads/meta.json +22 -0
- mlsys/tasks/llm-alibi-slope-closed-form-for-n-heads/solution_ref.py +33 -0
- mlsys/tasks/llm-alibi-slope-closed-form-for-n-heads/starter.py +4 -0
- mlsys/tasks/llm-alibi-slope-closed-form-for-n-heads/task.md +49 -0
- mlsys/tasks/llm-alibi-vs-rope-extrapolation/check.py +36 -0
- mlsys/tasks/llm-alibi-vs-rope-extrapolation/gen_fixtures.py +1 -0
- mlsys/tasks/llm-alibi-vs-rope-extrapolation/meta.json +22 -0
- mlsys/tasks/llm-alibi-vs-rope-extrapolation/solution_ref.py +17 -0
- mlsys/tasks/llm-alibi-vs-rope-extrapolation/starter.py +4 -0
- mlsys/tasks/llm-alibi-vs-rope-extrapolation/task.md +85 -0
- mlsys/tasks/llm-apply-bpe-merges-to-token-ids-byte-exact/check.py +47 -0
- mlsys/tasks/llm-apply-bpe-merges-to-token-ids-byte-exact/gen_fixtures.py +1 -0
- mlsys/tasks/llm-apply-bpe-merges-to-token-ids-byte-exact/meta.json +22 -0
- mlsys/tasks/llm-apply-bpe-merges-to-token-ids-byte-exact/solution_ref.py +20 -0
- mlsys/tasks/llm-apply-bpe-merges-to-token-ids-byte-exact/starter.py +2 -0
- mlsys/tasks/llm-apply-bpe-merges-to-token-ids-byte-exact/task.md +48 -0
- mlsys/tasks/llm-apply-logit-bias-map/check.py +30 -0
- mlsys/tasks/llm-apply-logit-bias-map/gen_fixtures.py +1 -0
- mlsys/tasks/llm-apply-logit-bias-map/meta.json +22 -0
- mlsys/tasks/llm-apply-logit-bias-map/solution_ref.py +13 -0
- mlsys/tasks/llm-apply-logit-bias-map/starter.py +4 -0
- mlsys/tasks/llm-apply-logit-bias-map/task.md +48 -0
- mlsys/tasks/llm-apply-rope-to-q-k-match/check.py +34 -0
- mlsys/tasks/llm-apply-rope-to-q-k-match/gen_fixtures.py +1 -0
- mlsys/tasks/llm-apply-rope-to-q-k-match/meta.json +22 -0
- mlsys/tasks/llm-apply-rope-to-q-k-match/solution_ref.py +34 -0
- mlsys/tasks/llm-apply-rope-to-q-k-match/starter.py +5 -0
- mlsys/tasks/llm-apply-rope-to-q-k-match/task.md +66 -0
- mlsys/tasks/llm-asymmetric-zero-point-int8-round-trip/check.py +41 -0
- mlsys/tasks/llm-asymmetric-zero-point-int8-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/llm-asymmetric-zero-point-int8-round-trip/meta.json +27 -0
- mlsys/tasks/llm-asymmetric-zero-point-int8-round-trip/solution_ref.py +17 -0
- mlsys/tasks/llm-asymmetric-zero-point-int8-round-trip/starter.py +4 -0
- mlsys/tasks/llm-asymmetric-zero-point-int8-round-trip/task.md +65 -0
- mlsys/tasks/llm-awq-int4-vs-rtn-int4-quality-size-tradeoff/check.py +48 -0
- mlsys/tasks/llm-awq-int4-vs-rtn-int4-quality-size-tradeoff/gen_fixtures.py +1 -0
- mlsys/tasks/llm-awq-int4-vs-rtn-int4-quality-size-tradeoff/meta.json +27 -0
- mlsys/tasks/llm-awq-int4-vs-rtn-int4-quality-size-tradeoff/solution_ref.py +22 -0
- mlsys/tasks/llm-awq-int4-vs-rtn-int4-quality-size-tradeoff/starter.py +4 -0
- mlsys/tasks/llm-awq-int4-vs-rtn-int4-quality-size-tradeoff/task.md +53 -0
- mlsys/tasks/llm-awq-vs-rtn-protecting-salient-channels/check.py +56 -0
- mlsys/tasks/llm-awq-vs-rtn-protecting-salient-channels/gen_fixtures.py +1 -0
- mlsys/tasks/llm-awq-vs-rtn-protecting-salient-channels/meta.json +27 -0
- mlsys/tasks/llm-awq-vs-rtn-protecting-salient-channels/solution_ref.py +21 -0
- mlsys/tasks/llm-awq-vs-rtn-protecting-salient-channels/starter.py +5 -0
- mlsys/tasks/llm-awq-vs-rtn-protecting-salient-channels/task.md +57 -0
- mlsys/tasks/llm-banned-tokens-inf-mask/check.py +28 -0
- mlsys/tasks/llm-banned-tokens-inf-mask/gen_fixtures.py +1 -0
- mlsys/tasks/llm-banned-tokens-inf-mask/meta.json +22 -0
- mlsys/tasks/llm-banned-tokens-inf-mask/solution_ref.py +9 -0
- mlsys/tasks/llm-banned-tokens-inf-mask/starter.py +4 -0
- mlsys/tasks/llm-banned-tokens-inf-mask/task.md +44 -0
- mlsys/tasks/llm-bf16-matmul-with-fp32-accum-vs-full-fp16/check.py +52 -0
- mlsys/tasks/llm-bf16-matmul-with-fp32-accum-vs-full-fp16/gen_fixtures.py +1 -0
- mlsys/tasks/llm-bf16-matmul-with-fp32-accum-vs-full-fp16/meta.json +27 -0
- mlsys/tasks/llm-bf16-matmul-with-fp32-accum-vs-full-fp16/solution_ref.py +21 -0
- mlsys/tasks/llm-bf16-matmul-with-fp32-accum-vs-full-fp16/starter.py +5 -0
- mlsys/tasks/llm-bf16-matmul-with-fp32-accum-vs-full-fp16/task.md +52 -0
- mlsys/tasks/llm-block-diagonal-mask-for-packed-sequences/check.py +41 -0
- mlsys/tasks/llm-block-diagonal-mask-for-packed-sequences/gen_fixtures.py +1 -0
- mlsys/tasks/llm-block-diagonal-mask-for-packed-sequences/meta.json +22 -0
- mlsys/tasks/llm-block-diagonal-mask-for-packed-sequences/solution_ref.py +11 -0
- mlsys/tasks/llm-block-diagonal-mask-for-packed-sequences/starter.py +4 -0
- mlsys/tasks/llm-block-diagonal-mask-for-packed-sequences/task.md +46 -0
- mlsys/tasks/llm-bpe-encode-decode-byte-round-trip/check.py +65 -0
- mlsys/tasks/llm-bpe-encode-decode-byte-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/llm-bpe-encode-decode-byte-round-trip/meta.json +28 -0
- mlsys/tasks/llm-bpe-encode-decode-byte-round-trip/solution_ref.py +28 -0
- mlsys/tasks/llm-bpe-encode-decode-byte-round-trip/starter.py +5 -0
- mlsys/tasks/llm-bpe-encode-decode-byte-round-trip/task.md +58 -0
- mlsys/tasks/llm-broadcast-reconstruct-full-k-v-from-gqa-heads/check.py +48 -0
- mlsys/tasks/llm-broadcast-reconstruct-full-k-v-from-gqa-heads/gen_fixtures.py +1 -0
- mlsys/tasks/llm-broadcast-reconstruct-full-k-v-from-gqa-heads/meta.json +22 -0
- mlsys/tasks/llm-broadcast-reconstruct-full-k-v-from-gqa-heads/solution_ref.py +6 -0
- mlsys/tasks/llm-broadcast-reconstruct-full-k-v-from-gqa-heads/starter.py +4 -0
- mlsys/tasks/llm-broadcast-reconstruct-full-k-v-from-gqa-heads/task.md +76 -0
- mlsys/tasks/llm-byte-level-bpe-with-utf-8-fallback/check.py +93 -0
- mlsys/tasks/llm-byte-level-bpe-with-utf-8-fallback/gen_fixtures.py +1 -0
- mlsys/tasks/llm-byte-level-bpe-with-utf-8-fallback/meta.json +22 -0
- mlsys/tasks/llm-byte-level-bpe-with-utf-8-fallback/solution_ref.py +30 -0
- mlsys/tasks/llm-byte-level-bpe-with-utf-8-fallback/starter.py +2 -0
- mlsys/tasks/llm-byte-level-bpe-with-utf-8-fallback/task.md +75 -0
- mlsys/tasks/llm-causal-additive-mask-applied-before-softmax/check.py +33 -0
- mlsys/tasks/llm-causal-additive-mask-applied-before-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/llm-causal-additive-mask-applied-before-softmax/meta.json +22 -0
- mlsys/tasks/llm-causal-additive-mask-applied-before-softmax/solution_ref.py +9 -0
- mlsys/tasks/llm-causal-additive-mask-applied-before-softmax/starter.py +4 -0
- mlsys/tasks/llm-causal-additive-mask-applied-before-softmax/task.md +49 -0
- mlsys/tasks/llm-causal-alibi-applied-before-softmax/check.py +26 -0
- mlsys/tasks/llm-causal-alibi-applied-before-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/llm-causal-alibi-applied-before-softmax/meta.json +22 -0
- mlsys/tasks/llm-causal-alibi-applied-before-softmax/solution_ref.py +29 -0
- mlsys/tasks/llm-causal-alibi-applied-before-softmax/starter.py +4 -0
- mlsys/tasks/llm-causal-alibi-applied-before-softmax/task.md +55 -0
- mlsys/tasks/llm-causal-streaming-softmax-with-block-skipping/check.py +39 -0
- mlsys/tasks/llm-causal-streaming-softmax-with-block-skipping/gen_fixtures.py +1 -0
- mlsys/tasks/llm-causal-streaming-softmax-with-block-skipping/meta.json +22 -0
- mlsys/tasks/llm-causal-streaming-softmax-with-block-skipping/solution_ref.py +43 -0
- mlsys/tasks/llm-causal-streaming-softmax-with-block-skipping/starter.py +6 -0
- mlsys/tasks/llm-causal-streaming-softmax-with-block-skipping/task.md +73 -0
- mlsys/tasks/llm-ce-backward-softmax-onehot/check.py +55 -0
- mlsys/tasks/llm-ce-backward-softmax-onehot/gen_fixtures.py +1 -0
- mlsys/tasks/llm-ce-backward-softmax-onehot/meta.json +22 -0
- mlsys/tasks/llm-ce-backward-softmax-onehot/solution_ref.py +11 -0
- mlsys/tasks/llm-ce-backward-softmax-onehot/starter.py +11 -0
- mlsys/tasks/llm-ce-backward-softmax-onehot/task.md +62 -0
- mlsys/tasks/llm-classify-checkpoint-mha-gqa-mqa-from-shapes/check.py +45 -0
- mlsys/tasks/llm-classify-checkpoint-mha-gqa-mqa-from-shapes/gen_fixtures.py +1 -0
- mlsys/tasks/llm-classify-checkpoint-mha-gqa-mqa-from-shapes/meta.json +22 -0
- mlsys/tasks/llm-classify-checkpoint-mha-gqa-mqa-from-shapes/solution_ref.py +13 -0
- mlsys/tasks/llm-classify-checkpoint-mha-gqa-mqa-from-shapes/starter.py +3 -0
- mlsys/tasks/llm-classify-checkpoint-mha-gqa-mqa-from-shapes/task.md +47 -0
- mlsys/tasks/llm-classify-extension-method-from-frequency-table/check.py +48 -0
- mlsys/tasks/llm-classify-extension-method-from-frequency-table/gen_fixtures.py +1 -0
- mlsys/tasks/llm-classify-extension-method-from-frequency-table/meta.json +22 -0
- mlsys/tasks/llm-classify-extension-method-from-frequency-table/solution_ref.py +25 -0
- mlsys/tasks/llm-classify-extension-method-from-frequency-table/starter.py +4 -0
- mlsys/tasks/llm-classify-extension-method-from-frequency-table/task.md +67 -0
- mlsys/tasks/llm-classify-ffn-variant-from-weight-shapes/check.py +48 -0
- mlsys/tasks/llm-classify-ffn-variant-from-weight-shapes/gen_fixtures.py +1 -0
- mlsys/tasks/llm-classify-ffn-variant-from-weight-shapes/meta.json +22 -0
- mlsys/tasks/llm-classify-ffn-variant-from-weight-shapes/solution_ref.py +40 -0
- mlsys/tasks/llm-classify-ffn-variant-from-weight-shapes/starter.py +2 -0
- mlsys/tasks/llm-classify-ffn-variant-from-weight-shapes/task.md +58 -0
- mlsys/tasks/llm-classify-mask-matrices-by-type/check.py +66 -0
- mlsys/tasks/llm-classify-mask-matrices-by-type/gen_fixtures.py +1 -0
- mlsys/tasks/llm-classify-mask-matrices-by-type/meta.json +22 -0
- mlsys/tasks/llm-classify-mask-matrices-by-type/solution_ref.py +27 -0
- mlsys/tasks/llm-classify-mask-matrices-by-type/starter.py +5 -0
- mlsys/tasks/llm-classify-mask-matrices-by-type/task.md +50 -0
- mlsys/tasks/llm-classify-positional-scheme-from-attention-logits/check.py +52 -0
- mlsys/tasks/llm-classify-positional-scheme-from-attention-logits/gen_fixtures.py +1 -0
- mlsys/tasks/llm-classify-positional-scheme-from-attention-logits/meta.json +22 -0
- mlsys/tasks/llm-classify-positional-scheme-from-attention-logits/solution_ref.py +30 -0
- mlsys/tasks/llm-classify-positional-scheme-from-attention-logits/starter.py +5 -0
- mlsys/tasks/llm-classify-positional-scheme-from-attention-logits/task.md +49 -0
- mlsys/tasks/llm-classify-pre-post-sandwich-norm-wirings/check.py +39 -0
- mlsys/tasks/llm-classify-pre-post-sandwich-norm-wirings/gen_fixtures.py +1 -0
- mlsys/tasks/llm-classify-pre-post-sandwich-norm-wirings/meta.json +22 -0
- mlsys/tasks/llm-classify-pre-post-sandwich-norm-wirings/solution_ref.py +29 -0
- mlsys/tasks/llm-classify-pre-post-sandwich-norm-wirings/starter.py +3 -0
- mlsys/tasks/llm-classify-pre-post-sandwich-norm-wirings/task.md +59 -0
- mlsys/tasks/llm-classify-pre-tokenization-regex-splits/check.py +37 -0
- mlsys/tasks/llm-classify-pre-tokenization-regex-splits/gen_fixtures.py +1 -0
- mlsys/tasks/llm-classify-pre-tokenization-regex-splits/meta.json +22 -0
- mlsys/tasks/llm-classify-pre-tokenization-regex-splits/solution_ref.py +21 -0
- mlsys/tasks/llm-classify-pre-tokenization-regex-splits/starter.py +16 -0
- mlsys/tasks/llm-classify-pre-tokenization-regex-splits/task.md +36 -0
- mlsys/tasks/llm-classify-quantization-granularity-from-scale-tensor-shape/check.py +34 -0
- mlsys/tasks/llm-classify-quantization-granularity-from-scale-tensor-shape/gen_fixtures.py +1 -0
- mlsys/tasks/llm-classify-quantization-granularity-from-scale-tensor-shape/meta.json +22 -0
- mlsys/tasks/llm-classify-quantization-granularity-from-scale-tensor-shape/solution_ref.py +12 -0
- mlsys/tasks/llm-classify-quantization-granularity-from-scale-tensor-shape/starter.py +2 -0
- mlsys/tasks/llm-classify-quantization-granularity-from-scale-tensor-shape/task.md +54 -0
- mlsys/tasks/llm-classify-which-sampler-produced-a-filtered-logit-vector/check.py +63 -0
- mlsys/tasks/llm-classify-which-sampler-produced-a-filtered-logit-vector/gen_fixtures.py +1 -0
- mlsys/tasks/llm-classify-which-sampler-produced-a-filtered-logit-vector/meta.json +22 -0
- mlsys/tasks/llm-classify-which-sampler-produced-a-filtered-logit-vector/solution_ref.py +43 -0
- mlsys/tasks/llm-classify-which-sampler-produced-a-filtered-logit-vector/starter.py +5 -0
- mlsys/tasks/llm-classify-which-sampler-produced-a-filtered-logit-vector/task.md +43 -0
- mlsys/tasks/llm-combine-per-block-partials-flash-merge/check.py +46 -0
- mlsys/tasks/llm-combine-per-block-partials-flash-merge/gen_fixtures.py +1 -0
- mlsys/tasks/llm-combine-per-block-partials-flash-merge/meta.json +22 -0
- mlsys/tasks/llm-combine-per-block-partials-flash-merge/solution_ref.py +12 -0
- mlsys/tasks/llm-combine-per-block-partials-flash-merge/starter.py +9 -0
- mlsys/tasks/llm-combine-per-block-partials-flash-merge/task.md +52 -0
- mlsys/tasks/llm-compare-penalty-before-vs-after-temperature-kl/check.py +41 -0
- mlsys/tasks/llm-compare-penalty-before-vs-after-temperature-kl/gen_fixtures.py +1 -0
- mlsys/tasks/llm-compare-penalty-before-vs-after-temperature-kl/meta.json +22 -0
- mlsys/tasks/llm-compare-penalty-before-vs-after-temperature-kl/solution_ref.py +18 -0
- mlsys/tasks/llm-compare-penalty-before-vs-after-temperature-kl/starter.py +4 -0
- mlsys/tasks/llm-compare-penalty-before-vs-after-temperature-kl/task.md +58 -0
- mlsys/tasks/llm-compare-pi-vs-ntk-within-trained-range-kl/check.py +23 -0
- mlsys/tasks/llm-compare-pi-vs-ntk-within-trained-range-kl/gen_fixtures.py +1 -0
- mlsys/tasks/llm-compare-pi-vs-ntk-within-trained-range-kl/meta.json +27 -0
- mlsys/tasks/llm-compare-pi-vs-ntk-within-trained-range-kl/solution_ref.py +31 -0
- mlsys/tasks/llm-compare-pi-vs-ntk-within-trained-range-kl/starter.py +4 -0
- mlsys/tasks/llm-compare-pi-vs-ntk-within-trained-range-kl/task.md +55 -0
- mlsys/tasks/llm-compare-top-k-vs-top-p-distributions-kl/check.py +74 -0
- mlsys/tasks/llm-compare-top-k-vs-top-p-distributions-kl/gen_fixtures.py +1 -0
- mlsys/tasks/llm-compare-top-k-vs-top-p-distributions-kl/meta.json +22 -0
- mlsys/tasks/llm-compare-top-k-vs-top-p-distributions-kl/solution_ref.py +36 -0
- mlsys/tasks/llm-compare-top-k-vs-top-p-distributions-kl/starter.py +4 -0
- mlsys/tasks/llm-compare-top-k-vs-top-p-distributions-kl/task.md +54 -0
- mlsys/tasks/llm-complex-number-rope-equivalence/check.py +51 -0
- mlsys/tasks/llm-complex-number-rope-equivalence/gen_fixtures.py +1 -0
- mlsys/tasks/llm-complex-number-rope-equivalence/meta.json +22 -0
- mlsys/tasks/llm-complex-number-rope-equivalence/solution_ref.py +23 -0
- mlsys/tasks/llm-complex-number-rope-equivalence/starter.py +5 -0
- mlsys/tasks/llm-complex-number-rope-equivalence/task.md +80 -0
- mlsys/tasks/llm-count-memory-passes-two-pass-vs-single-pass/check.py +32 -0
- mlsys/tasks/llm-count-memory-passes-two-pass-vs-single-pass/gen_fixtures.py +1 -0
- mlsys/tasks/llm-count-memory-passes-two-pass-vs-single-pass/meta.json +22 -0
- mlsys/tasks/llm-count-memory-passes-two-pass-vs-single-pass/solution_ref.py +20 -0
- mlsys/tasks/llm-count-memory-passes-two-pass-vs-single-pass/starter.py +2 -0
- mlsys/tasks/llm-count-memory-passes-two-pass-vs-single-pass/task.md +45 -0
- mlsys/tasks/llm-count-nan-inf-naive-vs-stable/check.py +22 -0
- mlsys/tasks/llm-count-nan-inf-naive-vs-stable/gen_fixtures.py +1 -0
- mlsys/tasks/llm-count-nan-inf-naive-vs-stable/meta.json +22 -0
- mlsys/tasks/llm-count-nan-inf-naive-vs-stable/solution_ref.py +12 -0
- mlsys/tasks/llm-count-nan-inf-naive-vs-stable/starter.py +4 -0
- mlsys/tasks/llm-count-nan-inf-naive-vs-stable/task.md +48 -0
- mlsys/tasks/llm-cross-entropy-from-logits-match/check.py +44 -0
- mlsys/tasks/llm-cross-entropy-from-logits-match/gen_fixtures.py +1 -0
- mlsys/tasks/llm-cross-entropy-from-logits-match/meta.json +22 -0
- mlsys/tasks/llm-cross-entropy-from-logits-match/solution_ref.py +9 -0
- mlsys/tasks/llm-cross-entropy-from-logits-match/starter.py +2 -0
- mlsys/tasks/llm-cross-entropy-from-logits-match/task.md +49 -0
- mlsys/tasks/llm-debug-accidental-mean-centering-in-rmsnorm/check.py +30 -0
- mlsys/tasks/llm-debug-accidental-mean-centering-in-rmsnorm/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-accidental-mean-centering-in-rmsnorm/meta.json +22 -0
- mlsys/tasks/llm-debug-accidental-mean-centering-in-rmsnorm/solution_ref.py +23 -0
- mlsys/tasks/llm-debug-accidental-mean-centering-in-rmsnorm/starter.py +11 -0
- mlsys/tasks/llm-debug-accidental-mean-centering-in-rmsnorm/task.md +50 -0
- mlsys/tasks/llm-debug-bpe-merge-tie-break-priority-order/check.py +83 -0
- mlsys/tasks/llm-debug-bpe-merge-tie-break-priority-order/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-bpe-merge-tie-break-priority-order/meta.json +22 -0
- mlsys/tasks/llm-debug-bpe-merge-tie-break-priority-order/solution_ref.py +22 -0
- mlsys/tasks/llm-debug-bpe-merge-tie-break-priority-order/starter.py +21 -0
- mlsys/tasks/llm-debug-bpe-merge-tie-break-priority-order/task.md +58 -0
- mlsys/tasks/llm-debug-cache-wrong-position-index-overwrite/check.py +56 -0
- mlsys/tasks/llm-debug-cache-wrong-position-index-overwrite/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-cache-wrong-position-index-overwrite/meta.json +22 -0
- mlsys/tasks/llm-debug-cache-wrong-position-index-overwrite/solution_ref.py +9 -0
- mlsys/tasks/llm-debug-cache-wrong-position-index-overwrite/starter.py +14 -0
- mlsys/tasks/llm-debug-cache-wrong-position-index-overwrite/task.md +54 -0
- mlsys/tasks/llm-debug-ce-reduction-mean-over-tokens-vs-sum/check.py +51 -0
- mlsys/tasks/llm-debug-ce-reduction-mean-over-tokens-vs-sum/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-ce-reduction-mean-over-tokens-vs-sum/meta.json +22 -0
- mlsys/tasks/llm-debug-ce-reduction-mean-over-tokens-vs-sum/solution_ref.py +20 -0
- mlsys/tasks/llm-debug-ce-reduction-mean-over-tokens-vs-sum/starter.py +16 -0
- mlsys/tasks/llm-debug-ce-reduction-mean-over-tokens-vs-sum/task.md +47 -0
- mlsys/tasks/llm-debug-eps-outside-the-sqrt/check.py +29 -0
- mlsys/tasks/llm-debug-eps-outside-the-sqrt/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-eps-outside-the-sqrt/meta.json +16 -0
- mlsys/tasks/llm-debug-eps-outside-the-sqrt/solution_ref.py +8 -0
- mlsys/tasks/llm-debug-eps-outside-the-sqrt/starter.py +8 -0
- mlsys/tasks/llm-debug-eps-outside-the-sqrt/task.md +54 -0
- mlsys/tasks/llm-debug-interleaved-vs-half-split-rope-convention/check.py +39 -0
- mlsys/tasks/llm-debug-interleaved-vs-half-split-rope-convention/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-interleaved-vs-half-split-rope-convention/meta.json +22 -0
- mlsys/tasks/llm-debug-interleaved-vs-half-split-rope-convention/solution_ref.py +19 -0
- mlsys/tasks/llm-debug-interleaved-vs-half-split-rope-convention/starter.py +21 -0
- mlsys/tasks/llm-debug-interleaved-vs-half-split-rope-convention/task.md +64 -0
- mlsys/tasks/llm-debug-mha-missing-transpose-head-seq-mix/check.py +57 -0
- mlsys/tasks/llm-debug-mha-missing-transpose-head-seq-mix/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-mha-missing-transpose-head-seq-mix/meta.json +22 -0
- mlsys/tasks/llm-debug-mha-missing-transpose-head-seq-mix/solution_ref.py +23 -0
- mlsys/tasks/llm-debug-mha-missing-transpose-head-seq-mix/starter.py +25 -0
- mlsys/tasks/llm-debug-mha-missing-transpose-head-seq-mix/task.md +74 -0
- mlsys/tasks/llm-debug-missing-error-propagation/check.py +65 -0
- mlsys/tasks/llm-debug-missing-error-propagation/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-missing-error-propagation/meta.json +22 -0
- mlsys/tasks/llm-debug-missing-error-propagation/solution_ref.py +27 -0
- mlsys/tasks/llm-debug-missing-error-propagation/starter.py +26 -0
- mlsys/tasks/llm-debug-missing-error-propagation/task.md +84 -0
- mlsys/tasks/llm-debug-missing-output-rescale-exp-m-old-m-new/check.py +66 -0
- mlsys/tasks/llm-debug-missing-output-rescale-exp-m-old-m-new/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-missing-output-rescale-exp-m-old-m-new/meta.json +22 -0
- mlsys/tasks/llm-debug-missing-output-rescale-exp-m-old-m-new/solution_ref.py +22 -0
- mlsys/tasks/llm-debug-missing-output-rescale-exp-m-old-m-new/starter.py +22 -0
- mlsys/tasks/llm-debug-missing-output-rescale-exp-m-old-m-new/task.md +87 -0
- mlsys/tasks/llm-debug-missing-sqrt-d-embedding-scale/check.py +18 -0
- mlsys/tasks/llm-debug-missing-sqrt-d-embedding-scale/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-missing-sqrt-d-embedding-scale/meta.json +22 -0
- mlsys/tasks/llm-debug-missing-sqrt-d-embedding-scale/solution_ref.py +10 -0
- mlsys/tasks/llm-debug-missing-sqrt-d-embedding-scale/starter.py +5 -0
- mlsys/tasks/llm-debug-missing-sqrt-d-embedding-scale/task.md +25 -0
- mlsys/tasks/llm-debug-missing-unscale-before-optimizer-step/check.py +37 -0
- mlsys/tasks/llm-debug-missing-unscale-before-optimizer-step/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-missing-unscale-before-optimizer-step/meta.json +16 -0
- mlsys/tasks/llm-debug-missing-unscale-before-optimizer-step/solution_ref.py +10 -0
- mlsys/tasks/llm-debug-missing-unscale-before-optimizer-step/starter.py +17 -0
- mlsys/tasks/llm-debug-missing-unscale-before-optimizer-step/task.md +66 -0
- mlsys/tasks/llm-debug-naive-log-softmax-underflow/check.py +36 -0
- mlsys/tasks/llm-debug-naive-log-softmax-underflow/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-naive-log-softmax-underflow/meta.json +27 -0
- mlsys/tasks/llm-debug-naive-log-softmax-underflow/solution_ref.py +8 -0
- mlsys/tasks/llm-debug-naive-log-softmax-underflow/starter.py +8 -0
- mlsys/tasks/llm-debug-naive-log-softmax-underflow/task.md +81 -0
- mlsys/tasks/llm-debug-off-by-one-causal-mask-future-leak/check.py +17 -0
- mlsys/tasks/llm-debug-off-by-one-causal-mask-future-leak/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-off-by-one-causal-mask-future-leak/meta.json +22 -0
- mlsys/tasks/llm-debug-off-by-one-causal-mask-future-leak/solution_ref.py +8 -0
- mlsys/tasks/llm-debug-off-by-one-causal-mask-future-leak/starter.py +11 -0
- mlsys/tasks/llm-debug-off-by-one-causal-mask-future-leak/task.md +54 -0
- mlsys/tasks/llm-debug-pi-applied-to-wrong-axis-double-scaled/check.py +34 -0
- mlsys/tasks/llm-debug-pi-applied-to-wrong-axis-double-scaled/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-pi-applied-to-wrong-axis-double-scaled/meta.json +16 -0
- mlsys/tasks/llm-debug-pi-applied-to-wrong-axis-double-scaled/solution_ref.py +11 -0
- mlsys/tasks/llm-debug-pi-applied-to-wrong-axis-double-scaled/starter.py +19 -0
- mlsys/tasks/llm-debug-pi-applied-to-wrong-axis-double-scaled/task.md +65 -0
- mlsys/tasks/llm-debug-post-norm-where-reference-is-pre-norm/check.py +43 -0
- mlsys/tasks/llm-debug-post-norm-where-reference-is-pre-norm/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-post-norm-where-reference-is-pre-norm/meta.json +22 -0
- mlsys/tasks/llm-debug-post-norm-where-reference-is-pre-norm/solution_ref.py +14 -0
- mlsys/tasks/llm-debug-post-norm-where-reference-is-pre-norm/starter.py +15 -0
- mlsys/tasks/llm-debug-post-norm-where-reference-is-pre-norm/task.md +86 -0
- mlsys/tasks/llm-debug-repeat-vs-repeat-interleave-grouping/check.py +28 -0
- mlsys/tasks/llm-debug-repeat-vs-repeat-interleave-grouping/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-repeat-vs-repeat-interleave-grouping/meta.json +22 -0
- mlsys/tasks/llm-debug-repeat-vs-repeat-interleave-grouping/solution_ref.py +6 -0
- mlsys/tasks/llm-debug-repeat-vs-repeat-interleave-grouping/starter.py +8 -0
- mlsys/tasks/llm-debug-repeat-vs-repeat-interleave-grouping/task.md +76 -0
- mlsys/tasks/llm-debug-repetition-penalty-sign-for-negative-logits/check.py +35 -0
- mlsys/tasks/llm-debug-repetition-penalty-sign-for-negative-logits/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-repetition-penalty-sign-for-negative-logits/meta.json +22 -0
- mlsys/tasks/llm-debug-repetition-penalty-sign-for-negative-logits/solution_ref.py +9 -0
- mlsys/tasks/llm-debug-repetition-penalty-sign-for-negative-logits/starter.py +8 -0
- mlsys/tasks/llm-debug-repetition-penalty-sign-for-negative-logits/task.md +59 -0
- mlsys/tasks/llm-debug-scale-computed-over-wrong-axis/check.py +82 -0
- mlsys/tasks/llm-debug-scale-computed-over-wrong-axis/gen_fixtures.py +6 -0
- mlsys/tasks/llm-debug-scale-computed-over-wrong-axis/meta.json +19 -0
- mlsys/tasks/llm-debug-scale-computed-over-wrong-axis/solution_ref.py +14 -0
- mlsys/tasks/llm-debug-scale-computed-over-wrong-axis/starter.py +19 -0
- mlsys/tasks/llm-debug-scale-computed-over-wrong-axis/task.md +73 -0
- mlsys/tasks/llm-debug-scaling-weights-without-inverse-on-activations/check.py +40 -0
- mlsys/tasks/llm-debug-scaling-weights-without-inverse-on-activations/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-scaling-weights-without-inverse-on-activations/meta.json +22 -0
- mlsys/tasks/llm-debug-scaling-weights-without-inverse-on-activations/solution_ref.py +10 -0
- mlsys/tasks/llm-debug-scaling-weights-without-inverse-on-activations/starter.py +11 -0
- mlsys/tasks/llm-debug-scaling-weights-without-inverse-on-activations/task.md +69 -0
- mlsys/tasks/llm-debug-softmax-over-wrong-query-axis/check.py +47 -0
- mlsys/tasks/llm-debug-softmax-over-wrong-query-axis/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-softmax-over-wrong-query-axis/meta.json +22 -0
- mlsys/tasks/llm-debug-softmax-over-wrong-query-axis/solution_ref.py +43 -0
- mlsys/tasks/llm-debug-softmax-over-wrong-query-axis/starter.py +28 -0
- mlsys/tasks/llm-debug-softmax-over-wrong-query-axis/task.md +54 -0
- mlsys/tasks/llm-debug-swapped-gate-up-projections-in-swiglu/check.py +44 -0
- mlsys/tasks/llm-debug-swapped-gate-up-projections-in-swiglu/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-swapped-gate-up-projections-in-swiglu/meta.json +22 -0
- mlsys/tasks/llm-debug-swapped-gate-up-projections-in-swiglu/solution_ref.py +29 -0
- mlsys/tasks/llm-debug-swapped-gate-up-projections-in-swiglu/starter.py +21 -0
- mlsys/tasks/llm-debug-swapped-gate-up-projections-in-swiglu/task.md +63 -0
- mlsys/tasks/llm-debug-top-p-boundary-inclusion/check.py +32 -0
- mlsys/tasks/llm-debug-top-p-boundary-inclusion/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-top-p-boundary-inclusion/meta.json +22 -0
- mlsys/tasks/llm-debug-top-p-boundary-inclusion/solution_ref.py +10 -0
- mlsys/tasks/llm-debug-top-p-boundary-inclusion/starter.py +12 -0
- mlsys/tasks/llm-debug-top-p-boundary-inclusion/task.md +59 -0
- mlsys/tasks/llm-debug-unbiased-n-1-vs-biased-n-variance/check.py +20 -0
- mlsys/tasks/llm-debug-unbiased-n-1-vs-biased-n-variance/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-unbiased-n-1-vs-biased-n-variance/meta.json +22 -0
- mlsys/tasks/llm-debug-unbiased-n-1-vs-biased-n-variance/solution_ref.py +22 -0
- mlsys/tasks/llm-debug-unbiased-n-1-vs-biased-n-variance/starter.py +12 -0
- mlsys/tasks/llm-debug-unbiased-n-1-vs-biased-n-variance/task.md +72 -0
- mlsys/tasks/llm-debug-untied-vs-tied-head-mismatch/check.py +21 -0
- mlsys/tasks/llm-debug-untied-vs-tied-head-mismatch/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-untied-vs-tied-head-mismatch/meta.json +22 -0
- mlsys/tasks/llm-debug-untied-vs-tied-head-mismatch/solution_ref.py +5 -0
- mlsys/tasks/llm-debug-untied-vs-tied-head-mismatch/starter.py +7 -0
- mlsys/tasks/llm-debug-untied-vs-tied-head-mismatch/task.md +46 -0
- mlsys/tasks/llm-debug-wrong-alibi-slope-geometric-ratio/check.py +20 -0
- mlsys/tasks/llm-debug-wrong-alibi-slope-geometric-ratio/gen_fixtures.py +1 -0
- mlsys/tasks/llm-debug-wrong-alibi-slope-geometric-ratio/meta.json +22 -0
- mlsys/tasks/llm-debug-wrong-alibi-slope-geometric-ratio/solution_ref.py +6 -0
- mlsys/tasks/llm-debug-wrong-alibi-slope-geometric-ratio/starter.py +9 -0
- mlsys/tasks/llm-debug-wrong-alibi-slope-geometric-ratio/task.md +61 -0
- mlsys/tasks/llm-decode-arithmetic-intensity-closed-form/check.py +34 -0
- mlsys/tasks/llm-decode-arithmetic-intensity-closed-form/gen_fixtures.py +1 -0
- mlsys/tasks/llm-decode-arithmetic-intensity-closed-form/meta.json +27 -0
- mlsys/tasks/llm-decode-arithmetic-intensity-closed-form/solution_ref.py +18 -0
- mlsys/tasks/llm-decode-arithmetic-intensity-closed-form/starter.py +5 -0
- mlsys/tasks/llm-decode-arithmetic-intensity-closed-form/task.md +87 -0
- mlsys/tasks/llm-deepnorm-sandwich-scaled-residuals-to-stability-target/check.py +27 -0
- mlsys/tasks/llm-deepnorm-sandwich-scaled-residuals-to-stability-target/gen_fixtures.py +1 -0
- mlsys/tasks/llm-deepnorm-sandwich-scaled-residuals-to-stability-target/meta.json +22 -0
- mlsys/tasks/llm-deepnorm-sandwich-scaled-residuals-to-stability-target/solution_ref.py +24 -0
- mlsys/tasks/llm-deepnorm-sandwich-scaled-residuals-to-stability-target/starter.py +4 -0
- mlsys/tasks/llm-deepnorm-sandwich-scaled-residuals-to-stability-target/task.md +41 -0
- mlsys/tasks/llm-embedding-lookup-gather-rows/check.py +21 -0
- mlsys/tasks/llm-embedding-lookup-gather-rows/gen_fixtures.py +1 -0
- mlsys/tasks/llm-embedding-lookup-gather-rows/meta.json +22 -0
- mlsys/tasks/llm-embedding-lookup-gather-rows/solution_ref.py +5 -0
- mlsys/tasks/llm-embedding-lookup-gather-rows/starter.py +2 -0
- mlsys/tasks/llm-embedding-lookup-gather-rows/task.md +43 -0
- mlsys/tasks/llm-ffn-vs-attention-flop-crossover-with-seq-len/check.py +27 -0
- mlsys/tasks/llm-ffn-vs-attention-flop-crossover-with-seq-len/gen_fixtures.py +1 -0
- mlsys/tasks/llm-ffn-vs-attention-flop-crossover-with-seq-len/meta.json +27 -0
- mlsys/tasks/llm-ffn-vs-attention-flop-crossover-with-seq-len/solution_ref.py +7 -0
- mlsys/tasks/llm-ffn-vs-attention-flop-crossover-with-seq-len/starter.py +2 -0
- mlsys/tasks/llm-ffn-vs-attention-flop-crossover-with-seq-len/task.md +66 -0
- mlsys/tasks/llm-fix-all-masked-row-nan-fully-padded-query/check.py +75 -0
- mlsys/tasks/llm-fix-all-masked-row-nan-fully-padded-query/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fix-all-masked-row-nan-fully-padded-query/meta.json +22 -0
- mlsys/tasks/llm-fix-all-masked-row-nan-fully-padded-query/solution_ref.py +22 -0
- mlsys/tasks/llm-fix-all-masked-row-nan-fully-padded-query/starter.py +21 -0
- mlsys/tasks/llm-fix-all-masked-row-nan-fully-padded-query/task.md +66 -0
- mlsys/tasks/llm-flop-memory-savings-rmsnorm-vs-layernorm/check.py +31 -0
- mlsys/tasks/llm-flop-memory-savings-rmsnorm-vs-layernorm/gen_fixtures.py +1 -0
- mlsys/tasks/llm-flop-memory-savings-rmsnorm-vs-layernorm/meta.json +22 -0
- mlsys/tasks/llm-flop-memory-savings-rmsnorm-vs-layernorm/solution_ref.py +12 -0
- mlsys/tasks/llm-flop-memory-savings-rmsnorm-vs-layernorm/starter.py +2 -0
- mlsys/tasks/llm-flop-memory-savings-rmsnorm-vs-layernorm/task.md +59 -0
- mlsys/tasks/llm-footprint-ratio-int8-int4-fp8-vs-fp16/check.py +35 -0
- mlsys/tasks/llm-footprint-ratio-int8-int4-fp8-vs-fp16/gen_fixtures.py +1 -0
- mlsys/tasks/llm-footprint-ratio-int8-int4-fp8-vs-fp16/meta.json +22 -0
- mlsys/tasks/llm-footprint-ratio-int8-int4-fp8-vs-fp16/solution_ref.py +14 -0
- mlsys/tasks/llm-footprint-ratio-int8-int4-fp8-vs-fp16/starter.py +2 -0
- mlsys/tasks/llm-footprint-ratio-int8-int4-fp8-vs-fp16/task.md +53 -0
- mlsys/tasks/llm-fp16-loss-underflow-accumulation/check.py +137 -0
- mlsys/tasks/llm-fp16-loss-underflow-accumulation/gen_fixtures.py +6 -0
- mlsys/tasks/llm-fp16-loss-underflow-accumulation/meta.json +34 -0
- mlsys/tasks/llm-fp16-loss-underflow-accumulation/solution_ref.py +31 -0
- mlsys/tasks/llm-fp16-loss-underflow-accumulation/starter.py +19 -0
- mlsys/tasks/llm-fp16-loss-underflow-accumulation/task.md +104 -0
- mlsys/tasks/llm-fp16-vs-bf16-rounding-of-a-fixture/check.py +33 -0
- mlsys/tasks/llm-fp16-vs-bf16-rounding-of-a-fixture/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fp16-vs-bf16-rounding-of-a-fixture/meta.json +27 -0
- mlsys/tasks/llm-fp16-vs-bf16-rounding-of-a-fixture/solution_ref.py +28 -0
- mlsys/tasks/llm-fp16-vs-bf16-rounding-of-a-fixture/starter.py +6 -0
- mlsys/tasks/llm-fp16-vs-bf16-rounding-of-a-fixture/task.md +51 -0
- mlsys/tasks/llm-fp32-upcast-vs-fp16-in-place-rmsnorm/check.py +27 -0
- mlsys/tasks/llm-fp32-upcast-vs-fp16-in-place-rmsnorm/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fp32-upcast-vs-fp16-in-place-rmsnorm/meta.json +22 -0
- mlsys/tasks/llm-fp32-upcast-vs-fp16-in-place-rmsnorm/solution_ref.py +30 -0
- mlsys/tasks/llm-fp32-upcast-vs-fp16-in-place-rmsnorm/starter.py +4 -0
- mlsys/tasks/llm-fp32-upcast-vs-fp16-in-place-rmsnorm/task.md +46 -0
- mlsys/tasks/llm-fp32-vs-fp16-accumulation-of-long-dot-product/check.py +63 -0
- mlsys/tasks/llm-fp32-vs-fp16-accumulation-of-long-dot-product/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fp32-vs-fp16-accumulation-of-long-dot-product/meta.json +27 -0
- mlsys/tasks/llm-fp32-vs-fp16-accumulation-of-long-dot-product/solution_ref.py +10 -0
- mlsys/tasks/llm-fp32-vs-fp16-accumulation-of-long-dot-product/starter.py +4 -0
- mlsys/tasks/llm-fp32-vs-fp16-accumulation-of-long-dot-product/task.md +73 -0
- mlsys/tasks/llm-fp32-vs-fp16-score-accumulation-divergence/check.py +47 -0
- mlsys/tasks/llm-fp32-vs-fp16-score-accumulation-divergence/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fp32-vs-fp16-score-accumulation-divergence/meta.json +27 -0
- mlsys/tasks/llm-fp32-vs-fp16-score-accumulation-divergence/solution_ref.py +24 -0
- mlsys/tasks/llm-fp32-vs-fp16-score-accumulation-divergence/starter.py +4 -0
- mlsys/tasks/llm-fp32-vs-fp16-score-accumulation-divergence/task.md +89 -0
- mlsys/tasks/llm-fp8-e4m3-e5m2-quantize-round-trip/check.py +77 -0
- mlsys/tasks/llm-fp8-e4m3-e5m2-quantize-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fp8-e4m3-e5m2-quantize-round-trip/meta.json +22 -0
- mlsys/tasks/llm-fp8-e4m3-e5m2-quantize-round-trip/solution_ref.py +53 -0
- mlsys/tasks/llm-fp8-e4m3-e5m2-quantize-round-trip/starter.py +4 -0
- mlsys/tasks/llm-fp8-e4m3-e5m2-quantize-round-trip/task.md +61 -0
- mlsys/tasks/llm-fp8-e4m3-vs-e5m2-representable-range/check.py +70 -0
- mlsys/tasks/llm-fp8-e4m3-vs-e5m2-representable-range/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fp8-e4m3-vs-e5m2-representable-range/meta.json +22 -0
- mlsys/tasks/llm-fp8-e4m3-vs-e5m2-representable-range/solution_ref.py +40 -0
- mlsys/tasks/llm-fp8-e4m3-vs-e5m2-representable-range/starter.py +31 -0
- mlsys/tasks/llm-fp8-e4m3-vs-e5m2-representable-range/task.md +86 -0
- mlsys/tasks/llm-frequency-presence-penalty-openai-formula/check.py +36 -0
- mlsys/tasks/llm-frequency-presence-penalty-openai-formula/gen_fixtures.py +1 -0
- mlsys/tasks/llm-frequency-presence-penalty-openai-formula/meta.json +22 -0
- mlsys/tasks/llm-frequency-presence-penalty-openai-formula/solution_ref.py +39 -0
- mlsys/tasks/llm-frequency-presence-penalty-openai-formula/starter.py +4 -0
- mlsys/tasks/llm-frequency-presence-penalty-openai-formula/task.md +82 -0
- mlsys/tasks/llm-from-scratch-sdpa-no-matmul-trace-enforced/check.py +173 -0
- mlsys/tasks/llm-from-scratch-sdpa-no-matmul-trace-enforced/gen_fixtures.py +1 -0
- mlsys/tasks/llm-from-scratch-sdpa-no-matmul-trace-enforced/meta.json +32 -0
- mlsys/tasks/llm-from-scratch-sdpa-no-matmul-trace-enforced/solution_ref.py +47 -0
- mlsys/tasks/llm-from-scratch-sdpa-no-matmul-trace-enforced/starter.py +12 -0
- mlsys/tasks/llm-from-scratch-sdpa-no-matmul-trace-enforced/task.md +72 -0
- mlsys/tasks/llm-full-mha-forward-match/check.py +41 -0
- mlsys/tasks/llm-full-mha-forward-match/gen_fixtures.py +1 -0
- mlsys/tasks/llm-full-mha-forward-match/meta.json +22 -0
- mlsys/tasks/llm-full-mha-forward-match/solution_ref.py +47 -0
- mlsys/tasks/llm-full-mha-forward-match/starter.py +5 -0
- mlsys/tasks/llm-full-mha-forward-match/task.md +53 -0
- mlsys/tasks/llm-fuse-gate-up-into-one-matmul-then-split/check.py +41 -0
- mlsys/tasks/llm-fuse-gate-up-into-one-matmul-then-split/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fuse-gate-up-into-one-matmul-then-split/meta.json +27 -0
- mlsys/tasks/llm-fuse-gate-up-into-one-matmul-then-split/solution_ref.py +33 -0
- mlsys/tasks/llm-fuse-gate-up-into-one-matmul-then-split/starter.py +6 -0
- mlsys/tasks/llm-fuse-gate-up-into-one-matmul-then-split/task.md +86 -0
- mlsys/tasks/llm-fuse-mask-scale-softmax-over-streamed-key-block/check.py +29 -0
- mlsys/tasks/llm-fuse-mask-scale-softmax-over-streamed-key-block/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fuse-mask-scale-softmax-over-streamed-key-block/meta.json +22 -0
- mlsys/tasks/llm-fuse-mask-scale-softmax-over-streamed-key-block/solution_ref.py +8 -0
- mlsys/tasks/llm-fuse-mask-scale-softmax-over-streamed-key-block/starter.py +9 -0
- mlsys/tasks/llm-fuse-mask-scale-softmax-over-streamed-key-block/task.md +43 -0
- mlsys/tasks/llm-fuse-normalize-affine-no-python-inner-loop/check.py +71 -0
- mlsys/tasks/llm-fuse-normalize-affine-no-python-inner-loop/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fuse-normalize-affine-no-python-inner-loop/meta.json +27 -0
- mlsys/tasks/llm-fuse-normalize-affine-no-python-inner-loop/solution_ref.py +14 -0
- mlsys/tasks/llm-fuse-normalize-affine-no-python-inner-loop/starter.py +16 -0
- mlsys/tasks/llm-fuse-normalize-affine-no-python-inner-loop/task.md +63 -0
- mlsys/tasks/llm-fuse-rope-into-the-qk-score/check.py +53 -0
- mlsys/tasks/llm-fuse-rope-into-the-qk-score/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fuse-rope-into-the-qk-score/meta.json +22 -0
- mlsys/tasks/llm-fuse-rope-into-the-qk-score/solution_ref.py +28 -0
- mlsys/tasks/llm-fuse-rope-into-the-qk-score/starter.py +6 -0
- mlsys/tasks/llm-fuse-rope-into-the-qk-score/task.md +74 -0
- mlsys/tasks/llm-fuse-wq-wk-wv-into-one-qkv-matmul/check.py +45 -0
- mlsys/tasks/llm-fuse-wq-wk-wv-into-one-qkv-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fuse-wq-wk-wv-into-one-qkv-matmul/meta.json +27 -0
- mlsys/tasks/llm-fuse-wq-wk-wv-into-one-qkv-matmul/solution_ref.py +8 -0
- mlsys/tasks/llm-fuse-wq-wk-wv-into-one-qkv-matmul/starter.py +4 -0
- mlsys/tasks/llm-fuse-wq-wk-wv-into-one-qkv-matmul/task.md +78 -0
- mlsys/tasks/llm-fused-padding-causal-window-decode-mask/check.py +39 -0
- mlsys/tasks/llm-fused-padding-causal-window-decode-mask/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fused-padding-causal-window-decode-mask/meta.json +22 -0
- mlsys/tasks/llm-fused-padding-causal-window-decode-mask/solution_ref.py +17 -0
- mlsys/tasks/llm-fused-padding-causal-window-decode-mask/starter.py +9 -0
- mlsys/tasks/llm-fused-padding-causal-window-decode-mask/task.md +41 -0
- mlsys/tasks/llm-fused-qkv-rope-kv-cache-write-in-one-pass/check.py +114 -0
- mlsys/tasks/llm-fused-qkv-rope-kv-cache-write-in-one-pass/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fused-qkv-rope-kv-cache-write-in-one-pass/meta.json +22 -0
- mlsys/tasks/llm-fused-qkv-rope-kv-cache-write-in-one-pass/solution_ref.py +55 -0
- mlsys/tasks/llm-fused-qkv-rope-kv-cache-write-in-one-pass/starter.py +5 -0
- mlsys/tasks/llm-fused-qkv-rope-kv-cache-write-in-one-pass/task.md +83 -0
- mlsys/tasks/llm-fused-temperature-stable-softmax-single-pass/check.py +52 -0
- mlsys/tasks/llm-fused-temperature-stable-softmax-single-pass/gen_fixtures.py +1 -0
- mlsys/tasks/llm-fused-temperature-stable-softmax-single-pass/meta.json +27 -0
- mlsys/tasks/llm-fused-temperature-stable-softmax-single-pass/solution_ref.py +22 -0
- mlsys/tasks/llm-fused-temperature-stable-softmax-single-pass/starter.py +14 -0
- mlsys/tasks/llm-fused-temperature-stable-softmax-single-pass/task.md +76 -0
- mlsys/tasks/llm-geglu-ffn-match/check.py +25 -0
- mlsys/tasks/llm-geglu-ffn-match/gen_fixtures.py +1 -0
- mlsys/tasks/llm-geglu-ffn-match/meta.json +22 -0
- mlsys/tasks/llm-geglu-ffn-match/solution_ref.py +12 -0
- mlsys/tasks/llm-geglu-ffn-match/starter.py +4 -0
- mlsys/tasks/llm-geglu-ffn-match/task.md +58 -0
- mlsys/tasks/llm-gptq-column-update-with-error-compensation/check.py +56 -0
- mlsys/tasks/llm-gptq-column-update-with-error-compensation/gen_fixtures.py +1 -0
- mlsys/tasks/llm-gptq-column-update-with-error-compensation/meta.json +22 -0
- mlsys/tasks/llm-gptq-column-update-with-error-compensation/solution_ref.py +45 -0
- mlsys/tasks/llm-gptq-column-update-with-error-compensation/starter.py +6 -0
- mlsys/tasks/llm-gptq-column-update-with-error-compensation/task.md +69 -0
- mlsys/tasks/llm-gptq-vs-rtn-output-error-on-same-fixture/check.py +105 -0
- mlsys/tasks/llm-gptq-vs-rtn-output-error-on-same-fixture/fixtures/W.npy +0 -0
- mlsys/tasks/llm-gptq-vs-rtn-output-error-on-same-fixture/fixtures/X.npy +0 -0
- mlsys/tasks/llm-gptq-vs-rtn-output-error-on-same-fixture/gen_fixtures.py +28 -0
- mlsys/tasks/llm-gptq-vs-rtn-output-error-on-same-fixture/meta.json +36 -0
- mlsys/tasks/llm-gptq-vs-rtn-output-error-on-same-fixture/solution_ref.py +43 -0
- mlsys/tasks/llm-gptq-vs-rtn-output-error-on-same-fixture/starter.py +19 -0
- mlsys/tasks/llm-gptq-vs-rtn-output-error-on-same-fixture/task.md +95 -0
- mlsys/tasks/llm-gqa-each-kv-head-serves-g-query-heads/check.py +32 -0
- mlsys/tasks/llm-gqa-each-kv-head-serves-g-query-heads/gen_fixtures.py +1 -0
- mlsys/tasks/llm-gqa-each-kv-head-serves-g-query-heads/meta.json +22 -0
- mlsys/tasks/llm-gqa-each-kv-head-serves-g-query-heads/solution_ref.py +12 -0
- mlsys/tasks/llm-gqa-each-kv-head-serves-g-query-heads/starter.py +6 -0
- mlsys/tasks/llm-gqa-each-kv-head-serves-g-query-heads/task.md +43 -0
- mlsys/tasks/llm-gqa-effect-on-decode-arithmetic-intensity/check.py +24 -0
- mlsys/tasks/llm-gqa-effect-on-decode-arithmetic-intensity/gen_fixtures.py +1 -0
- mlsys/tasks/llm-gqa-effect-on-decode-arithmetic-intensity/meta.json +22 -0
- mlsys/tasks/llm-gqa-effect-on-decode-arithmetic-intensity/solution_ref.py +24 -0
- mlsys/tasks/llm-gqa-effect-on-decode-arithmetic-intensity/starter.py +2 -0
- mlsys/tasks/llm-gqa-effect-on-decode-arithmetic-intensity/task.md +43 -0
- mlsys/tasks/llm-greedy-argmax-next-token/check.py +22 -0
- mlsys/tasks/llm-greedy-argmax-next-token/gen_fixtures.py +1 -0
- mlsys/tasks/llm-greedy-argmax-next-token/meta.json +22 -0
- mlsys/tasks/llm-greedy-argmax-next-token/solution_ref.py +7 -0
- mlsys/tasks/llm-greedy-argmax-next-token/starter.py +4 -0
- mlsys/tasks/llm-greedy-argmax-next-token/task.md +34 -0
- mlsys/tasks/llm-grid-search-optimal-awq-scale-min-output-mse/check.py +61 -0
- mlsys/tasks/llm-grid-search-optimal-awq-scale-min-output-mse/gen_fixtures.py +1 -0
- mlsys/tasks/llm-grid-search-optimal-awq-scale-min-output-mse/meta.json +22 -0
- mlsys/tasks/llm-grid-search-optimal-awq-scale-min-output-mse/solution_ref.py +29 -0
- mlsys/tasks/llm-grid-search-optimal-awq-scale-min-output-mse/starter.py +4 -0
- mlsys/tasks/llm-grid-search-optimal-awq-scale-min-output-mse/task.md +74 -0
- mlsys/tasks/llm-group-wise-int4-quantization/check.py +59 -0
- mlsys/tasks/llm-group-wise-int4-quantization/gen_fixtures.py +1 -0
- mlsys/tasks/llm-group-wise-int4-quantization/meta.json +27 -0
- mlsys/tasks/llm-group-wise-int4-quantization/solution_ref.py +19 -0
- mlsys/tasks/llm-group-wise-int4-quantization/starter.py +4 -0
- mlsys/tasks/llm-group-wise-int4-quantization/task.md +88 -0
- mlsys/tasks/llm-hbm-bytes-ratio-flash-vs-naive-attention/check.py +36 -0
- mlsys/tasks/llm-hbm-bytes-ratio-flash-vs-naive-attention/gen_fixtures.py +1 -0
- mlsys/tasks/llm-hbm-bytes-ratio-flash-vs-naive-attention/meta.json +22 -0
- mlsys/tasks/llm-hbm-bytes-ratio-flash-vs-naive-attention/solution_ref.py +25 -0
- mlsys/tasks/llm-hbm-bytes-ratio-flash-vs-naive-attention/starter.py +5 -0
- mlsys/tasks/llm-hbm-bytes-ratio-flash-vs-naive-attention/task.md +83 -0
- mlsys/tasks/llm-hessian-based-column-ordering/check.py +22 -0
- mlsys/tasks/llm-hessian-based-column-ordering/gen_fixtures.py +1 -0
- mlsys/tasks/llm-hessian-based-column-ordering/meta.json +22 -0
- mlsys/tasks/llm-hessian-based-column-ordering/solution_ref.py +17 -0
- mlsys/tasks/llm-hessian-based-column-ordering/starter.py +4 -0
- mlsys/tasks/llm-hessian-based-column-ordering/task.md +54 -0
- mlsys/tasks/llm-identify-salient-channels-by-activation-magnitude/check.py +35 -0
- mlsys/tasks/llm-identify-salient-channels-by-activation-magnitude/gen_fixtures.py +1 -0
- mlsys/tasks/llm-identify-salient-channels-by-activation-magnitude/meta.json +22 -0
- mlsys/tasks/llm-identify-salient-channels-by-activation-magnitude/solution_ref.py +16 -0
- mlsys/tasks/llm-identify-salient-channels-by-activation-magnitude/starter.py +4 -0
- mlsys/tasks/llm-identify-salient-channels-by-activation-magnitude/task.md +48 -0
- mlsys/tasks/llm-ignore-index-padding-masking-in-ce/check.py +38 -0
- mlsys/tasks/llm-ignore-index-padding-masking-in-ce/gen_fixtures.py +1 -0
- mlsys/tasks/llm-ignore-index-padding-masking-in-ce/meta.json +22 -0
- mlsys/tasks/llm-ignore-index-padding-masking-in-ce/solution_ref.py +17 -0
- mlsys/tasks/llm-ignore-index-padding-masking-in-ce/starter.py +4 -0
- mlsys/tasks/llm-ignore-index-padding-masking-in-ce/task.md +62 -0
- mlsys/tasks/llm-kahan-compensated-summation-vs-naive-fp16/check.py +32 -0
- mlsys/tasks/llm-kahan-compensated-summation-vs-naive-fp16/gen_fixtures.py +1 -0
- mlsys/tasks/llm-kahan-compensated-summation-vs-naive-fp16/meta.json +22 -0
- mlsys/tasks/llm-kahan-compensated-summation-vs-naive-fp16/solution_ref.py +12 -0
- mlsys/tasks/llm-kahan-compensated-summation-vs-naive-fp16/starter.py +4 -0
- mlsys/tasks/llm-kahan-compensated-summation-vs-naive-fp16/task.md +78 -0
- mlsys/tasks/llm-kl-stable-fp32-vs-naive-fp16-softmax/check.py +40 -0
- mlsys/tasks/llm-kl-stable-fp32-vs-naive-fp16-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/llm-kl-stable-fp32-vs-naive-fp16-softmax/meta.json +22 -0
- mlsys/tasks/llm-kl-stable-fp32-vs-naive-fp16-softmax/solution_ref.py +29 -0
- mlsys/tasks/llm-kl-stable-fp32-vs-naive-fp16-softmax/starter.py +4 -0
- mlsys/tasks/llm-kl-stable-fp32-vs-naive-fp16-softmax/task.md +47 -0
- mlsys/tasks/llm-kv-bytes-moved-per-decode-step/check.py +36 -0
- mlsys/tasks/llm-kv-bytes-moved-per-decode-step/gen_fixtures.py +1 -0
- mlsys/tasks/llm-kv-bytes-moved-per-decode-step/meta.json +22 -0
- mlsys/tasks/llm-kv-bytes-moved-per-decode-step/solution_ref.py +7 -0
- mlsys/tasks/llm-kv-bytes-moved-per-decode-step/starter.py +3 -0
- mlsys/tasks/llm-kv-bytes-moved-per-decode-step/task.md +80 -0
- mlsys/tasks/llm-kv-cache-append-decode-step-matches-full-recompute/check.py +40 -0
- mlsys/tasks/llm-kv-cache-append-decode-step-matches-full-recompute/gen_fixtures.py +1 -0
- mlsys/tasks/llm-kv-cache-append-decode-step-matches-full-recompute/meta.json +22 -0
- mlsys/tasks/llm-kv-cache-append-decode-step-matches-full-recompute/solution_ref.py +36 -0
- mlsys/tasks/llm-kv-cache-append-decode-step-matches-full-recompute/starter.py +4 -0
- mlsys/tasks/llm-kv-cache-append-decode-step-matches-full-recompute/task.md +74 -0
- mlsys/tasks/llm-kv-cache-byte-model-layers-heads-d-ctx-dtype/check.py +27 -0
- mlsys/tasks/llm-kv-cache-byte-model-layers-heads-d-ctx-dtype/gen_fixtures.py +1 -0
- mlsys/tasks/llm-kv-cache-byte-model-layers-heads-d-ctx-dtype/meta.json +22 -0
- mlsys/tasks/llm-kv-cache-byte-model-layers-heads-d-ctx-dtype/solution_ref.py +31 -0
- mlsys/tasks/llm-kv-cache-byte-model-layers-heads-d-ctx-dtype/starter.py +4 -0
- mlsys/tasks/llm-kv-cache-byte-model-layers-heads-d-ctx-dtype/task.md +38 -0
- mlsys/tasks/llm-kv-cache-bytes-mha-vs-gqa-vs-mqa/check.py +59 -0
- mlsys/tasks/llm-kv-cache-bytes-mha-vs-gqa-vs-mqa/gen_fixtures.py +1 -0
- mlsys/tasks/llm-kv-cache-bytes-mha-vs-gqa-vs-mqa/meta.json +27 -0
- mlsys/tasks/llm-kv-cache-bytes-mha-vs-gqa-vs-mqa/solution_ref.py +32 -0
- mlsys/tasks/llm-kv-cache-bytes-mha-vs-gqa-vs-mqa/starter.py +6 -0
- mlsys/tasks/llm-kv-cache-bytes-mha-vs-gqa-vs-mqa/task.md +92 -0
- mlsys/tasks/llm-label-smoothing-cross-entropy/check.py +38 -0
- mlsys/tasks/llm-label-smoothing-cross-entropy/gen_fixtures.py +1 -0
- mlsys/tasks/llm-label-smoothing-cross-entropy/meta.json +22 -0
- mlsys/tasks/llm-label-smoothing-cross-entropy/solution_ref.py +37 -0
- mlsys/tasks/llm-label-smoothing-cross-entropy/starter.py +4 -0
- mlsys/tasks/llm-label-smoothing-cross-entropy/task.md +59 -0
- mlsys/tasks/llm-layernorm-backward-from-scratch/check.py +44 -0
- mlsys/tasks/llm-layernorm-backward-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/llm-layernorm-backward-from-scratch/meta.json +22 -0
- mlsys/tasks/llm-layernorm-backward-from-scratch/solution_ref.py +47 -0
- mlsys/tasks/llm-layernorm-backward-from-scratch/starter.py +8 -0
- mlsys/tasks/llm-layernorm-backward-from-scratch/task.md +76 -0
- mlsys/tasks/llm-layernorm-forward-from-scratch/check.py +29 -0
- mlsys/tasks/llm-layernorm-forward-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/llm-layernorm-forward-from-scratch/meta.json +22 -0
- mlsys/tasks/llm-layernorm-forward-from-scratch/solution_ref.py +11 -0
- mlsys/tasks/llm-layernorm-forward-from-scratch/starter.py +4 -0
- mlsys/tasks/llm-layernorm-forward-from-scratch/task.md +57 -0
- mlsys/tasks/llm-layerwise-output-mse-objective/check.py +44 -0
- mlsys/tasks/llm-layerwise-output-mse-objective/gen_fixtures.py +1 -0
- mlsys/tasks/llm-layerwise-output-mse-objective/meta.json +22 -0
- mlsys/tasks/llm-layerwise-output-mse-objective/solution_ref.py +9 -0
- mlsys/tasks/llm-layerwise-output-mse-objective/starter.py +4 -0
- mlsys/tasks/llm-layerwise-output-mse-objective/task.md +67 -0
- mlsys/tasks/llm-layout-cost-b-h-s-d-vs-b-s-h-d/check.py +51 -0
- mlsys/tasks/llm-layout-cost-b-h-s-d-vs-b-s-h-d/gen_fixtures.py +1 -0
- mlsys/tasks/llm-layout-cost-b-h-s-d-vs-b-s-h-d/meta.json +22 -0
- mlsys/tasks/llm-layout-cost-b-h-s-d-vs-b-s-h-d/solution_ref.py +31 -0
- mlsys/tasks/llm-layout-cost-b-h-s-d-vs-b-s-h-d/starter.py +2 -0
- mlsys/tasks/llm-layout-cost-b-h-s-d-vs-b-s-h-d/task.md +46 -0
- mlsys/tasks/llm-linear-position-interpolation-pi/check.py +30 -0
- mlsys/tasks/llm-linear-position-interpolation-pi/gen_fixtures.py +1 -0
- mlsys/tasks/llm-linear-position-interpolation-pi/meta.json +22 -0
- mlsys/tasks/llm-linear-position-interpolation-pi/solution_ref.py +8 -0
- mlsys/tasks/llm-linear-position-interpolation-pi/starter.py +2 -0
- mlsys/tasks/llm-linear-position-interpolation-pi/task.md +52 -0
- mlsys/tasks/llm-lm-head-flops-at-vocab-v/check.py +29 -0
- mlsys/tasks/llm-lm-head-flops-at-vocab-v/gen_fixtures.py +1 -0
- mlsys/tasks/llm-lm-head-flops-at-vocab-v/meta.json +22 -0
- mlsys/tasks/llm-lm-head-flops-at-vocab-v/solution_ref.py +20 -0
- mlsys/tasks/llm-lm-head-flops-at-vocab-v/starter.py +2 -0
- mlsys/tasks/llm-lm-head-flops-at-vocab-v/task.md +42 -0
- mlsys/tasks/llm-lm-head-projection-to-logits/check.py +21 -0
- mlsys/tasks/llm-lm-head-projection-to-logits/gen_fixtures.py +1 -0
- mlsys/tasks/llm-lm-head-projection-to-logits/meta.json +22 -0
- mlsys/tasks/llm-lm-head-projection-to-logits/solution_ref.py +21 -0
- mlsys/tasks/llm-lm-head-projection-to-logits/starter.py +4 -0
- mlsys/tasks/llm-lm-head-projection-to-logits/task.md +56 -0
- mlsys/tasks/llm-logsumexp-logsoftmax-from-scratch/check.py +73 -0
- mlsys/tasks/llm-logsumexp-logsoftmax-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/llm-logsumexp-logsoftmax-from-scratch/meta.json +23 -0
- mlsys/tasks/llm-logsumexp-logsoftmax-from-scratch/solution_ref.py +18 -0
- mlsys/tasks/llm-logsumexp-logsoftmax-from-scratch/starter.py +9 -0
- mlsys/tasks/llm-logsumexp-logsoftmax-from-scratch/task.md +59 -0
- mlsys/tasks/llm-loss-scaling-recovers-small-fp16-gradients/check.py +103 -0
- mlsys/tasks/llm-loss-scaling-recovers-small-fp16-gradients/gen_fixtures.py +1 -0
- mlsys/tasks/llm-loss-scaling-recovers-small-fp16-gradients/meta.json +36 -0
- mlsys/tasks/llm-loss-scaling-recovers-small-fp16-gradients/solution_ref.py +28 -0
- mlsys/tasks/llm-loss-scaling-recovers-small-fp16-gradients/starter.py +21 -0
- mlsys/tasks/llm-loss-scaling-recovers-small-fp16-gradients/task.md +93 -0
- mlsys/tasks/llm-mantissa-bits-round-trip-error-closed-form/check.py +24 -0
- mlsys/tasks/llm-mantissa-bits-round-trip-error-closed-form/gen_fixtures.py +1 -0
- mlsys/tasks/llm-mantissa-bits-round-trip-error-closed-form/meta.json +22 -0
- mlsys/tasks/llm-mantissa-bits-round-trip-error-closed-form/solution_ref.py +19 -0
- mlsys/tasks/llm-mantissa-bits-round-trip-error-closed-form/starter.py +4 -0
- mlsys/tasks/llm-mantissa-bits-round-trip-error-closed-form/task.md +49 -0
- mlsys/tasks/llm-manual-index-head-split-merge-no-reshape/check.py +83 -0
- mlsys/tasks/llm-manual-index-head-split-merge-no-reshape/gen_fixtures.py +1 -0
- mlsys/tasks/llm-manual-index-head-split-merge-no-reshape/meta.json +28 -0
- mlsys/tasks/llm-manual-index-head-split-merge-no-reshape/solution_ref.py +38 -0
- mlsys/tasks/llm-manual-index-head-split-merge-no-reshape/starter.py +23 -0
- mlsys/tasks/llm-manual-index-head-split-merge-no-reshape/task.md +89 -0
- mlsys/tasks/llm-mha-flops-params-vs-equal-d-single-head/check.py +38 -0
- mlsys/tasks/llm-mha-flops-params-vs-equal-d-single-head/gen_fixtures.py +1 -0
- mlsys/tasks/llm-mha-flops-params-vs-equal-d-single-head/meta.json +22 -0
- mlsys/tasks/llm-mha-flops-params-vs-equal-d-single-head/solution_ref.py +16 -0
- mlsys/tasks/llm-mha-flops-params-vs-equal-d-single-head/starter.py +3 -0
- mlsys/tasks/llm-mha-flops-params-vs-equal-d-single-head/task.md +84 -0
- mlsys/tasks/llm-min-p-filter/check.py +29 -0
- mlsys/tasks/llm-min-p-filter/gen_fixtures.py +1 -0
- mlsys/tasks/llm-min-p-filter/meta.json +22 -0
- mlsys/tasks/llm-min-p-filter/solution_ref.py +10 -0
- mlsys/tasks/llm-min-p-filter/starter.py +4 -0
- mlsys/tasks/llm-min-p-filter/task.md +39 -0
- mlsys/tasks/llm-model-materialized-elements-naive-vs-streaming/check.py +38 -0
- mlsys/tasks/llm-model-materialized-elements-naive-vs-streaming/gen_fixtures.py +1 -0
- mlsys/tasks/llm-model-materialized-elements-naive-vs-streaming/meta.json +22 -0
- mlsys/tasks/llm-model-materialized-elements-naive-vs-streaming/solution_ref.py +8 -0
- mlsys/tasks/llm-model-materialized-elements-naive-vs-streaming/starter.py +4 -0
- mlsys/tasks/llm-model-materialized-elements-naive-vs-streaming/task.md +41 -0
- mlsys/tasks/llm-mqa-is-the-gqa-limit-n-kv-1/check.py +31 -0
- mlsys/tasks/llm-mqa-is-the-gqa-limit-n-kv-1/gen_fixtures.py +1 -0
- mlsys/tasks/llm-mqa-is-the-gqa-limit-n-kv-1/meta.json +22 -0
- mlsys/tasks/llm-mqa-is-the-gqa-limit-n-kv-1/solution_ref.py +25 -0
- mlsys/tasks/llm-mqa-is-the-gqa-limit-n-kv-1/starter.py +6 -0
- mlsys/tasks/llm-mqa-is-the-gqa-limit-n-kv-1/task.md +55 -0
- mlsys/tasks/llm-naive-softmax-then-log-vs-log-softmax-stability/check.py +24 -0
- mlsys/tasks/llm-naive-softmax-then-log-vs-log-softmax-stability/gen_fixtures.py +1 -0
- mlsys/tasks/llm-naive-softmax-then-log-vs-log-softmax-stability/meta.json +22 -0
- mlsys/tasks/llm-naive-softmax-then-log-vs-log-softmax-stability/solution_ref.py +7 -0
- mlsys/tasks/llm-naive-softmax-then-log-vs-log-softmax-stability/starter.py +4 -0
- mlsys/tasks/llm-naive-softmax-then-log-vs-log-softmax-stability/task.md +50 -0
- mlsys/tasks/llm-no-repeat-ngram-blocking/check.py +31 -0
- mlsys/tasks/llm-no-repeat-ngram-blocking/gen_fixtures.py +1 -0
- mlsys/tasks/llm-no-repeat-ngram-blocking/meta.json +22 -0
- mlsys/tasks/llm-no-repeat-ngram-blocking/solution_ref.py +16 -0
- mlsys/tasks/llm-no-repeat-ngram-blocking/starter.py +2 -0
- mlsys/tasks/llm-no-repeat-ngram-blocking/task.md +36 -0
- mlsys/tasks/llm-ntk-aware-base-scaling/check.py +22 -0
- mlsys/tasks/llm-ntk-aware-base-scaling/gen_fixtures.py +1 -0
- mlsys/tasks/llm-ntk-aware-base-scaling/meta.json +22 -0
- mlsys/tasks/llm-ntk-aware-base-scaling/solution_ref.py +21 -0
- mlsys/tasks/llm-ntk-aware-base-scaling/starter.py +5 -0
- mlsys/tasks/llm-ntk-aware-base-scaling/task.md +39 -0
- mlsys/tasks/llm-operational-intensity-crossover-batch-size/check.py +26 -0
- mlsys/tasks/llm-operational-intensity-crossover-batch-size/gen_fixtures.py +1 -0
- mlsys/tasks/llm-operational-intensity-crossover-batch-size/meta.json +22 -0
- mlsys/tasks/llm-operational-intensity-crossover-batch-size/solution_ref.py +9 -0
- mlsys/tasks/llm-operational-intensity-crossover-batch-size/starter.py +2 -0
- mlsys/tasks/llm-operational-intensity-crossover-batch-size/task.md +57 -0
- mlsys/tasks/llm-pack-two-int4-values-per-byte-byte-exact/check.py +44 -0
- mlsys/tasks/llm-pack-two-int4-values-per-byte-byte-exact/gen_fixtures.py +1 -0
- mlsys/tasks/llm-pack-two-int4-values-per-byte-byte-exact/meta.json +22 -0
- mlsys/tasks/llm-pack-two-int4-values-per-byte-byte-exact/solution_ref.py +11 -0
- mlsys/tasks/llm-pack-two-int4-values-per-byte-byte-exact/starter.py +4 -0
- mlsys/tasks/llm-pack-two-int4-values-per-byte-byte-exact/task.md +67 -0
- mlsys/tasks/llm-pagedattention-block-table-gather/check.py +28 -0
- mlsys/tasks/llm-pagedattention-block-table-gather/gen_fixtures.py +1 -0
- mlsys/tasks/llm-pagedattention-block-table-gather/meta.json +22 -0
- mlsys/tasks/llm-pagedattention-block-table-gather/solution_ref.py +13 -0
- mlsys/tasks/llm-pagedattention-block-table-gather/starter.py +4 -0
- mlsys/tasks/llm-pagedattention-block-table-gather/task.md +61 -0
- mlsys/tasks/llm-param-budget-gated-vs-vanilla-at-matched-hidden/check.py +19 -0
- mlsys/tasks/llm-param-budget-gated-vs-vanilla-at-matched-hidden/gen_fixtures.py +1 -0
- mlsys/tasks/llm-param-budget-gated-vs-vanilla-at-matched-hidden/meta.json +22 -0
- mlsys/tasks/llm-param-budget-gated-vs-vanilla-at-matched-hidden/solution_ref.py +28 -0
- mlsys/tasks/llm-param-budget-gated-vs-vanilla-at-matched-hidden/starter.py +4 -0
- mlsys/tasks/llm-param-budget-gated-vs-vanilla-at-matched-hidden/task.md +66 -0
- mlsys/tasks/llm-parameter-savings-from-weight-tying/check.py +44 -0
- mlsys/tasks/llm-parameter-savings-from-weight-tying/gen_fixtures.py +1 -0
- mlsys/tasks/llm-parameter-savings-from-weight-tying/meta.json +22 -0
- mlsys/tasks/llm-parameter-savings-from-weight-tying/solution_ref.py +19 -0
- mlsys/tasks/llm-parameter-savings-from-weight-tying/starter.py +2 -0
- mlsys/tasks/llm-parameter-savings-from-weight-tying/task.md +44 -0
- mlsys/tasks/llm-per-channel-activation-scales-from-calibration/check.py +24 -0
- mlsys/tasks/llm-per-channel-activation-scales-from-calibration/gen_fixtures.py +1 -0
- mlsys/tasks/llm-per-channel-activation-scales-from-calibration/meta.json +22 -0
- mlsys/tasks/llm-per-channel-activation-scales-from-calibration/solution_ref.py +19 -0
- mlsys/tasks/llm-per-channel-activation-scales-from-calibration/starter.py +6 -0
- mlsys/tasks/llm-per-channel-activation-scales-from-calibration/task.md +39 -0
- mlsys/tasks/llm-per-channel-vs-per-tensor-error/check.py +16 -0
- mlsys/tasks/llm-per-channel-vs-per-tensor-error/gen_fixtures.py +1 -0
- mlsys/tasks/llm-per-channel-vs-per-tensor-error/meta.json +22 -0
- mlsys/tasks/llm-per-channel-vs-per-tensor-error/solution_ref.py +31 -0
- mlsys/tasks/llm-per-channel-vs-per-tensor-error/starter.py +4 -0
- mlsys/tasks/llm-per-channel-vs-per-tensor-error/task.md +66 -0
- mlsys/tasks/llm-per-tensor-symmetric-int8-round-trip/check.py +28 -0
- mlsys/tasks/llm-per-tensor-symmetric-int8-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/llm-per-tensor-symmetric-int8-round-trip/meta.json +22 -0
- mlsys/tasks/llm-per-tensor-symmetric-int8-round-trip/solution_ref.py +26 -0
- mlsys/tasks/llm-per-tensor-symmetric-int8-round-trip/starter.py +5 -0
- mlsys/tasks/llm-per-tensor-symmetric-int8-round-trip/task.md +68 -0
- mlsys/tasks/llm-perplexity-from-cross-entropy/check.py +29 -0
- mlsys/tasks/llm-perplexity-from-cross-entropy/gen_fixtures.py +1 -0
- mlsys/tasks/llm-perplexity-from-cross-entropy/meta.json +22 -0
- mlsys/tasks/llm-perplexity-from-cross-entropy/solution_ref.py +32 -0
- mlsys/tasks/llm-perplexity-from-cross-entropy/starter.py +4 -0
- mlsys/tasks/llm-perplexity-from-cross-entropy/task.md +43 -0
- mlsys/tasks/llm-pre-norm-block-wiring-match/check.py +79 -0
- mlsys/tasks/llm-pre-norm-block-wiring-match/gen_fixtures.py +1 -0
- mlsys/tasks/llm-pre-norm-block-wiring-match/meta.json +22 -0
- mlsys/tasks/llm-pre-norm-block-wiring-match/solution_ref.py +45 -0
- mlsys/tasks/llm-pre-norm-block-wiring-match/starter.py +17 -0
- mlsys/tasks/llm-pre-norm-block-wiring-match/task.md +92 -0
- mlsys/tasks/llm-predict-compute-vs-memory-bound-regime/check.py +55 -0
- mlsys/tasks/llm-predict-compute-vs-memory-bound-regime/gen_fixtures.py +1 -0
- mlsys/tasks/llm-predict-compute-vs-memory-bound-regime/meta.json +22 -0
- mlsys/tasks/llm-predict-compute-vs-memory-bound-regime/solution_ref.py +41 -0
- mlsys/tasks/llm-predict-compute-vs-memory-bound-regime/starter.py +7 -0
- mlsys/tasks/llm-predict-compute-vs-memory-bound-regime/task.md +64 -0
- mlsys/tasks/llm-predict-which-fixtures-overflow-naive-softmax/check.py +33 -0
- mlsys/tasks/llm-predict-which-fixtures-overflow-naive-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/llm-predict-which-fixtures-overflow-naive-softmax/meta.json +22 -0
- mlsys/tasks/llm-predict-which-fixtures-overflow-naive-softmax/solution_ref.py +5 -0
- mlsys/tasks/llm-predict-which-fixtures-overflow-naive-softmax/starter.py +4 -0
- mlsys/tasks/llm-predict-which-fixtures-overflow-naive-softmax/task.md +34 -0
- mlsys/tasks/llm-prefill-arithmetic-intensity-closed-form/check.py +22 -0
- mlsys/tasks/llm-prefill-arithmetic-intensity-closed-form/gen_fixtures.py +1 -0
- mlsys/tasks/llm-prefill-arithmetic-intensity-closed-form/meta.json +22 -0
- mlsys/tasks/llm-prefill-arithmetic-intensity-closed-form/solution_ref.py +23 -0
- mlsys/tasks/llm-prefill-arithmetic-intensity-closed-form/starter.py +4 -0
- mlsys/tasks/llm-prefill-arithmetic-intensity-closed-form/task.md +51 -0
- mlsys/tasks/llm-prefill-decode-equivalence-to-no-cache/check.py +48 -0
- mlsys/tasks/llm-prefill-decode-equivalence-to-no-cache/gen_fixtures.py +1 -0
- mlsys/tasks/llm-prefill-decode-equivalence-to-no-cache/meta.json +22 -0
- mlsys/tasks/llm-prefill-decode-equivalence-to-no-cache/solution_ref.py +45 -0
- mlsys/tasks/llm-prefill-decode-equivalence-to-no-cache/starter.py +27 -0
- mlsys/tasks/llm-prefill-decode-equivalence-to-no-cache/task.md +49 -0
- mlsys/tasks/llm-prefill-vs-decode-flop-ratio/check.py +101 -0
- mlsys/tasks/llm-prefill-vs-decode-flop-ratio/gen_fixtures.py +1 -0
- mlsys/tasks/llm-prefill-vs-decode-flop-ratio/meta.json +27 -0
- mlsys/tasks/llm-prefill-vs-decode-flop-ratio/solution_ref.py +19 -0
- mlsys/tasks/llm-prefill-vs-decode-flop-ratio/starter.py +5 -0
- mlsys/tasks/llm-prefill-vs-decode-flop-ratio/task.md +78 -0
- mlsys/tasks/llm-priority-queue-bpe-reduces-work-vs-naive-rescans/check.py +106 -0
- mlsys/tasks/llm-priority-queue-bpe-reduces-work-vs-naive-rescans/gen_fixtures.py +1 -0
- mlsys/tasks/llm-priority-queue-bpe-reduces-work-vs-naive-rescans/meta.json +27 -0
- mlsys/tasks/llm-priority-queue-bpe-reduces-work-vs-naive-rescans/solution_ref.py +68 -0
- mlsys/tasks/llm-priority-queue-bpe-reduces-work-vs-naive-rescans/starter.py +13 -0
- mlsys/tasks/llm-priority-queue-bpe-reduces-work-vs-naive-rescans/task.md +75 -0
- mlsys/tasks/llm-prove-block-rescaling-equals-monolithic-softmax/check.py +30 -0
- mlsys/tasks/llm-prove-block-rescaling-equals-monolithic-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/llm-prove-block-rescaling-equals-monolithic-softmax/meta.json +22 -0
- mlsys/tasks/llm-prove-block-rescaling-equals-monolithic-softmax/solution_ref.py +24 -0
- mlsys/tasks/llm-prove-block-rescaling-equals-monolithic-softmax/starter.py +6 -0
- mlsys/tasks/llm-prove-block-rescaling-equals-monolithic-softmax/task.md +70 -0
- mlsys/tasks/llm-quality-cost-of-kv-grouping-mean-pool-kl/check.py +58 -0
- mlsys/tasks/llm-quality-cost-of-kv-grouping-mean-pool-kl/gen_fixtures.py +1 -0
- mlsys/tasks/llm-quality-cost-of-kv-grouping-mean-pool-kl/meta.json +22 -0
- mlsys/tasks/llm-quality-cost-of-kv-grouping-mean-pool-kl/solution_ref.py +38 -0
- mlsys/tasks/llm-quality-cost-of-kv-grouping-mean-pool-kl/starter.py +7 -0
- mlsys/tasks/llm-quality-cost-of-kv-grouping-mean-pool-kl/task.md +69 -0
- mlsys/tasks/llm-quantization-aware-layernorm-int8-activations/check.py +30 -0
- mlsys/tasks/llm-quantization-aware-layernorm-int8-activations/gen_fixtures.py +1 -0
- mlsys/tasks/llm-quantization-aware-layernorm-int8-activations/meta.json +22 -0
- mlsys/tasks/llm-quantization-aware-layernorm-int8-activations/solution_ref.py +17 -0
- mlsys/tasks/llm-quantization-aware-layernorm-int8-activations/starter.py +4 -0
- mlsys/tasks/llm-quantization-aware-layernorm-int8-activations/task.md +64 -0
- mlsys/tasks/llm-quantized-int8-kv-cache-error-bound/check.py +48 -0
- mlsys/tasks/llm-quantized-int8-kv-cache-error-bound/gen_fixtures.py +1 -0
- mlsys/tasks/llm-quantized-int8-kv-cache-error-bound/meta.json +22 -0
- mlsys/tasks/llm-quantized-int8-kv-cache-error-bound/solution_ref.py +41 -0
- mlsys/tasks/llm-quantized-int8-kv-cache-error-bound/starter.py +7 -0
- mlsys/tasks/llm-quantized-int8-kv-cache-error-bound/task.md +81 -0
- mlsys/tasks/llm-real-gpu-hbm-utilization-for-decode-kernel/check.py +25 -0
- mlsys/tasks/llm-real-gpu-hbm-utilization-for-decode-kernel/gen_fixtures.py +1 -0
- mlsys/tasks/llm-real-gpu-hbm-utilization-for-decode-kernel/meta.json +22 -0
- mlsys/tasks/llm-real-gpu-hbm-utilization-for-decode-kernel/solution_ref.py +12 -0
- mlsys/tasks/llm-real-gpu-hbm-utilization-for-decode-kernel/starter.py +4 -0
- mlsys/tasks/llm-real-gpu-hbm-utilization-for-decode-kernel/task.md +69 -0
- mlsys/tasks/llm-reconstruct-applied-penalty-factor-from-before-after-logits/check.py +35 -0
- mlsys/tasks/llm-reconstruct-applied-penalty-factor-from-before-after-logits/gen_fixtures.py +1 -0
- mlsys/tasks/llm-reconstruct-applied-penalty-factor-from-before-after-logits/meta.json +22 -0
- mlsys/tasks/llm-reconstruct-applied-penalty-factor-from-before-after-logits/solution_ref.py +7 -0
- mlsys/tasks/llm-reconstruct-applied-penalty-factor-from-before-after-logits/starter.py +4 -0
- mlsys/tasks/llm-reconstruct-applied-penalty-factor-from-before-after-logits/task.md +75 -0
- mlsys/tasks/llm-reconstruct-inverse-hessian-cholesky-structure/check.py +34 -0
- mlsys/tasks/llm-reconstruct-inverse-hessian-cholesky-structure/gen_fixtures.py +1 -0
- mlsys/tasks/llm-reconstruct-inverse-hessian-cholesky-structure/meta.json +22 -0
- mlsys/tasks/llm-reconstruct-inverse-hessian-cholesky-structure/solution_ref.py +14 -0
- mlsys/tasks/llm-reconstruct-inverse-hessian-cholesky-structure/starter.py +4 -0
- mlsys/tasks/llm-reconstruct-inverse-hessian-cholesky-structure/task.md +54 -0
- mlsys/tasks/llm-reconstruct-rotation-angle-from-rotated-vs-original/check.py +40 -0
- mlsys/tasks/llm-reconstruct-rotation-angle-from-rotated-vs-original/gen_fixtures.py +1 -0
- mlsys/tasks/llm-reconstruct-rotation-angle-from-rotated-vs-original/meta.json +22 -0
- mlsys/tasks/llm-reconstruct-rotation-angle-from-rotated-vs-original/solution_ref.py +12 -0
- mlsys/tasks/llm-reconstruct-rotation-angle-from-rotated-vs-original/starter.py +4 -0
- mlsys/tasks/llm-reconstruct-rotation-angle-from-rotated-vs-original/task.md +35 -0
- mlsys/tasks/llm-reconstruct-scale-factor-from-modified-freqs/check.py +23 -0
- mlsys/tasks/llm-reconstruct-scale-factor-from-modified-freqs/gen_fixtures.py +1 -0
- mlsys/tasks/llm-reconstruct-scale-factor-from-modified-freqs/meta.json +22 -0
- mlsys/tasks/llm-reconstruct-scale-factor-from-modified-freqs/solution_ref.py +13 -0
- mlsys/tasks/llm-reconstruct-scale-factor-from-modified-freqs/starter.py +4 -0
- mlsys/tasks/llm-reconstruct-scale-factor-from-modified-freqs/task.md +39 -0
- mlsys/tasks/llm-reconstruct-weights-from-packed-int4-scales/check.py +66 -0
- mlsys/tasks/llm-reconstruct-weights-from-packed-int4-scales/gen_fixtures.py +1 -0
- mlsys/tasks/llm-reconstruct-weights-from-packed-int4-scales/meta.json +22 -0
- mlsys/tasks/llm-reconstruct-weights-from-packed-int4-scales/solution_ref.py +17 -0
- mlsys/tasks/llm-reconstruct-weights-from-packed-int4-scales/starter.py +4 -0
- mlsys/tasks/llm-reconstruct-weights-from-packed-int4-scales/task.md +69 -0
- mlsys/tasks/llm-recover-sublayer-contribution-from-residual-write/check.py +22 -0
- mlsys/tasks/llm-recover-sublayer-contribution-from-residual-write/gen_fixtures.py +1 -0
- mlsys/tasks/llm-recover-sublayer-contribution-from-residual-write/meta.json +22 -0
- mlsys/tasks/llm-recover-sublayer-contribution-from-residual-write/solution_ref.py +7 -0
- mlsys/tasks/llm-recover-sublayer-contribution-from-residual-write/starter.py +4 -0
- mlsys/tasks/llm-recover-sublayer-contribution-from-residual-write/task.md +39 -0
- mlsys/tasks/llm-recover-the-boolean-mask-from-prob-zero-pattern/check.py +40 -0
- mlsys/tasks/llm-recover-the-boolean-mask-from-prob-zero-pattern/gen_fixtures.py +1 -0
- mlsys/tasks/llm-recover-the-boolean-mask-from-prob-zero-pattern/meta.json +22 -0
- mlsys/tasks/llm-recover-the-boolean-mask-from-prob-zero-pattern/solution_ref.py +4 -0
- mlsys/tasks/llm-recover-the-boolean-mask-from-prob-zero-pattern/starter.py +5 -0
- mlsys/tasks/llm-recover-the-boolean-mask-from-prob-zero-pattern/task.md +75 -0
- mlsys/tasks/llm-repetition-penalty-applied-to-logits/check.py +39 -0
- mlsys/tasks/llm-repetition-penalty-applied-to-logits/gen_fixtures.py +1 -0
- mlsys/tasks/llm-repetition-penalty-applied-to-logits/meta.json +22 -0
- mlsys/tasks/llm-repetition-penalty-applied-to-logits/solution_ref.py +35 -0
- mlsys/tasks/llm-repetition-penalty-applied-to-logits/starter.py +4 -0
- mlsys/tasks/llm-repetition-penalty-applied-to-logits/task.md +59 -0
- mlsys/tasks/llm-residual-norm-growth-pre-vs-post-over-12-blocks/check.py +25 -0
- mlsys/tasks/llm-residual-norm-growth-pre-vs-post-over-12-blocks/gen_fixtures.py +1 -0
- mlsys/tasks/llm-residual-norm-growth-pre-vs-post-over-12-blocks/meta.json +22 -0
- mlsys/tasks/llm-residual-norm-growth-pre-vs-post-over-12-blocks/solution_ref.py +7 -0
- mlsys/tasks/llm-residual-norm-growth-pre-vs-post-over-12-blocks/starter.py +4 -0
- mlsys/tasks/llm-residual-norm-growth-pre-vs-post-over-12-blocks/task.md +56 -0
- mlsys/tasks/llm-rmsnorm-backward-from-scratch/check.py +42 -0
- mlsys/tasks/llm-rmsnorm-backward-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/llm-rmsnorm-backward-from-scratch/meta.json +22 -0
- mlsys/tasks/llm-rmsnorm-backward-from-scratch/solution_ref.py +11 -0
- mlsys/tasks/llm-rmsnorm-backward-from-scratch/starter.py +4 -0
- mlsys/tasks/llm-rmsnorm-backward-from-scratch/task.md +69 -0
- mlsys/tasks/llm-rmsnorm-from-scratch-llama-style/check.py +53 -0
- mlsys/tasks/llm-rmsnorm-from-scratch-llama-style/gen_fixtures.py +1 -0
- mlsys/tasks/llm-rmsnorm-from-scratch-llama-style/meta.json +27 -0
- mlsys/tasks/llm-rmsnorm-from-scratch-llama-style/solution_ref.py +7 -0
- mlsys/tasks/llm-rmsnorm-from-scratch-llama-style/starter.py +2 -0
- mlsys/tasks/llm-rmsnorm-from-scratch-llama-style/task.md +28 -0
- mlsys/tasks/llm-rope-relative-position-invariance/check.py +47 -0
- mlsys/tasks/llm-rope-relative-position-invariance/gen_fixtures.py +1 -0
- mlsys/tasks/llm-rope-relative-position-invariance/meta.json +22 -0
- mlsys/tasks/llm-rope-relative-position-invariance/solution_ref.py +23 -0
- mlsys/tasks/llm-rope-relative-position-invariance/starter.py +4 -0
- mlsys/tasks/llm-rope-relative-position-invariance/task.md +63 -0
- mlsys/tasks/llm-round-to-nearest-weight-quant-baseline-error/check.py +35 -0
- mlsys/tasks/llm-round-to-nearest-weight-quant-baseline-error/gen_fixtures.py +1 -0
- mlsys/tasks/llm-round-to-nearest-weight-quant-baseline-error/meta.json +22 -0
- mlsys/tasks/llm-round-to-nearest-weight-quant-baseline-error/solution_ref.py +32 -0
- mlsys/tasks/llm-round-to-nearest-weight-quant-baseline-error/starter.py +6 -0
- mlsys/tasks/llm-round-to-nearest-weight-quant-baseline-error/task.md +50 -0
- mlsys/tasks/llm-round-trip-attention-stages-s-p-o/check.py +26 -0
- mlsys/tasks/llm-round-trip-attention-stages-s-p-o/gen_fixtures.py +1 -0
- mlsys/tasks/llm-round-trip-attention-stages-s-p-o/meta.json +32 -0
- mlsys/tasks/llm-round-trip-attention-stages-s-p-o/solution_ref.py +20 -0
- mlsys/tasks/llm-round-trip-attention-stages-s-p-o/starter.py +7 -0
- mlsys/tasks/llm-round-trip-attention-stages-s-p-o/task.md +76 -0
- mlsys/tasks/llm-scale-invariance-weights-s-activations-s/check.py +24 -0
- mlsys/tasks/llm-scale-invariance-weights-s-activations-s/gen_fixtures.py +1 -0
- mlsys/tasks/llm-scale-invariance-weights-s-activations-s/meta.json +22 -0
- mlsys/tasks/llm-scale-invariance-weights-s-activations-s/solution_ref.py +10 -0
- mlsys/tasks/llm-scale-invariance-weights-s-activations-s/starter.py +4 -0
- mlsys/tasks/llm-scale-invariance-weights-s-activations-s/task.md +54 -0
- mlsys/tasks/llm-sdpa-flop-closed-form/check.py +40 -0
- mlsys/tasks/llm-sdpa-flop-closed-form/gen_fixtures.py +1 -0
- mlsys/tasks/llm-sdpa-flop-closed-form/meta.json +22 -0
- mlsys/tasks/llm-sdpa-flop-closed-form/solution_ref.py +9 -0
- mlsys/tasks/llm-sdpa-flop-closed-form/starter.py +2 -0
- mlsys/tasks/llm-sdpa-flop-closed-form/task.md +44 -0
- mlsys/tasks/llm-seeded-reproducible-sampling-sequence/check.py +59 -0
- mlsys/tasks/llm-seeded-reproducible-sampling-sequence/gen_fixtures.py +1 -0
- mlsys/tasks/llm-seeded-reproducible-sampling-sequence/meta.json +22 -0
- mlsys/tasks/llm-seeded-reproducible-sampling-sequence/solution_ref.py +25 -0
- mlsys/tasks/llm-seeded-reproducible-sampling-sequence/starter.py +15 -0
- mlsys/tasks/llm-seeded-reproducible-sampling-sequence/task.md +77 -0
- mlsys/tasks/llm-shift-invariance-proof-softmax-x-softmax-x-c/check.py +48 -0
- mlsys/tasks/llm-shift-invariance-proof-softmax-x-softmax-x-c/gen_fixtures.py +2 -0
- mlsys/tasks/llm-shift-invariance-proof-softmax-x-softmax-x-c/meta.json +27 -0
- mlsys/tasks/llm-shift-invariance-proof-softmax-x-softmax-x-c/solution_ref.py +6 -0
- mlsys/tasks/llm-shift-invariance-proof-softmax-x-softmax-x-c/starter.py +5 -0
- mlsys/tasks/llm-shift-invariance-proof-softmax-x-softmax-x-c/task.md +73 -0
- mlsys/tasks/llm-single-head-sdpa-vectorized-match/check.py +27 -0
- mlsys/tasks/llm-single-head-sdpa-vectorized-match/gen_fixtures.py +1 -0
- mlsys/tasks/llm-single-head-sdpa-vectorized-match/meta.json +22 -0
- mlsys/tasks/llm-single-head-sdpa-vectorized-match/solution_ref.py +11 -0
- mlsys/tasks/llm-single-head-sdpa-vectorized-match/starter.py +2 -0
- mlsys/tasks/llm-single-head-sdpa-vectorized-match/task.md +41 -0
- mlsys/tasks/llm-sliding-window-mask-width-w-mistral/check.py +44 -0
- mlsys/tasks/llm-sliding-window-mask-width-w-mistral/gen_fixtures.py +1 -0
- mlsys/tasks/llm-sliding-window-mask-width-w-mistral/meta.json +22 -0
- mlsys/tasks/llm-sliding-window-mask-width-w-mistral/solution_ref.py +25 -0
- mlsys/tasks/llm-sliding-window-mask-width-w-mistral/starter.py +11 -0
- mlsys/tasks/llm-sliding-window-mask-width-w-mistral/task.md +81 -0
- mlsys/tasks/llm-sliding-window-ring-buffer-cache-eviction/check.py +90 -0
- mlsys/tasks/llm-sliding-window-ring-buffer-cache-eviction/gen_fixtures.py +1 -0
- mlsys/tasks/llm-sliding-window-ring-buffer-cache-eviction/meta.json +27 -0
- mlsys/tasks/llm-sliding-window-ring-buffer-cache-eviction/solution_ref.py +49 -0
- mlsys/tasks/llm-sliding-window-ring-buffer-cache-eviction/starter.py +23 -0
- mlsys/tasks/llm-sliding-window-ring-buffer-cache-eviction/task.md +81 -0
- mlsys/tasks/llm-split-merge-round-trip-identity/check.py +28 -0
- mlsys/tasks/llm-split-merge-round-trip-identity/gen_fixtures.py +1 -0
- mlsys/tasks/llm-split-merge-round-trip-identity/meta.json +23 -0
- mlsys/tasks/llm-split-merge-round-trip-identity/solution_ref.py +20 -0
- mlsys/tasks/llm-split-merge-round-trip-identity/starter.py +7 -0
- mlsys/tasks/llm-split-merge-round-trip-identity/task.md +56 -0
- mlsys/tasks/llm-stable-softmax-survives-300-logits/check.py +38 -0
- mlsys/tasks/llm-stable-softmax-survives-300-logits/gen_fixtures.py +15 -0
- mlsys/tasks/llm-stable-softmax-survives-300-logits/meta.json +22 -0
- mlsys/tasks/llm-stable-softmax-survives-300-logits/solution_ref.py +11 -0
- mlsys/tasks/llm-stable-softmax-survives-300-logits/starter.py +6 -0
- mlsys/tasks/llm-stable-softmax-survives-300-logits/task.md +66 -0
- mlsys/tasks/llm-stack-n-blocks-final-norm-forward/check.py +56 -0
- mlsys/tasks/llm-stack-n-blocks-final-norm-forward/gen_fixtures.py +1 -0
- mlsys/tasks/llm-stack-n-blocks-final-norm-forward/meta.json +22 -0
- mlsys/tasks/llm-stack-n-blocks-final-norm-forward/solution_ref.py +22 -0
- mlsys/tasks/llm-stack-n-blocks-final-norm-forward/starter.py +6 -0
- mlsys/tasks/llm-stack-n-blocks-final-norm-forward/task.md +88 -0
- mlsys/tasks/llm-streaming-online-softmax-over-row-chunks/check.py +31 -0
- mlsys/tasks/llm-streaming-online-softmax-over-row-chunks/gen_fixtures.py +1 -0
- mlsys/tasks/llm-streaming-online-softmax-over-row-chunks/meta.json +22 -0
- mlsys/tasks/llm-streaming-online-softmax-over-row-chunks/solution_ref.py +24 -0
- mlsys/tasks/llm-streaming-online-softmax-over-row-chunks/starter.py +4 -0
- mlsys/tasks/llm-streaming-online-softmax-over-row-chunks/task.md +78 -0
- mlsys/tasks/llm-streaming-softmax-over-kv-blocks-matches-full/check.py +40 -0
- mlsys/tasks/llm-streaming-softmax-over-kv-blocks-matches-full/gen_fixtures.py +1 -0
- mlsys/tasks/llm-streaming-softmax-over-kv-blocks-matches-full/meta.json +22 -0
- mlsys/tasks/llm-streaming-softmax-over-kv-blocks-matches-full/solution_ref.py +35 -0
- mlsys/tasks/llm-streaming-softmax-over-kv-blocks-matches-full/starter.py +4 -0
- mlsys/tasks/llm-streaming-softmax-over-kv-blocks-matches-full/task.md +87 -0
- mlsys/tasks/llm-swiglu-ffn-match/check.py +46 -0
- mlsys/tasks/llm-swiglu-ffn-match/gen_fixtures.py +1 -0
- mlsys/tasks/llm-swiglu-ffn-match/meta.json +22 -0
- mlsys/tasks/llm-swiglu-ffn-match/solution_ref.py +9 -0
- mlsys/tasks/llm-swiglu-ffn-match/starter.py +4 -0
- mlsys/tasks/llm-swiglu-ffn-match/task.md +80 -0
- mlsys/tasks/llm-temperature-scaling-distribution/check.py +22 -0
- mlsys/tasks/llm-temperature-scaling-distribution/gen_fixtures.py +1 -0
- mlsys/tasks/llm-temperature-scaling-distribution/meta.json +22 -0
- mlsys/tasks/llm-temperature-scaling-distribution/solution_ref.py +9 -0
- mlsys/tasks/llm-temperature-scaling-distribution/starter.py +4 -0
- mlsys/tasks/llm-temperature-scaling-distribution/task.md +37 -0
- mlsys/tasks/llm-tile-size-invariance-block-1-vs-n/check.py +44 -0
- mlsys/tasks/llm-tile-size-invariance-block-1-vs-n/gen_fixtures.py +1 -0
- mlsys/tasks/llm-tile-size-invariance-block-1-vs-n/meta.json +22 -0
- mlsys/tasks/llm-tile-size-invariance-block-1-vs-n/solution_ref.py +36 -0
- mlsys/tasks/llm-tile-size-invariance-block-1-vs-n/starter.py +4 -0
- mlsys/tasks/llm-tile-size-invariance-block-1-vs-n/task.md +59 -0
- mlsys/tasks/llm-token-count-for-corpus-matches-reference/check.py +52 -0
- mlsys/tasks/llm-token-count-for-corpus-matches-reference/gen_fixtures.py +1 -0
- mlsys/tasks/llm-token-count-for-corpus-matches-reference/meta.json +22 -0
- mlsys/tasks/llm-token-count-for-corpus-matches-reference/solution_ref.py +25 -0
- mlsys/tasks/llm-token-count-for-corpus-matches-reference/starter.py +3 -0
- mlsys/tasks/llm-token-count-for-corpus-matches-reference/task.md +72 -0
- mlsys/tasks/llm-top-k-filter-kept-set-exact/check.py +36 -0
- mlsys/tasks/llm-top-k-filter-kept-set-exact/gen_fixtures.py +1 -0
- mlsys/tasks/llm-top-k-filter-kept-set-exact/meta.json +22 -0
- mlsys/tasks/llm-top-k-filter-kept-set-exact/solution_ref.py +14 -0
- mlsys/tasks/llm-top-k-filter-kept-set-exact/starter.py +4 -0
- mlsys/tasks/llm-top-k-filter-kept-set-exact/task.md +37 -0
- mlsys/tasks/llm-top-p-nucleus-filter/check.py +32 -0
- mlsys/tasks/llm-top-p-nucleus-filter/gen_fixtures.py +1 -0
- mlsys/tasks/llm-top-p-nucleus-filter/meta.json +22 -0
- mlsys/tasks/llm-top-p-nucleus-filter/solution_ref.py +9 -0
- mlsys/tasks/llm-top-p-nucleus-filter/starter.py +4 -0
- mlsys/tasks/llm-top-p-nucleus-filter/task.md +53 -0
- mlsys/tasks/llm-trace-decode-writes-o-1-rows-not-o-s/check.py +78 -0
- mlsys/tasks/llm-trace-decode-writes-o-1-rows-not-o-s/gen_fixtures.py +1 -0
- mlsys/tasks/llm-trace-decode-writes-o-1-rows-not-o-s/meta.json +27 -0
- mlsys/tasks/llm-trace-decode-writes-o-1-rows-not-o-s/solution_ref.py +27 -0
- mlsys/tasks/llm-trace-decode-writes-o-1-rows-not-o-s/starter.py +22 -0
- mlsys/tasks/llm-trace-decode-writes-o-1-rows-not-o-s/task.md +81 -0
- mlsys/tasks/llm-trace-residual-add-appears-exactly-twice-per-block/check.py +40 -0
- mlsys/tasks/llm-trace-residual-add-appears-exactly-twice-per-block/gen_fixtures.py +1 -0
- mlsys/tasks/llm-trace-residual-add-appears-exactly-twice-per-block/meta.json +27 -0
- mlsys/tasks/llm-trace-residual-add-appears-exactly-twice-per-block/solution_ref.py +18 -0
- mlsys/tasks/llm-trace-residual-add-appears-exactly-twice-per-block/starter.py +9 -0
- mlsys/tasks/llm-trace-residual-add-appears-exactly-twice-per-block/task.md +59 -0
- mlsys/tasks/llm-train-bpe-merges-from-a-corpus/check.py +84 -0
- mlsys/tasks/llm-train-bpe-merges-from-a-corpus/gen_fixtures.py +1 -0
- mlsys/tasks/llm-train-bpe-merges-from-a-corpus/meta.json +22 -0
- mlsys/tasks/llm-train-bpe-merges-from-a-corpus/solution_ref.py +36 -0
- mlsys/tasks/llm-train-bpe-merges-from-a-corpus/starter.py +2 -0
- mlsys/tasks/llm-train-bpe-merges-from-a-corpus/task.md +70 -0
- mlsys/tasks/llm-two-pass-vs-welford-variance-in-fp16/check.py +130 -0
- mlsys/tasks/llm-two-pass-vs-welford-variance-in-fp16/gen_fixtures.py +1 -0
- mlsys/tasks/llm-two-pass-vs-welford-variance-in-fp16/meta.json +33 -0
- mlsys/tasks/llm-two-pass-vs-welford-variance-in-fp16/solution_ref.py +55 -0
- mlsys/tasks/llm-two-pass-vs-welford-variance-in-fp16/starter.py +24 -0
- mlsys/tasks/llm-two-pass-vs-welford-variance-in-fp16/task.md +101 -0
- mlsys/tasks/llm-uptrain-mha-gqa-by-kv-mean-pool-bounded-kl/check.py +55 -0
- mlsys/tasks/llm-uptrain-mha-gqa-by-kv-mean-pool-bounded-kl/gen_fixtures.py +1 -0
- mlsys/tasks/llm-uptrain-mha-gqa-by-kv-mean-pool-bounded-kl/meta.json +22 -0
- mlsys/tasks/llm-uptrain-mha-gqa-by-kv-mean-pool-bounded-kl/solution_ref.py +9 -0
- mlsys/tasks/llm-uptrain-mha-gqa-by-kv-mean-pool-bounded-kl/starter.py +4 -0
- mlsys/tasks/llm-uptrain-mha-gqa-by-kv-mean-pool-bounded-kl/task.md +89 -0
- mlsys/tasks/llm-vanilla-ffn-up-act-down-match/check.py +43 -0
- mlsys/tasks/llm-vanilla-ffn-up-act-down-match/gen_fixtures.py +1 -0
- mlsys/tasks/llm-vanilla-ffn-up-act-down-match/meta.json +22 -0
- mlsys/tasks/llm-vanilla-ffn-up-act-down-match/solution_ref.py +7 -0
- mlsys/tasks/llm-vanilla-ffn-up-act-down-match/starter.py +5 -0
- mlsys/tasks/llm-vanilla-ffn-up-act-down-match/task.md +62 -0
- mlsys/tasks/llm-vectorize-a-loopy-student-sdpa/check.py +61 -0
- mlsys/tasks/llm-vectorize-a-loopy-student-sdpa/gen_fixtures.py +1 -0
- mlsys/tasks/llm-vectorize-a-loopy-student-sdpa/meta.json +27 -0
- mlsys/tasks/llm-vectorize-a-loopy-student-sdpa/solution_ref.py +10 -0
- mlsys/tasks/llm-vectorize-a-loopy-student-sdpa/starter.py +4 -0
- mlsys/tasks/llm-vectorize-a-loopy-student-sdpa/task.md +69 -0
- mlsys/tasks/llm-vectorized-gather-vs-python-loop/check.py +54 -0
- mlsys/tasks/llm-vectorized-gather-vs-python-loop/gen_fixtures.py +1 -0
- mlsys/tasks/llm-vectorized-gather-vs-python-loop/meta.json +27 -0
- mlsys/tasks/llm-vectorized-gather-vs-python-loop/solution_ref.py +5 -0
- mlsys/tasks/llm-vectorized-gather-vs-python-loop/starter.py +4 -0
- mlsys/tasks/llm-vectorized-gather-vs-python-loop/task.md +41 -0
- mlsys/tasks/llm-vectorized-rope-no-python-loop/check.py +76 -0
- mlsys/tasks/llm-vectorized-rope-no-python-loop/gen_fixtures.py +3 -0
- mlsys/tasks/llm-vectorized-rope-no-python-loop/meta.json +17 -0
- mlsys/tasks/llm-vectorized-rope-no-python-loop/solution_ref.py +28 -0
- mlsys/tasks/llm-vectorized-rope-no-python-loop/starter.py +5 -0
- mlsys/tasks/llm-vectorized-rope-no-python-loop/task.md +56 -0
- mlsys/tasks/llm-weight-absorbed-rmsnorm-fold-gamma-into-next-matmul/check.py +52 -0
- mlsys/tasks/llm-weight-absorbed-rmsnorm-fold-gamma-into-next-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/llm-weight-absorbed-rmsnorm-fold-gamma-into-next-matmul/meta.json +22 -0
- mlsys/tasks/llm-weight-absorbed-rmsnorm-fold-gamma-into-next-matmul/solution_ref.py +8 -0
- mlsys/tasks/llm-weight-absorbed-rmsnorm-fold-gamma-into-next-matmul/starter.py +4 -0
- mlsys/tasks/llm-weight-absorbed-rmsnorm-fold-gamma-into-next-matmul/task.md +84 -0
- mlsys/tasks/llm-weight-tying-identity-check/check.py +49 -0
- mlsys/tasks/llm-weight-tying-identity-check/gen_fixtures.py +1 -0
- mlsys/tasks/llm-weight-tying-identity-check/meta.json +27 -0
- mlsys/tasks/llm-weight-tying-identity-check/solution_ref.py +26 -0
- mlsys/tasks/llm-weight-tying-identity-check/starter.py +12 -0
- mlsys/tasks/llm-weight-tying-identity-check/task.md +79 -0
- mlsys/tasks/llm-which-values-overflow-fp16-but-not-bf16/check.py +39 -0
- mlsys/tasks/llm-which-values-overflow-fp16-but-not-bf16/gen_fixtures.py +1 -0
- mlsys/tasks/llm-which-values-overflow-fp16-but-not-bf16/meta.json +22 -0
- mlsys/tasks/llm-which-values-overflow-fp16-but-not-bf16/solution_ref.py +15 -0
- mlsys/tasks/llm-which-values-overflow-fp16-but-not-bf16/starter.py +4 -0
- mlsys/tasks/llm-which-values-overflow-fp16-but-not-bf16/task.md +43 -0
- mlsys/tasks/llm-why-1-sqrt-d-entropy-inflation-derivation/check.py +31 -0
- mlsys/tasks/llm-why-1-sqrt-d-entropy-inflation-derivation/gen_fixtures.py +1 -0
- mlsys/tasks/llm-why-1-sqrt-d-entropy-inflation-derivation/meta.json +22 -0
- mlsys/tasks/llm-why-1-sqrt-d-entropy-inflation-derivation/solution_ref.py +14 -0
- mlsys/tasks/llm-why-1-sqrt-d-entropy-inflation-derivation/starter.py +4 -0
- mlsys/tasks/llm-why-1-sqrt-d-entropy-inflation-derivation/task.md +82 -0
- mlsys/tasks/llm-yarn-ramp-attention-temperature/check.py +67 -0
- mlsys/tasks/llm-yarn-ramp-attention-temperature/gen_fixtures.py +1 -0
- mlsys/tasks/llm-yarn-ramp-attention-temperature/meta.json +22 -0
- mlsys/tasks/llm-yarn-ramp-attention-temperature/solution_ref.py +39 -0
- mlsys/tasks/llm-yarn-ramp-attention-temperature/starter.py +4 -0
- mlsys/tasks/llm-yarn-ramp-attention-temperature/task.md +111 -0
- mlsys/tasks/llm-z-loss-logit-norm-regularization/check.py +46 -0
- mlsys/tasks/llm-z-loss-logit-norm-regularization/gen_fixtures.py +1 -0
- mlsys/tasks/llm-z-loss-logit-norm-regularization/meta.json +22 -0
- mlsys/tasks/llm-z-loss-logit-norm-regularization/solution_ref.py +11 -0
- mlsys/tasks/llm-z-loss-logit-norm-regularization/starter.py +4 -0
- mlsys/tasks/llm-z-loss-logit-norm-regularization/task.md +85 -0
- mlsys/tasks/num-1d-sliding-window-via-as-strided/check.py +106 -0
- mlsys/tasks/num-1d-sliding-window-via-as-strided/gen_fixtures.py +1 -0
- mlsys/tasks/num-1d-sliding-window-via-as-strided/meta.json +29 -0
- mlsys/tasks/num-1d-sliding-window-via-as-strided/solution_ref.py +15 -0
- mlsys/tasks/num-1d-sliding-window-via-as-strided/starter.py +11 -0
- mlsys/tasks/num-1d-sliding-window-via-as-strided/task.md +82 -0
- mlsys/tasks/num-ai-breakdown-of-attention-qk-t-softmax-pv/check.py +45 -0
- mlsys/tasks/num-ai-breakdown-of-attention-qk-t-softmax-pv/gen_fixtures.py +1 -0
- mlsys/tasks/num-ai-breakdown-of-attention-qk-t-softmax-pv/meta.json +22 -0
- mlsys/tasks/num-ai-breakdown-of-attention-qk-t-softmax-pv/solution_ref.py +12 -0
- mlsys/tasks/num-ai-breakdown-of-attention-qk-t-softmax-pv/starter.py +4 -0
- mlsys/tasks/num-ai-breakdown-of-attention-qk-t-softmax-pv/task.md +94 -0
- mlsys/tasks/num-ai-of-mxkxn-matmul-with-without-reuse/check.py +31 -0
- mlsys/tasks/num-ai-of-mxkxn-matmul-with-without-reuse/gen_fixtures.py +1 -0
- mlsys/tasks/num-ai-of-mxkxn-matmul-with-without-reuse/meta.json +22 -0
- mlsys/tasks/num-ai-of-mxkxn-matmul-with-without-reuse/solution_ref.py +5 -0
- mlsys/tasks/num-ai-of-mxkxn-matmul-with-without-reuse/starter.py +2 -0
- mlsys/tasks/num-ai-of-mxkxn-matmul-with-without-reuse/task.md +61 -0
- mlsys/tasks/num-attainable-flop-s-from-roofline/check.py +67 -0
- mlsys/tasks/num-attainable-flop-s-from-roofline/gen_fixtures.py +1 -0
- mlsys/tasks/num-attainable-flop-s-from-roofline/meta.json +32 -0
- mlsys/tasks/num-attainable-flop-s-from-roofline/solution_ref.py +14 -0
- mlsys/tasks/num-attainable-flop-s-from-roofline/starter.py +11 -0
- mlsys/tasks/num-attainable-flop-s-from-roofline/task.md +82 -0
- mlsys/tasks/num-back-substitution-upper-triangular/check.py +19 -0
- mlsys/tasks/num-back-substitution-upper-triangular/gen_fixtures.py +1 -0
- mlsys/tasks/num-back-substitution-upper-triangular/meta.json +22 -0
- mlsys/tasks/num-back-substitution-upper-triangular/solution_ref.py +14 -0
- mlsys/tasks/num-back-substitution-upper-triangular/starter.py +4 -0
- mlsys/tasks/num-back-substitution-upper-triangular/task.md +41 -0
- mlsys/tasks/num-batched-matmul-from-scratch/check.py +52 -0
- mlsys/tasks/num-batched-matmul-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/num-batched-matmul-from-scratch/meta.json +22 -0
- mlsys/tasks/num-batched-matmul-from-scratch/solution_ref.py +17 -0
- mlsys/tasks/num-batched-matmul-from-scratch/starter.py +4 -0
- mlsys/tasks/num-batched-matmul-from-scratch/task.md +77 -0
- mlsys/tasks/num-bf16-memory-footprint-ratio-with-bounded-error/check.py +136 -0
- mlsys/tasks/num-bf16-memory-footprint-ratio-with-bounded-error/fixtures/W.npy +0 -0
- mlsys/tasks/num-bf16-memory-footprint-ratio-with-bounded-error/gen_fixtures.py +22 -0
- mlsys/tasks/num-bf16-memory-footprint-ratio-with-bounded-error/meta.json +43 -0
- mlsys/tasks/num-bf16-memory-footprint-ratio-with-bounded-error/solution_ref.py +16 -0
- mlsys/tasks/num-bf16-memory-footprint-ratio-with-bounded-error/starter.py +11 -0
- mlsys/tasks/num-bf16-memory-footprint-ratio-with-bounded-error/task.md +88 -0
- mlsys/tasks/num-blelloch-work-efficient-scan/check.py +54 -0
- mlsys/tasks/num-blelloch-work-efficient-scan/gen_fixtures.py +1 -0
- mlsys/tasks/num-blelloch-work-efficient-scan/meta.json +22 -0
- mlsys/tasks/num-blelloch-work-efficient-scan/solution_ref.py +25 -0
- mlsys/tasks/num-blelloch-work-efficient-scan/starter.py +2 -0
- mlsys/tasks/num-blelloch-work-efficient-scan/task.md +51 -0
- mlsys/tasks/num-blocked-tiled-matmul-correctness/check.py +43 -0
- mlsys/tasks/num-blocked-tiled-matmul-correctness/gen_fixtures.py +1 -0
- mlsys/tasks/num-blocked-tiled-matmul-correctness/meta.json +22 -0
- mlsys/tasks/num-blocked-tiled-matmul-correctness/solution_ref.py +22 -0
- mlsys/tasks/num-blocked-tiled-matmul-correctness/starter.py +4 -0
- mlsys/tasks/num-blocked-tiled-matmul-correctness/task.md +69 -0
- mlsys/tasks/num-branchless-stable-sigmoid/check.py +79 -0
- mlsys/tasks/num-branchless-stable-sigmoid/gen_fixtures.py +1 -0
- mlsys/tasks/num-branchless-stable-sigmoid/meta.json +32 -0
- mlsys/tasks/num-branchless-stable-sigmoid/solution_ref.py +10 -0
- mlsys/tasks/num-branchless-stable-sigmoid/starter.py +10 -0
- mlsys/tasks/num-branchless-stable-sigmoid/task.md +75 -0
- mlsys/tasks/num-broadcasted-elementwise-op-from-scratch/check.py +61 -0
- mlsys/tasks/num-broadcasted-elementwise-op-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/num-broadcasted-elementwise-op-from-scratch/meta.json +27 -0
- mlsys/tasks/num-broadcasted-elementwise-op-from-scratch/solution_ref.py +22 -0
- mlsys/tasks/num-broadcasted-elementwise-op-from-scratch/starter.py +4 -0
- mlsys/tasks/num-broadcasted-elementwise-op-from-scratch/task.md +74 -0
- mlsys/tasks/num-broadcasting-via-0-stride-as-strided/check.py +101 -0
- mlsys/tasks/num-broadcasting-via-0-stride-as-strided/gen_fixtures.py +1 -0
- mlsys/tasks/num-broadcasting-via-0-stride-as-strided/meta.json +32 -0
- mlsys/tasks/num-broadcasting-via-0-stride-as-strided/solution_ref.py +29 -0
- mlsys/tasks/num-broadcasting-via-0-stride-as-strided/starter.py +11 -0
- mlsys/tasks/num-broadcasting-via-0-stride-as-strided/task.md +82 -0
- mlsys/tasks/num-build-wengert-list-topo-order/check.py +61 -0
- mlsys/tasks/num-build-wengert-list-topo-order/gen_fixtures.py +1 -0
- mlsys/tasks/num-build-wengert-list-topo-order/meta.json +22 -0
- mlsys/tasks/num-build-wengert-list-topo-order/solution_ref.py +21 -0
- mlsys/tasks/num-build-wengert-list-topo-order/starter.py +2 -0
- mlsys/tasks/num-build-wengert-list-topo-order/task.md +76 -0
- mlsys/tasks/num-c-contiguous-strides-from-shape/check.py +21 -0
- mlsys/tasks/num-c-contiguous-strides-from-shape/gen_fixtures.py +1 -0
- mlsys/tasks/num-c-contiguous-strides-from-shape/meta.json +22 -0
- mlsys/tasks/num-c-contiguous-strides-from-shape/solution_ref.py +5 -0
- mlsys/tasks/num-c-contiguous-strides-from-shape/starter.py +4 -0
- mlsys/tasks/num-c-contiguous-strides-from-shape/task.md +40 -0
- mlsys/tasks/num-cancellation-free-quadratic-formula/check.py +53 -0
- mlsys/tasks/num-cancellation-free-quadratic-formula/gen_fixtures.py +1 -0
- mlsys/tasks/num-cancellation-free-quadratic-formula/meta.json +22 -0
- mlsys/tasks/num-cancellation-free-quadratic-formula/solution_ref.py +8 -0
- mlsys/tasks/num-cancellation-free-quadratic-formula/starter.py +2 -0
- mlsys/tasks/num-cancellation-free-quadratic-formula/task.md +73 -0
- mlsys/tasks/num-catch-a-broken-analytic-gradient/check.py +38 -0
- mlsys/tasks/num-catch-a-broken-analytic-gradient/gen_fixtures.py +1 -0
- mlsys/tasks/num-catch-a-broken-analytic-gradient/meta.json +22 -0
- mlsys/tasks/num-catch-a-broken-analytic-gradient/solution_ref.py +7 -0
- mlsys/tasks/num-catch-a-broken-analytic-gradient/starter.py +10 -0
- mlsys/tasks/num-catch-a-broken-analytic-gradient/task.md +67 -0
- mlsys/tasks/num-central-difference-gradient-check-scalar/check.py +96 -0
- mlsys/tasks/num-central-difference-gradient-check-scalar/gen_fixtures.py +1 -0
- mlsys/tasks/num-central-difference-gradient-check-scalar/meta.json +33 -0
- mlsys/tasks/num-central-difference-gradient-check-scalar/solution_ref.py +18 -0
- mlsys/tasks/num-central-difference-gradient-check-scalar/starter.py +15 -0
- mlsys/tasks/num-central-difference-gradient-check-scalar/task.md +87 -0
- mlsys/tasks/num-cgs-vs-mgs-loss-of-orthogonality/check.py +59 -0
- mlsys/tasks/num-cgs-vs-mgs-loss-of-orthogonality/gen_fixtures.py +1 -0
- mlsys/tasks/num-cgs-vs-mgs-loss-of-orthogonality/meta.json +29 -0
- mlsys/tasks/num-cgs-vs-mgs-loss-of-orthogonality/solution_ref.py +36 -0
- mlsys/tasks/num-cgs-vs-mgs-loss-of-orthogonality/starter.py +10 -0
- mlsys/tasks/num-cgs-vs-mgs-loss-of-orthogonality/task.md +84 -0
- mlsys/tasks/num-cholesky-lower-factor-reconstruct-a-ll-t/check.py +93 -0
- mlsys/tasks/num-cholesky-lower-factor-reconstruct-a-ll-t/fixtures/A.npy +0 -0
- mlsys/tasks/num-cholesky-lower-factor-reconstruct-a-ll-t/gen_fixtures.py +24 -0
- mlsys/tasks/num-cholesky-lower-factor-reconstruct-a-ll-t/meta.json +44 -0
- mlsys/tasks/num-cholesky-lower-factor-reconstruct-a-ll-t/solution_ref.py +18 -0
- mlsys/tasks/num-cholesky-lower-factor-reconstruct-a-ll-t/starter.py +21 -0
- mlsys/tasks/num-cholesky-lower-factor-reconstruct-a-ll-t/task.md +92 -0
- mlsys/tasks/num-classical-gram-schmidt-qr/check.py +77 -0
- mlsys/tasks/num-classical-gram-schmidt-qr/gen_fixtures.py +1 -0
- mlsys/tasks/num-classical-gram-schmidt-qr/meta.json +22 -0
- mlsys/tasks/num-classical-gram-schmidt-qr/solution_ref.py +19 -0
- mlsys/tasks/num-classical-gram-schmidt-qr/starter.py +4 -0
- mlsys/tasks/num-classical-gram-schmidt-qr/task.md +85 -0
- mlsys/tasks/num-classify-c-f-neither-contiguity/check.py +46 -0
- mlsys/tasks/num-classify-c-f-neither-contiguity/gen_fixtures.py +1 -0
- mlsys/tasks/num-classify-c-f-neither-contiguity/meta.json +22 -0
- mlsys/tasks/num-classify-c-f-neither-contiguity/solution_ref.py +12 -0
- mlsys/tasks/num-classify-c-f-neither-contiguity/starter.py +2 -0
- mlsys/tasks/num-classify-c-f-neither-contiguity/task.md +50 -0
- mlsys/tasks/num-classify-compute-vs-memory-bound/check.py +54 -0
- mlsys/tasks/num-classify-compute-vs-memory-bound/gen_fixtures.py +1 -0
- mlsys/tasks/num-classify-compute-vs-memory-bound/meta.json +22 -0
- mlsys/tasks/num-classify-compute-vs-memory-bound/solution_ref.py +14 -0
- mlsys/tasks/num-classify-compute-vs-memory-bound/starter.py +2 -0
- mlsys/tasks/num-classify-compute-vs-memory-bound/task.md +55 -0
- mlsys/tasks/num-classify-raw-32-bit-patterns-without-float-compares/check.py +43 -0
- mlsys/tasks/num-classify-raw-32-bit-patterns-without-float-compares/gen_fixtures.py +1 -0
- mlsys/tasks/num-classify-raw-32-bit-patterns-without-float-compares/meta.json +22 -0
- mlsys/tasks/num-classify-raw-32-bit-patterns-without-float-compares/solution_ref.py +28 -0
- mlsys/tasks/num-classify-raw-32-bit-patterns-without-float-compares/starter.py +4 -0
- mlsys/tasks/num-classify-raw-32-bit-patterns-without-float-compares/task.md +61 -0
- mlsys/tasks/num-complex-step-differentiation/check.py +32 -0
- mlsys/tasks/num-complex-step-differentiation/gen_fixtures.py +1 -0
- mlsys/tasks/num-complex-step-differentiation/meta.json +22 -0
- mlsys/tasks/num-complex-step-differentiation/solution_ref.py +5 -0
- mlsys/tasks/num-complex-step-differentiation/starter.py +3 -0
- mlsys/tasks/num-complex-step-differentiation/task.md +95 -0
- mlsys/tasks/num-compute-arithmetic-intensity-of-saxpy-gemm/check.py +64 -0
- mlsys/tasks/num-compute-arithmetic-intensity-of-saxpy-gemm/gen_fixtures.py +1 -0
- mlsys/tasks/num-compute-arithmetic-intensity-of-saxpy-gemm/meta.json +32 -0
- mlsys/tasks/num-compute-arithmetic-intensity-of-saxpy-gemm/solution_ref.py +20 -0
- mlsys/tasks/num-compute-arithmetic-intensity-of-saxpy-gemm/starter.py +3 -0
- mlsys/tasks/num-compute-arithmetic-intensity-of-saxpy-gemm/task.md +88 -0
- mlsys/tasks/num-condition-number-of-function-evaluation/check.py +33 -0
- mlsys/tasks/num-condition-number-of-function-evaluation/gen_fixtures.py +1 -0
- mlsys/tasks/num-condition-number-of-function-evaluation/meta.json +22 -0
- mlsys/tasks/num-condition-number-of-function-evaluation/solution_ref.py +6 -0
- mlsys/tasks/num-condition-number-of-function-evaluation/starter.py +4 -0
- mlsys/tasks/num-condition-number-of-function-evaluation/task.md +67 -0
- mlsys/tasks/num-condition-number-via-singular-values/check.py +40 -0
- mlsys/tasks/num-condition-number-via-singular-values/gen_fixtures.py +1 -0
- mlsys/tasks/num-condition-number-via-singular-values/meta.json +22 -0
- mlsys/tasks/num-condition-number-via-singular-values/solution_ref.py +14 -0
- mlsys/tasks/num-condition-number-via-singular-values/starter.py +5 -0
- mlsys/tasks/num-condition-number-via-singular-values/task.md +72 -0
- mlsys/tasks/num-construct-a-double-rounding-counterexample/check.py +74 -0
- mlsys/tasks/num-construct-a-double-rounding-counterexample/gen_fixtures.py +1 -0
- mlsys/tasks/num-construct-a-double-rounding-counterexample/meta.json +37 -0
- mlsys/tasks/num-construct-a-double-rounding-counterexample/solution_ref.py +18 -0
- mlsys/tasks/num-construct-a-double-rounding-counterexample/starter.py +12 -0
- mlsys/tasks/num-construct-a-double-rounding-counterexample/task.md +81 -0
- mlsys/tasks/num-construct-a-non-associativity-triple/check.py +40 -0
- mlsys/tasks/num-construct-a-non-associativity-triple/gen_fixtures.py +1 -0
- mlsys/tasks/num-construct-a-non-associativity-triple/meta.json +22 -0
- mlsys/tasks/num-construct-a-non-associativity-triple/solution_ref.py +9 -0
- mlsys/tasks/num-construct-a-non-associativity-triple/starter.py +4 -0
- mlsys/tasks/num-construct-a-non-associativity-triple/task.md +68 -0
- mlsys/tasks/num-convergence-rate-lambda2-lambda1/check.py +27 -0
- mlsys/tasks/num-convergence-rate-lambda2-lambda1/gen_fixtures.py +1 -0
- mlsys/tasks/num-convergence-rate-lambda2-lambda1/meta.json +22 -0
- mlsys/tasks/num-convergence-rate-lambda2-lambda1/solution_ref.py +30 -0
- mlsys/tasks/num-convergence-rate-lambda2-lambda1/starter.py +4 -0
- mlsys/tasks/num-convergence-rate-lambda2-lambda1/task.md +74 -0
- mlsys/tasks/num-cross-entropy-gradient-softmax-onehot/check.py +99 -0
- mlsys/tasks/num-cross-entropy-gradient-softmax-onehot/gen_fixtures.py +5 -0
- mlsys/tasks/num-cross-entropy-gradient-softmax-onehot/meta.json +18 -0
- mlsys/tasks/num-cross-entropy-gradient-softmax-onehot/solution_ref.py +15 -0
- mlsys/tasks/num-cross-entropy-gradient-softmax-onehot/starter.py +17 -0
- mlsys/tasks/num-cross-entropy-gradient-softmax-onehot/task.md +67 -0
- mlsys/tasks/num-debug-decompose-that-mishandles-subnormals-bias-sign/check.py +99 -0
- mlsys/tasks/num-debug-decompose-that-mishandles-subnormals-bias-sign/gen_fixtures.py +6 -0
- mlsys/tasks/num-debug-decompose-that-mishandles-subnormals-bias-sign/meta.json +33 -0
- mlsys/tasks/num-debug-decompose-that-mishandles-subnormals-bias-sign/solution_ref.py +28 -0
- mlsys/tasks/num-debug-decompose-that-mishandles-subnormals-bias-sign/starter.py +28 -0
- mlsys/tasks/num-debug-decompose-that-mishandles-subnormals-bias-sign/task.md +90 -0
- mlsys/tasks/num-deflation-for-second-eigenpair/check.py +36 -0
- mlsys/tasks/num-deflation-for-second-eigenpair/gen_fixtures.py +1 -0
- mlsys/tasks/num-deflation-for-second-eigenpair/meta.json +24 -0
- mlsys/tasks/num-deflation-for-second-eigenpair/solution_ref.py +22 -0
- mlsys/tasks/num-deflation-for-second-eigenpair/starter.py +7 -0
- mlsys/tasks/num-deflation-for-second-eigenpair/task.md +67 -0
- mlsys/tasks/num-derive-eps-for-fp32-fp16-bf16-by-bit-stepping-from-1-0/check.py +32 -0
- mlsys/tasks/num-derive-eps-for-fp32-fp16-bf16-by-bit-stepping-from-1-0/gen_fixtures.py +1 -0
- mlsys/tasks/num-derive-eps-for-fp32-fp16-bf16-by-bit-stepping-from-1-0/meta.json +22 -0
- mlsys/tasks/num-derive-eps-for-fp32-fp16-bf16-by-bit-stepping-from-1-0/solution_ref.py +12 -0
- mlsys/tasks/num-derive-eps-for-fp32-fp16-bf16-by-bit-stepping-from-1-0/starter.py +4 -0
- mlsys/tasks/num-derive-eps-for-fp32-fp16-bf16-by-bit-stepping-from-1-0/task.md +34 -0
- mlsys/tasks/num-detect-non-spd-matrices/check.py +106 -0
- mlsys/tasks/num-detect-non-spd-matrices/gen_fixtures.py +1 -0
- mlsys/tasks/num-detect-non-spd-matrices/meta.json +33 -0
- mlsys/tasks/num-detect-non-spd-matrices/solution_ref.py +32 -0
- mlsys/tasks/num-detect-non-spd-matrices/starter.py +19 -0
- mlsys/tasks/num-detect-non-spd-matrices/task.md +93 -0
- mlsys/tasks/num-determinant-from-lu/check.py +31 -0
- mlsys/tasks/num-determinant-from-lu/gen_fixtures.py +1 -0
- mlsys/tasks/num-determinant-from-lu/meta.json +22 -0
- mlsys/tasks/num-determinant-from-lu/solution_ref.py +23 -0
- mlsys/tasks/num-determinant-from-lu/starter.py +4 -0
- mlsys/tasks/num-determinant-from-lu/task.md +58 -0
- mlsys/tasks/num-dot-product-from-scratch/check.py +25 -0
- mlsys/tasks/num-dot-product-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/num-dot-product-from-scratch/meta.json +22 -0
- mlsys/tasks/num-dot-product-from-scratch/solution_ref.py +5 -0
- mlsys/tasks/num-dot-product-from-scratch/starter.py +4 -0
- mlsys/tasks/num-dot-product-from-scratch/task.md +39 -0
- mlsys/tasks/num-error-growth-naive-vs-kahan-vs-pairwise/check.py +108 -0
- mlsys/tasks/num-error-growth-naive-vs-kahan-vs-pairwise/gen_fixtures.py +1 -0
- mlsys/tasks/num-error-growth-naive-vs-kahan-vs-pairwise/meta.json +27 -0
- mlsys/tasks/num-error-growth-naive-vs-kahan-vs-pairwise/solution_ref.py +72 -0
- mlsys/tasks/num-error-growth-naive-vs-kahan-vs-pairwise/starter.py +4 -0
- mlsys/tasks/num-error-growth-naive-vs-kahan-vs-pairwise/task.md +96 -0
- mlsys/tasks/num-exact-rational-value-of-each-float/check.py +73 -0
- mlsys/tasks/num-exact-rational-value-of-each-float/fixtures/values.npy +0 -0
- mlsys/tasks/num-exact-rational-value-of-each-float/gen_fixtures.py +48 -0
- mlsys/tasks/num-exact-rational-value-of-each-float/meta.json +35 -0
- mlsys/tasks/num-exact-rational-value-of-each-float/solution_ref.py +42 -0
- mlsys/tasks/num-exact-rational-value-of-each-float/starter.py +9 -0
- mlsys/tasks/num-exact-rational-value-of-each-float/task.md +63 -0
- mlsys/tasks/num-exclusive-scan/check.py +33 -0
- mlsys/tasks/num-exclusive-scan/gen_fixtures.py +1 -0
- mlsys/tasks/num-exclusive-scan/meta.json +22 -0
- mlsys/tasks/num-exclusive-scan/solution_ref.py +15 -0
- mlsys/tasks/num-exclusive-scan/starter.py +4 -0
- mlsys/tasks/num-exclusive-scan/task.md +38 -0
- mlsys/tasks/num-expm1-for-tiny-x/check.py +72 -0
- mlsys/tasks/num-expm1-for-tiny-x/gen_fixtures.py +1 -0
- mlsys/tasks/num-expm1-for-tiny-x/meta.json +27 -0
- mlsys/tasks/num-expm1-for-tiny-x/solution_ref.py +16 -0
- mlsys/tasks/num-expm1-for-tiny-x/starter.py +10 -0
- mlsys/tasks/num-expm1-for-tiny-x/task.md +84 -0
- mlsys/tasks/num-extract-the-sign-bit/check.py +38 -0
- mlsys/tasks/num-extract-the-sign-bit/gen_fixtures.py +1 -0
- mlsys/tasks/num-extract-the-sign-bit/meta.json +22 -0
- mlsys/tasks/num-extract-the-sign-bit/solution_ref.py +8 -0
- mlsys/tasks/num-extract-the-sign-bit/starter.py +8 -0
- mlsys/tasks/num-extract-the-sign-bit/task.md +46 -0
- mlsys/tasks/num-f-contiguous-strides-from-shape/check.py +22 -0
- mlsys/tasks/num-f-contiguous-strides-from-shape/gen_fixtures.py +1 -0
- mlsys/tasks/num-f-contiguous-strides-from-shape/meta.json +22 -0
- mlsys/tasks/num-f-contiguous-strides-from-shape/solution_ref.py +13 -0
- mlsys/tasks/num-f-contiguous-strides-from-shape/starter.py +4 -0
- mlsys/tasks/num-f-contiguous-strides-from-shape/task.md +31 -0
- mlsys/tasks/num-fast-inverse-sqrt-bit-hack-one-newton-step/check.py +80 -0
- mlsys/tasks/num-fast-inverse-sqrt-bit-hack-one-newton-step/gen_fixtures.py +2 -0
- mlsys/tasks/num-fast-inverse-sqrt-bit-hack-one-newton-step/meta.json +36 -0
- mlsys/tasks/num-fast-inverse-sqrt-bit-hack-one-newton-step/solution_ref.py +20 -0
- mlsys/tasks/num-fast-inverse-sqrt-bit-hack-one-newton-step/starter.py +19 -0
- mlsys/tasks/num-fast-inverse-sqrt-bit-hack-one-newton-step/task.md +83 -0
- mlsys/tasks/num-find-fp16-overflow-bf16-survives-boundary/check.py +59 -0
- mlsys/tasks/num-find-fp16-overflow-bf16-survives-boundary/gen_fixtures.py +1 -0
- mlsys/tasks/num-find-fp16-overflow-bf16-survives-boundary/meta.json +22 -0
- mlsys/tasks/num-find-fp16-overflow-bf16-survives-boundary/solution_ref.py +25 -0
- mlsys/tasks/num-find-fp16-overflow-bf16-survives-boundary/starter.py +7 -0
- mlsys/tasks/num-find-fp16-overflow-bf16-survives-boundary/task.md +43 -0
- mlsys/tasks/num-finite-difference-step-u-curve-minimum/check.py +37 -0
- mlsys/tasks/num-finite-difference-step-u-curve-minimum/gen_fixtures.py +1 -0
- mlsys/tasks/num-finite-difference-step-u-curve-minimum/meta.json +22 -0
- mlsys/tasks/num-finite-difference-step-u-curve-minimum/solution_ref.py +14 -0
- mlsys/tasks/num-finite-difference-step-u-curve-minimum/starter.py +2 -0
- mlsys/tasks/num-finite-difference-step-u-curve-minimum/task.md +67 -0
- mlsys/tasks/num-fix-bad-pivot-selection/check.py +66 -0
- mlsys/tasks/num-fix-bad-pivot-selection/fixtures/A.npy +0 -0
- mlsys/tasks/num-fix-bad-pivot-selection/gen_fixtures.py +36 -0
- mlsys/tasks/num-fix-bad-pivot-selection/meta.json +24 -0
- mlsys/tasks/num-fix-bad-pivot-selection/solution_ref.py +41 -0
- mlsys/tasks/num-fix-bad-pivot-selection/starter.py +42 -0
- mlsys/tasks/num-fix-bad-pivot-selection/task.md +86 -0
- mlsys/tasks/num-fix-cholesky-missing-diagonal-sqrt/check.py +43 -0
- mlsys/tasks/num-fix-cholesky-missing-diagonal-sqrt/gen_fixtures.py +0 -0
- mlsys/tasks/num-fix-cholesky-missing-diagonal-sqrt/meta.json +27 -0
- mlsys/tasks/num-fix-cholesky-missing-diagonal-sqrt/solution_ref.py +22 -0
- mlsys/tasks/num-fix-cholesky-missing-diagonal-sqrt/starter.py +22 -0
- mlsys/tasks/num-fix-cholesky-missing-diagonal-sqrt/task.md +58 -0
- mlsys/tasks/num-fix-householder-sign-cancellation/check.py +40 -0
- mlsys/tasks/num-fix-householder-sign-cancellation/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-householder-sign-cancellation/meta.json +22 -0
- mlsys/tasks/num-fix-householder-sign-cancellation/solution_ref.py +18 -0
- mlsys/tasks/num-fix-householder-sign-cancellation/starter.py +15 -0
- mlsys/tasks/num-fix-householder-sign-cancellation/task.md +74 -0
- mlsys/tasks/num-fix-missing-axis-sum-after-broadcast/check.py +47 -0
- mlsys/tasks/num-fix-missing-axis-sum-after-broadcast/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-missing-axis-sum-after-broadcast/meta.json +22 -0
- mlsys/tasks/num-fix-missing-axis-sum-after-broadcast/solution_ref.py +15 -0
- mlsys/tasks/num-fix-missing-axis-sum-after-broadcast/starter.py +15 -0
- mlsys/tasks/num-fix-missing-axis-sum-after-broadcast/task.md +66 -0
- mlsys/tasks/num-fix-nan-cross-entropy-via-fusion/check.py +59 -0
- mlsys/tasks/num-fix-nan-cross-entropy-via-fusion/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-nan-cross-entropy-via-fusion/meta.json +22 -0
- mlsys/tasks/num-fix-nan-cross-entropy-via-fusion/solution_ref.py +23 -0
- mlsys/tasks/num-fix-nan-cross-entropy-via-fusion/starter.py +12 -0
- mlsys/tasks/num-fix-nan-cross-entropy-via-fusion/task.md +51 -0
- mlsys/tasks/num-fix-nan-producing-naive-softmax/check.py +35 -0
- mlsys/tasks/num-fix-nan-producing-naive-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-nan-producing-naive-softmax/meta.json +22 -0
- mlsys/tasks/num-fix-nan-producing-naive-softmax/solution_ref.py +7 -0
- mlsys/tasks/num-fix-nan-producing-naive-softmax/starter.py +4 -0
- mlsys/tasks/num-fix-nan-producing-naive-softmax/task.md +39 -0
- mlsys/tasks/num-fix-negative-variance-naive-formula/check.py +27 -0
- mlsys/tasks/num-fix-negative-variance-naive-formula/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-negative-variance-naive-formula/meta.json +22 -0
- mlsys/tasks/num-fix-negative-variance-naive-formula/solution_ref.py +21 -0
- mlsys/tasks/num-fix-negative-variance-naive-formula/starter.py +7 -0
- mlsys/tasks/num-fix-negative-variance-naive-formula/task.md +85 -0
- mlsys/tasks/num-fix-off-by-one-in-back-sub/check.py +31 -0
- mlsys/tasks/num-fix-off-by-one-in-back-sub/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-off-by-one-in-back-sub/meta.json +22 -0
- mlsys/tasks/num-fix-off-by-one-in-back-sub/solution_ref.py +12 -0
- mlsys/tasks/num-fix-off-by-one-in-back-sub/starter.py +12 -0
- mlsys/tasks/num-fix-off-by-one-in-back-sub/task.md +59 -0
- mlsys/tasks/num-fix-one-pass-variance-that-returns-negatives/check.py +37 -0
- mlsys/tasks/num-fix-one-pass-variance-that-returns-negatives/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-one-pass-variance-that-returns-negatives/meta.json +22 -0
- mlsys/tasks/num-fix-one-pass-variance-that-returns-negatives/solution_ref.py +8 -0
- mlsys/tasks/num-fix-one-pass-variance-that-returns-negatives/starter.py +13 -0
- mlsys/tasks/num-fix-one-pass-variance-that-returns-negatives/task.md +74 -0
- mlsys/tasks/num-fix-out-of-bounds-as-strided/check.py +59 -0
- mlsys/tasks/num-fix-out-of-bounds-as-strided/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-out-of-bounds-as-strided/meta.json +22 -0
- mlsys/tasks/num-fix-out-of-bounds-as-strided/solution_ref.py +14 -0
- mlsys/tasks/num-fix-out-of-bounds-as-strided/starter.py +14 -0
- mlsys/tasks/num-fix-out-of-bounds-as-strided/task.md +74 -0
- mlsys/tasks/num-fix-overflowing-softplus/check.py +22 -0
- mlsys/tasks/num-fix-overflowing-softplus/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-overflowing-softplus/meta.json +22 -0
- mlsys/tasks/num-fix-overflowing-softplus/solution_ref.py +5 -0
- mlsys/tasks/num-fix-overflowing-softplus/starter.py +5 -0
- mlsys/tasks/num-fix-overflowing-softplus/task.md +51 -0
- mlsys/tasks/num-fix-transposed-index-matmul-bug/check.py +27 -0
- mlsys/tasks/num-fix-transposed-index-matmul-bug/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-transposed-index-matmul-bug/meta.json +22 -0
- mlsys/tasks/num-fix-transposed-index-matmul-bug/solution_ref.py +18 -0
- mlsys/tasks/num-fix-transposed-index-matmul-bug/starter.py +18 -0
- mlsys/tasks/num-fix-transposed-index-matmul-bug/task.md +63 -0
- mlsys/tasks/num-fix-truncating-cast-to-ties-to-even/check.py +33 -0
- mlsys/tasks/num-fix-truncating-cast-to-ties-to-even/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-truncating-cast-to-ties-to-even/meta.json +22 -0
- mlsys/tasks/num-fix-truncating-cast-to-ties-to-even/solution_ref.py +5 -0
- mlsys/tasks/num-fix-truncating-cast-to-ties-to-even/starter.py +10 -0
- mlsys/tasks/num-fix-truncating-cast-to-ties-to-even/task.md +65 -0
- mlsys/tasks/num-fix-underflowing-log-likelihood/check.py +25 -0
- mlsys/tasks/num-fix-underflowing-log-likelihood/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-underflowing-log-likelihood/meta.json +22 -0
- mlsys/tasks/num-fix-underflowing-log-likelihood/solution_ref.py +7 -0
- mlsys/tasks/num-fix-underflowing-log-likelihood/starter.py +7 -0
- mlsys/tasks/num-fix-underflowing-log-likelihood/task.md +82 -0
- mlsys/tasks/num-fix-wrong-alignment-broadcast-left-vs-right/check.py +43 -0
- mlsys/tasks/num-fix-wrong-alignment-broadcast-left-vs-right/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-wrong-alignment-broadcast-left-vs-right/meta.json +22 -0
- mlsys/tasks/num-fix-wrong-alignment-broadcast-left-vs-right/solution_ref.py +5 -0
- mlsys/tasks/num-fix-wrong-alignment-broadcast-left-vs-right/starter.py +14 -0
- mlsys/tasks/num-fix-wrong-alignment-broadcast-left-vs-right/task.md +48 -0
- mlsys/tasks/num-fix-wrong-topo-order-breaking-grads/check.py +81 -0
- mlsys/tasks/num-fix-wrong-topo-order-breaking-grads/gen_fixtures.py +0 -0
- mlsys/tasks/num-fix-wrong-topo-order-breaking-grads/meta.json +22 -0
- mlsys/tasks/num-fix-wrong-topo-order-breaking-grads/solution_ref.py +68 -0
- mlsys/tasks/num-fix-wrong-topo-order-breaking-grads/starter.py +66 -0
- mlsys/tasks/num-fix-wrong-topo-order-breaking-grads/task.md +73 -0
- mlsys/tasks/num-fix-wrong-transpose-vjp/check.py +56 -0
- mlsys/tasks/num-fix-wrong-transpose-vjp/gen_fixtures.py +1 -0
- mlsys/tasks/num-fix-wrong-transpose-vjp/meta.json +22 -0
- mlsys/tasks/num-fix-wrong-transpose-vjp/solution_ref.py +7 -0
- mlsys/tasks/num-fix-wrong-transpose-vjp/starter.py +9 -0
- mlsys/tasks/num-fix-wrong-transpose-vjp/task.md +72 -0
- mlsys/tasks/num-flat-index-gather-from-shape-strides-offset/check.py +64 -0
- mlsys/tasks/num-flat-index-gather-from-shape-strides-offset/gen_fixtures.py +1 -0
- mlsys/tasks/num-flat-index-gather-from-shape-strides-offset/meta.json +22 -0
- mlsys/tasks/num-flat-index-gather-from-shape-strides-offset/solution_ref.py +33 -0
- mlsys/tasks/num-flat-index-gather-from-shape-strides-offset/starter.py +23 -0
- mlsys/tasks/num-flat-index-gather-from-shape-strides-offset/task.md +72 -0
- mlsys/tasks/num-forward-error-cond-backward-error/check.py +58 -0
- mlsys/tasks/num-forward-error-cond-backward-error/gen_fixtures.py +1 -0
- mlsys/tasks/num-forward-error-cond-backward-error/meta.json +27 -0
- mlsys/tasks/num-forward-error-cond-backward-error/solution_ref.py +12 -0
- mlsys/tasks/num-forward-error-cond-backward-error/starter.py +4 -0
- mlsys/tasks/num-forward-error-cond-backward-error/task.md +84 -0
- mlsys/tasks/num-forward-substitution-lower-triangular/check.py +62 -0
- mlsys/tasks/num-forward-substitution-lower-triangular/gen_fixtures.py +1 -0
- mlsys/tasks/num-forward-substitution-lower-triangular/meta.json +27 -0
- mlsys/tasks/num-forward-substitution-lower-triangular/solution_ref.py +16 -0
- mlsys/tasks/num-forward-substitution-lower-triangular/starter.py +7 -0
- mlsys/tasks/num-forward-substitution-lower-triangular/task.md +74 -0
- mlsys/tasks/num-forward-vs-central-difference-error-order/check.py +56 -0
- mlsys/tasks/num-forward-vs-central-difference-error-order/gen_fixtures.py +1 -0
- mlsys/tasks/num-forward-vs-central-difference-error-order/meta.json +22 -0
- mlsys/tasks/num-forward-vs-central-difference-error-order/solution_ref.py +19 -0
- mlsys/tasks/num-forward-vs-central-difference-error-order/starter.py +4 -0
- mlsys/tasks/num-forward-vs-central-difference-error-order/task.md +91 -0
- mlsys/tasks/num-fp32-bf16-truncate-rne-round-trip/check.py +50 -0
- mlsys/tasks/num-fp32-bf16-truncate-rne-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/num-fp32-bf16-truncate-rne-round-trip/meta.json +22 -0
- mlsys/tasks/num-fp32-bf16-truncate-rne-round-trip/solution_ref.py +11 -0
- mlsys/tasks/num-fp32-bf16-truncate-rne-round-trip/starter.py +6 -0
- mlsys/tasks/num-fp32-bf16-truncate-rne-round-trip/task.md +77 -0
- mlsys/tasks/num-fp64-fp32-cast-by-hand-with-grs-matching-astype/check.py +53 -0
- mlsys/tasks/num-fp64-fp32-cast-by-hand-with-grs-matching-astype/gen_fixtures.py +2 -0
- mlsys/tasks/num-fp64-fp32-cast-by-hand-with-grs-matching-astype/meta.json +22 -0
- mlsys/tasks/num-fp64-fp32-cast-by-hand-with-grs-matching-astype/solution_ref.py +40 -0
- mlsys/tasks/num-fp64-fp32-cast-by-hand-with-grs-matching-astype/starter.py +10 -0
- mlsys/tasks/num-fp64-fp32-cast-by-hand-with-grs-matching-astype/task.md +81 -0
- mlsys/tasks/num-fp8-e4m3-encode-with-subnormals-saturation/check.py +38 -0
- mlsys/tasks/num-fp8-e4m3-encode-with-subnormals-saturation/gen_fixtures.py +1 -0
- mlsys/tasks/num-fp8-e4m3-encode-with-subnormals-saturation/meta.json +28 -0
- mlsys/tasks/num-fp8-e4m3-encode-with-subnormals-saturation/solution_ref.py +12 -0
- mlsys/tasks/num-fp8-e4m3-encode-with-subnormals-saturation/starter.py +7 -0
- mlsys/tasks/num-fp8-e4m3-encode-with-subnormals-saturation/task.md +59 -0
- mlsys/tasks/num-fp8-e5m2-encode-decode-round-trip/check.py +128 -0
- mlsys/tasks/num-fp8-e5m2-encode-decode-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/num-fp8-e5m2-encode-decode-round-trip/meta.json +22 -0
- mlsys/tasks/num-fp8-e5m2-encode-decode-round-trip/solution_ref.py +56 -0
- mlsys/tasks/num-fp8-e5m2-encode-decode-round-trip/starter.py +54 -0
- mlsys/tasks/num-fp8-e5m2-encode-decode-round-trip/task.md +83 -0
- mlsys/tasks/num-full-field-decompose-sign-exp-mantissa-with-no-struct-frexp/check.py +20 -0
- mlsys/tasks/num-full-field-decompose-sign-exp-mantissa-with-no-struct-frexp/gen_fixtures.py +1 -0
- mlsys/tasks/num-full-field-decompose-sign-exp-mantissa-with-no-struct-frexp/meta.json +22 -0
- mlsys/tasks/num-full-field-decompose-sign-exp-mantissa-with-no-struct-frexp/solution_ref.py +25 -0
- mlsys/tasks/num-full-field-decompose-sign-exp-mantissa-with-no-struct-frexp/starter.py +4 -0
- mlsys/tasks/num-full-field-decompose-sign-exp-mantissa-with-no-struct-frexp/task.md +60 -0
- mlsys/tasks/num-fully-fused-forward-backward-log-softmax-nll/check.py +42 -0
- mlsys/tasks/num-fully-fused-forward-backward-log-softmax-nll/gen_fixtures.py +1 -0
- mlsys/tasks/num-fully-fused-forward-backward-log-softmax-nll/meta.json +27 -0
- mlsys/tasks/num-fully-fused-forward-backward-log-softmax-nll/solution_ref.py +23 -0
- mlsys/tasks/num-fully-fused-forward-backward-log-softmax-nll/starter.py +6 -0
- mlsys/tasks/num-fully-fused-forward-backward-log-softmax-nll/task.md +73 -0
- mlsys/tasks/num-fused-cross-entropy-from-logits/check.py +29 -0
- mlsys/tasks/num-fused-cross-entropy-from-logits/fixtures/logits.npy +0 -0
- mlsys/tasks/num-fused-cross-entropy-from-logits/fixtures/targets.npy +0 -0
- mlsys/tasks/num-fused-cross-entropy-from-logits/gen_fixtures.py +33 -0
- mlsys/tasks/num-fused-cross-entropy-from-logits/meta.json +25 -0
- mlsys/tasks/num-fused-cross-entropy-from-logits/solution_ref.py +12 -0
- mlsys/tasks/num-fused-cross-entropy-from-logits/starter.py +7 -0
- mlsys/tasks/num-fused-cross-entropy-from-logits/task.md +58 -0
- mlsys/tasks/num-fused-streaming-log-softmax-matching-flash-numerics/check.py +43 -0
- mlsys/tasks/num-fused-streaming-log-softmax-matching-flash-numerics/gen_fixtures.py +1 -0
- mlsys/tasks/num-fused-streaming-log-softmax-matching-flash-numerics/meta.json +22 -0
- mlsys/tasks/num-fused-streaming-log-softmax-matching-flash-numerics/solution_ref.py +12 -0
- mlsys/tasks/num-fused-streaming-log-softmax-matching-flash-numerics/starter.py +4 -0
- mlsys/tasks/num-fused-streaming-log-softmax-matching-flash-numerics/task.md +68 -0
- mlsys/tasks/num-fusion-improves-ai-modeled-traffic/check.py +30 -0
- mlsys/tasks/num-fusion-improves-ai-modeled-traffic/gen_fixtures.py +1 -0
- mlsys/tasks/num-fusion-improves-ai-modeled-traffic/meta.json +22 -0
- mlsys/tasks/num-fusion-improves-ai-modeled-traffic/solution_ref.py +4 -0
- mlsys/tasks/num-fusion-improves-ai-modeled-traffic/starter.py +2 -0
- mlsys/tasks/num-fusion-improves-ai-modeled-traffic/task.md +75 -0
- mlsys/tasks/num-general-unbroadcast-leading-size-1-dims/check.py +53 -0
- mlsys/tasks/num-general-unbroadcast-leading-size-1-dims/gen_fixtures.py +1 -0
- mlsys/tasks/num-general-unbroadcast-leading-size-1-dims/meta.json +22 -0
- mlsys/tasks/num-general-unbroadcast-leading-size-1-dims/solution_ref.py +31 -0
- mlsys/tasks/num-general-unbroadcast-leading-size-1-dims/starter.py +9 -0
- mlsys/tasks/num-general-unbroadcast-leading-size-1-dims/task.md +65 -0
- mlsys/tasks/num-gradient-accumulation-on-reused-node/check.py +98 -0
- mlsys/tasks/num-gradient-accumulation-on-reused-node/gen_fixtures.py +2 -0
- mlsys/tasks/num-gradient-accumulation-on-reused-node/meta.json +22 -0
- mlsys/tasks/num-gradient-accumulation-on-reused-node/solution_ref.py +76 -0
- mlsys/tasks/num-gradient-accumulation-on-reused-node/starter.py +20 -0
- mlsys/tasks/num-gradient-accumulation-on-reused-node/task.md +93 -0
- mlsys/tasks/num-hilbert-matrix-conditioning-growth/check.py +26 -0
- mlsys/tasks/num-hilbert-matrix-conditioning-growth/gen_fixtures.py +1 -0
- mlsys/tasks/num-hilbert-matrix-conditioning-growth/meta.json +22 -0
- mlsys/tasks/num-hilbert-matrix-conditioning-growth/solution_ref.py +11 -0
- mlsys/tasks/num-hilbert-matrix-conditioning-growth/starter.py +4 -0
- mlsys/tasks/num-hilbert-matrix-conditioning-growth/task.md +73 -0
- mlsys/tasks/num-hillis-steele-inclusive-scan/check.py +35 -0
- mlsys/tasks/num-hillis-steele-inclusive-scan/gen_fixtures.py +1 -0
- mlsys/tasks/num-hillis-steele-inclusive-scan/meta.json +22 -0
- mlsys/tasks/num-hillis-steele-inclusive-scan/solution_ref.py +32 -0
- mlsys/tasks/num-hillis-steele-inclusive-scan/starter.py +18 -0
- mlsys/tasks/num-hillis-steele-inclusive-scan/task.md +69 -0
- mlsys/tasks/num-householder-qr-reconstruction/check.py +44 -0
- mlsys/tasks/num-householder-qr-reconstruction/gen_fixtures.py +1 -0
- mlsys/tasks/num-householder-qr-reconstruction/meta.json +22 -0
- mlsys/tasks/num-householder-qr-reconstruction/solution_ref.py +28 -0
- mlsys/tasks/num-householder-qr-reconstruction/starter.py +4 -0
- mlsys/tasks/num-householder-qr-reconstruction/task.md +88 -0
- mlsys/tasks/num-identify-fp16-bf16-fp8-field-splits/check.py +20 -0
- mlsys/tasks/num-identify-fp16-bf16-fp8-field-splits/gen_fixtures.py +1 -0
- mlsys/tasks/num-identify-fp16-bf16-fp8-field-splits/meta.json +22 -0
- mlsys/tasks/num-identify-fp16-bf16-fp8-field-splits/solution_ref.py +16 -0
- mlsys/tasks/num-identify-fp16-bf16-fp8-field-splits/starter.py +2 -0
- mlsys/tasks/num-identify-fp16-bf16-fp8-field-splits/task.md +47 -0
- mlsys/tasks/num-ikj-loop-order-matmul/check.py +34 -0
- mlsys/tasks/num-ikj-loop-order-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/num-ikj-loop-order-matmul/meta.json +27 -0
- mlsys/tasks/num-ikj-loop-order-matmul/solution_ref.py +17 -0
- mlsys/tasks/num-ikj-loop-order-matmul/starter.py +6 -0
- mlsys/tasks/num-ikj-loop-order-matmul/task.md +59 -0
- mlsys/tasks/num-im2col-patch-extraction-via-as-strided/check.py +48 -0
- mlsys/tasks/num-im2col-patch-extraction-via-as-strided/gen_fixtures.py +2 -0
- mlsys/tasks/num-im2col-patch-extraction-via-as-strided/meta.json +27 -0
- mlsys/tasks/num-im2col-patch-extraction-via-as-strided/solution_ref.py +16 -0
- mlsys/tasks/num-im2col-patch-extraction-via-as-strided/starter.py +11 -0
- mlsys/tasks/num-im2col-patch-extraction-via-as-strided/task.md +81 -0
- mlsys/tasks/num-inverse-iteration-for-smallest-eigenpair/check.py +54 -0
- mlsys/tasks/num-inverse-iteration-for-smallest-eigenpair/gen_fixtures.py +0 -0
- mlsys/tasks/num-inverse-iteration-for-smallest-eigenpair/meta.json +27 -0
- mlsys/tasks/num-inverse-iteration-for-smallest-eigenpair/solution_ref.py +27 -0
- mlsys/tasks/num-inverse-iteration-for-smallest-eigenpair/starter.py +29 -0
- mlsys/tasks/num-inverse-iteration-for-smallest-eigenpair/task.md +69 -0
- mlsys/tasks/num-jacobi-rotation-sweeps-for-symmetric-eig/check.py +62 -0
- mlsys/tasks/num-jacobi-rotation-sweeps-for-symmetric-eig/gen_fixtures.py +1 -0
- mlsys/tasks/num-jacobi-rotation-sweeps-for-symmetric-eig/meta.json +22 -0
- mlsys/tasks/num-jacobi-rotation-sweeps-for-symmetric-eig/solution_ref.py +39 -0
- mlsys/tasks/num-jacobi-rotation-sweeps-for-symmetric-eig/starter.py +6 -0
- mlsys/tasks/num-jacobi-rotation-sweeps-for-symmetric-eig/task.md +60 -0
- mlsys/tasks/num-jacobian-by-finite-differences/check.py +70 -0
- mlsys/tasks/num-jacobian-by-finite-differences/gen_fixtures.py +1 -0
- mlsys/tasks/num-jacobian-by-finite-differences/meta.json +22 -0
- mlsys/tasks/num-jacobian-by-finite-differences/solution_ref.py +20 -0
- mlsys/tasks/num-jacobian-by-finite-differences/starter.py +4 -0
- mlsys/tasks/num-jacobian-by-finite-differences/task.md +65 -0
- mlsys/tasks/num-kahan-summation-beats-naive-fp32/check.py +44 -0
- mlsys/tasks/num-kahan-summation-beats-naive-fp32/gen_fixtures.py +1 -0
- mlsys/tasks/num-kahan-summation-beats-naive-fp32/meta.json +27 -0
- mlsys/tasks/num-kahan-summation-beats-naive-fp32/solution_ref.py +17 -0
- mlsys/tasks/num-kahan-summation-beats-naive-fp32/starter.py +7 -0
- mlsys/tasks/num-kahan-summation-beats-naive-fp32/task.md +75 -0
- mlsys/tasks/num-kahan-vs-neumaier-when-running-sum-addend/check.py +71 -0
- mlsys/tasks/num-kahan-vs-neumaier-when-running-sum-addend/gen_fixtures.py +1 -0
- mlsys/tasks/num-kahan-vs-neumaier-when-running-sum-addend/meta.json +33 -0
- mlsys/tasks/num-kahan-vs-neumaier-when-running-sum-addend/solution_ref.py +39 -0
- mlsys/tasks/num-kahan-vs-neumaier-when-running-sum-addend/starter.py +21 -0
- mlsys/tasks/num-kahan-vs-neumaier-when-running-sum-addend/task.md +83 -0
- mlsys/tasks/num-label-smoothed-fused-ce/check.py +40 -0
- mlsys/tasks/num-label-smoothed-fused-ce/gen_fixtures.py +1 -0
- mlsys/tasks/num-label-smoothed-fused-ce/meta.json +22 -0
- mlsys/tasks/num-label-smoothed-fused-ce/solution_ref.py +27 -0
- mlsys/tasks/num-label-smoothed-fused-ce/starter.py +17 -0
- mlsys/tasks/num-label-smoothed-fused-ce/task.md +88 -0
- mlsys/tasks/num-least-squares-via-qr/check.py +52 -0
- mlsys/tasks/num-least-squares-via-qr/gen_fixtures.py +1 -0
- mlsys/tasks/num-least-squares-via-qr/meta.json +22 -0
- mlsys/tasks/num-least-squares-via-qr/solution_ref.py +32 -0
- mlsys/tasks/num-least-squares-via-qr/starter.py +4 -0
- mlsys/tasks/num-least-squares-via-qr/task.md +76 -0
- mlsys/tasks/num-log-1-x-naive-vs-log1p-on-tiny-x/check.py +19 -0
- mlsys/tasks/num-log-1-x-naive-vs-log1p-on-tiny-x/gen_fixtures.py +1 -0
- mlsys/tasks/num-log-1-x-naive-vs-log1p-on-tiny-x/meta.json +22 -0
- mlsys/tasks/num-log-1-x-naive-vs-log1p-on-tiny-x/solution_ref.py +8 -0
- mlsys/tasks/num-log-1-x-naive-vs-log1p-on-tiny-x/starter.py +4 -0
- mlsys/tasks/num-log-1-x-naive-vs-log1p-on-tiny-x/task.md +31 -0
- mlsys/tasks/num-log-softmax-via-lse/check.py +34 -0
- mlsys/tasks/num-log-softmax-via-lse/gen_fixtures.py +1 -0
- mlsys/tasks/num-log-softmax-via-lse/meta.json +22 -0
- mlsys/tasks/num-log-softmax-via-lse/solution_ref.py +10 -0
- mlsys/tasks/num-log-softmax-via-lse/starter.py +5 -0
- mlsys/tasks/num-log-softmax-via-lse/task.md +76 -0
- mlsys/tasks/num-log-softmax-x-lse-identity/check.py +32 -0
- mlsys/tasks/num-log-softmax-x-lse-identity/gen_fixtures.py +1 -0
- mlsys/tasks/num-log-softmax-x-lse-identity/meta.json +22 -0
- mlsys/tasks/num-log-softmax-x-lse-identity/solution_ref.py +8 -0
- mlsys/tasks/num-log-softmax-x-lse-identity/starter.py +6 -0
- mlsys/tasks/num-log-softmax-x-lse-identity/task.md +68 -0
- mlsys/tasks/num-log1p-for-tiny-x/check.py +25 -0
- mlsys/tasks/num-log1p-for-tiny-x/gen_fixtures.py +1 -0
- mlsys/tasks/num-log1p-for-tiny-x/meta.json +22 -0
- mlsys/tasks/num-log1p-for-tiny-x/solution_ref.py +8 -0
- mlsys/tasks/num-log1p-for-tiny-x/starter.py +4 -0
- mlsys/tasks/num-log1p-for-tiny-x/task.md +48 -0
- mlsys/tasks/num-logsigmoid-gradient/check.py +48 -0
- mlsys/tasks/num-logsigmoid-gradient/gen_fixtures.py +1 -0
- mlsys/tasks/num-logsigmoid-gradient/meta.json +27 -0
- mlsys/tasks/num-logsigmoid-gradient/solution_ref.py +8 -0
- mlsys/tasks/num-logsigmoid-gradient/starter.py +4 -0
- mlsys/tasks/num-logsigmoid-gradient/task.md +85 -0
- mlsys/tasks/num-logsumexp-with-max-shift/check.py +36 -0
- mlsys/tasks/num-logsumexp-with-max-shift/gen_fixtures.py +0 -0
- mlsys/tasks/num-logsumexp-with-max-shift/meta.json +22 -0
- mlsys/tasks/num-logsumexp-with-max-shift/solution_ref.py +16 -0
- mlsys/tasks/num-logsumexp-with-max-shift/starter.py +22 -0
- mlsys/tasks/num-logsumexp-with-max-shift/task.md +60 -0
- mlsys/tasks/num-loss-scaling-round-trip-of-tiny-gradients/check.py +59 -0
- mlsys/tasks/num-loss-scaling-round-trip-of-tiny-gradients/gen_fixtures.py +1 -0
- mlsys/tasks/num-loss-scaling-round-trip-of-tiny-gradients/meta.json +27 -0
- mlsys/tasks/num-loss-scaling-round-trip-of-tiny-gradients/solution_ref.py +8 -0
- mlsys/tasks/num-loss-scaling-round-trip-of-tiny-gradients/starter.py +4 -0
- mlsys/tasks/num-loss-scaling-round-trip-of-tiny-gradients/task.md +63 -0
- mlsys/tasks/num-low-rank-compression-size-vs-error/check.py +70 -0
- mlsys/tasks/num-low-rank-compression-size-vs-error/gen_fixtures.py +1 -0
- mlsys/tasks/num-low-rank-compression-size-vs-error/meta.json +28 -0
- mlsys/tasks/num-low-rank-compression-size-vs-error/solution_ref.py +11 -0
- mlsys/tasks/num-low-rank-compression-size-vs-error/starter.py +11 -0
- mlsys/tasks/num-low-rank-compression-size-vs-error/task.md +90 -0
- mlsys/tasks/num-lu-with-partial-pivoting-check-pa-lu/check.py +60 -0
- mlsys/tasks/num-lu-with-partial-pivoting-check-pa-lu/gen_fixtures.py +1 -0
- mlsys/tasks/num-lu-with-partial-pivoting-check-pa-lu/meta.json +22 -0
- mlsys/tasks/num-lu-with-partial-pivoting-check-pa-lu/solution_ref.py +25 -0
- mlsys/tasks/num-lu-with-partial-pivoting-check-pa-lu/starter.py +4 -0
- mlsys/tasks/num-lu-with-partial-pivoting-check-pa-lu/task.md +68 -0
- mlsys/tasks/num-lu-without-pivoting-reconstruct-a-lu/check.py +60 -0
- mlsys/tasks/num-lu-without-pivoting-reconstruct-a-lu/gen_fixtures.py +1 -0
- mlsys/tasks/num-lu-without-pivoting-reconstruct-a-lu/meta.json +22 -0
- mlsys/tasks/num-lu-without-pivoting-reconstruct-a-lu/solution_ref.py +20 -0
- mlsys/tasks/num-lu-without-pivoting-reconstruct-a-lu/starter.py +4 -0
- mlsys/tasks/num-lu-without-pivoting-reconstruct-a-lu/task.md +76 -0
- mlsys/tasks/num-manual-broadcast-to-common-shape/check.py +90 -0
- mlsys/tasks/num-manual-broadcast-to-common-shape/gen_fixtures.py +1 -0
- mlsys/tasks/num-manual-broadcast-to-common-shape/meta.json +27 -0
- mlsys/tasks/num-manual-broadcast-to-common-shape/solution_ref.py +47 -0
- mlsys/tasks/num-manual-broadcast-to-common-shape/starter.py +6 -0
- mlsys/tasks/num-manual-broadcast-to-common-shape/task.md +61 -0
- mlsys/tasks/num-matrix-vector-from-scratch/check.py +34 -0
- mlsys/tasks/num-matrix-vector-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/num-matrix-vector-from-scratch/meta.json +27 -0
- mlsys/tasks/num-matrix-vector-from-scratch/solution_ref.py +15 -0
- mlsys/tasks/num-matrix-vector-from-scratch/starter.py +6 -0
- mlsys/tasks/num-matrix-vector-from-scratch/task.md +51 -0
- mlsys/tasks/num-micrograd-style-value-with-backward/check.py +75 -0
- mlsys/tasks/num-micrograd-style-value-with-backward/gen_fixtures.py +2 -0
- mlsys/tasks/num-micrograd-style-value-with-backward/meta.json +27 -0
- mlsys/tasks/num-micrograd-style-value-with-backward/solution_ref.py +79 -0
- mlsys/tasks/num-micrograd-style-value-with-backward/starter.py +35 -0
- mlsys/tasks/num-micrograd-style-value-with-backward/task.md +107 -0
- mlsys/tasks/num-mini-softfloat-add-with-guard-round-sticky/check.py +42 -0
- mlsys/tasks/num-mini-softfloat-add-with-guard-round-sticky/gen_fixtures.py +1 -0
- mlsys/tasks/num-mini-softfloat-add-with-guard-round-sticky/meta.json +22 -0
- mlsys/tasks/num-mini-softfloat-add-with-guard-round-sticky/solution_ref.py +99 -0
- mlsys/tasks/num-mini-softfloat-add-with-guard-round-sticky/starter.py +2 -0
- mlsys/tasks/num-mini-softfloat-add-with-guard-round-sticky/task.md +67 -0
- mlsys/tasks/num-mixed-precision-compensated-accumulator/check.py +39 -0
- mlsys/tasks/num-mixed-precision-compensated-accumulator/gen_fixtures.py +1 -0
- mlsys/tasks/num-mixed-precision-compensated-accumulator/meta.json +22 -0
- mlsys/tasks/num-mixed-precision-compensated-accumulator/solution_ref.py +14 -0
- mlsys/tasks/num-mixed-precision-compensated-accumulator/starter.py +4 -0
- mlsys/tasks/num-mixed-precision-compensated-accumulator/task.md +65 -0
- mlsys/tasks/num-modeled-cache-misses-vs-tile-size/check.py +60 -0
- mlsys/tasks/num-modeled-cache-misses-vs-tile-size/gen_fixtures.py +1 -0
- mlsys/tasks/num-modeled-cache-misses-vs-tile-size/meta.json +22 -0
- mlsys/tasks/num-modeled-cache-misses-vs-tile-size/solution_ref.py +37 -0
- mlsys/tasks/num-modeled-cache-misses-vs-tile-size/starter.py +2 -0
- mlsys/tasks/num-modeled-cache-misses-vs-tile-size/task.md +85 -0
- mlsys/tasks/num-naive-matmul-forbidding-blas/check.py +49 -0
- mlsys/tasks/num-naive-matmul-forbidding-blas/gen_fixtures.py +1 -0
- mlsys/tasks/num-naive-matmul-forbidding-blas/meta.json +27 -0
- mlsys/tasks/num-naive-matmul-forbidding-blas/solution_ref.py +15 -0
- mlsys/tasks/num-naive-matmul-forbidding-blas/starter.py +4 -0
- mlsys/tasks/num-naive-matmul-forbidding-blas/task.md +45 -0
- mlsys/tasks/num-naive-triple-loop-matmul/check.py +22 -0
- mlsys/tasks/num-naive-triple-loop-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/num-naive-triple-loop-matmul/meta.json +22 -0
- mlsys/tasks/num-naive-triple-loop-matmul/solution_ref.py +16 -0
- mlsys/tasks/num-naive-triple-loop-matmul/starter.py +4 -0
- mlsys/tasks/num-naive-triple-loop-matmul/task.md +36 -0
- mlsys/tasks/num-naive-vs-stable-lse-on-overflow-underflow-fixture/check.py +46 -0
- mlsys/tasks/num-naive-vs-stable-lse-on-overflow-underflow-fixture/fixtures/x_overflow.npy +0 -0
- mlsys/tasks/num-naive-vs-stable-lse-on-overflow-underflow-fixture/fixtures/x_underflow.npy +0 -0
- mlsys/tasks/num-naive-vs-stable-lse-on-overflow-underflow-fixture/gen_fixtures.py +35 -0
- mlsys/tasks/num-naive-vs-stable-lse-on-overflow-underflow-fixture/meta.json +25 -0
- mlsys/tasks/num-naive-vs-stable-lse-on-overflow-underflow-fixture/solution_ref.py +14 -0
- mlsys/tasks/num-naive-vs-stable-lse-on-overflow-underflow-fixture/starter.py +13 -0
- mlsys/tasks/num-naive-vs-stable-lse-on-overflow-underflow-fixture/task.md +71 -0
- mlsys/tasks/num-naive-vs-stable-softmax-argmax-in-fp16/check.py +49 -0
- mlsys/tasks/num-naive-vs-stable-softmax-argmax-in-fp16/gen_fixtures.py +1 -0
- mlsys/tasks/num-naive-vs-stable-softmax-argmax-in-fp16/meta.json +22 -0
- mlsys/tasks/num-naive-vs-stable-softmax-argmax-in-fp16/solution_ref.py +9 -0
- mlsys/tasks/num-naive-vs-stable-softmax-argmax-in-fp16/starter.py +4 -0
- mlsys/tasks/num-naive-vs-stable-softmax-argmax-in-fp16/task.md +75 -0
- mlsys/tasks/num-naive-vs-welford-vs-two-pass-accuracy/check.py +25 -0
- mlsys/tasks/num-naive-vs-welford-vs-two-pass-accuracy/fixtures/x.npy +0 -0
- mlsys/tasks/num-naive-vs-welford-vs-two-pass-accuracy/gen_fixtures.py +24 -0
- mlsys/tasks/num-naive-vs-welford-vs-two-pass-accuracy/meta.json +24 -0
- mlsys/tasks/num-naive-vs-welford-vs-two-pass-accuracy/solution_ref.py +16 -0
- mlsys/tasks/num-naive-vs-welford-vs-two-pass-accuracy/starter.py +6 -0
- mlsys/tasks/num-naive-vs-welford-vs-two-pass-accuracy/task.md +82 -0
- mlsys/tasks/num-nan-aware-max-argmax-matching-nanmax/check.py +31 -0
- mlsys/tasks/num-nan-aware-max-argmax-matching-nanmax/gen_fixtures.py +1 -0
- mlsys/tasks/num-nan-aware-max-argmax-matching-nanmax/meta.json +22 -0
- mlsys/tasks/num-nan-aware-max-argmax-matching-nanmax/solution_ref.py +19 -0
- mlsys/tasks/num-nan-aware-max-argmax-matching-nanmax/starter.py +5 -0
- mlsys/tasks/num-nan-aware-max-argmax-matching-nanmax/task.md +62 -0
- mlsys/tasks/num-nan-safe-masked-reduction-kill-0-inf/check.py +51 -0
- mlsys/tasks/num-nan-safe-masked-reduction-kill-0-inf/gen_fixtures.py +1 -0
- mlsys/tasks/num-nan-safe-masked-reduction-kill-0-inf/meta.json +22 -0
- mlsys/tasks/num-nan-safe-masked-reduction-kill-0-inf/solution_ref.py +10 -0
- mlsys/tasks/num-nan-safe-masked-reduction-kill-0-inf/starter.py +9 -0
- mlsys/tasks/num-nan-safe-masked-reduction-kill-0-inf/task.md +64 -0
- mlsys/tasks/num-nextafter-x-inf-by-integer-bit-increment/check.py +50 -0
- mlsys/tasks/num-nextafter-x-inf-by-integer-bit-increment/gen_fixtures.py +0 -0
- mlsys/tasks/num-nextafter-x-inf-by-integer-bit-increment/meta.json +22 -0
- mlsys/tasks/num-nextafter-x-inf-by-integer-bit-increment/solution_ref.py +39 -0
- mlsys/tasks/num-nextafter-x-inf-by-integer-bit-increment/starter.py +29 -0
- mlsys/tasks/num-nextafter-x-inf-by-integer-bit-increment/task.md +62 -0
- mlsys/tasks/num-numerically-stable-softplus/check.py +30 -0
- mlsys/tasks/num-numerically-stable-softplus/gen_fixtures.py +1 -0
- mlsys/tasks/num-numerically-stable-softplus/meta.json +22 -0
- mlsys/tasks/num-numerically-stable-softplus/solution_ref.py +6 -0
- mlsys/tasks/num-numerically-stable-softplus/starter.py +4 -0
- mlsys/tasks/num-numerically-stable-softplus/task.md +58 -0
- mlsys/tasks/num-off-diagonal-norm-decreases-jacobi/check.py +100 -0
- mlsys/tasks/num-off-diagonal-norm-decreases-jacobi/fixtures/A.npy +0 -0
- mlsys/tasks/num-off-diagonal-norm-decreases-jacobi/gen_fixtures.py +30 -0
- mlsys/tasks/num-off-diagonal-norm-decreases-jacobi/meta.json +24 -0
- mlsys/tasks/num-off-diagonal-norm-decreases-jacobi/solution_ref.py +80 -0
- mlsys/tasks/num-off-diagonal-norm-decreases-jacobi/starter.py +25 -0
- mlsys/tasks/num-off-diagonal-norm-decreases-jacobi/task.md +92 -0
- mlsys/tasks/num-one-level-strassen/check.py +45 -0
- mlsys/tasks/num-one-level-strassen/gen_fixtures.py +1 -0
- mlsys/tasks/num-one-level-strassen/meta.json +27 -0
- mlsys/tasks/num-one-level-strassen/solution_ref.py +26 -0
- mlsys/tasks/num-one-level-strassen/starter.py +4 -0
- mlsys/tasks/num-one-level-strassen/task.md +98 -0
- mlsys/tasks/num-one-sided-jacobi-svd/check.py +78 -0
- mlsys/tasks/num-one-sided-jacobi-svd/gen_fixtures.py +39 -0
- mlsys/tasks/num-one-sided-jacobi-svd/meta.json +22 -0
- mlsys/tasks/num-one-sided-jacobi-svd/solution_ref.py +61 -0
- mlsys/tasks/num-one-sided-jacobi-svd/starter.py +17 -0
- mlsys/tasks/num-one-sided-jacobi-svd/task.md +68 -0
- mlsys/tasks/num-online-blockwise-softmax-flash-recurrence/check.py +49 -0
- mlsys/tasks/num-online-blockwise-softmax-flash-recurrence/gen_fixtures.py +1 -0
- mlsys/tasks/num-online-blockwise-softmax-flash-recurrence/meta.json +20 -0
- mlsys/tasks/num-online-blockwise-softmax-flash-recurrence/solution_ref.py +28 -0
- mlsys/tasks/num-online-blockwise-softmax-flash-recurrence/starter.py +5 -0
- mlsys/tasks/num-online-blockwise-softmax-flash-recurrence/task.md +73 -0
- mlsys/tasks/num-online-skewness-kurtosis/check.py +46 -0
- mlsys/tasks/num-online-skewness-kurtosis/gen_fixtures.py +1 -0
- mlsys/tasks/num-online-skewness-kurtosis/meta.json +22 -0
- mlsys/tasks/num-online-skewness-kurtosis/solution_ref.py +33 -0
- mlsys/tasks/num-online-skewness-kurtosis/starter.py +2 -0
- mlsys/tasks/num-online-skewness-kurtosis/task.md +64 -0
- mlsys/tasks/num-optimal-step-h-sqrt-eps-for-central-diff/check.py +52 -0
- mlsys/tasks/num-optimal-step-h-sqrt-eps-for-central-diff/gen_fixtures.py +1 -0
- mlsys/tasks/num-optimal-step-h-sqrt-eps-for-central-diff/meta.json +22 -0
- mlsys/tasks/num-optimal-step-h-sqrt-eps-for-central-diff/solution_ref.py +16 -0
- mlsys/tasks/num-optimal-step-h-sqrt-eps-for-central-diff/starter.py +9 -0
- mlsys/tasks/num-optimal-step-h-sqrt-eps-for-central-diff/task.md +80 -0
- mlsys/tasks/num-optimal-tile-size-under-cache-constraint/check.py +45 -0
- mlsys/tasks/num-optimal-tile-size-under-cache-constraint/gen_fixtures.py +1 -0
- mlsys/tasks/num-optimal-tile-size-under-cache-constraint/meta.json +22 -0
- mlsys/tasks/num-optimal-tile-size-under-cache-constraint/solution_ref.py +19 -0
- mlsys/tasks/num-optimal-tile-size-under-cache-constraint/starter.py +2 -0
- mlsys/tasks/num-optimal-tile-size-under-cache-constraint/task.md +78 -0
- mlsys/tasks/num-orthogonality-error-q-tq-i/check.py +58 -0
- mlsys/tasks/num-orthogonality-error-q-tq-i/gen_fixtures.py +1 -0
- mlsys/tasks/num-orthogonality-error-q-tq-i/meta.json +22 -0
- mlsys/tasks/num-orthogonality-error-q-tq-i/solution_ref.py +7 -0
- mlsys/tasks/num-orthogonality-error-q-tq-i/starter.py +5 -0
- mlsys/tasks/num-orthogonality-error-q-tq-i/task.md +49 -0
- mlsys/tasks/num-pairwise-tree-summation/check.py +19 -0
- mlsys/tasks/num-pairwise-tree-summation/gen_fixtures.py +1 -0
- mlsys/tasks/num-pairwise-tree-summation/meta.json +22 -0
- mlsys/tasks/num-pairwise-tree-summation/solution_ref.py +18 -0
- mlsys/tasks/num-pairwise-tree-summation/starter.py +4 -0
- mlsys/tasks/num-pairwise-tree-summation/task.md +31 -0
- mlsys/tasks/num-parallel-merge-of-two-welford-accumulators/check.py +52 -0
- mlsys/tasks/num-parallel-merge-of-two-welford-accumulators/gen_fixtures.py +1 -0
- mlsys/tasks/num-parallel-merge-of-two-welford-accumulators/meta.json +22 -0
- mlsys/tasks/num-parallel-merge-of-two-welford-accumulators/solution_ref.py +14 -0
- mlsys/tasks/num-parallel-merge-of-two-welford-accumulators/starter.py +2 -0
- mlsys/tasks/num-parallel-merge-of-two-welford-accumulators/task.md +87 -0
- mlsys/tasks/num-per-channel-fp8-scale-maximizing-snr/check.py +89 -0
- mlsys/tasks/num-per-channel-fp8-scale-maximizing-snr/gen_fixtures.py +1 -0
- mlsys/tasks/num-per-channel-fp8-scale-maximizing-snr/meta.json +22 -0
- mlsys/tasks/num-per-channel-fp8-scale-maximizing-snr/solution_ref.py +54 -0
- mlsys/tasks/num-per-channel-fp8-scale-maximizing-snr/starter.py +33 -0
- mlsys/tasks/num-per-channel-fp8-scale-maximizing-snr/task.md +66 -0
- mlsys/tasks/num-per-format-reconstruction-error-fp16-bf16-fp8/check.py +77 -0
- mlsys/tasks/num-per-format-reconstruction-error-fp16-bf16-fp8/gen_fixtures.py +1 -0
- mlsys/tasks/num-per-format-reconstruction-error-fp16-bf16-fp8/meta.json +34 -0
- mlsys/tasks/num-per-format-reconstruction-error-fp16-bf16-fp8/solution_ref.py +42 -0
- mlsys/tasks/num-per-format-reconstruction-error-fp16-bf16-fp8/starter.py +10 -0
- mlsys/tasks/num-per-format-reconstruction-error-fp16-bf16-fp8/task.md +68 -0
- mlsys/tasks/num-permutation-invariant-bit-stable-reduction/check.py +68 -0
- mlsys/tasks/num-permutation-invariant-bit-stable-reduction/gen_fixtures.py +1 -0
- mlsys/tasks/num-permutation-invariant-bit-stable-reduction/meta.json +22 -0
- mlsys/tasks/num-permutation-invariant-bit-stable-reduction/solution_ref.py +29 -0
- mlsys/tasks/num-permutation-invariant-bit-stable-reduction/starter.py +4 -0
- mlsys/tasks/num-permutation-invariant-bit-stable-reduction/task.md +67 -0
- mlsys/tasks/num-pivot-permutation-matches-reference/check.py +31 -0
- mlsys/tasks/num-pivot-permutation-matches-reference/gen_fixtures.py +1 -0
- mlsys/tasks/num-pivot-permutation-matches-reference/meta.json +22 -0
- mlsys/tasks/num-pivot-permutation-matches-reference/solution_ref.py +22 -0
- mlsys/tasks/num-pivot-permutation-matches-reference/starter.py +7 -0
- mlsys/tasks/num-pivot-permutation-matches-reference/task.md +53 -0
- mlsys/tasks/num-power-iteration-dominant-eigenpair/check.py +42 -0
- mlsys/tasks/num-power-iteration-dominant-eigenpair/gen_fixtures.py +1 -0
- mlsys/tasks/num-power-iteration-dominant-eigenpair/meta.json +22 -0
- mlsys/tasks/num-power-iteration-dominant-eigenpair/solution_ref.py +12 -0
- mlsys/tasks/num-power-iteration-dominant-eigenpair/starter.py +13 -0
- mlsys/tasks/num-power-iteration-dominant-eigenpair/task.md +48 -0
- mlsys/tasks/num-predict-backward-sum-axes/check.py +34 -0
- mlsys/tasks/num-predict-backward-sum-axes/gen_fixtures.py +1 -0
- mlsys/tasks/num-predict-backward-sum-axes/meta.json +22 -0
- mlsys/tasks/num-predict-backward-sum-axes/solution_ref.py +13 -0
- mlsys/tasks/num-predict-backward-sum-axes/starter.py +4 -0
- mlsys/tasks/num-predict-backward-sum-axes/task.md +29 -0
- mlsys/tasks/num-predict-broadcast-result-shape/check.py +29 -0
- mlsys/tasks/num-predict-broadcast-result-shape/gen_fixtures.py +1 -0
- mlsys/tasks/num-predict-broadcast-result-shape/meta.json +22 -0
- mlsys/tasks/num-predict-broadcast-result-shape/solution_ref.py +11 -0
- mlsys/tasks/num-predict-broadcast-result-shape/starter.py +2 -0
- mlsys/tasks/num-predict-broadcast-result-shape/task.md +24 -0
- mlsys/tasks/num-predict-final-shape-of-a-broadcast-chain/check.py +52 -0
- mlsys/tasks/num-predict-final-shape-of-a-broadcast-chain/gen_fixtures.py +1 -0
- mlsys/tasks/num-predict-final-shape-of-a-broadcast-chain/meta.json +22 -0
- mlsys/tasks/num-predict-final-shape-of-a-broadcast-chain/solution_ref.py +23 -0
- mlsys/tasks/num-predict-final-shape-of-a-broadcast-chain/starter.py +3 -0
- mlsys/tasks/num-predict-final-shape-of-a-broadcast-chain/task.md +63 -0
- mlsys/tasks/num-predict-ieee-special-value-expressions/check.py +39 -0
- mlsys/tasks/num-predict-ieee-special-value-expressions/gen_fixtures.py +1 -0
- mlsys/tasks/num-predict-ieee-special-value-expressions/meta.json +22 -0
- mlsys/tasks/num-predict-ieee-special-value-expressions/solution_ref.py +21 -0
- mlsys/tasks/num-predict-ieee-special-value-expressions/starter.py +4 -0
- mlsys/tasks/num-predict-ieee-special-value-expressions/task.md +53 -0
- mlsys/tasks/num-predict-rne-image-of-exact-reals/check.py +141 -0
- mlsys/tasks/num-predict-rne-image-of-exact-reals/gen_fixtures.py +3 -0
- mlsys/tasks/num-predict-rne-image-of-exact-reals/meta.json +22 -0
- mlsys/tasks/num-predict-rne-image-of-exact-reals/solution_ref.py +50 -0
- mlsys/tasks/num-predict-rne-image-of-exact-reals/starter.py +9 -0
- mlsys/tasks/num-predict-rne-image-of-exact-reals/task.md +100 -0
- mlsys/tasks/num-predict-truncate-vs-round-to-nearest-results/check.py +25 -0
- mlsys/tasks/num-predict-truncate-vs-round-to-nearest-results/gen_fixtures.py +1 -0
- mlsys/tasks/num-predict-truncate-vs-round-to-nearest-results/meta.json +22 -0
- mlsys/tasks/num-predict-truncate-vs-round-to-nearest-results/solution_ref.py +25 -0
- mlsys/tasks/num-predict-truncate-vs-round-to-nearest-results/starter.py +4 -0
- mlsys/tasks/num-predict-truncate-vs-round-to-nearest-results/task.md +42 -0
- mlsys/tasks/num-predict-view-vs-copy-for-an-op-sequence/check.py +43 -0
- mlsys/tasks/num-predict-view-vs-copy-for-an-op-sequence/gen_fixtures.py +1 -0
- mlsys/tasks/num-predict-view-vs-copy-for-an-op-sequence/meta.json +22 -0
- mlsys/tasks/num-predict-view-vs-copy-for-an-op-sequence/solution_ref.py +20 -0
- mlsys/tasks/num-predict-view-vs-copy-for-an-op-sequence/starter.py +2 -0
- mlsys/tasks/num-predict-view-vs-copy-for-an-op-sequence/task.md +68 -0
- mlsys/tasks/num-prove-constant-shift-invariance/check.py +41 -0
- mlsys/tasks/num-prove-constant-shift-invariance/gen_fixtures.py +1 -0
- mlsys/tasks/num-prove-constant-shift-invariance/meta.json +20 -0
- mlsys/tasks/num-prove-constant-shift-invariance/solution_ref.py +21 -0
- mlsys/tasks/num-prove-constant-shift-invariance/starter.py +8 -0
- mlsys/tasks/num-prove-constant-shift-invariance/task.md +50 -0
- mlsys/tasks/num-prove-kahan-sum-is-a-real-per-element-loop/check.py +57 -0
- mlsys/tasks/num-prove-kahan-sum-is-a-real-per-element-loop/gen_fixtures.py +0 -0
- mlsys/tasks/num-prove-kahan-sum-is-a-real-per-element-loop/meta.json +27 -0
- mlsys/tasks/num-prove-kahan-sum-is-a-real-per-element-loop/solution_ref.py +20 -0
- mlsys/tasks/num-prove-kahan-sum-is-a-real-per-element-loop/starter.py +28 -0
- mlsys/tasks/num-prove-kahan-sum-is-a-real-per-element-loop/task.md +69 -0
- mlsys/tasks/num-prove-naive-std-loses-all-digits-welford-recovers/check.py +57 -0
- mlsys/tasks/num-prove-naive-std-loses-all-digits-welford-recovers/gen_fixtures.py +2 -0
- mlsys/tasks/num-prove-naive-std-loses-all-digits-welford-recovers/meta.json +32 -0
- mlsys/tasks/num-prove-naive-std-loses-all-digits-welford-recovers/solution_ref.py +16 -0
- mlsys/tasks/num-prove-naive-std-loses-all-digits-welford-recovers/starter.py +10 -0
- mlsys/tasks/num-prove-naive-std-loses-all-digits-welford-recovers/task.md +87 -0
- mlsys/tasks/num-quantify-sum-order-discrepancy/check.py +33 -0
- mlsys/tasks/num-quantify-sum-order-discrepancy/gen_fixtures.py +1 -0
- mlsys/tasks/num-quantify-sum-order-discrepancy/meta.json +22 -0
- mlsys/tasks/num-quantify-sum-order-discrepancy/solution_ref.py +12 -0
- mlsys/tasks/num-quantify-sum-order-discrepancy/starter.py +2 -0
- mlsys/tasks/num-quantify-sum-order-discrepancy/task.md +51 -0
- mlsys/tasks/num-rank-1-cholesky-update/check.py +32 -0
- mlsys/tasks/num-rank-1-cholesky-update/gen_fixtures.py +1 -0
- mlsys/tasks/num-rank-1-cholesky-update/meta.json +22 -0
- mlsys/tasks/num-rank-1-cholesky-update/solution_ref.py +19 -0
- mlsys/tasks/num-rank-1-cholesky-update/starter.py +4 -0
- mlsys/tasks/num-rank-1-cholesky-update/task.md +80 -0
- mlsys/tasks/num-rank-ill-conditioned-systems/check.py +40 -0
- mlsys/tasks/num-rank-ill-conditioned-systems/gen_fixtures.py +1 -0
- mlsys/tasks/num-rank-ill-conditioned-systems/meta.json +22 -0
- mlsys/tasks/num-rank-ill-conditioned-systems/solution_ref.py +9 -0
- mlsys/tasks/num-rank-ill-conditioned-systems/starter.py +4 -0
- mlsys/tasks/num-rank-ill-conditioned-systems/task.md +51 -0
- mlsys/tasks/num-rank-via-singular-value-threshold/check.py +64 -0
- mlsys/tasks/num-rank-via-singular-value-threshold/gen_fixtures.py +1 -0
- mlsys/tasks/num-rank-via-singular-value-threshold/meta.json +22 -0
- mlsys/tasks/num-rank-via-singular-value-threshold/solution_ref.py +9 -0
- mlsys/tasks/num-rank-via-singular-value-threshold/starter.py +4 -0
- mlsys/tasks/num-rank-via-singular-value-threshold/task.md +61 -0
- mlsys/tasks/num-rayleigh-quotient-iteration/check.py +37 -0
- mlsys/tasks/num-rayleigh-quotient-iteration/gen_fixtures.py +1 -0
- mlsys/tasks/num-rayleigh-quotient-iteration/meta.json +22 -0
- mlsys/tasks/num-rayleigh-quotient-iteration/solution_ref.py +23 -0
- mlsys/tasks/num-rayleigh-quotient-iteration/starter.py +6 -0
- mlsys/tasks/num-rayleigh-quotient-iteration/task.md +80 -0
- mlsys/tasks/num-reassemble-fp32-from-stored-fields-round-trip/check.py +28 -0
- mlsys/tasks/num-reassemble-fp32-from-stored-fields-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/num-reassemble-fp32-from-stored-fields-round-trip/meta.json +22 -0
- mlsys/tasks/num-reassemble-fp32-from-stored-fields-round-trip/solution_ref.py +9 -0
- mlsys/tasks/num-reassemble-fp32-from-stored-fields-round-trip/starter.py +4 -0
- mlsys/tasks/num-reassemble-fp32-from-stored-fields-round-trip/task.md +66 -0
- mlsys/tasks/num-reconstruct-a-stable-equivalent-expression/check.py +33 -0
- mlsys/tasks/num-reconstruct-a-stable-equivalent-expression/gen_fixtures.py +1 -0
- mlsys/tasks/num-reconstruct-a-stable-equivalent-expression/meta.json +22 -0
- mlsys/tasks/num-reconstruct-a-stable-equivalent-expression/solution_ref.py +7 -0
- mlsys/tasks/num-reconstruct-a-stable-equivalent-expression/starter.py +4 -0
- mlsys/tasks/num-reconstruct-a-stable-equivalent-expression/task.md +72 -0
- mlsys/tasks/num-reconstruct-a-u-sigma-v-t/check.py +24 -0
- mlsys/tasks/num-reconstruct-a-u-sigma-v-t/gen_fixtures.py +1 -0
- mlsys/tasks/num-reconstruct-a-u-sigma-v-t/meta.json +22 -0
- mlsys/tasks/num-reconstruct-a-u-sigma-v-t/solution_ref.py +7 -0
- mlsys/tasks/num-reconstruct-a-u-sigma-v-t/starter.py +5 -0
- mlsys/tasks/num-reconstruct-a-u-sigma-v-t/task.md +54 -0
- mlsys/tasks/num-reconstruct-a-v-lambda-v-t/check.py +33 -0
- mlsys/tasks/num-reconstruct-a-v-lambda-v-t/gen_fixtures.py +1 -0
- mlsys/tasks/num-reconstruct-a-v-lambda-v-t/meta.json +22 -0
- mlsys/tasks/num-reconstruct-a-v-lambda-v-t/solution_ref.py +6 -0
- mlsys/tasks/num-reconstruct-a-v-lambda-v-t/starter.py +4 -0
- mlsys/tasks/num-reconstruct-a-v-lambda-v-t/task.md +63 -0
- mlsys/tasks/num-reduction-depth-o-log-n/check.py +30 -0
- mlsys/tasks/num-reduction-depth-o-log-n/gen_fixtures.py +1 -0
- mlsys/tasks/num-reduction-depth-o-log-n/meta.json +22 -0
- mlsys/tasks/num-reduction-depth-o-log-n/solution_ref.py +9 -0
- mlsys/tasks/num-reduction-depth-o-log-n/starter.py +3 -0
- mlsys/tasks/num-reduction-depth-o-log-n/task.md +39 -0
- mlsys/tasks/num-report-machine-epsilon-for-fp32/check.py +9 -0
- mlsys/tasks/num-report-machine-epsilon-for-fp32/gen_fixtures.py +1 -0
- mlsys/tasks/num-report-machine-epsilon-for-fp32/meta.json +22 -0
- mlsys/tasks/num-report-machine-epsilon-for-fp32/solution_ref.py +3 -0
- mlsys/tasks/num-report-machine-epsilon-for-fp32/starter.py +2 -0
- mlsys/tasks/num-report-machine-epsilon-for-fp32/task.md +39 -0
- mlsys/tasks/num-reshape-view-vs-copy-classification/check.py +37 -0
- mlsys/tasks/num-reshape-view-vs-copy-classification/gen_fixtures.py +1 -0
- mlsys/tasks/num-reshape-view-vs-copy-classification/meta.json +22 -0
- mlsys/tasks/num-reshape-view-vs-copy-classification/solution_ref.py +18 -0
- mlsys/tasks/num-reshape-view-vs-copy-classification/starter.py +4 -0
- mlsys/tasks/num-reshape-view-vs-copy-classification/task.md +57 -0
- mlsys/tasks/num-reverse-pass-grads-vs-finite-diff/check.py +86 -0
- mlsys/tasks/num-reverse-pass-grads-vs-finite-diff/gen_fixtures.py +1 -0
- mlsys/tasks/num-reverse-pass-grads-vs-finite-diff/meta.json +22 -0
- mlsys/tasks/num-reverse-pass-grads-vs-finite-diff/solution_ref.py +44 -0
- mlsys/tasks/num-reverse-pass-grads-vs-finite-diff/starter.py +13 -0
- mlsys/tasks/num-reverse-pass-grads-vs-finite-diff/task.md +78 -0
- mlsys/tasks/num-rolling-window-mean-one-reduction-over-a-view/check.py +59 -0
- mlsys/tasks/num-rolling-window-mean-one-reduction-over-a-view/gen_fixtures.py +1 -0
- mlsys/tasks/num-rolling-window-mean-one-reduction-over-a-view/meta.json +22 -0
- mlsys/tasks/num-rolling-window-mean-one-reduction-over-a-view/solution_ref.py +12 -0
- mlsys/tasks/num-rolling-window-mean-one-reduction-over-a-view/starter.py +4 -0
- mlsys/tasks/num-rolling-window-mean-one-reduction-over-a-view/task.md +77 -0
- mlsys/tasks/num-round-half-to-even-fixed-point-quantizer/check.py +36 -0
- mlsys/tasks/num-round-half-to-even-fixed-point-quantizer/gen_fixtures.py +1 -0
- mlsys/tasks/num-round-half-to-even-fixed-point-quantizer/meta.json +22 -0
- mlsys/tasks/num-round-half-to-even-fixed-point-quantizer/solution_ref.py +6 -0
- mlsys/tasks/num-round-half-to-even-fixed-point-quantizer/starter.py +4 -0
- mlsys/tasks/num-round-half-to-even-fixed-point-quantizer/task.md +47 -0
- mlsys/tasks/num-scan-work-hillis-steele-vs-blelloch/check.py +53 -0
- mlsys/tasks/num-scan-work-hillis-steele-vs-blelloch/gen_fixtures.py +1 -0
- mlsys/tasks/num-scan-work-hillis-steele-vs-blelloch/meta.json +22 -0
- mlsys/tasks/num-scan-work-hillis-steele-vs-blelloch/solution_ref.py +31 -0
- mlsys/tasks/num-scan-work-hillis-steele-vs-blelloch/starter.py +2 -0
- mlsys/tasks/num-scan-work-hillis-steele-vs-blelloch/task.md +68 -0
- mlsys/tasks/num-segmented-scan/check.py +34 -0
- mlsys/tasks/num-segmented-scan/gen_fixtures.py +1 -0
- mlsys/tasks/num-segmented-scan/meta.json +22 -0
- mlsys/tasks/num-segmented-scan/solution_ref.py +10 -0
- mlsys/tasks/num-segmented-scan/starter.py +2 -0
- mlsys/tasks/num-segmented-scan/task.md +61 -0
- mlsys/tasks/num-sequential-inclusive-scan/check.py +30 -0
- mlsys/tasks/num-sequential-inclusive-scan/gen_fixtures.py +1 -0
- mlsys/tasks/num-sequential-inclusive-scan/meta.json +22 -0
- mlsys/tasks/num-sequential-inclusive-scan/solution_ref.py +11 -0
- mlsys/tasks/num-sequential-inclusive-scan/starter.py +4 -0
- mlsys/tasks/num-sequential-inclusive-scan/task.md +57 -0
- mlsys/tasks/num-sequential-reduction-correctness/check.py +49 -0
- mlsys/tasks/num-sequential-reduction-correctness/gen_fixtures.py +1 -0
- mlsys/tasks/num-sequential-reduction-correctness/meta.json +22 -0
- mlsys/tasks/num-sequential-reduction-correctness/solution_ref.py +8 -0
- mlsys/tasks/num-sequential-reduction-correctness/starter.py +4 -0
- mlsys/tasks/num-sequential-reduction-correctness/task.md +60 -0
- mlsys/tasks/num-sequential-vs-tree-reduction-accuracy/check.py +39 -0
- mlsys/tasks/num-sequential-vs-tree-reduction-accuracy/gen_fixtures.py +1 -0
- mlsys/tasks/num-sequential-vs-tree-reduction-accuracy/meta.json +22 -0
- mlsys/tasks/num-sequential-vs-tree-reduction-accuracy/solution_ref.py +16 -0
- mlsys/tasks/num-sequential-vs-tree-reduction-accuracy/starter.py +4 -0
- mlsys/tasks/num-sequential-vs-tree-reduction-accuracy/task.md +62 -0
- mlsys/tasks/num-shared-memory-tiled-cuda-matmul/check.py +62 -0
- mlsys/tasks/num-shared-memory-tiled-cuda-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/num-shared-memory-tiled-cuda-matmul/meta.json +27 -0
- mlsys/tasks/num-shared-memory-tiled-cuda-matmul/solution_ref.py +27 -0
- mlsys/tasks/num-shared-memory-tiled-cuda-matmul/starter.py +4 -0
- mlsys/tasks/num-shared-memory-tiled-cuda-matmul/task.md +80 -0
- mlsys/tasks/num-shifted-inverse-iteration-to-a-target/check.py +62 -0
- mlsys/tasks/num-shifted-inverse-iteration-to-a-target/gen_fixtures.py +1 -0
- mlsys/tasks/num-shifted-inverse-iteration-to-a-target/meta.json +22 -0
- mlsys/tasks/num-shifted-inverse-iteration-to-a-target/solution_ref.py +15 -0
- mlsys/tasks/num-shifted-inverse-iteration-to-a-target/starter.py +4 -0
- mlsys/tasks/num-shifted-inverse-iteration-to-a-target/task.md +74 -0
- mlsys/tasks/num-signed-zero-and-copysign-semantics/check.py +24 -0
- mlsys/tasks/num-signed-zero-and-copysign-semantics/gen_fixtures.py +1 -0
- mlsys/tasks/num-signed-zero-and-copysign-semantics/meta.json +22 -0
- mlsys/tasks/num-signed-zero-and-copysign-semantics/solution_ref.py +14 -0
- mlsys/tasks/num-signed-zero-and-copysign-semantics/starter.py +4 -0
- mlsys/tasks/num-signed-zero-and-copysign-semantics/task.md +56 -0
- mlsys/tasks/num-solution-sensitivity-to-b-perturbation/check.py +48 -0
- mlsys/tasks/num-solution-sensitivity-to-b-perturbation/gen_fixtures.py +1 -0
- mlsys/tasks/num-solution-sensitivity-to-b-perturbation/meta.json +22 -0
- mlsys/tasks/num-solution-sensitivity-to-b-perturbation/solution_ref.py +11 -0
- mlsys/tasks/num-solution-sensitivity-to-b-perturbation/starter.py +4 -0
- mlsys/tasks/num-solution-sensitivity-to-b-perturbation/task.md +80 -0
- mlsys/tasks/num-solve-ax-b-via-lu-tri-solves/check.py +59 -0
- mlsys/tasks/num-solve-ax-b-via-lu-tri-solves/gen_fixtures.py +1 -0
- mlsys/tasks/num-solve-ax-b-via-lu-tri-solves/meta.json +22 -0
- mlsys/tasks/num-solve-ax-b-via-lu-tri-solves/solution_ref.py +33 -0
- mlsys/tasks/num-solve-ax-b-via-lu-tri-solves/starter.py +4 -0
- mlsys/tasks/num-solve-ax-b-via-lu-tri-solves/task.md +77 -0
- mlsys/tasks/num-solve-spd-system-via-cholesky/check.py +35 -0
- mlsys/tasks/num-solve-spd-system-via-cholesky/gen_fixtures.py +1 -0
- mlsys/tasks/num-solve-spd-system-via-cholesky/meta.json +22 -0
- mlsys/tasks/num-solve-spd-system-via-cholesky/solution_ref.py +36 -0
- mlsys/tasks/num-solve-spd-system-via-cholesky/starter.py +4 -0
- mlsys/tasks/num-solve-spd-system-via-cholesky/task.md +69 -0
- mlsys/tasks/num-spot-the-cancelling-subtraction/check.py +31 -0
- mlsys/tasks/num-spot-the-cancelling-subtraction/gen_fixtures.py +1 -0
- mlsys/tasks/num-spot-the-cancelling-subtraction/meta.json +22 -0
- mlsys/tasks/num-spot-the-cancelling-subtraction/solution_ref.py +16 -0
- mlsys/tasks/num-spot-the-cancelling-subtraction/starter.py +5 -0
- mlsys/tasks/num-spot-the-cancelling-subtraction/task.md +49 -0
- mlsys/tasks/num-stable-log-add-exp-a-b/check.py +36 -0
- mlsys/tasks/num-stable-log-add-exp-a-b/gen_fixtures.py +1 -0
- mlsys/tasks/num-stable-log-add-exp-a-b/meta.json +22 -0
- mlsys/tasks/num-stable-log-add-exp-a-b/solution_ref.py +8 -0
- mlsys/tasks/num-stable-log-add-exp-a-b/starter.py +4 -0
- mlsys/tasks/num-stable-log-add-exp-a-b/task.md +73 -0
- mlsys/tasks/num-stable-softmax-on-logits-up-to-1e4/check.py +24 -0
- mlsys/tasks/num-stable-softmax-on-logits-up-to-1e4/gen_fixtures.py +1 -0
- mlsys/tasks/num-stable-softmax-on-logits-up-to-1e4/meta.json +22 -0
- mlsys/tasks/num-stable-softmax-on-logits-up-to-1e4/solution_ref.py +8 -0
- mlsys/tasks/num-stable-softmax-on-logits-up-to-1e4/starter.py +4 -0
- mlsys/tasks/num-stable-softmax-on-logits-up-to-1e4/task.md +47 -0
- mlsys/tasks/num-stochastic-rounding-accumulation-bias/check.py +65 -0
- mlsys/tasks/num-stochastic-rounding-accumulation-bias/gen_fixtures.py +1 -0
- mlsys/tasks/num-stochastic-rounding-accumulation-bias/meta.json +23 -0
- mlsys/tasks/num-stochastic-rounding-accumulation-bias/solution_ref.py +22 -0
- mlsys/tasks/num-stochastic-rounding-accumulation-bias/starter.py +20 -0
- mlsys/tasks/num-stochastic-rounding-accumulation-bias/task.md +111 -0
- mlsys/tasks/num-streaming-lse-over-blocks/check.py +39 -0
- mlsys/tasks/num-streaming-lse-over-blocks/gen_fixtures.py +1 -0
- mlsys/tasks/num-streaming-lse-over-blocks/meta.json +27 -0
- mlsys/tasks/num-streaming-lse-over-blocks/solution_ref.py +16 -0
- mlsys/tasks/num-streaming-lse-over-blocks/starter.py +6 -0
- mlsys/tasks/num-streaming-lse-over-blocks/task.md +71 -0
- mlsys/tasks/num-sum-to-shape-unbroadcast/check.py +43 -0
- mlsys/tasks/num-sum-to-shape-unbroadcast/gen_fixtures.py +1 -0
- mlsys/tasks/num-sum-to-shape-unbroadcast/meta.json +22 -0
- mlsys/tasks/num-sum-to-shape-unbroadcast/solution_ref.py +14 -0
- mlsys/tasks/num-sum-to-shape-unbroadcast/starter.py +5 -0
- mlsys/tasks/num-sum-to-shape-unbroadcast/task.md +46 -0
- mlsys/tasks/num-svd-via-eig-of-a-ta/check.py +61 -0
- mlsys/tasks/num-svd-via-eig-of-a-ta/gen_fixtures.py +1 -0
- mlsys/tasks/num-svd-via-eig-of-a-ta/meta.json +22 -0
- mlsys/tasks/num-svd-via-eig-of-a-ta/solution_ref.py +13 -0
- mlsys/tasks/num-svd-via-eig-of-a-ta/starter.py +6 -0
- mlsys/tasks/num-svd-via-eig-of-a-ta/task.md +49 -0
- mlsys/tasks/num-temperature-sweep-entropy-kl/check.py +33 -0
- mlsys/tasks/num-temperature-sweep-entropy-kl/gen_fixtures.py +1 -0
- mlsys/tasks/num-temperature-sweep-entropy-kl/meta.json +22 -0
- mlsys/tasks/num-temperature-sweep-entropy-kl/solution_ref.py +31 -0
- mlsys/tasks/num-temperature-sweep-entropy-kl/starter.py +4 -0
- mlsys/tasks/num-temperature-sweep-entropy-kl/task.md +52 -0
- mlsys/tasks/num-tight-ulp-error-bound-for-a-dot-product/check.py +42 -0
- mlsys/tasks/num-tight-ulp-error-bound-for-a-dot-product/gen_fixtures.py +1 -0
- mlsys/tasks/num-tight-ulp-error-bound-for-a-dot-product/meta.json +22 -0
- mlsys/tasks/num-tight-ulp-error-bound-for-a-dot-product/solution_ref.py +6 -0
- mlsys/tasks/num-tight-ulp-error-bound-for-a-dot-product/starter.py +4 -0
- mlsys/tasks/num-tight-ulp-error-bound-for-a-dot-product/task.md +62 -0
- mlsys/tasks/num-transpose-as-stride-permutation-no-copy/check.py +38 -0
- mlsys/tasks/num-transpose-as-stride-permutation-no-copy/gen_fixtures.py +1 -0
- mlsys/tasks/num-transpose-as-stride-permutation-no-copy/meta.json +22 -0
- mlsys/tasks/num-transpose-as-stride-permutation-no-copy/solution_ref.py +5 -0
- mlsys/tasks/num-transpose-as-stride-permutation-no-copy/starter.py +4 -0
- mlsys/tasks/num-transpose-as-stride-permutation-no-copy/task.md +66 -0
- mlsys/tasks/num-tree-pairwise-reduction-structure/check.py +55 -0
- mlsys/tasks/num-tree-pairwise-reduction-structure/gen_fixtures.py +1 -0
- mlsys/tasks/num-tree-pairwise-reduction-structure/meta.json +22 -0
- mlsys/tasks/num-tree-pairwise-reduction-structure/solution_ref.py +19 -0
- mlsys/tasks/num-tree-pairwise-reduction-structure/starter.py +2 -0
- mlsys/tasks/num-tree-pairwise-reduction-structure/task.md +56 -0
- mlsys/tasks/num-triangular-solve-flop-count/check.py +21 -0
- mlsys/tasks/num-triangular-solve-flop-count/gen_fixtures.py +1 -0
- mlsys/tasks/num-triangular-solve-flop-count/meta.json +22 -0
- mlsys/tasks/num-triangular-solve-flop-count/solution_ref.py +5 -0
- mlsys/tasks/num-triangular-solve-flop-count/starter.py +2 -0
- mlsys/tasks/num-triangular-solve-flop-count/task.md +53 -0
- mlsys/tasks/num-triangular-solve-with-multiple-rhs/check.py +59 -0
- mlsys/tasks/num-triangular-solve-with-multiple-rhs/gen_fixtures.py +1 -0
- mlsys/tasks/num-triangular-solve-with-multiple-rhs/meta.json +22 -0
- mlsys/tasks/num-triangular-solve-with-multiple-rhs/solution_ref.py +13 -0
- mlsys/tasks/num-triangular-solve-with-multiple-rhs/starter.py +4 -0
- mlsys/tasks/num-triangular-solve-with-multiple-rhs/task.md +68 -0
- mlsys/tasks/num-truncated-rank-k-reconstruction-error/check.py +29 -0
- mlsys/tasks/num-truncated-rank-k-reconstruction-error/gen_fixtures.py +1 -0
- mlsys/tasks/num-truncated-rank-k-reconstruction-error/meta.json +22 -0
- mlsys/tasks/num-truncated-rank-k-reconstruction-error/solution_ref.py +6 -0
- mlsys/tasks/num-truncated-rank-k-reconstruction-error/starter.py +4 -0
- mlsys/tasks/num-truncated-rank-k-reconstruction-error/task.md +75 -0
- mlsys/tasks/num-ulp-based-allclose-reproduces-numpy-edge-cases/check.py +64 -0
- mlsys/tasks/num-ulp-based-allclose-reproduces-numpy-edge-cases/gen_fixtures.py +1 -0
- mlsys/tasks/num-ulp-based-allclose-reproduces-numpy-edge-cases/meta.json +22 -0
- mlsys/tasks/num-ulp-based-allclose-reproduces-numpy-edge-cases/solution_ref.py +16 -0
- mlsys/tasks/num-ulp-based-allclose-reproduces-numpy-edge-cases/starter.py +4 -0
- mlsys/tasks/num-ulp-based-allclose-reproduces-numpy-edge-cases/task.md +81 -0
- mlsys/tasks/num-ulp-distance-as-integer-step-count/check.py +82 -0
- mlsys/tasks/num-ulp-distance-as-integer-step-count/gen_fixtures.py +1 -0
- mlsys/tasks/num-ulp-distance-as-integer-step-count/meta.json +22 -0
- mlsys/tasks/num-ulp-distance-as-integer-step-count/solution_ref.py +17 -0
- mlsys/tasks/num-ulp-distance-as-integer-step-count/starter.py +4 -0
- mlsys/tasks/num-ulp-distance-as-integer-step-count/task.md +71 -0
- mlsys/tasks/num-unshifted-qr-algorithm-eigenvalues/check.py +39 -0
- mlsys/tasks/num-unshifted-qr-algorithm-eigenvalues/gen_fixtures.py +1 -0
- mlsys/tasks/num-unshifted-qr-algorithm-eigenvalues/meta.json +22 -0
- mlsys/tasks/num-unshifted-qr-algorithm-eigenvalues/solution_ref.py +12 -0
- mlsys/tasks/num-unshifted-qr-algorithm-eigenvalues/starter.py +4 -0
- mlsys/tasks/num-unshifted-qr-algorithm-eigenvalues/task.md +72 -0
- mlsys/tasks/num-verify-the-2-23-spacing-law-by-counting-representables/check.py +17 -0
- mlsys/tasks/num-verify-the-2-23-spacing-law-by-counting-representables/gen_fixtures.py +1 -0
- mlsys/tasks/num-verify-the-2-23-spacing-law-by-counting-representables/meta.json +22 -0
- mlsys/tasks/num-verify-the-2-23-spacing-law-by-counting-representables/solution_ref.py +10 -0
- mlsys/tasks/num-verify-the-2-23-spacing-law-by-counting-representables/starter.py +2 -0
- mlsys/tasks/num-verify-the-2-23-spacing-law-by-counting-representables/task.md +27 -0
- mlsys/tasks/num-vjp-of-broadcasted-add-mul/check.py +69 -0
- mlsys/tasks/num-vjp-of-broadcasted-add-mul/gen_fixtures.py +0 -0
- mlsys/tasks/num-vjp-of-broadcasted-add-mul/meta.json +23 -0
- mlsys/tasks/num-vjp-of-broadcasted-add-mul/solution_ref.py +44 -0
- mlsys/tasks/num-vjp-of-broadcasted-add-mul/starter.py +43 -0
- mlsys/tasks/num-vjp-of-broadcasted-add-mul/task.md +76 -0
- mlsys/tasks/num-vjp-of-elementwise-mul-exp-log/check.py +56 -0
- mlsys/tasks/num-vjp-of-elementwise-mul-exp-log/gen_fixtures.py +1 -0
- mlsys/tasks/num-vjp-of-elementwise-mul-exp-log/meta.json +22 -0
- mlsys/tasks/num-vjp-of-elementwise-mul-exp-log/solution_ref.py +13 -0
- mlsys/tasks/num-vjp-of-elementwise-mul-exp-log/starter.py +4 -0
- mlsys/tasks/num-vjp-of-elementwise-mul-exp-log/task.md +82 -0
- mlsys/tasks/num-vjp-of-layernorm/check.py +49 -0
- mlsys/tasks/num-vjp-of-layernorm/gen_fixtures.py +1 -0
- mlsys/tasks/num-vjp-of-layernorm/meta.json +22 -0
- mlsys/tasks/num-vjp-of-layernorm/solution_ref.py +16 -0
- mlsys/tasks/num-vjp-of-layernorm/starter.py +4 -0
- mlsys/tasks/num-vjp-of-layernorm/task.md +84 -0
- mlsys/tasks/num-vjp-of-log-softmax/check.py +51 -0
- mlsys/tasks/num-vjp-of-log-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/num-vjp-of-log-softmax/meta.json +22 -0
- mlsys/tasks/num-vjp-of-log-softmax/solution_ref.py +19 -0
- mlsys/tasks/num-vjp-of-log-softmax/starter.py +10 -0
- mlsys/tasks/num-vjp-of-log-softmax/task.md +74 -0
- mlsys/tasks/num-vjp-of-matmul/check.py +66 -0
- mlsys/tasks/num-vjp-of-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/num-vjp-of-matmul/meta.json +22 -0
- mlsys/tasks/num-vjp-of-matmul/solution_ref.py +30 -0
- mlsys/tasks/num-vjp-of-matmul/starter.py +4 -0
- mlsys/tasks/num-vjp-of-matmul/task.md +72 -0
- mlsys/tasks/num-vjp-of-softmax/check.py +42 -0
- mlsys/tasks/num-vjp-of-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/num-vjp-of-softmax/meta.json +22 -0
- mlsys/tasks/num-vjp-of-softmax/solution_ref.py +10 -0
- mlsys/tasks/num-vjp-of-softmax/starter.py +4 -0
- mlsys/tasks/num-vjp-of-softmax/task.md +58 -0
- mlsys/tasks/num-warp-shuffle-block-reduction-modeled/check.py +46 -0
- mlsys/tasks/num-warp-shuffle-block-reduction-modeled/gen_fixtures.py +1 -0
- mlsys/tasks/num-warp-shuffle-block-reduction-modeled/meta.json +27 -0
- mlsys/tasks/num-warp-shuffle-block-reduction-modeled/solution_ref.py +22 -0
- mlsys/tasks/num-warp-shuffle-block-reduction-modeled/starter.py +2 -0
- mlsys/tasks/num-warp-shuffle-block-reduction-modeled/task.md +60 -0
- mlsys/tasks/num-welford-one-pass-mean-variance/check.py +43 -0
- mlsys/tasks/num-welford-one-pass-mean-variance/gen_fixtures.py +1 -0
- mlsys/tasks/num-welford-one-pass-mean-variance/meta.json +27 -0
- mlsys/tasks/num-welford-one-pass-mean-variance/solution_ref.py +22 -0
- mlsys/tasks/num-welford-one-pass-mean-variance/starter.py +11 -0
- mlsys/tasks/num-welford-one-pass-mean-variance/task.md +66 -0
- mlsys/tasks/num-wilkinson-shifted-qr/check.py +29 -0
- mlsys/tasks/num-wilkinson-shifted-qr/gen_fixtures.py +1 -0
- mlsys/tasks/num-wilkinson-shifted-qr/meta.json +22 -0
- mlsys/tasks/num-wilkinson-shifted-qr/solution_ref.py +30 -0
- mlsys/tasks/num-wilkinson-shifted-qr/starter.py +4 -0
- mlsys/tasks/num-wilkinson-shifted-qr/task.md +83 -0
- mlsys/tasks/py-cnt-fib-frames/check.py +25 -0
- mlsys/tasks/py-cnt-fib-frames/gen_fixtures.py +1 -0
- mlsys/tasks/py-cnt-fib-frames/meta.json +22 -0
- mlsys/tasks/py-cnt-fib-frames/solution_ref.py +20 -0
- mlsys/tasks/py-cnt-fib-frames/starter.py +3 -0
- mlsys/tasks/py-cnt-fib-frames/task.md +36 -0
- mlsys/tasks/pyt-aggregate-footprint-of-an-object-graph/check.py +80 -0
- mlsys/tasks/pyt-aggregate-footprint-of-an-object-graph/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-aggregate-footprint-of-an-object-graph/meta.json +22 -0
- mlsys/tasks/pyt-aggregate-footprint-of-an-object-graph/solution_ref.py +39 -0
- mlsys/tasks/pyt-aggregate-footprint-of-an-object-graph/starter.py +4 -0
- mlsys/tasks/pyt-aggregate-footprint-of-an-object-graph/task.md +72 -0
- mlsys/tasks/pyt-amortized-append-copy-count-model/check.py +39 -0
- mlsys/tasks/pyt-amortized-append-copy-count-model/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-amortized-append-copy-count-model/meta.json +22 -0
- mlsys/tasks/pyt-amortized-append-copy-count-model/solution_ref.py +19 -0
- mlsys/tasks/pyt-amortized-append-copy-count-model/starter.py +2 -0
- mlsys/tasks/pyt-amortized-append-copy-count-model/task.md +59 -0
- mlsys/tasks/pyt-atomic-vs-non-atomic-bytecode-classifier/check.py +44 -0
- mlsys/tasks/pyt-atomic-vs-non-atomic-bytecode-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-atomic-vs-non-atomic-bytecode-classifier/meta.json +24 -0
- mlsys/tasks/pyt-atomic-vs-non-atomic-bytecode-classifier/solution_ref.py +22 -0
- mlsys/tasks/pyt-atomic-vs-non-atomic-bytecode-classifier/starter.py +2 -0
- mlsys/tasks/pyt-atomic-vs-non-atomic-bytecode-classifier/task.md +49 -0
- mlsys/tasks/pyt-auto-registering-metaclass/check.py +37 -0
- mlsys/tasks/pyt-auto-registering-metaclass/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-auto-registering-metaclass/meta.json +22 -0
- mlsys/tasks/pyt-auto-registering-metaclass/solution_ref.py +23 -0
- mlsys/tasks/pyt-auto-registering-metaclass/starter.py +2 -0
- mlsys/tasks/pyt-auto-registering-metaclass/task.md +51 -0
- mlsys/tasks/pyt-await-desugaring-to-yield-from-await/check.py +58 -0
- mlsys/tasks/pyt-await-desugaring-to-yield-from-await/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-await-desugaring-to-yield-from-await/meta.json +22 -0
- mlsys/tasks/pyt-await-desugaring-to-yield-from-await/solution_ref.py +38 -0
- mlsys/tasks/pyt-await-desugaring-to-yield-from-await/starter.py +2 -0
- mlsys/tasks/pyt-await-desugaring-to-yield-from-await/task.md +73 -0
- mlsys/tasks/pyt-bignum-30-bit-limb-layout/check.py +46 -0
- mlsys/tasks/pyt-bignum-30-bit-limb-layout/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-bignum-30-bit-limb-layout/meta.json +22 -0
- mlsys/tasks/pyt-bignum-30-bit-limb-layout/solution_ref.py +23 -0
- mlsys/tasks/pyt-bignum-30-bit-limb-layout/starter.py +4 -0
- mlsys/tasks/pyt-bignum-30-bit-limb-layout/task.md +65 -0
- mlsys/tasks/pyt-blocks-per-pool-computation/check.py +35 -0
- mlsys/tasks/pyt-blocks-per-pool-computation/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-blocks-per-pool-computation/meta.json +22 -0
- mlsys/tasks/pyt-blocks-per-pool-computation/solution_ref.py +9 -0
- mlsys/tasks/pyt-blocks-per-pool-computation/starter.py +4 -0
- mlsys/tasks/pyt-blocks-per-pool-computation/task.md +83 -0
- mlsys/tasks/pyt-boxed-int-list-vs-numpy-int64-footprint-ratio/check.py +48 -0
- mlsys/tasks/pyt-boxed-int-list-vs-numpy-int64-footprint-ratio/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-boxed-int-list-vs-numpy-int64-footprint-ratio/meta.json +22 -0
- mlsys/tasks/pyt-boxed-int-list-vs-numpy-int64-footprint-ratio/solution_ref.py +18 -0
- mlsys/tasks/pyt-boxed-int-list-vs-numpy-int64-footprint-ratio/starter.py +3 -0
- mlsys/tasks/pyt-boxed-int-list-vs-numpy-int64-footprint-ratio/task.md +65 -0
- mlsys/tasks/pyt-build-cached-property-from-scratch/check.py +95 -0
- mlsys/tasks/pyt-build-cached-property-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-build-cached-property-from-scratch/meta.json +27 -0
- mlsys/tasks/pyt-build-cached-property-from-scratch/solution_ref.py +26 -0
- mlsys/tasks/pyt-build-cached-property-from-scratch/starter.py +17 -0
- mlsys/tasks/pyt-build-cached-property-from-scratch/task.md +85 -0
- mlsys/tasks/pyt-byte-pack-a-pyobject-pyvarobject-header/check.py +45 -0
- mlsys/tasks/pyt-byte-pack-a-pyobject-pyvarobject-header/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-byte-pack-a-pyobject-pyvarobject-header/meta.json +22 -0
- mlsys/tasks/pyt-byte-pack-a-pyobject-pyvarobject-header/solution_ref.py +13 -0
- mlsys/tasks/pyt-byte-pack-a-pyobject-pyvarobject-header/starter.py +4 -0
- mlsys/tasks/pyt-byte-pack-a-pyobject-pyvarobject-header/task.md +60 -0
- mlsys/tasks/pyt-c-contiguous-vs-non-contiguous-classifier/check.py +49 -0
- mlsys/tasks/pyt-c-contiguous-vs-non-contiguous-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-c-contiguous-vs-non-contiguous-classifier/meta.json +22 -0
- mlsys/tasks/pyt-c-contiguous-vs-non-contiguous-classifier/solution_ref.py +23 -0
- mlsys/tasks/pyt-c-contiguous-vs-non-contiguous-classifier/starter.py +3 -0
- mlsys/tasks/pyt-c-contiguous-vs-non-contiguous-classifier/task.md +76 -0
- mlsys/tasks/pyt-cap-peak-live-large-object-count/check.py +66 -0
- mlsys/tasks/pyt-cap-peak-live-large-object-count/gen_fixtures.py +2 -0
- mlsys/tasks/pyt-cap-peak-live-large-object-count/meta.json +27 -0
- mlsys/tasks/pyt-cap-peak-live-large-object-count/solution_ref.py +12 -0
- mlsys/tasks/pyt-cap-peak-live-large-object-count/starter.py +6 -0
- mlsys/tasks/pyt-cap-peak-live-large-object-count/task.md +75 -0
- mlsys/tasks/pyt-cellvars-vs-freevars/check.py +71 -0
- mlsys/tasks/pyt-cellvars-vs-freevars/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-cellvars-vs-freevars/meta.json +22 -0
- mlsys/tasks/pyt-cellvars-vs-freevars/solution_ref.py +21 -0
- mlsys/tasks/pyt-cellvars-vs-freevars/starter.py +4 -0
- mlsys/tasks/pyt-cellvars-vs-freevars/task.md +80 -0
- mlsys/tasks/pyt-circular-import-failure-predictor/check.py +116 -0
- mlsys/tasks/pyt-circular-import-failure-predictor/gen_fixtures.py +0 -0
- mlsys/tasks/pyt-circular-import-failure-predictor/meta.json +22 -0
- mlsys/tasks/pyt-circular-import-failure-predictor/solution_ref.py +62 -0
- mlsys/tasks/pyt-circular-import-failure-predictor/starter.py +50 -0
- mlsys/tasks/pyt-circular-import-failure-predictor/task.md +90 -0
- mlsys/tasks/pyt-class-creation-event-ordering/check.py +42 -0
- mlsys/tasks/pyt-class-creation-event-ordering/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-class-creation-event-ordering/meta.json +22 -0
- mlsys/tasks/pyt-class-creation-event-ordering/solution_ref.py +34 -0
- mlsys/tasks/pyt-class-creation-event-ordering/starter.py +2 -0
- mlsys/tasks/pyt-class-creation-event-ordering/task.md +52 -0
- mlsys/tasks/pyt-class-reassignment-compatibility-predictor/check.py +61 -0
- mlsys/tasks/pyt-class-reassignment-compatibility-predictor/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-class-reassignment-compatibility-predictor/meta.json +22 -0
- mlsys/tasks/pyt-class-reassignment-compatibility-predictor/solution_ref.py +10 -0
- mlsys/tasks/pyt-class-reassignment-compatibility-predictor/starter.py +2 -0
- mlsys/tasks/pyt-class-reassignment-compatibility-predictor/task.md +57 -0
- mlsys/tasks/pyt-code-object-field-table/check.py +61 -0
- mlsys/tasks/pyt-code-object-field-table/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-code-object-field-table/meta.json +22 -0
- mlsys/tasks/pyt-code-object-field-table/solution_ref.py +12 -0
- mlsys/tasks/pyt-code-object-field-table/starter.py +4 -0
- mlsys/tasks/pyt-code-object-field-table/task.md +69 -0
- mlsys/tasks/pyt-codepoint-vs-byte-length-across-encodings/check.py +34 -0
- mlsys/tasks/pyt-codepoint-vs-byte-length-across-encodings/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-codepoint-vs-byte-length-across-encodings/meta.json +22 -0
- mlsys/tasks/pyt-codepoint-vs-byte-length-across-encodings/solution_ref.py +11 -0
- mlsys/tasks/pyt-codepoint-vs-byte-length-across-encodings/starter.py +2 -0
- mlsys/tasks/pyt-codepoint-vs-byte-length-across-encodings/task.md +52 -0
- mlsys/tasks/pyt-compact-dict-iteration-order-after-churn/check.py +62 -0
- mlsys/tasks/pyt-compact-dict-iteration-order-after-churn/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-compact-dict-iteration-order-after-churn/meta.json +22 -0
- mlsys/tasks/pyt-compact-dict-iteration-order-after-churn/solution_ref.py +10 -0
- mlsys/tasks/pyt-compact-dict-iteration-order-after-churn/starter.py +6 -0
- mlsys/tasks/pyt-compact-dict-iteration-order-after-churn/task.md +78 -0
- mlsys/tasks/pyt-compare-call-heavy-vs-inlined-line-call-events/check.py +59 -0
- mlsys/tasks/pyt-compare-call-heavy-vs-inlined-line-call-events/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-compare-call-heavy-vs-inlined-line-call-events/meta.json +33 -0
- mlsys/tasks/pyt-compare-call-heavy-vs-inlined-line-call-events/solution_ref.py +22 -0
- mlsys/tasks/pyt-compare-call-heavy-vs-inlined-line-call-events/starter.py +11 -0
- mlsys/tasks/pyt-compare-call-heavy-vs-inlined-line-call-events/task.md +69 -0
- mlsys/tasks/pyt-compare-recompute-events-property-cached-manual-memo/check.py +61 -0
- mlsys/tasks/pyt-compare-recompute-events-property-cached-manual-memo/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-compare-recompute-events-property-cached-manual-memo/meta.json +25 -0
- mlsys/tasks/pyt-compare-recompute-events-property-cached-manual-memo/solution_ref.py +45 -0
- mlsys/tasks/pyt-compare-recompute-events-property-cached-manual-memo/starter.py +27 -0
- mlsys/tasks/pyt-compare-recompute-events-property-cached-manual-memo/task.md +85 -0
- mlsys/tasks/pyt-constant-folding-predictor/check.py +42 -0
- mlsys/tasks/pyt-constant-folding-predictor/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-constant-folding-predictor/meta.json +22 -0
- mlsys/tasks/pyt-constant-folding-predictor/solution_ref.py +19 -0
- mlsys/tasks/pyt-constant-folding-predictor/starter.py +4 -0
- mlsys/tasks/pyt-constant-folding-predictor/task.md +63 -0
- mlsys/tasks/pyt-coroutine-async-gen-generator-classifier/check.py +42 -0
- mlsys/tasks/pyt-coroutine-async-gen-generator-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-coroutine-async-gen-generator-classifier/meta.json +22 -0
- mlsys/tasks/pyt-coroutine-async-gen-generator-classifier/solution_ref.py +8 -0
- mlsys/tasks/pyt-coroutine-async-gen-generator-classifier/starter.py +2 -0
- mlsys/tasks/pyt-coroutine-async-gen-generator-classifier/task.md +62 -0
- mlsys/tasks/pyt-count-attribute-lookups-during-construction/check.py +48 -0
- mlsys/tasks/pyt-count-attribute-lookups-during-construction/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-count-attribute-lookups-during-construction/meta.json +22 -0
- mlsys/tasks/pyt-count-attribute-lookups-during-construction/solution_ref.py +25 -0
- mlsys/tasks/pyt-count-attribute-lookups-during-construction/starter.py +2 -0
- mlsys/tasks/pyt-count-attribute-lookups-during-construction/task.md +44 -0
- mlsys/tasks/pyt-count-executed-value-stack-ops-in-a-hot-loop/check.py +69 -0
- mlsys/tasks/pyt-count-executed-value-stack-ops-in-a-hot-loop/gen_fixtures.py +2 -0
- mlsys/tasks/pyt-count-executed-value-stack-ops-in-a-hot-loop/meta.json +27 -0
- mlsys/tasks/pyt-count-executed-value-stack-ops-in-a-hot-loop/solution_ref.py +9 -0
- mlsys/tasks/pyt-count-executed-value-stack-ops-in-a-hot-loop/starter.py +6 -0
- mlsys/tasks/pyt-count-executed-value-stack-ops-in-a-hot-loop/task.md +70 -0
- mlsys/tasks/pyt-counter-via-nonlocal-cell/check.py +30 -0
- mlsys/tasks/pyt-counter-via-nonlocal-cell/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-counter-via-nonlocal-cell/meta.json +22 -0
- mlsys/tasks/pyt-counter-via-nonlocal-cell/solution_ref.py +13 -0
- mlsys/tasks/pyt-counter-via-nonlocal-cell/starter.py +2 -0
- mlsys/tasks/pyt-counter-via-nonlocal-cell/task.md +32 -0
- mlsys/tasks/pyt-create-a-class-with-3-arg-type/check.py +50 -0
- mlsys/tasks/pyt-create-a-class-with-3-arg-type/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-create-a-class-with-3-arg-type/meta.json +22 -0
- mlsys/tasks/pyt-create-a-class-with-3-arg-type/solution_ref.py +17 -0
- mlsys/tasks/pyt-create-a-class-with-3-arg-type/starter.py +6 -0
- mlsys/tasks/pyt-create-a-class-with-3-arg-type/task.md +69 -0
- mlsys/tasks/pyt-cut-attribute-lookup-events-under-a-budget/check.py +82 -0
- mlsys/tasks/pyt-cut-attribute-lookup-events-under-a-budget/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-cut-attribute-lookup-events-under-a-budget/meta.json +27 -0
- mlsys/tasks/pyt-cut-attribute-lookup-events-under-a-budget/solution_ref.py +6 -0
- mlsys/tasks/pyt-cut-attribute-lookup-events-under-a-budget/starter.py +2 -0
- mlsys/tasks/pyt-cut-attribute-lookup-events-under-a-budget/task.md +55 -0
- mlsys/tasks/pyt-data-vs-non-data-descriptor-classifier/check.py +113 -0
- mlsys/tasks/pyt-data-vs-non-data-descriptor-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-data-vs-non-data-descriptor-classifier/meta.json +22 -0
- mlsys/tasks/pyt-data-vs-non-data-descriptor-classifier/solution_ref.py +7 -0
- mlsys/tasks/pyt-data-vs-non-data-descriptor-classifier/starter.py +2 -0
- mlsys/tasks/pyt-data-vs-non-data-descriptor-classifier/task.md +62 -0
- mlsys/tasks/pyt-detect-the-cycle-refcounting-misses/check.py +102 -0
- mlsys/tasks/pyt-detect-the-cycle-refcounting-misses/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-detect-the-cycle-refcounting-misses/meta.json +22 -0
- mlsys/tasks/pyt-detect-the-cycle-refcounting-misses/solution_ref.py +59 -0
- mlsys/tasks/pyt-detect-the-cycle-refcounting-misses/starter.py +2 -0
- mlsys/tasks/pyt-detect-the-cycle-refcounting-misses/task.md +78 -0
- mlsys/tasks/pyt-dict-footprint-before-after-delete-churn/check.py +54 -0
- mlsys/tasks/pyt-dict-footprint-before-after-delete-churn/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-dict-footprint-before-after-delete-churn/meta.json +22 -0
- mlsys/tasks/pyt-dict-footprint-before-after-delete-churn/solution_ref.py +17 -0
- mlsys/tasks/pyt-dict-footprint-before-after-delete-churn/starter.py +4 -0
- mlsys/tasks/pyt-dict-footprint-before-after-delete-churn/task.md +63 -0
- mlsys/tasks/pyt-dict-resize-threshold-and-new-size/check.py +47 -0
- mlsys/tasks/pyt-dict-resize-threshold-and-new-size/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-dict-resize-threshold-and-new-size/meta.json +24 -0
- mlsys/tasks/pyt-dict-resize-threshold-and-new-size/solution_ref.py +24 -0
- mlsys/tasks/pyt-dict-resize-threshold-and-new-size/starter.py +2 -0
- mlsys/tasks/pyt-dict-resize-threshold-and-new-size/task.md +44 -0
- mlsys/tasks/pyt-dict-vs-slots-per-instance-footprint-ratio/check.py +47 -0
- mlsys/tasks/pyt-dict-vs-slots-per-instance-footprint-ratio/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-dict-vs-slots-per-instance-footprint-ratio/meta.json +22 -0
- mlsys/tasks/pyt-dict-vs-slots-per-instance-footprint-ratio/solution_ref.py +24 -0
- mlsys/tasks/pyt-dict-vs-slots-per-instance-footprint-ratio/starter.py +4 -0
- mlsys/tasks/pyt-dict-vs-slots-per-instance-footprint-ratio/task.md +65 -0
- mlsys/tasks/pyt-disassemble-one-function/check.py +20 -0
- mlsys/tasks/pyt-disassemble-one-function/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-disassemble-one-function/meta.json +22 -0
- mlsys/tasks/pyt-disassemble-one-function/solution_ref.py +5 -0
- mlsys/tasks/pyt-disassemble-one-function/starter.py +2 -0
- mlsys/tasks/pyt-disassemble-one-function/task.md +44 -0
- mlsys/tasks/pyt-drive-a-coroutine-by-hand/check.py +53 -0
- mlsys/tasks/pyt-drive-a-coroutine-by-hand/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-drive-a-coroutine-by-hand/meta.json +22 -0
- mlsys/tasks/pyt-drive-a-coroutine-by-hand/solution_ref.py +12 -0
- mlsys/tasks/pyt-drive-a-coroutine-by-hand/starter.py +2 -0
- mlsys/tasks/pyt-drive-a-coroutine-by-hand/task.md +61 -0
- mlsys/tasks/pyt-emit-the-attribute-precedence-rule-list/check.py +91 -0
- mlsys/tasks/pyt-emit-the-attribute-precedence-rule-list/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-emit-the-attribute-precedence-rule-list/meta.json +22 -0
- mlsys/tasks/pyt-emit-the-attribute-precedence-rule-list/solution_ref.py +2 -0
- mlsys/tasks/pyt-emit-the-attribute-precedence-rule-list/starter.py +2 -0
- mlsys/tasks/pyt-emit-the-attribute-precedence-rule-list/task.md +52 -0
- mlsys/tasks/pyt-encode-decode-round-trip-byte-exact/check.py +54 -0
- mlsys/tasks/pyt-encode-decode-round-trip-byte-exact/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-encode-decode-round-trip-byte-exact/meta.json +22 -0
- mlsys/tasks/pyt-encode-decode-round-trip-byte-exact/solution_ref.py +10 -0
- mlsys/tasks/pyt-encode-decode-round-trip-byte-exact/starter.py +2 -0
- mlsys/tasks/pyt-encode-decode-round-trip-byte-exact/task.md +59 -0
- mlsys/tasks/pyt-eval-stack-temporary-lifetime/check.py +26 -0
- mlsys/tasks/pyt-eval-stack-temporary-lifetime/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-eval-stack-temporary-lifetime/meta.json +24 -0
- mlsys/tasks/pyt-eval-stack-temporary-lifetime/solution_ref.py +17 -0
- mlsys/tasks/pyt-eval-stack-temporary-lifetime/starter.py +2 -0
- mlsys/tasks/pyt-eval-stack-temporary-lifetime/task.md +56 -0
- mlsys/tasks/pyt-except-branch-matching-predictor/check.py +49 -0
- mlsys/tasks/pyt-except-branch-matching-predictor/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-except-branch-matching-predictor/meta.json +24 -0
- mlsys/tasks/pyt-except-branch-matching-predictor/solution_ref.py +23 -0
- mlsys/tasks/pyt-except-branch-matching-predictor/starter.py +2 -0
- mlsys/tasks/pyt-except-branch-matching-predictor/task.md +70 -0
- mlsys/tasks/pyt-exception-chaining-cause-vs-context/check.py +37 -0
- mlsys/tasks/pyt-exception-chaining-cause-vs-context/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-exception-chaining-cause-vs-context/meta.json +22 -0
- mlsys/tasks/pyt-exception-chaining-cause-vs-context/solution_ref.py +19 -0
- mlsys/tasks/pyt-exception-chaining-cause-vs-context/starter.py +2 -0
- mlsys/tasks/pyt-exception-chaining-cause-vs-context/task.md +82 -0
- mlsys/tasks/pyt-exceptiongroup-split-subgroup/check.py +92 -0
- mlsys/tasks/pyt-exceptiongroup-split-subgroup/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-exceptiongroup-split-subgroup/meta.json +24 -0
- mlsys/tasks/pyt-exceptiongroup-split-subgroup/solution_ref.py +3 -0
- mlsys/tasks/pyt-exceptiongroup-split-subgroup/starter.py +2 -0
- mlsys/tasks/pyt-exceptiongroup-split-subgroup/task.md +65 -0
- mlsys/tasks/pyt-find-the-retaining-edge-that-blocks-free/check.py +109 -0
- mlsys/tasks/pyt-find-the-retaining-edge-that-blocks-free/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-find-the-retaining-edge-that-blocks-free/meta.json +22 -0
- mlsys/tasks/pyt-find-the-retaining-edge-that-blocks-free/solution_ref.py +35 -0
- mlsys/tasks/pyt-find-the-retaining-edge-that-blocks-free/starter.py +7 -0
- mlsys/tasks/pyt-find-the-retaining-edge-that-blocks-free/task.md +63 -0
- mlsys/tasks/pyt-fix-a-broken-metatype-so-isinstance-tells-the-truth/check.py +25 -0
- mlsys/tasks/pyt-fix-a-broken-metatype-so-isinstance-tells-the-truth/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-a-broken-metatype-so-isinstance-tells-the-truth/meta.json +22 -0
- mlsys/tasks/pyt-fix-a-broken-metatype-so-isinstance-tells-the-truth/solution_ref.py +6 -0
- mlsys/tasks/pyt-fix-a-broken-metatype-so-isinstance-tells-the-truth/starter.py +4 -0
- mlsys/tasks/pyt-fix-a-broken-metatype-so-isinstance-tells-the-truth/task.md +56 -0
- mlsys/tasks/pyt-fix-a-broken-stack-effect-in-a-hand-vm/check.py +78 -0
- mlsys/tasks/pyt-fix-a-broken-stack-effect-in-a-hand-vm/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-a-broken-stack-effect-in-a-hand-vm/meta.json +22 -0
- mlsys/tasks/pyt-fix-a-broken-stack-effect-in-a-hand-vm/solution_ref.py +22 -0
- mlsys/tasks/pyt-fix-a-broken-stack-effect-in-a-hand-vm/starter.py +24 -0
- mlsys/tasks/pyt-fix-a-broken-stack-effect-in-a-hand-vm/task.md +69 -0
- mlsys/tasks/pyt-fix-a-cached-property-that-never-caches/check.py +76 -0
- mlsys/tasks/pyt-fix-a-cached-property-that-never-caches/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-a-cached-property-that-never-caches/meta.json +27 -0
- mlsys/tasks/pyt-fix-a-cached-property-that-never-caches/solution_ref.py +12 -0
- mlsys/tasks/pyt-fix-a-cached-property-that-never-caches/starter.py +18 -0
- mlsys/tasks/pyt-fix-a-cached-property-that-never-caches/task.md +78 -0
- mlsys/tasks/pyt-fix-a-finalizer-blocked-cycle/check.py +35 -0
- mlsys/tasks/pyt-fix-a-finalizer-blocked-cycle/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-a-finalizer-blocked-cycle/meta.json +22 -0
- mlsys/tasks/pyt-fix-a-finalizer-blocked-cycle/solution_ref.py +26 -0
- mlsys/tasks/pyt-fix-a-finalizer-blocked-cycle/starter.py +23 -0
- mlsys/tasks/pyt-fix-a-finalizer-blocked-cycle/task.md +56 -0
- mlsys/tasks/pyt-fix-a-finalizer-that-resurrects-its-object/check.py +36 -0
- mlsys/tasks/pyt-fix-a-finalizer-that-resurrects-its-object/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-a-finalizer-that-resurrects-its-object/meta.json +22 -0
- mlsys/tasks/pyt-fix-a-finalizer-that-resurrects-its-object/solution_ref.py +27 -0
- mlsys/tasks/pyt-fix-a-finalizer-that-resurrects-its-object/starter.py +25 -0
- mlsys/tasks/pyt-fix-a-finalizer-that-resurrects-its-object/task.md +73 -0
- mlsys/tasks/pyt-fix-a-generator-that-skips-cleanup/check.py +49 -0
- mlsys/tasks/pyt-fix-a-generator-that-skips-cleanup/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-a-generator-that-skips-cleanup/meta.json +22 -0
- mlsys/tasks/pyt-fix-a-generator-that-skips-cleanup/solution_ref.py +9 -0
- mlsys/tasks/pyt-fix-a-generator-that-skips-cleanup/starter.py +15 -0
- mlsys/tasks/pyt-fix-a-generator-that-skips-cleanup/task.md +79 -0
- mlsys/tasks/pyt-fix-a-non-data-descriptor-shadowed-by-the-instance-dict/check.py +54 -0
- mlsys/tasks/pyt-fix-a-non-data-descriptor-shadowed-by-the-instance-dict/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-a-non-data-descriptor-shadowed-by-the-instance-dict/meta.json +23 -0
- mlsys/tasks/pyt-fix-a-non-data-descriptor-shadowed-by-the-instance-dict/solution_ref.py +31 -0
- mlsys/tasks/pyt-fix-a-non-data-descriptor-shadowed-by-the-instance-dict/starter.py +29 -0
- mlsys/tasks/pyt-fix-a-non-data-descriptor-shadowed-by-the-instance-dict/task.md +76 -0
- mlsys/tasks/pyt-fix-a-non-restartable-iterator/check.py +19 -0
- mlsys/tasks/pyt-fix-a-non-restartable-iterator/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-a-non-restartable-iterator/meta.json +22 -0
- mlsys/tasks/pyt-fix-a-non-restartable-iterator/solution_ref.py +24 -0
- mlsys/tasks/pyt-fix-a-non-restartable-iterator/starter.py +16 -0
- mlsys/tasks/pyt-fix-a-non-restartable-iterator/task.md +66 -0
- mlsys/tasks/pyt-fix-a-slots-defeating-subclass/check.py +48 -0
- mlsys/tasks/pyt-fix-a-slots-defeating-subclass/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-a-slots-defeating-subclass/meta.json +22 -0
- mlsys/tasks/pyt-fix-a-slots-defeating-subclass/solution_ref.py +7 -0
- mlsys/tasks/pyt-fix-a-slots-defeating-subclass/starter.py +4 -0
- mlsys/tasks/pyt-fix-a-slots-defeating-subclass/task.md +66 -0
- mlsys/tasks/pyt-fix-an-exception-swallowing-bug/check.py +98 -0
- mlsys/tasks/pyt-fix-an-exception-swallowing-bug/gen_fixtures.py +2 -0
- mlsys/tasks/pyt-fix-an-exception-swallowing-bug/meta.json +22 -0
- mlsys/tasks/pyt-fix-an-exception-swallowing-bug/solution_ref.py +21 -0
- mlsys/tasks/pyt-fix-an-exception-swallowing-bug/starter.py +26 -0
- mlsys/tasks/pyt-fix-an-exception-swallowing-bug/task.md +74 -0
- mlsys/tasks/pyt-fix-coroutine-was-never-awaited/check.py +63 -0
- mlsys/tasks/pyt-fix-coroutine-was-never-awaited/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-coroutine-was-never-awaited/meta.json +22 -0
- mlsys/tasks/pyt-fix-coroutine-was-never-awaited/solution_ref.py +24 -0
- mlsys/tasks/pyt-fix-coroutine-was-never-awaited/starter.py +26 -0
- mlsys/tasks/pyt-fix-coroutine-was-never-awaited/task.md +55 -0
- mlsys/tasks/pyt-fix-the-late-binding-closure-bug/check.py +27 -0
- mlsys/tasks/pyt-fix-the-late-binding-closure-bug/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-the-late-binding-closure-bug/meta.json +22 -0
- mlsys/tasks/pyt-fix-the-late-binding-closure-bug/solution_ref.py +3 -0
- mlsys/tasks/pyt-fix-the-late-binding-closure-bug/starter.py +4 -0
- mlsys/tasks/pyt-fix-the-late-binding-closure-bug/task.md +70 -0
- mlsys/tasks/pyt-fix-tombstone-handling-in-a-scratch-open-addressing-dict/check.py +80 -0
- mlsys/tasks/pyt-fix-tombstone-handling-in-a-scratch-open-addressing-dict/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fix-tombstone-handling-in-a-scratch-open-addressing-dict/meta.json +22 -0
- mlsys/tasks/pyt-fix-tombstone-handling-in-a-scratch-open-addressing-dict/solution_ref.py +59 -0
- mlsys/tasks/pyt-fix-tombstone-handling-in-a-scratch-open-addressing-dict/starter.py +67 -0
- mlsys/tasks/pyt-fix-tombstone-handling-in-a-scratch-open-addressing-dict/task.md +76 -0
- mlsys/tasks/pyt-fixed-vs-variable-size-classifier/check.py +34 -0
- mlsys/tasks/pyt-fixed-vs-variable-size-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-fixed-vs-variable-size-classifier/meta.json +22 -0
- mlsys/tasks/pyt-fixed-vs-variable-size-classifier/solution_ref.py +14 -0
- mlsys/tasks/pyt-fixed-vs-variable-size-classifier/starter.py +5 -0
- mlsys/tasks/pyt-fixed-vs-variable-size-classifier/task.md +43 -0
- mlsys/tasks/pyt-footprint-sweep-dict-slots-namedtuple-key-shared/check.py +63 -0
- mlsys/tasks/pyt-footprint-sweep-dict-slots-namedtuple-key-shared/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-footprint-sweep-dict-slots-namedtuple-key-shared/meta.json +22 -0
- mlsys/tasks/pyt-footprint-sweep-dict-slots-namedtuple-key-shared/solution_ref.py +49 -0
- mlsys/tasks/pyt-footprint-sweep-dict-slots-namedtuple-key-shared/starter.py +4 -0
- mlsys/tasks/pyt-footprint-sweep-dict-slots-namedtuple-key-shared/task.md +56 -0
- mlsys/tasks/pyt-freed-at-statement-end-classifier/check.py +60 -0
- mlsys/tasks/pyt-freed-at-statement-end-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-freed-at-statement-end-classifier/meta.json +22 -0
- mlsys/tasks/pyt-freed-at-statement-end-classifier/solution_ref.py +20 -0
- mlsys/tasks/pyt-freed-at-statement-end-classifier/starter.py +2 -0
- mlsys/tasks/pyt-freed-at-statement-end-classifier/task.md +51 -0
- mlsys/tasks/pyt-frozenset-hash-algorithm/check.py +53 -0
- mlsys/tasks/pyt-frozenset-hash-algorithm/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-frozenset-hash-algorithm/meta.json +22 -0
- mlsys/tasks/pyt-frozenset-hash-algorithm/solution_ref.py +27 -0
- mlsys/tasks/pyt-frozenset-hash-algorithm/starter.py +2 -0
- mlsys/tasks/pyt-frozenset-hash-algorithm/task.md +58 -0
- mlsys/tasks/pyt-gc-enabled-vs-frozen-vs-disabled-counts/check.py +63 -0
- mlsys/tasks/pyt-gc-enabled-vs-frozen-vs-disabled-counts/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-gc-enabled-vs-frozen-vs-disabled-counts/meta.json +22 -0
- mlsys/tasks/pyt-gc-enabled-vs-frozen-vs-disabled-counts/solution_ref.py +54 -0
- mlsys/tasks/pyt-gc-enabled-vs-frozen-vs-disabled-counts/starter.py +4 -0
- mlsys/tasks/pyt-gc-enabled-vs-frozen-vs-disabled-counts/task.md +66 -0
- mlsys/tasks/pyt-gc-tracked-vs-untracked-classifier/check.py +40 -0
- mlsys/tasks/pyt-gc-tracked-vs-untracked-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-gc-tracked-vs-untracked-classifier/meta.json +22 -0
- mlsys/tasks/pyt-gc-tracked-vs-untracked-classifier/solution_ref.py +5 -0
- mlsys/tasks/pyt-gc-tracked-vs-untracked-classifier/starter.py +2 -0
- mlsys/tasks/pyt-gc-tracked-vs-untracked-classifier/task.md +62 -0
- mlsys/tasks/pyt-generator-state-transitions/check.py +37 -0
- mlsys/tasks/pyt-generator-state-transitions/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-generator-state-transitions/meta.json +22 -0
- mlsys/tasks/pyt-generator-state-transitions/solution_ref.py +29 -0
- mlsys/tasks/pyt-generator-state-transitions/starter.py +4 -0
- mlsys/tasks/pyt-generator-state-transitions/task.md +67 -0
- mlsys/tasks/pyt-generator-vs-list-comp-footprint/check.py +23 -0
- mlsys/tasks/pyt-generator-vs-list-comp-footprint/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-generator-vs-list-comp-footprint/meta.json +22 -0
- mlsys/tasks/pyt-generator-vs-list-comp-footprint/solution_ref.py +7 -0
- mlsys/tasks/pyt-generator-vs-list-comp-footprint/starter.py +4 -0
- mlsys/tasks/pyt-generator-vs-list-comp-footprint/task.md +61 -0
- mlsys/tasks/pyt-getsizeof-one-dict-instance-vs-one-slotted-instance/check.py +36 -0
- mlsys/tasks/pyt-getsizeof-one-dict-instance-vs-one-slotted-instance/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-getsizeof-one-dict-instance-vs-one-slotted-instance/meta.json +22 -0
- mlsys/tasks/pyt-getsizeof-one-dict-instance-vs-one-slotted-instance/solution_ref.py +24 -0
- mlsys/tasks/pyt-getsizeof-one-dict-instance-vs-one-slotted-instance/starter.py +4 -0
- mlsys/tasks/pyt-getsizeof-one-dict-instance-vs-one-slotted-instance/task.md +57 -0
- mlsys/tasks/pyt-gil-held-vs-gil-released-op-classifier/check.py +81 -0
- mlsys/tasks/pyt-gil-held-vs-gil-released-op-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-gil-held-vs-gil-released-op-classifier/meta.json +24 -0
- mlsys/tasks/pyt-gil-held-vs-gil-released-op-classifier/solution_ref.py +68 -0
- mlsys/tasks/pyt-gil-held-vs-gil-released-op-classifier/starter.py +2 -0
- mlsys/tasks/pyt-gil-held-vs-gil-released-op-classifier/task.md +54 -0
- mlsys/tasks/pyt-hand-assemble-bytecode-for-a-small-function/check.py +27 -0
- mlsys/tasks/pyt-hand-assemble-bytecode-for-a-small-function/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-hand-assemble-bytecode-for-a-small-function/meta.json +22 -0
- mlsys/tasks/pyt-hand-assemble-bytecode-for-a-small-function/solution_ref.py +8 -0
- mlsys/tasks/pyt-hand-assemble-bytecode-for-a-small-function/starter.py +2 -0
- mlsys/tasks/pyt-hand-assemble-bytecode-for-a-small-function/task.md +51 -0
- mlsys/tasks/pyt-hand-compute-a-diamond-merge/check.py +54 -0
- mlsys/tasks/pyt-hand-compute-a-diamond-merge/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-hand-compute-a-diamond-merge/meta.json +22 -0
- mlsys/tasks/pyt-hand-compute-a-diamond-merge/solution_ref.py +31 -0
- mlsys/tasks/pyt-hand-compute-a-diamond-merge/starter.py +2 -0
- mlsys/tasks/pyt-hand-compute-a-diamond-merge/task.md +72 -0
- mlsys/tasks/pyt-hand-implement-slot-descriptors/check.py +64 -0
- mlsys/tasks/pyt-hand-implement-slot-descriptors/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-hand-implement-slot-descriptors/meta.json +22 -0
- mlsys/tasks/pyt-hand-implement-slot-descriptors/solution_ref.py +55 -0
- mlsys/tasks/pyt-hand-implement-slot-descriptors/starter.py +2 -0
- mlsys/tasks/pyt-hand-implement-slot-descriptors/task.md +60 -0
- mlsys/tasks/pyt-header-byte-map-of-builtin-objects/check.py +56 -0
- mlsys/tasks/pyt-header-byte-map-of-builtin-objects/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-header-byte-map-of-builtin-objects/meta.json +22 -0
- mlsys/tasks/pyt-header-byte-map-of-builtin-objects/solution_ref.py +13 -0
- mlsys/tasks/pyt-header-byte-map-of-builtin-objects/starter.py +2 -0
- mlsys/tasks/pyt-header-byte-map-of-builtin-objects/task.md +70 -0
- mlsys/tasks/pyt-heap-type-vs-static-type-classifier/check.py +59 -0
- mlsys/tasks/pyt-heap-type-vs-static-type-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-heap-type-vs-static-type-classifier/meta.json +22 -0
- mlsys/tasks/pyt-heap-type-vs-static-type-classifier/solution_ref.py +3 -0
- mlsys/tasks/pyt-heap-type-vs-static-type-classifier/starter.py +2 -0
- mlsys/tasks/pyt-heap-type-vs-static-type-classifier/task.md +70 -0
- mlsys/tasks/pyt-hit-a-bytes-per-instance-target-for-1e5-nodes/check.py +37 -0
- mlsys/tasks/pyt-hit-a-bytes-per-instance-target-for-1e5-nodes/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-hit-a-bytes-per-instance-target-for-1e5-nodes/meta.json +23 -0
- mlsys/tasks/pyt-hit-a-bytes-per-instance-target-for-1e5-nodes/solution_ref.py +32 -0
- mlsys/tasks/pyt-hit-a-bytes-per-instance-target-for-1e5-nodes/starter.py +31 -0
- mlsys/tasks/pyt-hit-a-bytes-per-instance-target-for-1e5-nodes/task.md +90 -0
- mlsys/tasks/pyt-hit-a-reallocation-count-budget/check.py +24 -0
- mlsys/tasks/pyt-hit-a-reallocation-count-budget/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-hit-a-reallocation-count-budget/meta.json +24 -0
- mlsys/tasks/pyt-hit-a-reallocation-count-budget/solution_ref.py +10 -0
- mlsys/tasks/pyt-hit-a-reallocation-count-budget/starter.py +4 -0
- mlsys/tasks/pyt-hit-a-reallocation-count-budget/task.md +55 -0
- mlsys/tasks/pyt-id-based-identity-partition/check.py +39 -0
- mlsys/tasks/pyt-id-based-identity-partition/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-id-based-identity-partition/meta.json +22 -0
- mlsys/tasks/pyt-id-based-identity-partition/solution_ref.py +12 -0
- mlsys/tasks/pyt-id-based-identity-partition/starter.py +2 -0
- mlsys/tasks/pyt-id-based-identity-partition/task.md +57 -0
- mlsys/tasks/pyt-immortal-object-refcount-sentinel-detector/check.py +29 -0
- mlsys/tasks/pyt-immortal-object-refcount-sentinel-detector/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-immortal-object-refcount-sentinel-detector/meta.json +24 -0
- mlsys/tasks/pyt-immortal-object-refcount-sentinel-detector/solution_ref.py +20 -0
- mlsys/tasks/pyt-immortal-object-refcount-sentinel-detector/starter.py +2 -0
- mlsys/tasks/pyt-immortal-object-refcount-sentinel-detector/task.md +68 -0
- mlsys/tasks/pyt-implement-a-metapathfinder/check.py +76 -0
- mlsys/tasks/pyt-implement-a-metapathfinder/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-implement-a-metapathfinder/meta.json +22 -0
- mlsys/tasks/pyt-implement-a-metapathfinder/solution_ref.py +31 -0
- mlsys/tasks/pyt-implement-a-metapathfinder/starter.py +2 -0
- mlsys/tasks/pyt-implement-a-metapathfinder/task.md +56 -0
- mlsys/tasks/pyt-implement-a-trivial-event-loop/check.py +97 -0
- mlsys/tasks/pyt-implement-a-trivial-event-loop/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-implement-a-trivial-event-loop/meta.json +25 -0
- mlsys/tasks/pyt-implement-a-trivial-event-loop/solution_ref.py +45 -0
- mlsys/tasks/pyt-implement-a-trivial-event-loop/starter.py +21 -0
- mlsys/tasks/pyt-implement-a-trivial-event-loop/task.md +72 -0
- mlsys/tasks/pyt-implement-a-utf-8-encoder-from-scratch/check.py +53 -0
- mlsys/tasks/pyt-implement-a-utf-8-encoder-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-implement-a-utf-8-encoder-from-scratch/meta.json +22 -0
- mlsys/tasks/pyt-implement-a-utf-8-encoder-from-scratch/solution_ref.py +19 -0
- mlsys/tasks/pyt-implement-a-utf-8-encoder-from-scratch/starter.py +2 -0
- mlsys/tasks/pyt-implement-a-utf-8-encoder-from-scratch/task.md +53 -0
- mlsys/tasks/pyt-implement-an-iterator-class/check.py +32 -0
- mlsys/tasks/pyt-implement-an-iterator-class/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-implement-an-iterator-class/meta.json +22 -0
- mlsys/tasks/pyt-implement-an-iterator-class/solution_ref.py +13 -0
- mlsys/tasks/pyt-implement-an-iterator-class/starter.py +11 -0
- mlsys/tasks/pyt-implement-an-iterator-class/task.md +52 -0
- mlsys/tasks/pyt-implement-bignum-add-from-limbs/check.py +69 -0
- mlsys/tasks/pyt-implement-bignum-add-from-limbs/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-implement-bignum-add-from-limbs/meta.json +22 -0
- mlsys/tasks/pyt-implement-bignum-add-from-limbs/solution_ref.py +21 -0
- mlsys/tasks/pyt-implement-bignum-add-from-limbs/starter.py +2 -0
- mlsys/tasks/pyt-implement-bignum-add-from-limbs/task.md +80 -0
- mlsys/tasks/pyt-implement-c3-linearization-from-scratch/check.py +60 -0
- mlsys/tasks/pyt-implement-c3-linearization-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-implement-c3-linearization-from-scratch/meta.json +22 -0
- mlsys/tasks/pyt-implement-c3-linearization-from-scratch/solution_ref.py +40 -0
- mlsys/tasks/pyt-implement-c3-linearization-from-scratch/starter.py +4 -0
- mlsys/tasks/pyt-implement-c3-linearization-from-scratch/task.md +51 -0
- mlsys/tasks/pyt-implement-property-from-scratch/check.py +87 -0
- mlsys/tasks/pyt-implement-property-from-scratch/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-implement-property-from-scratch/meta.json +22 -0
- mlsys/tasks/pyt-implement-property-from-scratch/solution_ref.py +26 -0
- mlsys/tasks/pyt-implement-property-from-scratch/starter.py +2 -0
- mlsys/tasks/pyt-implement-property-from-scratch/task.md +66 -0
- mlsys/tasks/pyt-implement-the-dict-probe-sequence/check.py +40 -0
- mlsys/tasks/pyt-implement-the-dict-probe-sequence/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-implement-the-dict-probe-sequence/meta.json +22 -0
- mlsys/tasks/pyt-implement-the-dict-probe-sequence/solution_ref.py +12 -0
- mlsys/tasks/pyt-implement-the-dict-probe-sequence/starter.py +2 -0
- mlsys/tasks/pyt-implement-the-dict-probe-sequence/task.md +66 -0
- mlsys/tasks/pyt-implement-the-set-probe-sequence/check.py +36 -0
- mlsys/tasks/pyt-implement-the-set-probe-sequence/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-implement-the-set-probe-sequence/meta.json +22 -0
- mlsys/tasks/pyt-implement-the-set-probe-sequence/solution_ref.py +15 -0
- mlsys/tasks/pyt-implement-the-set-probe-sequence/starter.py +2 -0
- mlsys/tasks/pyt-implement-the-set-probe-sequence/task.md +45 -0
- mlsys/tasks/pyt-initial-slot-distribution-histogram/check.py +28 -0
- mlsys/tasks/pyt-initial-slot-distribution-histogram/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-initial-slot-distribution-histogram/meta.json +22 -0
- mlsys/tasks/pyt-initial-slot-distribution-histogram/solution_ref.py +6 -0
- mlsys/tasks/pyt-initial-slot-distribution-histogram/starter.py +2 -0
- mlsys/tasks/pyt-initial-slot-distribution-histogram/task.md +50 -0
- mlsys/tasks/pyt-insert-0-vs-append-shift-count/check.py +29 -0
- mlsys/tasks/pyt-insert-0-vs-append-shift-count/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-insert-0-vs-append-shift-count/meta.json +22 -0
- mlsys/tasks/pyt-insert-0-vs-append-shift-count/solution_ref.py +14 -0
- mlsys/tasks/pyt-insert-0-vs-append-shift-count/starter.py +2 -0
- mlsys/tasks/pyt-insert-0-vs-append-shift-count/task.md +50 -0
- mlsys/tasks/pyt-int-byte-size-growth/check.py +23 -0
- mlsys/tasks/pyt-int-byte-size-growth/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-int-byte-size-growth/meta.json +24 -0
- mlsys/tasks/pyt-int-byte-size-growth/solution_ref.py +14 -0
- mlsys/tasks/pyt-int-byte-size-growth/starter.py +2 -0
- mlsys/tasks/pyt-int-byte-size-growth/task.md +58 -0
- mlsys/tasks/pyt-int-bytes-round-trip/check.py +47 -0
- mlsys/tasks/pyt-int-bytes-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-int-bytes-round-trip/meta.json +22 -0
- mlsys/tasks/pyt-int-bytes-round-trip/solution_ref.py +9 -0
- mlsys/tasks/pyt-int-bytes-round-trip/starter.py +2 -0
- mlsys/tasks/pyt-int-bytes-round-trip/task.md +42 -0
- mlsys/tasks/pyt-internal-fragmentation-ratio-for-a-pattern/check.py +39 -0
- mlsys/tasks/pyt-internal-fragmentation-ratio-for-a-pattern/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-internal-fragmentation-ratio-for-a-pattern/meta.json +22 -0
- mlsys/tasks/pyt-internal-fragmentation-ratio-for-a-pattern/solution_ref.py +16 -0
- mlsys/tasks/pyt-internal-fragmentation-ratio-for-a-pattern/starter.py +2 -0
- mlsys/tasks/pyt-internal-fragmentation-ratio-for-a-pattern/task.md +59 -0
- mlsys/tasks/pyt-isinstance-from-an-mro-without-isinstance/check.py +64 -0
- mlsys/tasks/pyt-isinstance-from-an-mro-without-isinstance/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-isinstance-from-an-mro-without-isinstance/meta.json +22 -0
- mlsys/tasks/pyt-isinstance-from-an-mro-without-isinstance/solution_ref.py +17 -0
- mlsys/tasks/pyt-isinstance-from-an-mro-without-isinstance/starter.py +4 -0
- mlsys/tasks/pyt-isinstance-from-an-mro-without-isinstance/task.md +59 -0
- mlsys/tasks/pyt-iterator-vs-iterable-classifier/check.py +31 -0
- mlsys/tasks/pyt-iterator-vs-iterable-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-iterator-vs-iterable-classifier/meta.json +22 -0
- mlsys/tasks/pyt-iterator-vs-iterable-classifier/solution_ref.py +8 -0
- mlsys/tasks/pyt-iterator-vs-iterable-classifier/starter.py +2 -0
- mlsys/tasks/pyt-iterator-vs-iterable-classifier/task.md +55 -0
- mlsys/tasks/pyt-lazy-pipeline-processes-only-k-of-n/check.py +75 -0
- mlsys/tasks/pyt-lazy-pipeline-processes-only-k-of-n/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-lazy-pipeline-processes-only-k-of-n/meta.json +27 -0
- mlsys/tasks/pyt-lazy-pipeline-processes-only-k-of-n/solution_ref.py +4 -0
- mlsys/tasks/pyt-lazy-pipeline-processes-only-k-of-n/starter.py +2 -0
- mlsys/tasks/pyt-lazy-pipeline-processes-only-k-of-n/task.md +54 -0
- mlsys/tasks/pyt-leak-free-cache-with-weakvaluedictionary/check.py +45 -0
- mlsys/tasks/pyt-leak-free-cache-with-weakvaluedictionary/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-leak-free-cache-with-weakvaluedictionary/meta.json +22 -0
- mlsys/tasks/pyt-leak-free-cache-with-weakvaluedictionary/solution_ref.py +22 -0
- mlsys/tasks/pyt-leak-free-cache-with-weakvaluedictionary/starter.py +4 -0
- mlsys/tasks/pyt-leak-free-cache-with-weakvaluedictionary/task.md +48 -0
- mlsys/tasks/pyt-list-vs-array-vs-numpy-footprint/check.py +41 -0
- mlsys/tasks/pyt-list-vs-array-vs-numpy-footprint/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-list-vs-array-vs-numpy-footprint/meta.json +22 -0
- mlsys/tasks/pyt-list-vs-array-vs-numpy-footprint/solution_ref.py +21 -0
- mlsys/tasks/pyt-list-vs-array-vs-numpy-footprint/starter.py +2 -0
- mlsys/tasks/pyt-list-vs-array-vs-numpy-footprint/task.md +55 -0
- mlsys/tasks/pyt-membership-op-count-set-vs-list/check.py +63 -0
- mlsys/tasks/pyt-membership-op-count-set-vs-list/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-membership-op-count-set-vs-list/meta.json +27 -0
- mlsys/tasks/pyt-membership-op-count-set-vs-list/solution_ref.py +29 -0
- mlsys/tasks/pyt-membership-op-count-set-vs-list/starter.py +2 -0
- mlsys/tasks/pyt-membership-op-count-set-vs-list/task.md +70 -0
- mlsys/tasks/pyt-metaclass-vs-init-subclass-registry-equivalence/check.py +59 -0
- mlsys/tasks/pyt-metaclass-vs-init-subclass-registry-equivalence/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-metaclass-vs-init-subclass-registry-equivalence/meta.json +22 -0
- mlsys/tasks/pyt-metaclass-vs-init-subclass-registry-equivalence/solution_ref.py +47 -0
- mlsys/tasks/pyt-metaclass-vs-init-subclass-registry-equivalence/starter.py +2 -0
- mlsys/tasks/pyt-metaclass-vs-init-subclass-registry-equivalence/task.md +61 -0
- mlsys/tasks/pyt-mini-stack-vm-for-arithmetic-expressions/check.py +95 -0
- mlsys/tasks/pyt-mini-stack-vm-for-arithmetic-expressions/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-mini-stack-vm-for-arithmetic-expressions/meta.json +22 -0
- mlsys/tasks/pyt-mini-stack-vm-for-arithmetic-expressions/solution_ref.py +31 -0
- mlsys/tasks/pyt-mini-stack-vm-for-arithmetic-expressions/starter.py +2 -0
- mlsys/tasks/pyt-mini-stack-vm-for-arithmetic-expressions/task.md +76 -0
- mlsys/tasks/pyt-model-a-refcount-lifetime-timeline/check.py +75 -0
- mlsys/tasks/pyt-model-a-refcount-lifetime-timeline/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-model-a-refcount-lifetime-timeline/meta.json +22 -0
- mlsys/tasks/pyt-model-a-refcount-lifetime-timeline/solution_ref.py +20 -0
- mlsys/tasks/pyt-model-a-refcount-lifetime-timeline/starter.py +2 -0
- mlsys/tasks/pyt-model-a-refcount-lifetime-timeline/task.md +64 -0
- mlsys/tasks/pyt-model-arena-mmap-events-for-a-churn-pattern/check.py +80 -0
- mlsys/tasks/pyt-model-arena-mmap-events-for-a-churn-pattern/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-model-arena-mmap-events-for-a-churn-pattern/meta.json +22 -0
- mlsys/tasks/pyt-model-arena-mmap-events-for-a-churn-pattern/solution_ref.py +59 -0
- mlsys/tasks/pyt-model-arena-mmap-events-for-a-churn-pattern/starter.py +4 -0
- mlsys/tasks/pyt-model-arena-mmap-events-for-a-churn-pattern/task.md +66 -0
- mlsys/tasks/pyt-model-arena-occupancy-over-an-alloc-free-trace/check.py +86 -0
- mlsys/tasks/pyt-model-arena-occupancy-over-an-alloc-free-trace/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-model-arena-occupancy-over-an-alloc-free-trace/meta.json +22 -0
- mlsys/tasks/pyt-model-arena-occupancy-over-an-alloc-free-trace/solution_ref.py +37 -0
- mlsys/tasks/pyt-model-arena-occupancy-over-an-alloc-free-trace/starter.py +2 -0
- mlsys/tasks/pyt-model-arena-occupancy-over-an-alloc-free-trace/task.md +55 -0
- mlsys/tasks/pyt-model-split-key-sharing-dict-savings/check.py +65 -0
- mlsys/tasks/pyt-model-split-key-sharing-dict-savings/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-model-split-key-sharing-dict-savings/meta.json +22 -0
- mlsys/tasks/pyt-model-split-key-sharing-dict-savings/solution_ref.py +42 -0
- mlsys/tasks/pyt-model-split-key-sharing-dict-savings/starter.py +4 -0
- mlsys/tasks/pyt-model-split-key-sharing-dict-savings/task.md +57 -0
- mlsys/tasks/pyt-model-the-gen-0-reclaim-set/check.py +77 -0
- mlsys/tasks/pyt-model-the-gen-0-reclaim-set/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-model-the-gen-0-reclaim-set/meta.json +24 -0
- mlsys/tasks/pyt-model-the-gen-0-reclaim-set/solution_ref.py +38 -0
- mlsys/tasks/pyt-model-the-gen-0-reclaim-set/starter.py +2 -0
- mlsys/tasks/pyt-model-the-gen-0-reclaim-set/task.md +61 -0
- mlsys/tasks/pyt-modeled-gil-acquire-release-count/check.py +43 -0
- mlsys/tasks/pyt-modeled-gil-acquire-release-count/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-modeled-gil-acquire-release-count/meta.json +22 -0
- mlsys/tasks/pyt-modeled-gil-acquire-release-count/solution_ref.py +6 -0
- mlsys/tasks/pyt-modeled-gil-acquire-release-count/starter.py +2 -0
- mlsys/tasks/pyt-modeled-gil-acquire-release-count/task.md +47 -0
- mlsys/tasks/pyt-modeled-thread-switch-schedule/check.py +53 -0
- mlsys/tasks/pyt-modeled-thread-switch-schedule/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-modeled-thread-switch-schedule/meta.json +22 -0
- mlsys/tasks/pyt-modeled-thread-switch-schedule/solution_ref.py +25 -0
- mlsys/tasks/pyt-modeled-thread-switch-schedule/starter.py +2 -0
- mlsys/tasks/pyt-modeled-thread-switch-schedule/task.md +75 -0
- mlsys/tasks/pyt-module-dict-is-the-global-namespace/check.py +21 -0
- mlsys/tasks/pyt-module-dict-is-the-global-namespace/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-module-dict-is-the-global-namespace/meta.json +22 -0
- mlsys/tasks/pyt-module-dict-is-the-global-namespace/solution_ref.py +7 -0
- mlsys/tasks/pyt-module-dict-is-the-global-namespace/starter.py +2 -0
- mlsys/tasks/pyt-module-dict-is-the-global-namespace/task.md +59 -0
- mlsys/tasks/pyt-mro-exists-predictor/check.py +48 -0
- mlsys/tasks/pyt-mro-exists-predictor/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-mro-exists-predictor/meta.json +22 -0
- mlsys/tasks/pyt-mro-exists-predictor/solution_ref.py +53 -0
- mlsys/tasks/pyt-mro-exists-predictor/starter.py +2 -0
- mlsys/tasks/pyt-mro-exists-predictor/task.md +59 -0
- mlsys/tasks/pyt-objects-collected-per-generation/check.py +53 -0
- mlsys/tasks/pyt-objects-collected-per-generation/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-objects-collected-per-generation/meta.json +22 -0
- mlsys/tasks/pyt-objects-collected-per-generation/solution_ref.py +43 -0
- mlsys/tasks/pyt-objects-collected-per-generation/starter.py +4 -0
- mlsys/tasks/pyt-objects-collected-per-generation/task.md +53 -0
- mlsys/tasks/pyt-opcode-sequence-for-a-nontrivial-function/check.py +24 -0
- mlsys/tasks/pyt-opcode-sequence-for-a-nontrivial-function/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-opcode-sequence-for-a-nontrivial-function/meta.json +22 -0
- mlsys/tasks/pyt-opcode-sequence-for-a-nontrivial-function/solution_ref.py +5 -0
- mlsys/tasks/pyt-opcode-sequence-for-a-nontrivial-function/starter.py +2 -0
- mlsys/tasks/pyt-opcode-sequence-for-a-nontrivial-function/task.md +60 -0
- mlsys/tasks/pyt-pep-393-storage-kind-classifier/check.py +40 -0
- mlsys/tasks/pyt-pep-393-storage-kind-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-pep-393-storage-kind-classifier/meta.json +22 -0
- mlsys/tasks/pyt-pep-393-storage-kind-classifier/solution_ref.py +23 -0
- mlsys/tasks/pyt-pep-393-storage-kind-classifier/starter.py +2 -0
- mlsys/tasks/pyt-pep-393-storage-kind-classifier/task.md +45 -0
- mlsys/tasks/pyt-per-object-overhead-ranking/check.py +28 -0
- mlsys/tasks/pyt-per-object-overhead-ranking/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-per-object-overhead-ranking/meta.json +22 -0
- mlsys/tasks/pyt-per-object-overhead-ranking/solution_ref.py +16 -0
- mlsys/tasks/pyt-per-object-overhead-ranking/starter.py +2 -0
- mlsys/tasks/pyt-per-object-overhead-ranking/task.md +61 -0
- mlsys/tasks/pyt-predict-dict-and-weakref-support/check.py +112 -0
- mlsys/tasks/pyt-predict-dict-and-weakref-support/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-predict-dict-and-weakref-support/meta.json +22 -0
- mlsys/tasks/pyt-predict-dict-and-weakref-support/solution_ref.py +104 -0
- mlsys/tasks/pyt-predict-dict-and-weakref-support/starter.py +2 -0
- mlsys/tasks/pyt-predict-dict-and-weakref-support/task.md +60 -0
- mlsys/tasks/pyt-predict-getrefcount-deltas/check.py +34 -0
- mlsys/tasks/pyt-predict-getrefcount-deltas/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-predict-getrefcount-deltas/meta.json +22 -0
- mlsys/tasks/pyt-predict-getrefcount-deltas/solution_ref.py +24 -0
- mlsys/tasks/pyt-predict-getrefcount-deltas/starter.py +2 -0
- mlsys/tasks/pyt-predict-getrefcount-deltas/task.md +53 -0
- mlsys/tasks/pyt-predict-instance-vs-class-attribute-winner/check.py +59 -0
- mlsys/tasks/pyt-predict-instance-vs-class-attribute-winner/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-predict-instance-vs-class-attribute-winner/meta.json +22 -0
- mlsys/tasks/pyt-predict-instance-vs-class-attribute-winner/solution_ref.py +8 -0
- mlsys/tasks/pyt-predict-instance-vs-class-attribute-winner/starter.py +2 -0
- mlsys/tasks/pyt-predict-instance-vs-class-attribute-winner/task.md +69 -0
- mlsys/tasks/pyt-predict-list-over-allocation-capacities/check.py +35 -0
- mlsys/tasks/pyt-predict-list-over-allocation-capacities/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-predict-list-over-allocation-capacities/meta.json +22 -0
- mlsys/tasks/pyt-predict-list-over-allocation-capacities/solution_ref.py +10 -0
- mlsys/tasks/pyt-predict-list-over-allocation-capacities/starter.py +2 -0
- mlsys/tasks/pyt-predict-list-over-allocation-capacities/task.md +49 -0
- mlsys/tasks/pyt-predict-the-executed-line-number-sequence/check.py +59 -0
- mlsys/tasks/pyt-predict-the-executed-line-number-sequence/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-predict-the-executed-line-number-sequence/meta.json +24 -0
- mlsys/tasks/pyt-predict-the-executed-line-number-sequence/solution_ref.py +19 -0
- mlsys/tasks/pyt-predict-the-executed-line-number-sequence/starter.py +4 -0
- mlsys/tasks/pyt-predict-the-executed-line-number-sequence/task.md +56 -0
- mlsys/tasks/pyt-predict-the-stack-depth-timeline/check.py +41 -0
- mlsys/tasks/pyt-predict-the-stack-depth-timeline/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-predict-the-stack-depth-timeline/meta.json +22 -0
- mlsys/tasks/pyt-predict-the-stack-depth-timeline/solution_ref.py +10 -0
- mlsys/tasks/pyt-predict-the-stack-depth-timeline/starter.py +4 -0
- mlsys/tasks/pyt-predict-the-stack-depth-timeline/task.md +42 -0
- mlsys/tasks/pyt-predict-which-storage-wins-for-30-accesses/check.py +98 -0
- mlsys/tasks/pyt-predict-which-storage-wins-for-30-accesses/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-predict-which-storage-wins-for-30-accesses/meta.json +22 -0
- mlsys/tasks/pyt-predict-which-storage-wins-for-30-accesses/solution_ref.py +18 -0
- mlsys/tasks/pyt-predict-which-storage-wins-for-30-accesses/starter.py +2 -0
- mlsys/tasks/pyt-predict-which-storage-wins-for-30-accesses/task.md +58 -0
- mlsys/tasks/pyt-prepare-ordered-namespace-capture/check.py +44 -0
- mlsys/tasks/pyt-prepare-ordered-namespace-capture/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-prepare-ordered-namespace-capture/meta.json +22 -0
- mlsys/tasks/pyt-prepare-ordered-namespace-capture/solution_ref.py +23 -0
- mlsys/tasks/pyt-prepare-ordered-namespace-capture/starter.py +2 -0
- mlsys/tasks/pyt-prepare-ordered-namespace-capture/task.md +44 -0
- mlsys/tasks/pyt-prove-memory-sharing-no-copy/check.py +32 -0
- mlsys/tasks/pyt-prove-memory-sharing-no-copy/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-prove-memory-sharing-no-copy/meta.json +22 -0
- mlsys/tasks/pyt-prove-memory-sharing-no-copy/solution_ref.py +9 -0
- mlsys/tasks/pyt-prove-memory-sharing-no-copy/starter.py +2 -0
- mlsys/tasks/pyt-prove-memory-sharing-no-copy/task.md +61 -0
- mlsys/tasks/pyt-prove-non-linearizability-and-emit-the-conflicting-pair/check.py +64 -0
- mlsys/tasks/pyt-prove-non-linearizability-and-emit-the-conflicting-pair/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-prove-non-linearizability-and-emit-the-conflicting-pair/meta.json +22 -0
- mlsys/tasks/pyt-prove-non-linearizability-and-emit-the-conflicting-pair/solution_ref.py +16 -0
- mlsys/tasks/pyt-prove-non-linearizability-and-emit-the-conflicting-pair/starter.py +2 -0
- mlsys/tasks/pyt-prove-non-linearizability-and-emit-the-conflicting-pair/task.md +55 -0
- mlsys/tasks/pyt-prove-type-type-is-type-enumerate-the-metatype-chain/check.py +45 -0
- mlsys/tasks/pyt-prove-type-type-is-type-enumerate-the-metatype-chain/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-prove-type-type-is-type-enumerate-the-metatype-chain/meta.json +22 -0
- mlsys/tasks/pyt-prove-type-type-is-type-enumerate-the-metatype-chain/solution_ref.py +9 -0
- mlsys/tasks/pyt-prove-type-type-is-type-enumerate-the-metatype-chain/starter.py +2 -0
- mlsys/tasks/pyt-prove-type-type-is-type-enumerate-the-metatype-chain/task.md +60 -0
- mlsys/tasks/pyt-pymalloc-size-class-mapping/check.py +37 -0
- mlsys/tasks/pyt-pymalloc-size-class-mapping/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-pymalloc-size-class-mapping/meta.json +22 -0
- mlsys/tasks/pyt-pymalloc-size-class-mapping/solution_ref.py +13 -0
- mlsys/tasks/pyt-pymalloc-size-class-mapping/starter.py +3 -0
- mlsys/tasks/pyt-pymalloc-size-class-mapping/task.md +61 -0
- mlsys/tasks/pyt-pymalloc-vs-raw-malloc-threshold-classifier/check.py +45 -0
- mlsys/tasks/pyt-pymalloc-vs-raw-malloc-threshold-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-pymalloc-vs-raw-malloc-threshold-classifier/meta.json +22 -0
- mlsys/tasks/pyt-pymalloc-vs-raw-malloc-threshold-classifier/solution_ref.py +31 -0
- mlsys/tasks/pyt-pymalloc-vs-raw-malloc-threshold-classifier/starter.py +2 -0
- mlsys/tasks/pyt-pymalloc-vs-raw-malloc-threshold-classifier/task.md +39 -0
- mlsys/tasks/pyt-race-condition-outcome-set/check.py +59 -0
- mlsys/tasks/pyt-race-condition-outcome-set/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-race-condition-outcome-set/meta.json +22 -0
- mlsys/tasks/pyt-race-condition-outcome-set/solution_ref.py +27 -0
- mlsys/tasks/pyt-race-condition-outcome-set/starter.py +2 -0
- mlsys/tasks/pyt-race-condition-outcome-set/task.md +43 -0
- mlsys/tasks/pyt-read-cls-mro/check.py +43 -0
- mlsys/tasks/pyt-read-cls-mro/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-read-cls-mro/meta.json +22 -0
- mlsys/tasks/pyt-read-cls-mro/solution_ref.py +2 -0
- mlsys/tasks/pyt-read-cls-mro/starter.py +2 -0
- mlsys/tasks/pyt-read-cls-mro/task.md +59 -0
- mlsys/tasks/pyt-read-gc-get-count/check.py +32 -0
- mlsys/tasks/pyt-read-gc-get-count/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-read-gc-get-count/meta.json +22 -0
- mlsys/tasks/pyt-read-gc-get-count/solution_ref.py +16 -0
- mlsys/tasks/pyt-read-gc-get-count/starter.py +4 -0
- mlsys/tasks/pyt-read-gc-get-count/task.md +52 -0
- mlsys/tasks/pyt-read-locals-and-cellvars-from-a-frame/check.py +47 -0
- mlsys/tasks/pyt-read-locals-and-cellvars-from-a-frame/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-read-locals-and-cellvars-from-a-frame/meta.json +22 -0
- mlsys/tasks/pyt-read-locals-and-cellvars-from-a-frame/solution_ref.py +39 -0
- mlsys/tasks/pyt-read-locals-and-cellvars-from-a-frame/starter.py +4 -0
- mlsys/tasks/pyt-read-locals-and-cellvars-from-a-frame/task.md +58 -0
- mlsys/tasks/pyt-read-sys-getrefcount-and-correct-the-1/check.py +28 -0
- mlsys/tasks/pyt-read-sys-getrefcount-and-correct-the-1/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-read-sys-getrefcount-and-correct-the-1/meta.json +22 -0
- mlsys/tasks/pyt-read-sys-getrefcount-and-correct-the-1/solution_ref.py +5 -0
- mlsys/tasks/pyt-read-sys-getrefcount-and-correct-the-1/starter.py +4 -0
- mlsys/tasks/pyt-read-sys-getrefcount-and-correct-the-1/task.md +53 -0
- mlsys/tasks/pyt-read-the-size-of-one-object/check.py +28 -0
- mlsys/tasks/pyt-read-the-size-of-one-object/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-read-the-size-of-one-object/meta.json +22 -0
- mlsys/tasks/pyt-read-the-size-of-one-object/solution_ref.py +5 -0
- mlsys/tasks/pyt-read-the-size-of-one-object/starter.py +2 -0
- mlsys/tasks/pyt-read-the-size-of-one-object/task.md +51 -0
- mlsys/tasks/pyt-read-the-type-of-values/check.py +25 -0
- mlsys/tasks/pyt-read-the-type-of-values/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-read-the-type-of-values/meta.json +22 -0
- mlsys/tasks/pyt-read-the-type-of-values/solution_ref.py +2 -0
- mlsys/tasks/pyt-read-the-type-of-values/starter.py +2 -0
- mlsys/tasks/pyt-read-the-type-of-values/task.md +39 -0
- mlsys/tasks/pyt-reconstruct-a-traceback-structurally/check.py +54 -0
- mlsys/tasks/pyt-reconstruct-a-traceback-structurally/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-reconstruct-a-traceback-structurally/meta.json +22 -0
- mlsys/tasks/pyt-reconstruct-a-traceback-structurally/solution_ref.py +13 -0
- mlsys/tasks/pyt-reconstruct-a-traceback-structurally/starter.py +4 -0
- mlsys/tasks/pyt-reconstruct-a-traceback-structurally/task.md +61 -0
- mlsys/tasks/pyt-reconstruct-capacity-from-getsizeof/check.py +27 -0
- mlsys/tasks/pyt-reconstruct-capacity-from-getsizeof/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-reconstruct-capacity-from-getsizeof/meta.json +24 -0
- mlsys/tasks/pyt-reconstruct-capacity-from-getsizeof/solution_ref.py +11 -0
- mlsys/tasks/pyt-reconstruct-capacity-from-getsizeof/starter.py +2 -0
- mlsys/tasks/pyt-reconstruct-capacity-from-getsizeof/task.md +54 -0
- mlsys/tasks/pyt-reconstruct-closure-cells/check.py +46 -0
- mlsys/tasks/pyt-reconstruct-closure-cells/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-reconstruct-closure-cells/meta.json +22 -0
- mlsys/tasks/pyt-reconstruct-closure-cells/solution_ref.py +7 -0
- mlsys/tasks/pyt-reconstruct-closure-cells/starter.py +2 -0
- mlsys/tasks/pyt-reconstruct-closure-cells/task.md +54 -0
- mlsys/tasks/pyt-reconstruct-mro-from-a-super-dispatch-log/check.py +50 -0
- mlsys/tasks/pyt-reconstruct-mro-from-a-super-dispatch-log/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-reconstruct-mro-from-a-super-dispatch-log/meta.json +22 -0
- mlsys/tasks/pyt-reconstruct-mro-from-a-super-dispatch-log/solution_ref.py +9 -0
- mlsys/tasks/pyt-reconstruct-mro-from-a-super-dispatch-log/starter.py +2 -0
- mlsys/tasks/pyt-reconstruct-mro-from-a-super-dispatch-log/task.md +70 -0
- mlsys/tasks/pyt-reconstruct-the-3-12-object-header-exactly/check.py +44 -0
- mlsys/tasks/pyt-reconstruct-the-3-12-object-header-exactly/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-reconstruct-the-3-12-object-header-exactly/meta.json +22 -0
- mlsys/tasks/pyt-reconstruct-the-3-12-object-header-exactly/solution_ref.py +9 -0
- mlsys/tasks/pyt-reconstruct-the-3-12-object-header-exactly/starter.py +6 -0
- mlsys/tasks/pyt-reconstruct-the-3-12-object-header-exactly/task.md +53 -0
- mlsys/tasks/pyt-reconstruct-the-new-init-call-sequence/check.py +38 -0
- mlsys/tasks/pyt-reconstruct-the-new-init-call-sequence/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-reconstruct-the-new-init-call-sequence/meta.json +22 -0
- mlsys/tasks/pyt-reconstruct-the-new-init-call-sequence/solution_ref.py +23 -0
- mlsys/tasks/pyt-reconstruct-the-new-init-call-sequence/starter.py +2 -0
- mlsys/tasks/pyt-reconstruct-the-new-init-call-sequence/task.md +60 -0
- mlsys/tasks/pyt-reduce-instruction-count-while-preserving-output/check.py +59 -0
- mlsys/tasks/pyt-reduce-instruction-count-while-preserving-output/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-reduce-instruction-count-while-preserving-output/meta.json +27 -0
- mlsys/tasks/pyt-reduce-instruction-count-while-preserving-output/solution_ref.py +2 -0
- mlsys/tasks/pyt-reduce-instruction-count-while-preserving-output/starter.py +7 -0
- mlsys/tasks/pyt-reduce-instruction-count-while-preserving-output/task.md +74 -0
- mlsys/tasks/pyt-reimplement-getattribute-resolution-order/check.py +160 -0
- mlsys/tasks/pyt-reimplement-getattribute-resolution-order/gen_fixtures.py +0 -0
- mlsys/tasks/pyt-reimplement-getattribute-resolution-order/meta.json +27 -0
- mlsys/tasks/pyt-reimplement-getattribute-resolution-order/solution_ref.py +61 -0
- mlsys/tasks/pyt-reimplement-getattribute-resolution-order/starter.py +42 -0
- mlsys/tasks/pyt-reimplement-getattribute-resolution-order/task.md +85 -0
- mlsys/tasks/pyt-reimplement-importlib-reload-semantics/check.py +68 -0
- mlsys/tasks/pyt-reimplement-importlib-reload-semantics/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-reimplement-importlib-reload-semantics/meta.json +22 -0
- mlsys/tasks/pyt-reimplement-importlib-reload-semantics/solution_ref.py +4 -0
- mlsys/tasks/pyt-reimplement-importlib-reload-semantics/starter.py +4 -0
- mlsys/tasks/pyt-reimplement-importlib-reload-semantics/task.md +55 -0
- mlsys/tasks/pyt-reimplement-islice-chain-from-scratch/check.py +108 -0
- mlsys/tasks/pyt-reimplement-islice-chain-from-scratch/gen_fixtures.py +2 -0
- mlsys/tasks/pyt-reimplement-islice-chain-from-scratch/meta.json +38 -0
- mlsys/tasks/pyt-reimplement-islice-chain-from-scratch/solution_ref.py +28 -0
- mlsys/tasks/pyt-reimplement-islice-chain-from-scratch/starter.py +15 -0
- mlsys/tasks/pyt-reimplement-islice-chain-from-scratch/task.md +79 -0
- mlsys/tasks/pyt-reinterpret-cast-with-cast/check.py +38 -0
- mlsys/tasks/pyt-reinterpret-cast-with-cast/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-reinterpret-cast-with-cast/meta.json +22 -0
- mlsys/tasks/pyt-reinterpret-cast-with-cast/solution_ref.py +6 -0
- mlsys/tasks/pyt-reinterpret-cast-with-cast/starter.py +2 -0
- mlsys/tasks/pyt-reinterpret-cast-with-cast/task.md +53 -0
- mlsys/tasks/pyt-reorder-bases-so-cooperative-super-fires-fully/check.py +75 -0
- mlsys/tasks/pyt-reorder-bases-so-cooperative-super-fires-fully/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-reorder-bases-so-cooperative-super-fires-fully/meta.json +22 -0
- mlsys/tasks/pyt-reorder-bases-so-cooperative-super-fires-fully/solution_ref.py +18 -0
- mlsys/tasks/pyt-reorder-bases-so-cooperative-super-fires-fully/starter.py +5 -0
- mlsys/tasks/pyt-reorder-bases-so-cooperative-super-fires-fully/task.md +76 -0
- mlsys/tasks/pyt-resolve-a-metaclass-conflict/check.py +30 -0
- mlsys/tasks/pyt-resolve-a-metaclass-conflict/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-resolve-a-metaclass-conflict/meta.json +22 -0
- mlsys/tasks/pyt-resolve-a-metaclass-conflict/solution_ref.py +22 -0
- mlsys/tasks/pyt-resolve-a-metaclass-conflict/starter.py +21 -0
- mlsys/tasks/pyt-resolve-a-metaclass-conflict/task.md +54 -0
- mlsys/tasks/pyt-rewrite-a-generator-as-an-explicit-state-machine/check.py +60 -0
- mlsys/tasks/pyt-rewrite-a-generator-as-an-explicit-state-machine/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-rewrite-a-generator-as-an-explicit-state-machine/meta.json +22 -0
- mlsys/tasks/pyt-rewrite-a-generator-as-an-explicit-state-machine/solution_ref.py +13 -0
- mlsys/tasks/pyt-rewrite-a-generator-as-an-explicit-state-machine/starter.py +2 -0
- mlsys/tasks/pyt-rewrite-a-generator-as-an-explicit-state-machine/task.md +67 -0
- mlsys/tasks/pyt-scales-with-threads-classifier/check.py +65 -0
- mlsys/tasks/pyt-scales-with-threads-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-scales-with-threads-classifier/meta.json +22 -0
- mlsys/tasks/pyt-scales-with-threads-classifier/solution_ref.py +34 -0
- mlsys/tasks/pyt-scales-with-threads-classifier/starter.py +2 -0
- mlsys/tasks/pyt-scales-with-threads-classifier/task.md +60 -0
- mlsys/tasks/pyt-send-throw-close-protocol/check.py +66 -0
- mlsys/tasks/pyt-send-throw-close-protocol/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-send-throw-close-protocol/meta.json +22 -0
- mlsys/tasks/pyt-send-throw-close-protocol/solution_ref.py +24 -0
- mlsys/tasks/pyt-send-throw-close-protocol/starter.py +2 -0
- mlsys/tasks/pyt-send-throw-close-protocol/task.md +72 -0
- mlsys/tasks/pyt-serialize-a-type-s-populated-dunder-slot-table/check.py +93 -0
- mlsys/tasks/pyt-serialize-a-type-s-populated-dunder-slot-table/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-serialize-a-type-s-populated-dunder-slot-table/meta.json +22 -0
- mlsys/tasks/pyt-serialize-a-type-s-populated-dunder-slot-table/solution_ref.py +22 -0
- mlsys/tasks/pyt-serialize-a-type-s-populated-dunder-slot-table/starter.py +24 -0
- mlsys/tasks/pyt-serialize-a-type-s-populated-dunder-slot-table/task.md +87 -0
- mlsys/tasks/pyt-set-name-descriptor-naming-via-metaclass-path/check.py +54 -0
- mlsys/tasks/pyt-set-name-descriptor-naming-via-metaclass-path/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-set-name-descriptor-naming-via-metaclass-path/meta.json +23 -0
- mlsys/tasks/pyt-set-name-descriptor-naming-via-metaclass-path/solution_ref.py +27 -0
- mlsys/tasks/pyt-set-name-descriptor-naming-via-metaclass-path/starter.py +19 -0
- mlsys/tasks/pyt-set-name-descriptor-naming-via-metaclass-path/task.md +81 -0
- mlsys/tasks/pyt-set-name-name-binding-recovery/check.py +55 -0
- mlsys/tasks/pyt-set-name-name-binding-recovery/gen_fixtures.py +2 -0
- mlsys/tasks/pyt-set-name-name-binding-recovery/meta.json +23 -0
- mlsys/tasks/pyt-set-name-name-binding-recovery/solution_ref.py +32 -0
- mlsys/tasks/pyt-set-name-name-binding-recovery/starter.py +19 -0
- mlsys/tasks/pyt-set-name-name-binding-recovery/task.md +98 -0
- mlsys/tasks/pyt-set-resize-points-and-load-factor/check.py +32 -0
- mlsys/tasks/pyt-set-resize-points-and-load-factor/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-set-resize-points-and-load-factor/meta.json +22 -0
- mlsys/tasks/pyt-set-resize-points-and-load-factor/solution_ref.py +10 -0
- mlsys/tasks/pyt-set-resize-points-and-load-factor/starter.py +4 -0
- mlsys/tasks/pyt-set-resize-points-and-load-factor/task.md +41 -0
- mlsys/tasks/pyt-set-vs-dict-footprint/check.py +31 -0
- mlsys/tasks/pyt-set-vs-dict-footprint/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-set-vs-dict-footprint/meta.json +22 -0
- mlsys/tasks/pyt-set-vs-dict-footprint/solution_ref.py +10 -0
- mlsys/tasks/pyt-set-vs-dict-footprint/starter.py +4 -0
- mlsys/tasks/pyt-set-vs-dict-footprint/task.md +38 -0
- mlsys/tasks/pyt-shape-strides-of-a-memoryview/check.py +53 -0
- mlsys/tasks/pyt-shape-strides-of-a-memoryview/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-shape-strides-of-a-memoryview/meta.json +22 -0
- mlsys/tasks/pyt-shape-strides-of-a-memoryview/solution_ref.py +12 -0
- mlsys/tasks/pyt-shape-strides-of-a-memoryview/starter.py +5 -0
- mlsys/tasks/pyt-shape-strides-of-a-memoryview/task.md +78 -0
- mlsys/tasks/pyt-shared-cell-aliasing/check.py +31 -0
- mlsys/tasks/pyt-shared-cell-aliasing/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-shared-cell-aliasing/meta.json +22 -0
- mlsys/tasks/pyt-shared-cell-aliasing/solution_ref.py +22 -0
- mlsys/tasks/pyt-shared-cell-aliasing/starter.py +2 -0
- mlsys/tasks/pyt-shared-cell-aliasing/task.md +40 -0
- mlsys/tasks/pyt-simulate-the-value-stack-for-an-opcode-subset/check.py +96 -0
- mlsys/tasks/pyt-simulate-the-value-stack-for-an-opcode-subset/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-simulate-the-value-stack-for-an-opcode-subset/meta.json +22 -0
- mlsys/tasks/pyt-simulate-the-value-stack-for-an-opcode-subset/solution_ref.py +24 -0
- mlsys/tasks/pyt-simulate-the-value-stack-for-an-opcode-subset/starter.py +2 -0
- mlsys/tasks/pyt-simulate-the-value-stack-for-an-opcode-subset/task.md +67 -0
- mlsys/tasks/pyt-small-int-interning-classifier/check.py +13 -0
- mlsys/tasks/pyt-small-int-interning-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-small-int-interning-classifier/meta.json +22 -0
- mlsys/tasks/pyt-small-int-interning-classifier/solution_ref.py +6 -0
- mlsys/tasks/pyt-small-int-interning-classifier/starter.py +2 -0
- mlsys/tasks/pyt-small-int-interning-classifier/task.md +34 -0
- mlsys/tasks/pyt-split-vs-combined-dict-classifier/check.py +136 -0
- mlsys/tasks/pyt-split-vs-combined-dict-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-split-vs-combined-dict-classifier/meta.json +22 -0
- mlsys/tasks/pyt-split-vs-combined-dict-classifier/solution_ref.py +29 -0
- mlsys/tasks/pyt-split-vs-combined-dict-classifier/starter.py +7 -0
- mlsys/tasks/pyt-split-vs-combined-dict-classifier/task.md +82 -0
- mlsys/tasks/pyt-stack-effect-accounting-and-co-stacksize/check.py +37 -0
- mlsys/tasks/pyt-stack-effect-accounting-and-co-stacksize/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-stack-effect-accounting-and-co-stacksize/meta.json +22 -0
- mlsys/tasks/pyt-stack-effect-accounting-and-co-stacksize/solution_ref.py +17 -0
- mlsys/tasks/pyt-stack-effect-accounting-and-co-stacksize/starter.py +4 -0
- mlsys/tasks/pyt-stack-effect-accounting-and-co-stacksize/task.md +72 -0
- mlsys/tasks/pyt-str-footprint-by-kind-and-length/check.py +36 -0
- mlsys/tasks/pyt-str-footprint-by-kind-and-length/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-str-footprint-by-kind-and-length/meta.json +22 -0
- mlsys/tasks/pyt-str-footprint-by-kind-and-length/solution_ref.py +12 -0
- mlsys/tasks/pyt-str-footprint-by-kind-and-length/starter.py +2 -0
- mlsys/tasks/pyt-str-footprint-by-kind-and-length/task.md +62 -0
- mlsys/tasks/pyt-string-interning-classifier/check.py +31 -0
- mlsys/tasks/pyt-string-interning-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-string-interning-classifier/meta.json +24 -0
- mlsys/tasks/pyt-string-interning-classifier/solution_ref.py +2 -0
- mlsys/tasks/pyt-string-interning-classifier/starter.py +2 -0
- mlsys/tasks/pyt-string-interning-classifier/task.md +50 -0
- mlsys/tasks/pyt-struct-unpack-over-a-buffer-without-copying/check.py +75 -0
- mlsys/tasks/pyt-struct-unpack-over-a-buffer-without-copying/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-struct-unpack-over-a-buffer-without-copying/meta.json +27 -0
- mlsys/tasks/pyt-struct-unpack-over-a-buffer-without-copying/solution_ref.py +12 -0
- mlsys/tasks/pyt-struct-unpack-over-a-buffer-without-copying/starter.py +4 -0
- mlsys/tasks/pyt-struct-unpack-over-a-buffer-without-copying/task.md +64 -0
- mlsys/tasks/pyt-sys-modules-caching-behavior/check.py +59 -0
- mlsys/tasks/pyt-sys-modules-caching-behavior/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-sys-modules-caching-behavior/meta.json +22 -0
- mlsys/tasks/pyt-sys-modules-caching-behavior/solution_ref.py +15 -0
- mlsys/tasks/pyt-sys-modules-caching-behavior/starter.py +5 -0
- mlsys/tasks/pyt-sys-modules-caching-behavior/task.md +71 -0
- mlsys/tasks/pyt-trace-the-c3-merge-steps/check.py +57 -0
- mlsys/tasks/pyt-trace-the-c3-merge-steps/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-trace-the-c3-merge-steps/meta.json +22 -0
- mlsys/tasks/pyt-trace-the-c3-merge-steps/solution_ref.py +26 -0
- mlsys/tasks/pyt-trace-the-c3-merge-steps/starter.py +2 -0
- mlsys/tasks/pyt-trace-the-c3-merge-steps/task.md +44 -0
- mlsys/tasks/pyt-use-property-and-observe-recompute/check.py +40 -0
- mlsys/tasks/pyt-use-property-and-observe-recompute/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-use-property-and-observe-recompute/meta.json +22 -0
- mlsys/tasks/pyt-use-property-and-observe-recompute/solution_ref.py +7 -0
- mlsys/tasks/pyt-use-property-and-observe-recompute/starter.py +9 -0
- mlsys/tasks/pyt-use-property-and-observe-recompute/task.md +29 -0
- mlsys/tasks/pyt-validated-property-round-trip-byte-identity/check.py +75 -0
- mlsys/tasks/pyt-validated-property-round-trip-byte-identity/gen_fixtures.py +2 -0
- mlsys/tasks/pyt-validated-property-round-trip-byte-identity/meta.json +22 -0
- mlsys/tasks/pyt-validated-property-round-trip-byte-identity/solution_ref.py +29 -0
- mlsys/tasks/pyt-validated-property-round-trip-byte-identity/starter.py +13 -0
- mlsys/tasks/pyt-validated-property-round-trip-byte-identity/task.md +86 -0
- mlsys/tasks/pyt-walk-a-traceback-object/check.py +52 -0
- mlsys/tasks/pyt-walk-a-traceback-object/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-walk-a-traceback-object/meta.json +22 -0
- mlsys/tasks/pyt-walk-a-traceback-object/solution_ref.py +17 -0
- mlsys/tasks/pyt-walk-a-traceback-object/starter.py +2 -0
- mlsys/tasks/pyt-walk-a-traceback-object/task.md +78 -0
- mlsys/tasks/pyt-walk-the-frame-stack/check.py +23 -0
- mlsys/tasks/pyt-walk-the-frame-stack/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-walk-the-frame-stack/meta.json +22 -0
- mlsys/tasks/pyt-walk-the-frame-stack/solution_ref.py +10 -0
- mlsys/tasks/pyt-walk-the-frame-stack/starter.py +4 -0
- mlsys/tasks/pyt-walk-the-frame-stack/task.md +48 -0
- mlsys/tasks/pyt-weakkeydictionary-identity-eviction/check.py +46 -0
- mlsys/tasks/pyt-weakkeydictionary-identity-eviction/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-weakkeydictionary-identity-eviction/meta.json +22 -0
- mlsys/tasks/pyt-weakkeydictionary-identity-eviction/solution_ref.py +17 -0
- mlsys/tasks/pyt-weakkeydictionary-identity-eviction/starter.py +14 -0
- mlsys/tasks/pyt-weakkeydictionary-identity-eviction/task.md +71 -0
- mlsys/tasks/pyt-weakref-callback-ordering/check.py +71 -0
- mlsys/tasks/pyt-weakref-callback-ordering/gen_fixtures.py +2 -0
- mlsys/tasks/pyt-weakref-callback-ordering/meta.json +22 -0
- mlsys/tasks/pyt-weakref-callback-ordering/solution_ref.py +38 -0
- mlsys/tasks/pyt-weakref-callback-ordering/starter.py +18 -0
- mlsys/tasks/pyt-weakref-callback-ordering/task.md +55 -0
- mlsys/tasks/pyt-weakref-slot-requirement-classifier/check.py +41 -0
- mlsys/tasks/pyt-weakref-slot-requirement-classifier/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-weakref-slot-requirement-classifier/meta.json +22 -0
- mlsys/tasks/pyt-weakref-slot-requirement-classifier/solution_ref.py +11 -0
- mlsys/tasks/pyt-weakref-slot-requirement-classifier/starter.py +4 -0
- mlsys/tasks/pyt-weakref-slot-requirement-classifier/task.md +53 -0
- mlsys/tasks/pyt-yield-from-delegation-order/check.py +97 -0
- mlsys/tasks/pyt-yield-from-delegation-order/gen_fixtures.py +3 -0
- mlsys/tasks/pyt-yield-from-delegation-order/meta.json +22 -0
- mlsys/tasks/pyt-yield-from-delegation-order/solution_ref.py +13 -0
- mlsys/tasks/pyt-yield-from-delegation-order/starter.py +8 -0
- mlsys/tasks/pyt-yield-from-delegation-order/task.md +107 -0
- mlsys/tasks/pyt-zero-arg-super-class-cell-mechanics/check.py +62 -0
- mlsys/tasks/pyt-zero-arg-super-class-cell-mechanics/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-zero-arg-super-class-cell-mechanics/meta.json +22 -0
- mlsys/tasks/pyt-zero-arg-super-class-cell-mechanics/solution_ref.py +16 -0
- mlsys/tasks/pyt-zero-arg-super-class-cell-mechanics/starter.py +6 -0
- mlsys/tasks/pyt-zero-arg-super-class-cell-mechanics/task.md +79 -0
- mlsys/tasks/pyt-zero-copy-slice-via-memoryview/check.py +34 -0
- mlsys/tasks/pyt-zero-copy-slice-via-memoryview/gen_fixtures.py +1 -0
- mlsys/tasks/pyt-zero-copy-slice-via-memoryview/meta.json +25 -0
- mlsys/tasks/pyt-zero-copy-slice-via-memoryview/solution_ref.py +2 -0
- mlsys/tasks/pyt-zero-copy-slice-via-memoryview/starter.py +3 -0
- mlsys/tasks/pyt-zero-copy-slice-via-memoryview/task.md +47 -0
- mlsys/tasks/rwa-classify-a-config-as-mha-gqa-mq-and-compute-n-rep/check.py +38 -0
- mlsys/tasks/rwa-classify-a-config-as-mha-gqa-mq-and-compute-n-rep/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-a-config-as-mha-gqa-mq-and-compute-n-rep/meta.json +22 -0
- mlsys/tasks/rwa-classify-a-config-as-mha-gqa-mq-and-compute-n-rep/solution_ref.py +11 -0
- mlsys/tasks/rwa-classify-a-config-as-mha-gqa-mq-and-compute-n-rep/starter.py +2 -0
- mlsys/tasks/rwa-classify-a-config-as-mha-gqa-mq-and-compute-n-rep/task.md +36 -0
- mlsys/tasks/rwa-classify-a-query-as-full-hit-partial-hit-miss/check.py +37 -0
- mlsys/tasks/rwa-classify-a-query-as-full-hit-partial-hit-miss/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-a-query-as-full-hit-partial-hit-miss/meta.json +22 -0
- mlsys/tasks/rwa-classify-a-query-as-full-hit-partial-hit-miss/solution_ref.py +21 -0
- mlsys/tasks/rwa-classify-a-query-as-full-hit-partial-hit-miss/starter.py +2 -0
- mlsys/tasks/rwa-classify-a-query-as-full-hit-partial-hit-miss/task.md +62 -0
- mlsys/tasks/rwa-classify-block-mask-tiles-as-full-partial-empty/check.py +61 -0
- mlsys/tasks/rwa-classify-block-mask-tiles-as-full-partial-empty/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-block-mask-tiles-as-full-partial-empty/meta.json +16 -0
- mlsys/tasks/rwa-classify-block-mask-tiles-as-full-partial-empty/solution_ref.py +22 -0
- mlsys/tasks/rwa-classify-block-mask-tiles-as-full-partial-empty/starter.py +2 -0
- mlsys/tasks/rwa-classify-block-mask-tiles-as-full-partial-empty/task.md +53 -0
- mlsys/tasks/rwa-classify-causal-tiles-as-full-diagonal-masked/check.py +49 -0
- mlsys/tasks/rwa-classify-causal-tiles-as-full-diagonal-masked/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-causal-tiles-as-full-diagonal-masked/meta.json +16 -0
- mlsys/tasks/rwa-classify-causal-tiles-as-full-diagonal-masked/solution_ref.py +14 -0
- mlsys/tasks/rwa-classify-causal-tiles-as-full-diagonal-masked/starter.py +2 -0
- mlsys/tasks/rwa-classify-causal-tiles-as-full-diagonal-masked/task.md +44 -0
- mlsys/tasks/rwa-classify-each-past-token-as-sink-window-evicted/check.py +42 -0
- mlsys/tasks/rwa-classify-each-past-token-as-sink-window-evicted/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-each-past-token-as-sink-window-evicted/meta.json +22 -0
- mlsys/tasks/rwa-classify-each-past-token-as-sink-window-evicted/solution_ref.py +16 -0
- mlsys/tasks/rwa-classify-each-past-token-as-sink-window-evicted/starter.py +6 -0
- mlsys/tasks/rwa-classify-each-past-token-as-sink-window-evicted/task.md +37 -0
- mlsys/tasks/rwa-classify-per-step-prefill-vs-decode-token-allocation/check.py +37 -0
- mlsys/tasks/rwa-classify-per-step-prefill-vs-decode-token-allocation/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-per-step-prefill-vs-decode-token-allocation/meta.json +22 -0
- mlsys/tasks/rwa-classify-per-step-prefill-vs-decode-token-allocation/solution_ref.py +33 -0
- mlsys/tasks/rwa-classify-per-step-prefill-vs-decode-token-allocation/starter.py +4 -0
- mlsys/tasks/rwa-classify-per-step-prefill-vs-decode-token-allocation/task.md +50 -0
- mlsys/tasks/rwa-classify-the-better-quant-axis-for-a-key-tensor/check.py +28 -0
- mlsys/tasks/rwa-classify-the-better-quant-axis-for-a-key-tensor/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-the-better-quant-axis-for-a-key-tensor/meta.json +22 -0
- mlsys/tasks/rwa-classify-the-better-quant-axis-for-a-key-tensor/solution_ref.py +9 -0
- mlsys/tasks/rwa-classify-the-better-quant-axis-for-a-key-tensor/starter.py +4 -0
- mlsys/tasks/rwa-classify-the-better-quant-axis-for-a-key-tensor/task.md +49 -0
- mlsys/tasks/rwa-classify-the-masking-path-sdpa-takes-for-given-args/check.py +39 -0
- mlsys/tasks/rwa-classify-the-masking-path-sdpa-takes-for-given-args/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-the-masking-path-sdpa-takes-for-given-args/meta.json +22 -0
- mlsys/tasks/rwa-classify-the-masking-path-sdpa-takes-for-given-args/solution_ref.py +28 -0
- mlsys/tasks/rwa-classify-the-masking-path-sdpa-takes-for-given-args/starter.py +2 -0
- mlsys/tasks/rwa-classify-the-masking-path-sdpa-takes-for-given-args/task.md +65 -0
- mlsys/tasks/rwa-classify-the-pyramidkv-per-layer-budget-allocation/check.py +27 -0
- mlsys/tasks/rwa-classify-the-pyramidkv-per-layer-budget-allocation/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-the-pyramidkv-per-layer-budget-allocation/meta.json +22 -0
- mlsys/tasks/rwa-classify-the-pyramidkv-per-layer-budget-allocation/solution_ref.py +33 -0
- mlsys/tasks/rwa-classify-the-pyramidkv-per-layer-budget-allocation/starter.py +7 -0
- mlsys/tasks/rwa-classify-the-pyramidkv-per-layer-budget-allocation/task.md +52 -0
- mlsys/tasks/rwa-classify-values-as-exact-rounded-overflow-in-e4m3-vs-e5m2/check.py +108 -0
- mlsys/tasks/rwa-classify-values-as-exact-rounded-overflow-in-e4m3-vs-e5m2/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-values-as-exact-rounded-overflow-in-e4m3-vs-e5m2/meta.json +22 -0
- mlsys/tasks/rwa-classify-values-as-exact-rounded-overflow-in-e4m3-vs-e5m2/solution_ref.py +18 -0
- mlsys/tasks/rwa-classify-values-as-exact-rounded-overflow-in-e4m3-vs-e5m2/starter.py +17 -0
- mlsys/tasks/rwa-classify-values-as-exact-rounded-overflow-in-e4m3-vs-e5m2/task.md +75 -0
- mlsys/tasks/rwa-classify-which-of-k-v-should-get-higher-bits/check.py +69 -0
- mlsys/tasks/rwa-classify-which-of-k-v-should-get-higher-bits/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-classify-which-of-k-v-should-get-higher-bits/meta.json +22 -0
- mlsys/tasks/rwa-classify-which-of-k-v-should-get-higher-bits/solution_ref.py +47 -0
- mlsys/tasks/rwa-classify-which-of-k-v-should-get-higher-bits/starter.py +4 -0
- mlsys/tasks/rwa-classify-which-of-k-v-should-get-higher-bits/task.md +36 -0
- mlsys/tasks/rwa-compare-asymmetric-k-q8-0-v-q4-0-vs-symmetric-configs/check.py +55 -0
- mlsys/tasks/rwa-compare-asymmetric-k-q8-0-v-q4-0-vs-symmetric-configs/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-asymmetric-k-q8-0-v-q4-0-vs-symmetric-configs/meta.json +22 -0
- mlsys/tasks/rwa-compare-asymmetric-k-q8-0-v-q4-0-vs-symmetric-configs/solution_ref.py +28 -0
- mlsys/tasks/rwa-compare-asymmetric-k-q8-0-v-q4-0-vs-symmetric-configs/starter.py +10 -0
- mlsys/tasks/rwa-compare-asymmetric-k-q8-0-v-q4-0-vs-symmetric-configs/task.md +71 -0
- mlsys/tasks/rwa-compare-block-sparse-vs-dense-identical-output-fewer-pairs/check.py +65 -0
- mlsys/tasks/rwa-compare-block-sparse-vs-dense-identical-output-fewer-pairs/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-block-sparse-vs-dense-identical-output-fewer-pairs/meta.json +27 -0
- mlsys/tasks/rwa-compare-block-sparse-vs-dense-identical-output-fewer-pairs/solution_ref.py +50 -0
- mlsys/tasks/rwa-compare-block-sparse-vs-dense-identical-output-fewer-pairs/starter.py +4 -0
- mlsys/tasks/rwa-compare-block-sparse-vs-dense-identical-output-fewer-pairs/task.md +83 -0
- mlsys/tasks/rwa-compare-e4m3-vs-e5m2-on-outlier-heavy-vs-uniform-kv/check.py +106 -0
- mlsys/tasks/rwa-compare-e4m3-vs-e5m2-on-outlier-heavy-vs-uniform-kv/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-e4m3-vs-e5m2-on-outlier-heavy-vs-uniform-kv/meta.json +37 -0
- mlsys/tasks/rwa-compare-e4m3-vs-e5m2-on-outlier-heavy-vs-uniform-kv/solution_ref.py +59 -0
- mlsys/tasks/rwa-compare-e4m3-vs-e5m2-on-outlier-heavy-vs-uniform-kv/starter.py +11 -0
- mlsys/tasks/rwa-compare-e4m3-vs-e5m2-on-outlier-heavy-vs-uniform-kv/task.md +100 -0
- mlsys/tasks/rwa-compare-exact-prefix-vs-block-granular-vllm-apc-reuse/check.py +120 -0
- mlsys/tasks/rwa-compare-exact-prefix-vs-block-granular-vllm-apc-reuse/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-exact-prefix-vs-block-granular-vllm-apc-reuse/meta.json +22 -0
- mlsys/tasks/rwa-compare-exact-prefix-vs-block-granular-vllm-apc-reuse/solution_ref.py +18 -0
- mlsys/tasks/rwa-compare-exact-prefix-vs-block-granular-vllm-apc-reuse/starter.py +15 -0
- mlsys/tasks/rwa-compare-exact-prefix-vs-block-granular-vllm-apc-reuse/task.md +90 -0
- mlsys/tasks/rwa-compare-fp32-upcast-softmax-vs-pure-fp16-accumulation/check.py +43 -0
- mlsys/tasks/rwa-compare-fp32-upcast-softmax-vs-pure-fp16-accumulation/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-fp32-upcast-softmax-vs-pure-fp16-accumulation/meta.json +27 -0
- mlsys/tasks/rwa-compare-fp32-upcast-softmax-vs-pure-fp16-accumulation/solution_ref.py +8 -0
- mlsys/tasks/rwa-compare-fp32-upcast-softmax-vs-pure-fp16-accumulation/starter.py +4 -0
- mlsys/tasks/rwa-compare-fp32-upcast-softmax-vs-pure-fp16-accumulation/task.md +80 -0
- mlsys/tasks/rwa-compare-mqa-vs-gqa-vs-mha-output-reconstruction/check.py +93 -0
- mlsys/tasks/rwa-compare-mqa-vs-gqa-vs-mha-output-reconstruction/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-mqa-vs-gqa-vs-mha-output-reconstruction/meta.json +27 -0
- mlsys/tasks/rwa-compare-mqa-vs-gqa-vs-mha-output-reconstruction/solution_ref.py +43 -0
- mlsys/tasks/rwa-compare-mqa-vs-gqa-vs-mha-output-reconstruction/starter.py +21 -0
- mlsys/tasks/rwa-compare-mqa-vs-gqa-vs-mha-output-reconstruction/task.md +106 -0
- mlsys/tasks/rwa-compare-padded-dense-vs-ragged-batching/check.py +79 -0
- mlsys/tasks/rwa-compare-padded-dense-vs-ragged-batching/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-padded-dense-vs-ragged-batching/meta.json +27 -0
- mlsys/tasks/rwa-compare-padded-dense-vs-ragged-batching/solution_ref.py +22 -0
- mlsys/tasks/rwa-compare-padded-dense-vs-ragged-batching/starter.py +4 -0
- mlsys/tasks/rwa-compare-padded-dense-vs-ragged-batching/task.md +69 -0
- mlsys/tasks/rwa-compare-prefix-block-sharing-copy-on-write-memory-vs-duplication/check.py +112 -0
- mlsys/tasks/rwa-compare-prefix-block-sharing-copy-on-write-memory-vs-duplication/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-prefix-block-sharing-copy-on-write-memory-vs-duplication/meta.json +27 -0
- mlsys/tasks/rwa-compare-prefix-block-sharing-copy-on-write-memory-vs-duplication/solution_ref.py +34 -0
- mlsys/tasks/rwa-compare-prefix-block-sharing-copy-on-write-memory-vs-duplication/starter.py +22 -0
- mlsys/tasks/rwa-compare-prefix-block-sharing-copy-on-write-memory-vs-duplication/task.md +112 -0
- mlsys/tasks/rwa-compare-recompute-vs-load-from-cpu-crossover/check.py +40 -0
- mlsys/tasks/rwa-compare-recompute-vs-load-from-cpu-crossover/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-recompute-vs-load-from-cpu-crossover/meta.json +22 -0
- mlsys/tasks/rwa-compare-recompute-vs-load-from-cpu-crossover/solution_ref.py +8 -0
- mlsys/tasks/rwa-compare-recompute-vs-load-from-cpu-crossover/starter.py +2 -0
- mlsys/tasks/rwa-compare-recompute-vs-load-from-cpu-crossover/task.md +59 -0
- mlsys/tasks/rwa-compare-sink-window-vs-pure-sliding-window-stability/check.py +86 -0
- mlsys/tasks/rwa-compare-sink-window-vs-pure-sliding-window-stability/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-sink-window-vs-pure-sliding-window-stability/meta.json +22 -0
- mlsys/tasks/rwa-compare-sink-window-vs-pure-sliding-window-stability/solution_ref.py +47 -0
- mlsys/tasks/rwa-compare-sink-window-vs-pure-sliding-window-stability/starter.py +4 -0
- mlsys/tasks/rwa-compare-sink-window-vs-pure-sliding-window-stability/task.md +91 -0
- mlsys/tasks/rwa-compare-snapkv-vs-h2o-vs-knorm-kept-set-error/check.py +120 -0
- mlsys/tasks/rwa-compare-snapkv-vs-h2o-vs-knorm-kept-set-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-snapkv-vs-h2o-vs-knorm-kept-set-error/meta.json +27 -0
- mlsys/tasks/rwa-compare-snapkv-vs-h2o-vs-knorm-kept-set-error/solution_ref.py +117 -0
- mlsys/tasks/rwa-compare-snapkv-vs-h2o-vs-knorm-kept-set-error/starter.py +29 -0
- mlsys/tasks/rwa-compare-snapkv-vs-h2o-vs-knorm-kept-set-error/task.md +108 -0
- mlsys/tasks/rwa-compare-the-bit-width-x-group-size-error-frontier/check.py +85 -0
- mlsys/tasks/rwa-compare-the-bit-width-x-group-size-error-frontier/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-the-bit-width-x-group-size-error-frontier/meta.json +27 -0
- mlsys/tasks/rwa-compare-the-bit-width-x-group-size-error-frontier/solution_ref.py +41 -0
- mlsys/tasks/rwa-compare-the-bit-width-x-group-size-error-frontier/starter.py +18 -0
- mlsys/tasks/rwa-compare-the-bit-width-x-group-size-error-frontier/task.md +93 -0
- mlsys/tasks/rwa-compare-the-ttft-vs-itl-knob-as-a-step-count-model/check.py +36 -0
- mlsys/tasks/rwa-compare-the-ttft-vs-itl-knob-as-a-step-count-model/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-the-ttft-vs-itl-knob-as-a-step-count-model/meta.json +22 -0
- mlsys/tasks/rwa-compare-the-ttft-vs-itl-knob-as-a-step-count-model/solution_ref.py +15 -0
- mlsys/tasks/rwa-compare-the-ttft-vs-itl-knob-as-a-step-count-model/starter.py +2 -0
- mlsys/tasks/rwa-compare-the-ttft-vs-itl-knob-as-a-step-count-model/task.md +71 -0
- mlsys/tasks/rwa-compare-truncated-rank-mla-vs-gqa-at-equal-cache-budget/check.py +106 -0
- mlsys/tasks/rwa-compare-truncated-rank-mla-vs-gqa-at-equal-cache-budget/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-truncated-rank-mla-vs-gqa-at-equal-cache-budget/meta.json +27 -0
- mlsys/tasks/rwa-compare-truncated-rank-mla-vs-gqa-at-equal-cache-budget/solution_ref.py +65 -0
- mlsys/tasks/rwa-compare-truncated-rank-mla-vs-gqa-at-equal-cache-budget/starter.py +30 -0
- mlsys/tasks/rwa-compare-truncated-rank-mla-vs-gqa-at-equal-cache-budget/task.md +110 -0
- mlsys/tasks/rwa-compare-xformers-mem-efficient-vs-sdpa-math-backend/check.py +44 -0
- mlsys/tasks/rwa-compare-xformers-mem-efficient-vs-sdpa-math-backend/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-compare-xformers-mem-efficient-vs-sdpa-math-backend/meta.json +22 -0
- mlsys/tasks/rwa-compare-xformers-mem-efficient-vs-sdpa-math-backend/solution_ref.py +21 -0
- mlsys/tasks/rwa-compare-xformers-mem-efficient-vs-sdpa-math-backend/starter.py +4 -0
- mlsys/tasks/rwa-compare-xformers-mem-efficient-vs-sdpa-math-backend/task.md +76 -0
- mlsys/tasks/rwa-debug-accumulator-not-rescaled-when-running-max-grows/check.py +54 -0
- mlsys/tasks/rwa-debug-accumulator-not-rescaled-when-running-max-grows/gen_fixtures.py +2 -0
- mlsys/tasks/rwa-debug-accumulator-not-rescaled-when-running-max-grows/meta.json +22 -0
- mlsys/tasks/rwa-debug-accumulator-not-rescaled-when-running-max-grows/solution_ref.py +34 -0
- mlsys/tasks/rwa-debug-accumulator-not-rescaled-when-running-max-grows/starter.py +35 -0
- mlsys/tasks/rwa-debug-accumulator-not-rescaled-when-running-max-grows/task.md +93 -0
- mlsys/tasks/rwa-debug-bias-scaled-with-qk-instead-of-added-unscaled/check.py +75 -0
- mlsys/tasks/rwa-debug-bias-scaled-with-qk-instead-of-added-unscaled/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-bias-scaled-with-qk-instead-of-added-unscaled/meta.json +22 -0
- mlsys/tasks/rwa-debug-bias-scaled-with-qk-instead-of-added-unscaled/solution_ref.py +24 -0
- mlsys/tasks/rwa-debug-bias-scaled-with-qk-instead-of-added-unscaled/starter.py +21 -0
- mlsys/tasks/rwa-debug-bias-scaled-with-qk-instead-of-added-unscaled/task.md +75 -0
- mlsys/tasks/rwa-debug-block-skipper-drops-a-partial-diagonal-block/check.py +54 -0
- mlsys/tasks/rwa-debug-block-skipper-drops-a-partial-diagonal-block/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-block-skipper-drops-a-partial-diagonal-block/meta.json +22 -0
- mlsys/tasks/rwa-debug-block-skipper-drops-a-partial-diagonal-block/solution_ref.py +46 -0
- mlsys/tasks/rwa-debug-block-skipper-drops-a-partial-diagonal-block/starter.py +40 -0
- mlsys/tasks/rwa-debug-block-skipper-drops-a-partial-diagonal-block/task.md +97 -0
- mlsys/tasks/rwa-debug-causal-mask-applied-after-softmax-instead-of-before/check.py +34 -0
- mlsys/tasks/rwa-debug-causal-mask-applied-after-softmax-instead-of-before/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-causal-mask-applied-after-softmax-instead-of-before/meta.json +22 -0
- mlsys/tasks/rwa-debug-causal-mask-applied-after-softmax-instead-of-before/solution_ref.py +22 -0
- mlsys/tasks/rwa-debug-causal-mask-applied-after-softmax-instead-of-before/starter.py +27 -0
- mlsys/tasks/rwa-debug-causal-mask-applied-after-softmax-instead-of-before/task.md +75 -0
- mlsys/tasks/rwa-debug-fp8-kv-with-scale-1-0-saturates-on-large-values/check.py +54 -0
- mlsys/tasks/rwa-debug-fp8-kv-with-scale-1-0-saturates-on-large-values/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-fp8-kv-with-scale-1-0-saturates-on-large-values/meta.json +22 -0
- mlsys/tasks/rwa-debug-fp8-kv-with-scale-1-0-saturates-on-large-values/solution_ref.py +28 -0
- mlsys/tasks/rwa-debug-fp8-kv-with-scale-1-0-saturates-on-large-values/starter.py +16 -0
- mlsys/tasks/rwa-debug-fp8-kv-with-scale-1-0-saturates-on-large-values/task.md +71 -0
- mlsys/tasks/rwa-debug-gather-ignores-the-partial-last-block-length/check.py +68 -0
- mlsys/tasks/rwa-debug-gather-ignores-the-partial-last-block-length/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-gather-ignores-the-partial-last-block-length/meta.json +22 -0
- mlsys/tasks/rwa-debug-gather-ignores-the-partial-last-block-length/solution_ref.py +17 -0
- mlsys/tasks/rwa-debug-gather-ignores-the-partial-last-block-length/starter.py +20 -0
- mlsys/tasks/rwa-debug-gather-ignores-the-partial-last-block-length/task.md +86 -0
- mlsys/tasks/rwa-debug-global-causal-mask-leaks-across-ragged-segments/check.py +59 -0
- mlsys/tasks/rwa-debug-global-causal-mask-leaks-across-ragged-segments/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-global-causal-mask-leaks-across-ragged-segments/meta.json +22 -0
- mlsys/tasks/rwa-debug-global-causal-mask-leaks-across-ragged-segments/solution_ref.py +35 -0
- mlsys/tasks/rwa-debug-global-causal-mask-leaks-across-ragged-segments/starter.py +29 -0
- mlsys/tasks/rwa-debug-global-causal-mask-leaks-across-ragged-segments/task.md +73 -0
- mlsys/tasks/rwa-debug-keys-quantized-per-token-instead-of-per-channel/check.py +40 -0
- mlsys/tasks/rwa-debug-keys-quantized-per-token-instead-of-per-channel/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-keys-quantized-per-token-instead-of-per-channel/meta.json +22 -0
- mlsys/tasks/rwa-debug-keys-quantized-per-token-instead-of-per-channel/solution_ref.py +10 -0
- mlsys/tasks/rwa-debug-keys-quantized-per-token-instead-of-per-channel/starter.py +13 -0
- mlsys/tasks/rwa-debug-keys-quantized-per-token-instead-of-per-channel/task.md +68 -0
- mlsys/tasks/rwa-debug-matcher-ignores-position-and-matches-a-suffix/check.py +32 -0
- mlsys/tasks/rwa-debug-matcher-ignores-position-and-matches-a-suffix/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-matcher-ignores-position-and-matches-a-suffix/meta.json +22 -0
- mlsys/tasks/rwa-debug-matcher-ignores-position-and-matches-a-suffix/solution_ref.py +6 -0
- mlsys/tasks/rwa-debug-matcher-ignores-position-and-matches-a-suffix/starter.py +13 -0
- mlsys/tasks/rwa-debug-matcher-ignores-position-and-matches-a-suffix/task.md +44 -0
- mlsys/tasks/rwa-debug-offload-path-truncates-dtype-on-serialize/check.py +38 -0
- mlsys/tasks/rwa-debug-offload-path-truncates-dtype-on-serialize/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-offload-path-truncates-dtype-on-serialize/meta.json +22 -0
- mlsys/tasks/rwa-debug-offload-path-truncates-dtype-on-serialize/solution_ref.py +7 -0
- mlsys/tasks/rwa-debug-offload-path-truncates-dtype-on-serialize/starter.py +7 -0
- mlsys/tasks/rwa-debug-offload-path-truncates-dtype-on-serialize/task.md +53 -0
- mlsys/tasks/rwa-debug-per-tensor-scale-instead-of-ggml-per-32-block-scale/check.py +57 -0
- mlsys/tasks/rwa-debug-per-tensor-scale-instead-of-ggml-per-32-block-scale/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-per-tensor-scale-instead-of-ggml-per-32-block-scale/meta.json +22 -0
- mlsys/tasks/rwa-debug-per-tensor-scale-instead-of-ggml-per-32-block-scale/solution_ref.py +15 -0
- mlsys/tasks/rwa-debug-per-tensor-scale-instead-of-ggml-per-32-block-scale/starter.py +11 -0
- mlsys/tasks/rwa-debug-per-tensor-scale-instead-of-ggml-per-32-block-scale/task.md +50 -0
- mlsys/tasks/rwa-debug-rope-applied-inside-the-absorbed-latent-path/check.py +40 -0
- mlsys/tasks/rwa-debug-rope-applied-inside-the-absorbed-latent-path/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-rope-applied-inside-the-absorbed-latent-path/meta.json +22 -0
- mlsys/tasks/rwa-debug-rope-applied-inside-the-absorbed-latent-path/solution_ref.py +19 -0
- mlsys/tasks/rwa-debug-rope-applied-inside-the-absorbed-latent-path/starter.py +21 -0
- mlsys/tasks/rwa-debug-rope-applied-inside-the-absorbed-latent-path/task.md +68 -0
- mlsys/tasks/rwa-debug-running-max-reset-between-chunks/check.py +53 -0
- mlsys/tasks/rwa-debug-running-max-reset-between-chunks/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-running-max-reset-between-chunks/meta.json +24 -0
- mlsys/tasks/rwa-debug-running-max-reset-between-chunks/solution_ref.py +25 -0
- mlsys/tasks/rwa-debug-running-max-reset-between-chunks/starter.py +16 -0
- mlsys/tasks/rwa-debug-running-max-reset-between-chunks/task.md +61 -0
- mlsys/tasks/rwa-debug-sinks-dropped-keeping-only-the-recent-window/check.py +44 -0
- mlsys/tasks/rwa-debug-sinks-dropped-keeping-only-the-recent-window/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-sinks-dropped-keeping-only-the-recent-window/meta.json +22 -0
- mlsys/tasks/rwa-debug-sinks-dropped-keeping-only-the-recent-window/solution_ref.py +20 -0
- mlsys/tasks/rwa-debug-sinks-dropped-keeping-only-the-recent-window/starter.py +18 -0
- mlsys/tasks/rwa-debug-sinks-dropped-keeping-only-the-recent-window/task.md +74 -0
- mlsys/tasks/rwa-debug-snapkv-pools-across-heads-instead-of-the-window/check.py +52 -0
- mlsys/tasks/rwa-debug-snapkv-pools-across-heads-instead-of-the-window/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-snapkv-pools-across-heads-instead-of-the-window/meta.json +22 -0
- mlsys/tasks/rwa-debug-snapkv-pools-across-heads-instead-of-the-window/solution_ref.py +7 -0
- mlsys/tasks/rwa-debug-snapkv-pools-across-heads-instead-of-the-window/starter.py +9 -0
- mlsys/tasks/rwa-debug-snapkv-pools-across-heads-instead-of-the-window/task.md +58 -0
- mlsys/tasks/rwa-debug-tile-repeat-instead-of-repeat-interleave/check.py +35 -0
- mlsys/tasks/rwa-debug-tile-repeat-instead-of-repeat-interleave/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-debug-tile-repeat-instead-of-repeat-interleave/meta.json +22 -0
- mlsys/tasks/rwa-debug-tile-repeat-instead-of-repeat-interleave/solution_ref.py +8 -0
- mlsys/tasks/rwa-debug-tile-repeat-instead-of-repeat-interleave/starter.py +10 -0
- mlsys/tasks/rwa-debug-tile-repeat-instead-of-repeat-interleave/task.md +66 -0
- mlsys/tasks/rwa-derive-commuting-of-additive-score-mods-through-max-subtraction/check.py +55 -0
- mlsys/tasks/rwa-derive-commuting-of-additive-score-mods-through-max-subtraction/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-commuting-of-additive-score-mods-through-max-subtraction/meta.json +22 -0
- mlsys/tasks/rwa-derive-commuting-of-additive-score-mods-through-max-subtraction/solution_ref.py +21 -0
- mlsys/tasks/rwa-derive-commuting-of-additive-score-mods-through-max-subtraction/starter.py +4 -0
- mlsys/tasks/rwa-derive-commuting-of-additive-score-mods-through-max-subtraction/task.md +89 -0
- mlsys/tasks/rwa-derive-effective-bits-per-value-and-the-compression-ratio/check.py +45 -0
- mlsys/tasks/rwa-derive-effective-bits-per-value-and-the-compression-ratio/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-effective-bits-per-value-and-the-compression-ratio/meta.json +22 -0
- mlsys/tasks/rwa-derive-effective-bits-per-value-and-the-compression-ratio/solution_ref.py +6 -0
- mlsys/tasks/rwa-derive-effective-bits-per-value-and-the-compression-ratio/starter.py +2 -0
- mlsys/tasks/rwa-derive-effective-bits-per-value-and-the-compression-ratio/task.md +55 -0
- mlsys/tasks/rwa-derive-exactness-of-variable-size-causal-chunking/check.py +37 -0
- mlsys/tasks/rwa-derive-exactness-of-variable-size-causal-chunking/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-exactness-of-variable-size-causal-chunking/meta.json +22 -0
- mlsys/tasks/rwa-derive-exactness-of-variable-size-causal-chunking/solution_ref.py +30 -0
- mlsys/tasks/rwa-derive-exactness-of-variable-size-causal-chunking/starter.py +4 -0
- mlsys/tasks/rwa-derive-exactness-of-variable-size-causal-chunking/task.md +65 -0
- mlsys/tasks/rwa-derive-expected-attention-scores-under-a-query-gaussian/check.py +93 -0
- mlsys/tasks/rwa-derive-expected-attention-scores-under-a-query-gaussian/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-expected-attention-scores-under-a-query-gaussian/meta.json +27 -0
- mlsys/tasks/rwa-derive-expected-attention-scores-under-a-query-gaussian/solution_ref.py +19 -0
- mlsys/tasks/rwa-derive-expected-attention-scores-under-a-query-gaussian/starter.py +4 -0
- mlsys/tasks/rwa-derive-expected-attention-scores-under-a-query-gaussian/task.md +106 -0
- mlsys/tasks/rwa-derive-implement-the-flashattention-backward-dq-dk-dv/check.py +61 -0
- mlsys/tasks/rwa-derive-implement-the-flashattention-backward-dq-dk-dv/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-implement-the-flashattention-backward-dq-dk-dv/meta.json +22 -0
- mlsys/tasks/rwa-derive-implement-the-flashattention-backward-dq-dk-dv/solution_ref.py +28 -0
- mlsys/tasks/rwa-derive-implement-the-flashattention-backward-dq-dk-dv/starter.py +4 -0
- mlsys/tasks/rwa-derive-implement-the-flashattention-backward-dq-dk-dv/task.md +78 -0
- mlsys/tasks/rwa-derive-implement-the-mem-efficient-backward-with-bias/check.py +62 -0
- mlsys/tasks/rwa-derive-implement-the-mem-efficient-backward-with-bias/gen_fixtures.py +2 -0
- mlsys/tasks/rwa-derive-implement-the-mem-efficient-backward-with-bias/meta.json +22 -0
- mlsys/tasks/rwa-derive-implement-the-mem-efficient-backward-with-bias/solution_ref.py +46 -0
- mlsys/tasks/rwa-derive-implement-the-mem-efficient-backward-with-bias/starter.py +19 -0
- mlsys/tasks/rwa-derive-implement-the-mem-efficient-backward-with-bias/task.md +96 -0
- mlsys/tasks/rwa-derive-is-causal-explicit-inf-mask-and-alibi-bias/check.py +63 -0
- mlsys/tasks/rwa-derive-is-causal-explicit-inf-mask-and-alibi-bias/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-is-causal-explicit-inf-mask-and-alibi-bias/meta.json +27 -0
- mlsys/tasks/rwa-derive-is-causal-explicit-inf-mask-and-alibi-bias/solution_ref.py +18 -0
- mlsys/tasks/rwa-derive-is-causal-explicit-inf-mask-and-alibi-bias/starter.py +4 -0
- mlsys/tasks/rwa-derive-is-causal-explicit-inf-mask-and-alibi-bias/task.md +69 -0
- mlsys/tasks/rwa-derive-low-rank-kv-reconstruction-error-vs-singular-energy/check.py +41 -0
- mlsys/tasks/rwa-derive-low-rank-kv-reconstruction-error-vs-singular-energy/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-low-rank-kv-reconstruction-error-vs-singular-energy/meta.json +22 -0
- mlsys/tasks/rwa-derive-low-rank-kv-reconstruction-error-vs-singular-energy/solution_ref.py +17 -0
- mlsys/tasks/rwa-derive-low-rank-kv-reconstruction-error-vs-singular-energy/starter.py +5 -0
- mlsys/tasks/rwa-derive-low-rank-kv-reconstruction-error-vs-singular-energy/task.md +70 -0
- mlsys/tasks/rwa-derive-mean-pool-uptraining-init-for-kv-heads/check.py +56 -0
- mlsys/tasks/rwa-derive-mean-pool-uptraining-init-for-kv-heads/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-mean-pool-uptraining-init-for-kv-heads/meta.json +22 -0
- mlsys/tasks/rwa-derive-mean-pool-uptraining-init-for-kv-heads/solution_ref.py +29 -0
- mlsys/tasks/rwa-derive-mean-pool-uptraining-init-for-kv-heads/starter.py +15 -0
- mlsys/tasks/rwa-derive-mean-pool-uptraining-init-for-kv-heads/task.md +86 -0
- mlsys/tasks/rwa-derive-output-side-absorption-of-w-uv-into-w-o/check.py +42 -0
- mlsys/tasks/rwa-derive-output-side-absorption-of-w-uv-into-w-o/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-output-side-absorption-of-w-uv-into-w-o/meta.json +22 -0
- mlsys/tasks/rwa-derive-output-side-absorption-of-w-uv-into-w-o/solution_ref.py +12 -0
- mlsys/tasks/rwa-derive-output-side-absorption-of-w-uv-into-w-o/starter.py +4 -0
- mlsys/tasks/rwa-derive-output-side-absorption-of-w-uv-into-w-o/task.md +64 -0
- mlsys/tasks/rwa-derive-query-side-weight-absorption-w-q-t-w-uk/check.py +30 -0
- mlsys/tasks/rwa-derive-query-side-weight-absorption-w-q-t-w-uk/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-query-side-weight-absorption-w-q-t-w-uk/meta.json +22 -0
- mlsys/tasks/rwa-derive-query-side-weight-absorption-w-q-t-w-uk/solution_ref.py +5 -0
- mlsys/tasks/rwa-derive-query-side-weight-absorption-w-q-t-w-uk/starter.py +4 -0
- mlsys/tasks/rwa-derive-query-side-weight-absorption-w-q-t-w-uk/task.md +88 -0
- mlsys/tasks/rwa-derive-symmetric-q4-0-vs-asymmetric-affine-int4-error/check.py +48 -0
- mlsys/tasks/rwa-derive-symmetric-q4-0-vs-asymmetric-affine-int4-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-symmetric-q4-0-vs-asymmetric-affine-int4-error/meta.json +22 -0
- mlsys/tasks/rwa-derive-symmetric-q4-0-vs-asymmetric-affine-int4-error/solution_ref.py +25 -0
- mlsys/tasks/rwa-derive-symmetric-q4-0-vs-asymmetric-affine-int4-error/starter.py +4 -0
- mlsys/tasks/rwa-derive-symmetric-q4-0-vs-asymmetric-affine-int4-error/task.md +108 -0
- mlsys/tasks/rwa-derive-the-disaggregation-kv-transfer-byte-count/check.py +85 -0
- mlsys/tasks/rwa-derive-the-disaggregation-kv-transfer-byte-count/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-the-disaggregation-kv-transfer-byte-count/meta.json +27 -0
- mlsys/tasks/rwa-derive-the-disaggregation-kv-transfer-byte-count/solution_ref.py +22 -0
- mlsys/tasks/rwa-derive-the-disaggregation-kv-transfer-byte-count/starter.py +2 -0
- mlsys/tasks/rwa-derive-the-disaggregation-kv-transfer-byte-count/task.md +81 -0
- mlsys/tasks/rwa-derive-the-e4m3-relative-step-from-mantissa-bits/check.py +74 -0
- mlsys/tasks/rwa-derive-the-e4m3-relative-step-from-mantissa-bits/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-the-e4m3-relative-step-from-mantissa-bits/meta.json +22 -0
- mlsys/tasks/rwa-derive-the-e4m3-relative-step-from-mantissa-bits/solution_ref.py +31 -0
- mlsys/tasks/rwa-derive-the-e4m3-relative-step-from-mantissa-bits/starter.py +21 -0
- mlsys/tasks/rwa-derive-the-e4m3-relative-step-from-mantissa-bits/task.md +94 -0
- mlsys/tasks/rwa-derive-the-position-id-remap-for-kept-tokens/check.py +63 -0
- mlsys/tasks/rwa-derive-the-position-id-remap-for-kept-tokens/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-the-position-id-remap-for-kept-tokens/meta.json +22 -0
- mlsys/tasks/rwa-derive-the-position-id-remap-for-kept-tokens/solution_ref.py +30 -0
- mlsys/tasks/rwa-derive-the-position-id-remap-for-kept-tokens/starter.py +4 -0
- mlsys/tasks/rwa-derive-the-position-id-remap-for-kept-tokens/task.md +79 -0
- mlsys/tasks/rwa-derive-the-radix-node-split-on-partial-prefix-insert/check.py +35 -0
- mlsys/tasks/rwa-derive-the-radix-node-split-on-partial-prefix-insert/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-the-radix-node-split-on-partial-prefix-insert/meta.json +22 -0
- mlsys/tasks/rwa-derive-the-radix-node-split-on-partial-prefix-insert/solution_ref.py +6 -0
- mlsys/tasks/rwa-derive-the-radix-node-split-on-partial-prefix-insert/starter.py +2 -0
- mlsys/tasks/rwa-derive-the-radix-node-split-on-partial-prefix-insert/task.md +60 -0
- mlsys/tasks/rwa-derive-the-split-kv-partial-output-merge-log-sum-exp-combine/check.py +40 -0
- mlsys/tasks/rwa-derive-the-split-kv-partial-output-merge-log-sum-exp-combine/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-derive-the-split-kv-partial-output-merge-log-sum-exp-combine/meta.json +22 -0
- mlsys/tasks/rwa-derive-the-split-kv-partial-output-merge-log-sum-exp-combine/solution_ref.py +18 -0
- mlsys/tasks/rwa-derive-the-split-kv-partial-output-merge-log-sum-exp-combine/starter.py +4 -0
- mlsys/tasks/rwa-derive-the-split-kv-partial-output-merge-log-sum-exp-combine/task.md +96 -0
- mlsys/tasks/rwa-flashattention-backward-recompute-ds-p-dp-rowsum-dp-p/check.py +60 -0
- mlsys/tasks/rwa-flashattention-backward-recompute-ds-p-dp-rowsum-dp-p/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-flashattention-backward-recompute-ds-p-dp-rowsum-dp-p/meta.json +22 -0
- mlsys/tasks/rwa-flashattention-backward-recompute-ds-p-dp-rowsum-dp-p/solution_ref.py +23 -0
- mlsys/tasks/rwa-flashattention-backward-recompute-ds-p-dp-rowsum-dp-p/starter.py +4 -0
- mlsys/tasks/rwa-flashattention-backward-recompute-ds-p-dp-rowsum-dp-p/task.md +94 -0
- mlsys/tasks/rwa-implement-an-alibi-score-mod-attention/check.py +63 -0
- mlsys/tasks/rwa-implement-an-alibi-score-mod-attention/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-an-alibi-score-mod-attention/meta.json +22 -0
- mlsys/tasks/rwa-implement-an-alibi-score-mod-attention/solution_ref.py +25 -0
- mlsys/tasks/rwa-implement-an-alibi-score-mod-attention/starter.py +15 -0
- mlsys/tasks/rwa-implement-an-alibi-score-mod-attention/task.md +96 -0
- mlsys/tasks/rwa-implement-append-paged-kv-for-a-ragged-batch/check.py +145 -0
- mlsys/tasks/rwa-implement-append-paged-kv-for-a-ragged-batch/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-append-paged-kv-for-a-ragged-batch/meta.json +27 -0
- mlsys/tasks/rwa-implement-append-paged-kv-for-a-ragged-batch/solution_ref.py +41 -0
- mlsys/tasks/rwa-implement-append-paged-kv-for-a-ragged-batch/starter.py +21 -0
- mlsys/tasks/rwa-implement-append-paged-kv-for-a-ragged-batch/task.md +99 -0
- mlsys/tasks/rwa-implement-batched-paged-decode/check.py +70 -0
- mlsys/tasks/rwa-implement-batched-paged-decode/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-batched-paged-decode/meta.json +22 -0
- mlsys/tasks/rwa-implement-batched-paged-decode/solution_ref.py +40 -0
- mlsys/tasks/rwa-implement-batched-paged-decode/starter.py +4 -0
- mlsys/tasks/rwa-implement-batched-paged-decode/task.md +89 -0
- mlsys/tasks/rwa-implement-blockdiagonalmask-for-packed-sequences/check.py +51 -0
- mlsys/tasks/rwa-implement-blockdiagonalmask-for-packed-sequences/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-blockdiagonalmask-for-packed-sequences/meta.json +22 -0
- mlsys/tasks/rwa-implement-blockdiagonalmask-for-packed-sequences/solution_ref.py +35 -0
- mlsys/tasks/rwa-implement-blockdiagonalmask-for-packed-sequences/starter.py +16 -0
- mlsys/tasks/rwa-implement-blockdiagonalmask-for-packed-sequences/task.md +76 -0
- mlsys/tasks/rwa-implement-chunked-prefill-via-carried-online-softmax/check.py +69 -0
- mlsys/tasks/rwa-implement-chunked-prefill-via-carried-online-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-chunked-prefill-via-carried-online-softmax/meta.json +22 -0
- mlsys/tasks/rwa-implement-chunked-prefill-via-carried-online-softmax/solution_ref.py +48 -0
- mlsys/tasks/rwa-implement-chunked-prefill-via-carried-online-softmax/starter.py +16 -0
- mlsys/tasks/rwa-implement-chunked-prefill-via-carried-online-softmax/task.md +94 -0
- mlsys/tasks/rwa-implement-flashattention-2-forward-via-tiled-online-softmax/check.py +84 -0
- mlsys/tasks/rwa-implement-flashattention-2-forward-via-tiled-online-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-flashattention-2-forward-via-tiled-online-softmax/meta.json +27 -0
- mlsys/tasks/rwa-implement-flashattention-2-forward-via-tiled-online-softmax/solution_ref.py +49 -0
- mlsys/tasks/rwa-implement-flashattention-2-forward-via-tiled-online-softmax/starter.py +11 -0
- mlsys/tasks/rwa-implement-flashattention-2-forward-via-tiled-online-softmax/task.md +93 -0
- mlsys/tasks/rwa-implement-gemma2-tanh-soft-capping-score-mod/check.py +50 -0
- mlsys/tasks/rwa-implement-gemma2-tanh-soft-capping-score-mod/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-gemma2-tanh-soft-capping-score-mod/meta.json +22 -0
- mlsys/tasks/rwa-implement-gemma2-tanh-soft-capping-score-mod/solution_ref.py +16 -0
- mlsys/tasks/rwa-implement-gemma2-tanh-soft-capping-score-mod/starter.py +4 -0
- mlsys/tasks/rwa-implement-gemma2-tanh-soft-capping-score-mod/task.md +60 -0
- mlsys/tasks/rwa-implement-gqa-head-expansion-sdpa/check.py +77 -0
- mlsys/tasks/rwa-implement-gqa-head-expansion-sdpa/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-gqa-head-expansion-sdpa/meta.json +27 -0
- mlsys/tasks/rwa-implement-gqa-head-expansion-sdpa/solution_ref.py +33 -0
- mlsys/tasks/rwa-implement-gqa-head-expansion-sdpa/starter.py +17 -0
- mlsys/tasks/rwa-implement-gqa-head-expansion-sdpa/task.md +105 -0
- mlsys/tasks/rwa-implement-h2o-heavy-hitter-eviction-trajectory/check.py +77 -0
- mlsys/tasks/rwa-implement-h2o-heavy-hitter-eviction-trajectory/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-h2o-heavy-hitter-eviction-trajectory/meta.json +22 -0
- mlsys/tasks/rwa-implement-h2o-heavy-hitter-eviction-trajectory/solution_ref.py +69 -0
- mlsys/tasks/rwa-implement-h2o-heavy-hitter-eviction-trajectory/starter.py +35 -0
- mlsys/tasks/rwa-implement-h2o-heavy-hitter-eviction-trajectory/task.md +82 -0
- mlsys/tasks/rwa-implement-int2-quant-with-a-full-precision-recent-token-residual/check.py +46 -0
- mlsys/tasks/rwa-implement-int2-quant-with-a-full-precision-recent-token-residual/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-int2-quant-with-a-full-precision-recent-token-residual/meta.json +27 -0
- mlsys/tasks/rwa-implement-int2-quant-with-a-full-precision-recent-token-residual/solution_ref.py +35 -0
- mlsys/tasks/rwa-implement-int2-quant-with-a-full-precision-recent-token-residual/starter.py +4 -0
- mlsys/tasks/rwa-implement-int2-quant-with-a-full-precision-recent-token-residual/task.md +67 -0
- mlsys/tasks/rwa-implement-kivi-per-channel-key-per-token-value-quant/check.py +79 -0
- mlsys/tasks/rwa-implement-kivi-per-channel-key-per-token-value-quant/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-kivi-per-channel-key-per-token-value-quant/meta.json +22 -0
- mlsys/tasks/rwa-implement-kivi-per-channel-key-per-token-value-quant/solution_ref.py +67 -0
- mlsys/tasks/rwa-implement-kivi-per-channel-key-per-token-value-quant/starter.py +21 -0
- mlsys/tasks/rwa-implement-kivi-per-channel-key-per-token-value-quant/task.md +90 -0
- mlsys/tasks/rwa-implement-knormpress-l2-norm-scoring/check.py +31 -0
- mlsys/tasks/rwa-implement-knormpress-l2-norm-scoring/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-knormpress-l2-norm-scoring/meta.json +22 -0
- mlsys/tasks/rwa-implement-knormpress-l2-norm-scoring/solution_ref.py +7 -0
- mlsys/tasks/rwa-implement-knormpress-l2-norm-scoring/starter.py +4 -0
- mlsys/tasks/rwa-implement-knormpress-l2-norm-scoring/task.md +50 -0
- mlsys/tasks/rwa-implement-lossless-offload-round-trip-attention/check.py +28 -0
- mlsys/tasks/rwa-implement-lossless-offload-round-trip-attention/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-lossless-offload-round-trip-attention/meta.json +22 -0
- mlsys/tasks/rwa-implement-lossless-offload-round-trip-attention/solution_ref.py +26 -0
- mlsys/tasks/rwa-implement-lossless-offload-round-trip-attention/starter.py +5 -0
- mlsys/tasks/rwa-implement-lossless-offload-round-trip-attention/task.md +57 -0
- mlsys/tasks/rwa-implement-lowertriangularmask-causal-attention/check.py +29 -0
- mlsys/tasks/rwa-implement-lowertriangularmask-causal-attention/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-lowertriangularmask-causal-attention/meta.json +22 -0
- mlsys/tasks/rwa-implement-lowertriangularmask-causal-attention/solution_ref.py +11 -0
- mlsys/tasks/rwa-implement-lowertriangularmask-causal-attention/starter.py +4 -0
- mlsys/tasks/rwa-implement-lowertriangularmask-causal-attention/task.md +37 -0
- mlsys/tasks/rwa-implement-mem-efficient-attention-with-an-additive-attn-bias/check.py +56 -0
- mlsys/tasks/rwa-implement-mem-efficient-attention-with-an-additive-attn-bias/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-mem-efficient-attention-with-an-additive-attn-bias/meta.json +27 -0
- mlsys/tasks/rwa-implement-mem-efficient-attention-with-an-additive-attn-bias/solution_ref.py +43 -0
- mlsys/tasks/rwa-implement-mem-efficient-attention-with-an-additive-attn-bias/starter.py +12 -0
- mlsys/tasks/rwa-implement-mem-efficient-attention-with-an-additive-attn-bias/task.md +89 -0
- mlsys/tasks/rwa-implement-mla-down-up-projection-with-latent-cache/check.py +86 -0
- mlsys/tasks/rwa-implement-mla-down-up-projection-with-latent-cache/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-mla-down-up-projection-with-latent-cache/meta.json +27 -0
- mlsys/tasks/rwa-implement-mla-down-up-projection-with-latent-cache/solution_ref.py +38 -0
- mlsys/tasks/rwa-implement-mla-down-up-projection-with-latent-cache/starter.py +20 -0
- mlsys/tasks/rwa-implement-mla-down-up-projection-with-latent-cache/task.md +102 -0
- mlsys/tasks/rwa-implement-mqa-single-kv-head-broadcast/check.py +29 -0
- mlsys/tasks/rwa-implement-mqa-single-kv-head-broadcast/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-mqa-single-kv-head-broadcast/meta.json +22 -0
- mlsys/tasks/rwa-implement-mqa-single-kv-head-broadcast/solution_ref.py +33 -0
- mlsys/tasks/rwa-implement-mqa-single-kv-head-broadcast/starter.py +4 -0
- mlsys/tasks/rwa-implement-mqa-single-kv-head-broadcast/task.md +65 -0
- mlsys/tasks/rwa-implement-ragged-batched-prefill-with-cu-seqlens/check.py +80 -0
- mlsys/tasks/rwa-implement-ragged-batched-prefill-with-cu-seqlens/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-ragged-batched-prefill-with-cu-seqlens/meta.json +22 -0
- mlsys/tasks/rwa-implement-ragged-batched-prefill-with-cu-seqlens/solution_ref.py +37 -0
- mlsys/tasks/rwa-implement-ragged-batched-prefill-with-cu-seqlens/starter.py +17 -0
- mlsys/tasks/rwa-implement-ragged-batched-prefill-with-cu-seqlens/task.md +88 -0
- mlsys/tasks/rwa-implement-scaled-dot-product-attention-semantics/check.py +64 -0
- mlsys/tasks/rwa-implement-scaled-dot-product-attention-semantics/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-scaled-dot-product-attention-semantics/meta.json +27 -0
- mlsys/tasks/rwa-implement-scaled-dot-product-attention-semantics/solution_ref.py +56 -0
- mlsys/tasks/rwa-implement-scaled-dot-product-attention-semantics/starter.py +7 -0
- mlsys/tasks/rwa-implement-scaled-dot-product-attention-semantics/task.md +66 -0
- mlsys/tasks/rwa-implement-scaled-fp8-kv-per-head-vs-per-tensor-scales/check.py +75 -0
- mlsys/tasks/rwa-implement-scaled-fp8-kv-per-head-vs-per-tensor-scales/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-scaled-fp8-kv-per-head-vs-per-tensor-scales/meta.json +27 -0
- mlsys/tasks/rwa-implement-scaled-fp8-kv-per-head-vs-per-tensor-scales/solution_ref.py +38 -0
- mlsys/tasks/rwa-implement-scaled-fp8-kv-per-head-vs-per-tensor-scales/starter.py +7 -0
- mlsys/tasks/rwa-implement-scaled-fp8-kv-per-head-vs-per-tensor-scales/task.md +71 -0
- mlsys/tasks/rwa-implement-sink-sliding-window-eviction-over-a-stream/check.py +60 -0
- mlsys/tasks/rwa-implement-sink-sliding-window-eviction-over-a-stream/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-sink-sliding-window-eviction-over-a-stream/meta.json +27 -0
- mlsys/tasks/rwa-implement-sink-sliding-window-eviction-over-a-stream/solution_ref.py +31 -0
- mlsys/tasks/rwa-implement-sink-sliding-window-eviction-over-a-stream/starter.py +4 -0
- mlsys/tasks/rwa-implement-sink-sliding-window-eviction-over-a-stream/task.md +76 -0
- mlsys/tasks/rwa-implement-sliding-window-document-mask-mod/check.py +77 -0
- mlsys/tasks/rwa-implement-sliding-window-document-mask-mod/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-sliding-window-document-mask-mod/meta.json +27 -0
- mlsys/tasks/rwa-implement-sliding-window-document-mask-mod/solution_ref.py +26 -0
- mlsys/tasks/rwa-implement-sliding-window-document-mask-mod/starter.py +4 -0
- mlsys/tasks/rwa-implement-sliding-window-document-mask-mod/task.md +80 -0
- mlsys/tasks/rwa-implement-snapkv-observation-window-pooled-selection/check.py +105 -0
- mlsys/tasks/rwa-implement-snapkv-observation-window-pooled-selection/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-snapkv-observation-window-pooled-selection/meta.json +27 -0
- mlsys/tasks/rwa-implement-snapkv-observation-window-pooled-selection/solution_ref.py +79 -0
- mlsys/tasks/rwa-implement-snapkv-observation-window-pooled-selection/starter.py +33 -0
- mlsys/tasks/rwa-implement-snapkv-observation-window-pooled-selection/task.md +86 -0
- mlsys/tasks/rwa-implement-the-block-table-gather-then-attend/check.py +64 -0
- mlsys/tasks/rwa-implement-the-block-table-gather-then-attend/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-the-block-table-gather-then-attend/meta.json +22 -0
- mlsys/tasks/rwa-implement-the-block-table-gather-then-attend/solution_ref.py +41 -0
- mlsys/tasks/rwa-implement-the-block-table-gather-then-attend/starter.py +18 -0
- mlsys/tasks/rwa-implement-the-block-table-gather-then-attend/task.md +85 -0
- mlsys/tasks/rwa-implement-the-decoupled-rope-head-concatenation/check.py +37 -0
- mlsys/tasks/rwa-implement-the-decoupled-rope-head-concatenation/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-the-decoupled-rope-head-concatenation/meta.json +22 -0
- mlsys/tasks/rwa-implement-the-decoupled-rope-head-concatenation/solution_ref.py +11 -0
- mlsys/tasks/rwa-implement-the-decoupled-rope-head-concatenation/starter.py +5 -0
- mlsys/tasks/rwa-implement-the-decoupled-rope-head-concatenation/task.md +67 -0
- mlsys/tasks/rwa-implement-the-e4m3-encode-decode-round-trip/check.py +91 -0
- mlsys/tasks/rwa-implement-the-e4m3-encode-decode-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-the-e4m3-encode-decode-round-trip/meta.json +22 -0
- mlsys/tasks/rwa-implement-the-e4m3-encode-decode-round-trip/solution_ref.py +45 -0
- mlsys/tasks/rwa-implement-the-e4m3-encode-decode-round-trip/starter.py +28 -0
- mlsys/tasks/rwa-implement-the-e4m3-encode-decode-round-trip/task.md +79 -0
- mlsys/tasks/rwa-implement-the-enable-gqa-broadcast-path/check.py +86 -0
- mlsys/tasks/rwa-implement-the-enable-gqa-broadcast-path/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-the-enable-gqa-broadcast-path/meta.json +22 -0
- mlsys/tasks/rwa-implement-the-enable-gqa-broadcast-path/solution_ref.py +23 -0
- mlsys/tasks/rwa-implement-the-enable-gqa-broadcast-path/starter.py +16 -0
- mlsys/tasks/rwa-implement-the-enable-gqa-broadcast-path/task.md +89 -0
- mlsys/tasks/rwa-implement-the-ggml-q4-0-block-quantizer/check.py +46 -0
- mlsys/tasks/rwa-implement-the-ggml-q4-0-block-quantizer/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-the-ggml-q4-0-block-quantizer/meta.json +22 -0
- mlsys/tasks/rwa-implement-the-ggml-q4-0-block-quantizer/solution_ref.py +18 -0
- mlsys/tasks/rwa-implement-the-ggml-q4-0-block-quantizer/starter.py +4 -0
- mlsys/tasks/rwa-implement-the-ggml-q4-0-block-quantizer/task.md +69 -0
- mlsys/tasks/rwa-implement-the-ggml-q8-0-block-quantizer/check.py +41 -0
- mlsys/tasks/rwa-implement-the-ggml-q8-0-block-quantizer/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-the-ggml-q8-0-block-quantizer/meta.json +22 -0
- mlsys/tasks/rwa-implement-the-ggml-q8-0-block-quantizer/solution_ref.py +16 -0
- mlsys/tasks/rwa-implement-the-ggml-q8-0-block-quantizer/starter.py +4 -0
- mlsys/tasks/rwa-implement-the-ggml-q8-0-block-quantizer/task.md +73 -0
- mlsys/tasks/rwa-implement-the-int4-group-affine-quantizer-to-a-target-error/check.py +106 -0
- mlsys/tasks/rwa-implement-the-int4-group-affine-quantizer-to-a-target-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-the-int4-group-affine-quantizer-to-a-target-error/meta.json +27 -0
- mlsys/tasks/rwa-implement-the-int4-group-affine-quantizer-to-a-target-error/solution_ref.py +27 -0
- mlsys/tasks/rwa-implement-the-int4-group-affine-quantizer-to-a-target-error/starter.py +19 -0
- mlsys/tasks/rwa-implement-the-int4-group-affine-quantizer-to-a-target-error/task.md +76 -0
- mlsys/tasks/rwa-implement-the-mlx-group-affine-kv-quantizer/check.py +61 -0
- mlsys/tasks/rwa-implement-the-mlx-group-affine-kv-quantizer/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-the-mlx-group-affine-kv-quantizer/meta.json +27 -0
- mlsys/tasks/rwa-implement-the-mlx-group-affine-kv-quantizer/solution_ref.py +22 -0
- mlsys/tasks/rwa-implement-the-mlx-group-affine-kv-quantizer/starter.py +4 -0
- mlsys/tasks/rwa-implement-the-mlx-group-affine-kv-quantizer/task.md +94 -0
- mlsys/tasks/rwa-implement-the-paged-append-slot-mapping-write-path/check.py +71 -0
- mlsys/tasks/rwa-implement-the-paged-append-slot-mapping-write-path/gen_fixtures.py +2 -0
- mlsys/tasks/rwa-implement-the-paged-append-slot-mapping-write-path/meta.json +22 -0
- mlsys/tasks/rwa-implement-the-paged-append-slot-mapping-write-path/solution_ref.py +67 -0
- mlsys/tasks/rwa-implement-the-paged-append-slot-mapping-write-path/starter.py +34 -0
- mlsys/tasks/rwa-implement-the-paged-append-slot-mapping-write-path/task.md +91 -0
- mlsys/tasks/rwa-implement-the-prefix-tree-reuse-length-recompute-count/check.py +48 -0
- mlsys/tasks/rwa-implement-the-prefix-tree-reuse-length-recompute-count/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-implement-the-prefix-tree-reuse-length-recompute-count/meta.json +22 -0
- mlsys/tasks/rwa-implement-the-prefix-tree-reuse-length-recompute-count/solution_ref.py +32 -0
- mlsys/tasks/rwa-implement-the-prefix-tree-reuse-length-recompute-count/starter.py +2 -0
- mlsys/tasks/rwa-implement-the-prefix-tree-reuse-length-recompute-count/task.md +53 -0
- mlsys/tasks/rwa-measure-batch-kv-memory-paged-vs-max-length-pre-allocation/check.py +31 -0
- mlsys/tasks/rwa-measure-batch-kv-memory-paged-vs-max-length-pre-allocation/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-batch-kv-memory-paged-vs-max-length-pre-allocation/meta.json +22 -0
- mlsys/tasks/rwa-measure-batch-kv-memory-paged-vs-max-length-pre-allocation/solution_ref.py +4 -0
- mlsys/tasks/rwa-measure-batch-kv-memory-paged-vs-max-length-pre-allocation/starter.py +2 -0
- mlsys/tasks/rwa-measure-batch-kv-memory-paged-vs-max-length-pre-allocation/task.md +57 -0
- mlsys/tasks/rwa-measure-bits-per-weight-and-kv-size-for-q8-0-q4-0/check.py +17 -0
- mlsys/tasks/rwa-measure-bits-per-weight-and-kv-size-for-q8-0-q4-0/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-bits-per-weight-and-kv-size-for-q8-0-q4-0/meta.json +22 -0
- mlsys/tasks/rwa-measure-bits-per-weight-and-kv-size-for-q8-0-q4-0/solution_ref.py +14 -0
- mlsys/tasks/rwa-measure-bits-per-weight-and-kv-size-for-q8-0-q4-0/starter.py +3 -0
- mlsys/tasks/rwa-measure-bits-per-weight-and-kv-size-for-q8-0-q4-0/task.md +56 -0
- mlsys/tasks/rwa-measure-blocks-slot-mapping-and-internal-fragmentation/check.py +39 -0
- mlsys/tasks/rwa-measure-blocks-slot-mapping-and-internal-fragmentation/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-blocks-slot-mapping-and-internal-fragmentation/meta.json +22 -0
- mlsys/tasks/rwa-measure-blocks-slot-mapping-and-internal-fragmentation/solution_ref.py +18 -0
- mlsys/tasks/rwa-measure-blocks-slot-mapping-and-internal-fragmentation/starter.py +4 -0
- mlsys/tasks/rwa-measure-blocks-slot-mapping-and-internal-fragmentation/task.md +54 -0
- mlsys/tasks/rwa-measure-cache-hit-rate-and-tokens-saved-over-a-stream/check.py +62 -0
- mlsys/tasks/rwa-measure-cache-hit-rate-and-tokens-saved-over-a-stream/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-cache-hit-rate-and-tokens-saved-over-a-stream/meta.json +22 -0
- mlsys/tasks/rwa-measure-cache-hit-rate-and-tokens-saved-over-a-stream/solution_ref.py +15 -0
- mlsys/tasks/rwa-measure-cache-hit-rate-and-tokens-saved-over-a-stream/starter.py +2 -0
- mlsys/tasks/rwa-measure-cache-hit-rate-and-tokens-saved-over-a-stream/task.md +88 -0
- mlsys/tasks/rwa-measure-hbm-saved-by-layer-wise-offload-scheduling/check.py +51 -0
- mlsys/tasks/rwa-measure-hbm-saved-by-layer-wise-offload-scheduling/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-hbm-saved-by-layer-wise-offload-scheduling/meta.json +22 -0
- mlsys/tasks/rwa-measure-hbm-saved-by-layer-wise-offload-scheduling/solution_ref.py +9 -0
- mlsys/tasks/rwa-measure-hbm-saved-by-layer-wise-offload-scheduling/starter.py +2 -0
- mlsys/tasks/rwa-measure-hbm-saved-by-layer-wise-offload-scheduling/task.md +65 -0
- mlsys/tasks/rwa-measure-kept-token-count-and-memory-from-compression-ratio/check.py +40 -0
- mlsys/tasks/rwa-measure-kept-token-count-and-memory-from-compression-ratio/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-kept-token-count-and-memory-from-compression-ratio/meta.json +22 -0
- mlsys/tasks/rwa-measure-kept-token-count-and-memory-from-compression-ratio/solution_ref.py +30 -0
- mlsys/tasks/rwa-measure-kept-token-count-and-memory-from-compression-ratio/starter.py +6 -0
- mlsys/tasks/rwa-measure-kept-token-count-and-memory-from-compression-ratio/task.md +63 -0
- mlsys/tasks/rwa-measure-mixed-batch-paged-read-count-and-gather-indices/check.py +34 -0
- mlsys/tasks/rwa-measure-mixed-batch-paged-read-count-and-gather-indices/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-mixed-batch-paged-read-count-and-gather-indices/meta.json +22 -0
- mlsys/tasks/rwa-measure-mixed-batch-paged-read-count-and-gather-indices/solution_ref.py +33 -0
- mlsys/tasks/rwa-measure-mixed-batch-paged-read-count-and-gather-indices/starter.py +4 -0
- mlsys/tasks/rwa-measure-mixed-batch-paged-read-count-and-gather-indices/task.md +68 -0
- mlsys/tasks/rwa-measure-mla-cached-bytes-token-vs-gqa/check.py +31 -0
- mlsys/tasks/rwa-measure-mla-cached-bytes-token-vs-gqa/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-mla-cached-bytes-token-vs-gqa/meta.json +27 -0
- mlsys/tasks/rwa-measure-mla-cached-bytes-token-vs-gqa/solution_ref.py +15 -0
- mlsys/tasks/rwa-measure-mla-cached-bytes-token-vs-gqa/starter.py +4 -0
- mlsys/tasks/rwa-measure-mla-cached-bytes-token-vs-gqa/task.md +63 -0
- mlsys/tasks/rwa-measure-per-channel-k-vs-per-token-k-reconstruction-mse/check.py +71 -0
- mlsys/tasks/rwa-measure-per-channel-k-vs-per-token-k-reconstruction-mse/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-per-channel-k-vs-per-token-k-reconstruction-mse/meta.json +22 -0
- mlsys/tasks/rwa-measure-per-channel-k-vs-per-token-k-reconstruction-mse/solution_ref.py +43 -0
- mlsys/tasks/rwa-measure-per-channel-k-vs-per-token-k-reconstruction-mse/starter.py +18 -0
- mlsys/tasks/rwa-measure-per-channel-k-vs-per-token-k-reconstruction-mse/task.md +80 -0
- mlsys/tasks/rwa-measure-per-row-online-softmax-statistics-m-l/check.py +30 -0
- mlsys/tasks/rwa-measure-per-row-online-softmax-statistics-m-l/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-per-row-online-softmax-statistics-m-l/meta.json +27 -0
- mlsys/tasks/rwa-measure-per-row-online-softmax-statistics-m-l/solution_ref.py +7 -0
- mlsys/tasks/rwa-measure-per-row-online-softmax-statistics-m-l/starter.py +2 -0
- mlsys/tasks/rwa-measure-per-row-online-softmax-statistics-m-l/task.md +46 -0
- mlsys/tasks/rwa-measure-prefill-flops-saved-by-prefix-reuse/check.py +67 -0
- mlsys/tasks/rwa-measure-prefill-flops-saved-by-prefix-reuse/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-prefill-flops-saved-by-prefix-reuse/meta.json +22 -0
- mlsys/tasks/rwa-measure-prefill-flops-saved-by-prefix-reuse/solution_ref.py +39 -0
- mlsys/tasks/rwa-measure-prefill-flops-saved-by-prefix-reuse/starter.py +17 -0
- mlsys/tasks/rwa-measure-prefill-flops-saved-by-prefix-reuse/task.md +69 -0
- mlsys/tasks/rwa-measure-skipped-block-count-and-dense-flop-fraction/check.py +54 -0
- mlsys/tasks/rwa-measure-skipped-block-count-and-dense-flop-fraction/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-skipped-block-count-and-dense-flop-fraction/meta.json +27 -0
- mlsys/tasks/rwa-measure-skipped-block-count-and-dense-flop-fraction/solution_ref.py +11 -0
- mlsys/tasks/rwa-measure-skipped-block-count-and-dense-flop-fraction/starter.py +5 -0
- mlsys/tasks/rwa-measure-skipped-block-count-and-dense-flop-fraction/task.md +72 -0
- mlsys/tasks/rwa-measure-the-attention-sink-probability-mass-on-first-tokens/check.py +62 -0
- mlsys/tasks/rwa-measure-the-attention-sink-probability-mass-on-first-tokens/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-the-attention-sink-probability-mass-on-first-tokens/meta.json +22 -0
- mlsys/tasks/rwa-measure-the-attention-sink-probability-mass-on-first-tokens/solution_ref.py +11 -0
- mlsys/tasks/rwa-measure-the-attention-sink-probability-mass-on-first-tokens/starter.py +4 -0
- mlsys/tasks/rwa-measure-the-attention-sink-probability-mass-on-first-tokens/task.md +72 -0
- mlsys/tasks/rwa-measure-the-chunk-schedule-under-a-token-budget/check.py +28 -0
- mlsys/tasks/rwa-measure-the-chunk-schedule-under-a-token-budget/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-the-chunk-schedule-under-a-token-budget/meta.json +22 -0
- mlsys/tasks/rwa-measure-the-chunk-schedule-under-a-token-budget/solution_ref.py +12 -0
- mlsys/tasks/rwa-measure-the-chunk-schedule-under-a-token-budget/starter.py +2 -0
- mlsys/tasks/rwa-measure-the-chunk-schedule-under-a-token-budget/task.md +39 -0
- mlsys/tasks/rwa-measure-the-constant-cache-size-and-attended-pairs/check.py +34 -0
- mlsys/tasks/rwa-measure-the-constant-cache-size-and-attended-pairs/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-the-constant-cache-size-and-attended-pairs/meta.json +22 -0
- mlsys/tasks/rwa-measure-the-constant-cache-size-and-attended-pairs/solution_ref.py +24 -0
- mlsys/tasks/rwa-measure-the-constant-cache-size-and-attended-pairs/starter.py +2 -0
- mlsys/tasks/rwa-measure-the-constant-cache-size-and-attended-pairs/task.md +49 -0
- mlsys/tasks/rwa-measure-the-default-sdpa-scale-and-top-pre-softmax-logit/check.py +38 -0
- mlsys/tasks/rwa-measure-the-default-sdpa-scale-and-top-pre-softmax-logit/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-the-default-sdpa-scale-and-top-pre-softmax-logit/meta.json +27 -0
- mlsys/tasks/rwa-measure-the-default-sdpa-scale-and-top-pre-softmax-logit/solution_ref.py +13 -0
- mlsys/tasks/rwa-measure-the-default-sdpa-scale-and-top-pre-softmax-logit/starter.py +4 -0
- mlsys/tasks/rwa-measure-the-default-sdpa-scale-and-top-pre-softmax-logit/task.md +61 -0
- mlsys/tasks/rwa-measure-the-kv-cache-byte-reduction-ratio/check.py +33 -0
- mlsys/tasks/rwa-measure-the-kv-cache-byte-reduction-ratio/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-the-kv-cache-byte-reduction-ratio/meta.json +22 -0
- mlsys/tasks/rwa-measure-the-kv-cache-byte-reduction-ratio/solution_ref.py +13 -0
- mlsys/tasks/rwa-measure-the-kv-cache-byte-reduction-ratio/starter.py +2 -0
- mlsys/tasks/rwa-measure-the-kv-cache-byte-reduction-ratio/task.md +64 -0
- mlsys/tasks/rwa-measure-the-o-n-memory-of-the-mem-efficient-path/check.py +29 -0
- mlsys/tasks/rwa-measure-the-o-n-memory-of-the-mem-efficient-path/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-the-o-n-memory-of-the-mem-efficient-path/meta.json +27 -0
- mlsys/tasks/rwa-measure-the-o-n-memory-of-the-mem-efficient-path/solution_ref.py +19 -0
- mlsys/tasks/rwa-measure-the-o-n-memory-of-the-mem-efficient-path/starter.py +4 -0
- mlsys/tasks/rwa-measure-the-o-n-memory-of-the-mem-efficient-path/task.md +42 -0
- mlsys/tasks/rwa-measure-the-optimal-per-tensor-scale-and-its-max-error/check.py +109 -0
- mlsys/tasks/rwa-measure-the-optimal-per-tensor-scale-and-its-max-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-measure-the-optimal-per-tensor-scale-and-its-max-error/meta.json +32 -0
- mlsys/tasks/rwa-measure-the-optimal-per-tensor-scale-and-its-max-error/solution_ref.py +68 -0
- mlsys/tasks/rwa-measure-the-optimal-per-tensor-scale-and-its-max-error/starter.py +12 -0
- mlsys/tasks/rwa-measure-the-optimal-per-tensor-scale-and-its-max-error/task.md +76 -0
- mlsys/tasks/rwa-optimize-block-size-invariant-exactness-safe-softmax-stability/check.py +91 -0
- mlsys/tasks/rwa-optimize-block-size-invariant-exactness-safe-softmax-stability/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-optimize-block-size-invariant-exactness-safe-softmax-stability/meta.json +28 -0
- mlsys/tasks/rwa-optimize-block-size-invariant-exactness-safe-softmax-stability/solution_ref.py +64 -0
- mlsys/tasks/rwa-optimize-block-size-invariant-exactness-safe-softmax-stability/starter.py +39 -0
- mlsys/tasks/rwa-optimize-block-size-invariant-exactness-safe-softmax-stability/task.md +112 -0
- mlsys/tasks/rwa-optimize-lru-eviction-under-a-node-budget/check.py +96 -0
- mlsys/tasks/rwa-optimize-lru-eviction-under-a-node-budget/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-optimize-lru-eviction-under-a-node-budget/meta.json +22 -0
- mlsys/tasks/rwa-optimize-lru-eviction-under-a-node-budget/solution_ref.py +45 -0
- mlsys/tasks/rwa-optimize-lru-eviction-under-a-node-budget/starter.py +2 -0
- mlsys/tasks/rwa-optimize-lru-eviction-under-a-node-budget/task.md +66 -0
- mlsys/tasks/rwa-optimize-minimal-block-allocation-verify-no-oob-reads/check.py +52 -0
- mlsys/tasks/rwa-optimize-minimal-block-allocation-verify-no-oob-reads/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-optimize-minimal-block-allocation-verify-no-oob-reads/meta.json +22 -0
- mlsys/tasks/rwa-optimize-minimal-block-allocation-verify-no-oob-reads/solution_ref.py +4 -0
- mlsys/tasks/rwa-optimize-minimal-block-allocation-verify-no-oob-reads/starter.py +2 -0
- mlsys/tasks/rwa-optimize-minimal-block-allocation-verify-no-oob-reads/task.md +71 -0
- mlsys/tasks/rwa-optimize-per-head-scale-amax-vs-percentile-clipping/check.py +126 -0
- mlsys/tasks/rwa-optimize-per-head-scale-amax-vs-percentile-clipping/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-optimize-per-head-scale-amax-vs-percentile-clipping/meta.json +22 -0
- mlsys/tasks/rwa-optimize-per-head-scale-amax-vs-percentile-clipping/solution_ref.py +93 -0
- mlsys/tasks/rwa-optimize-per-head-scale-amax-vs-percentile-clipping/starter.py +20 -0
- mlsys/tasks/rwa-optimize-per-head-scale-amax-vs-percentile-clipping/task.md +86 -0
- mlsys/tasks/rwa-optimize-the-sink-window-split-under-a-fixed-budget/check.py +64 -0
- mlsys/tasks/rwa-optimize-the-sink-window-split-under-a-fixed-budget/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-optimize-the-sink-window-split-under-a-fixed-budget/meta.json +22 -0
- mlsys/tasks/rwa-optimize-the-sink-window-split-under-a-fixed-budget/solution_ref.py +43 -0
- mlsys/tasks/rwa-optimize-the-sink-window-split-under-a-fixed-budget/starter.py +4 -0
- mlsys/tasks/rwa-optimize-the-sink-window-split-under-a-fixed-budget/task.md +62 -0
- mlsys/tasks/rwa-optimize-which-prefixes-stay-in-hbm-vs-tier-out/check.py +77 -0
- mlsys/tasks/rwa-optimize-which-prefixes-stay-in-hbm-vs-tier-out/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-optimize-which-prefixes-stay-in-hbm-vs-tier-out/meta.json +22 -0
- mlsys/tasks/rwa-optimize-which-prefixes-stay-in-hbm-vs-tier-out/solution_ref.py +24 -0
- mlsys/tasks/rwa-optimize-which-prefixes-stay-in-hbm-vs-tier-out/starter.py +2 -0
- mlsys/tasks/rwa-optimize-which-prefixes-stay-in-hbm-vs-tier-out/task.md +66 -0
- mlsys/tasks/rwa-reconstruct-decode-output-from-a-disaggregated-prefill-kv/check.py +47 -0
- mlsys/tasks/rwa-reconstruct-decode-output-from-a-disaggregated-prefill-kv/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-reconstruct-decode-output-from-a-disaggregated-prefill-kv/meta.json +23 -0
- mlsys/tasks/rwa-reconstruct-decode-output-from-a-disaggregated-prefill-kv/solution_ref.py +22 -0
- mlsys/tasks/rwa-reconstruct-decode-output-from-a-disaggregated-prefill-kv/starter.py +8 -0
- mlsys/tasks/rwa-reconstruct-decode-output-from-a-disaggregated-prefill-kv/task.md +54 -0
- mlsys/tasks/rwa-reconstruct-full-prefill-by-merging-per-chunk-partials/check.py +55 -0
- mlsys/tasks/rwa-reconstruct-full-prefill-by-merging-per-chunk-partials/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-reconstruct-full-prefill-by-merging-per-chunk-partials/meta.json +22 -0
- mlsys/tasks/rwa-reconstruct-full-prefill-by-merging-per-chunk-partials/solution_ref.py +14 -0
- mlsys/tasks/rwa-reconstruct-full-prefill-by-merging-per-chunk-partials/starter.py +4 -0
- mlsys/tasks/rwa-reconstruct-full-prefill-by-merging-per-chunk-partials/task.md +89 -0
- mlsys/tasks/rwa-reconstruct-p-and-o-from-saved-m-l-log-sum-exp-stats/check.py +79 -0
- mlsys/tasks/rwa-reconstruct-p-and-o-from-saved-m-l-log-sum-exp-stats/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-reconstruct-p-and-o-from-saved-m-l-log-sum-exp-stats/meta.json +22 -0
- mlsys/tasks/rwa-reconstruct-p-and-o-from-saved-m-l-log-sum-exp-stats/solution_ref.py +18 -0
- mlsys/tasks/rwa-reconstruct-p-and-o-from-saved-m-l-log-sum-exp-stats/starter.py +17 -0
- mlsys/tasks/rwa-reconstruct-p-and-o-from-saved-m-l-log-sum-exp-stats/task.md +94 -0
- mlsys/tasks/rwa-reconstruct-per-sequence-tensors-from-a-packed-ragged-batch/check.py +27 -0
- mlsys/tasks/rwa-reconstruct-per-sequence-tensors-from-a-packed-ragged-batch/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-reconstruct-per-sequence-tensors-from-a-packed-ragged-batch/meta.json +22 -0
- mlsys/tasks/rwa-reconstruct-per-sequence-tensors-from-a-packed-ragged-batch/solution_ref.py +17 -0
- mlsys/tasks/rwa-reconstruct-per-sequence-tensors-from-a-packed-ragged-batch/starter.py +2 -0
- mlsys/tasks/rwa-reconstruct-per-sequence-tensors-from-a-packed-ragged-batch/task.md +44 -0
- mlsys/tasks/rwa-reconstruct-the-contiguous-kv-from-a-fragmented-pool/check.py +44 -0
- mlsys/tasks/rwa-reconstruct-the-contiguous-kv-from-a-fragmented-pool/gen_fixtures.py +2 -0
- mlsys/tasks/rwa-reconstruct-the-contiguous-kv-from-a-fragmented-pool/meta.json +22 -0
- mlsys/tasks/rwa-reconstruct-the-contiguous-kv-from-a-fragmented-pool/solution_ref.py +32 -0
- mlsys/tasks/rwa-reconstruct-the-contiguous-kv-from-a-fragmented-pool/starter.py +23 -0
- mlsys/tasks/rwa-reconstruct-the-contiguous-kv-from-a-fragmented-pool/task.md +68 -0
- mlsys/tasks/rwa-reconstruct-the-full-per-query-head-kv-view-from-packed-gqa/check.py +24 -0
- mlsys/tasks/rwa-reconstruct-the-full-per-query-head-kv-view-from-packed-gqa/gen_fixtures.py +1 -0
- mlsys/tasks/rwa-reconstruct-the-full-per-query-head-kv-view-from-packed-gqa/meta.json +22 -0
- mlsys/tasks/rwa-reconstruct-the-full-per-query-head-kv-view-from-packed-gqa/solution_ref.py +27 -0
- mlsys/tasks/rwa-reconstruct-the-full-per-query-head-kv-view-from-packed-gqa/starter.py +4 -0
- mlsys/tasks/rwa-reconstruct-the-full-per-query-head-kv-view-from-packed-gqa/task.md +50 -0
- mlsys/tasks/rwb-achieved-batch-size-histogram/check.py +55 -0
- mlsys/tasks/rwb-achieved-batch-size-histogram/gen_fixtures.py +8 -0
- mlsys/tasks/rwb-achieved-batch-size-histogram/meta.json +22 -0
- mlsys/tasks/rwb-achieved-batch-size-histogram/solution_ref.py +20 -0
- mlsys/tasks/rwb-achieved-batch-size-histogram/starter.py +5 -0
- mlsys/tasks/rwb-achieved-batch-size-histogram/task.md +69 -0
- mlsys/tasks/rwb-admission-order-minimizing-mean-completion-latency/check.py +73 -0
- mlsys/tasks/rwb-admission-order-minimizing-mean-completion-latency/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-admission-order-minimizing-mean-completion-latency/meta.json +22 -0
- mlsys/tasks/rwb-admission-order-minimizing-mean-completion-latency/solution_ref.py +14 -0
- mlsys/tasks/rwb-admission-order-minimizing-mean-completion-latency/starter.py +18 -0
- mlsys/tasks/rwb-admission-order-minimizing-mean-completion-latency/task.md +87 -0
- mlsys/tasks/rwb-aggregate-vs-single-stream-throughput/check.py +31 -0
- mlsys/tasks/rwb-aggregate-vs-single-stream-throughput/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-aggregate-vs-single-stream-throughput/meta.json +22 -0
- mlsys/tasks/rwb-aggregate-vs-single-stream-throughput/solution_ref.py +20 -0
- mlsys/tasks/rwb-aggregate-vs-single-stream-throughput/starter.py +7 -0
- mlsys/tasks/rwb-aggregate-vs-single-stream-throughput/task.md +59 -0
- mlsys/tasks/rwb-apc-with-lru-eviction/check.py +42 -0
- mlsys/tasks/rwb-apc-with-lru-eviction/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-apc-with-lru-eviction/meta.json +22 -0
- mlsys/tasks/rwb-apc-with-lru-eviction/solution_ref.py +28 -0
- mlsys/tasks/rwb-apc-with-lru-eviction/starter.py +12 -0
- mlsys/tasks/rwb-apc-with-lru-eviction/task.md +72 -0
- mlsys/tasks/rwb-apply-a-token-bitmask-to-logits/check.py +30 -0
- mlsys/tasks/rwb-apply-a-token-bitmask-to-logits/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-apply-a-token-bitmask-to-logits/meta.json +22 -0
- mlsys/tasks/rwb-apply-a-token-bitmask-to-logits/solution_ref.py +25 -0
- mlsys/tasks/rwb-apply-a-token-bitmask-to-logits/starter.py +4 -0
- mlsys/tasks/rwb-apply-a-token-bitmask-to-logits/task.md +37 -0
- mlsys/tasks/rwb-attention-flop-count/check.py +28 -0
- mlsys/tasks/rwb-attention-flop-count/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-attention-flop-count/meta.json +22 -0
- mlsys/tasks/rwb-attention-flop-count/solution_ref.py +7 -0
- mlsys/tasks/rwb-attention-flop-count/starter.py +2 -0
- mlsys/tasks/rwb-attention-flop-count/task.md +62 -0
- mlsys/tasks/rwb-attention-flops-packed-vs-padded/check.py +30 -0
- mlsys/tasks/rwb-attention-flops-packed-vs-padded/fixtures/lens.npy +0 -0
- mlsys/tasks/rwb-attention-flops-packed-vs-padded/gen_fixtures.py +26 -0
- mlsys/tasks/rwb-attention-flops-packed-vs-padded/meta.json +24 -0
- mlsys/tasks/rwb-attention-flops-packed-vs-padded/solution_ref.py +37 -0
- mlsys/tasks/rwb-attention-flops-packed-vs-padded/starter.py +16 -0
- mlsys/tasks/rwb-attention-flops-packed-vs-padded/task.md +75 -0
- mlsys/tasks/rwb-batch-width-efficiency-as-slots-fill/check.py +47 -0
- mlsys/tasks/rwb-batch-width-efficiency-as-slots-fill/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-batch-width-efficiency-as-slots-fill/meta.json +22 -0
- mlsys/tasks/rwb-batch-width-efficiency-as-slots-fill/solution_ref.py +8 -0
- mlsys/tasks/rwb-batch-width-efficiency-as-slots-fill/starter.py +9 -0
- mlsys/tasks/rwb-batch-width-efficiency-as-slots-fill/task.md +69 -0
- mlsys/tasks/rwb-block-count-and-last-block-slack-for-a-sequence/check.py +26 -0
- mlsys/tasks/rwb-block-count-and-last-block-slack-for-a-sequence/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-block-count-and-last-block-slack-for-a-sequence/meta.json +22 -0
- mlsys/tasks/rwb-block-count-and-last-block-slack-for-a-sequence/solution_ref.py +7 -0
- mlsys/tasks/rwb-block-count-and-last-block-slack-for-a-sequence/starter.py +4 -0
- mlsys/tasks/rwb-block-count-and-last-block-slack-for-a-sequence/task.md +61 -0
- mlsys/tasks/rwb-block-diagonal-varlen-attention/check.py +62 -0
- mlsys/tasks/rwb-block-diagonal-varlen-attention/fixtures/cu_seqlens.npy +0 -0
- mlsys/tasks/rwb-block-diagonal-varlen-attention/fixtures/k.npy +0 -0
- mlsys/tasks/rwb-block-diagonal-varlen-attention/fixtures/q.npy +0 -0
- mlsys/tasks/rwb-block-diagonal-varlen-attention/fixtures/v.npy +0 -0
- mlsys/tasks/rwb-block-diagonal-varlen-attention/gen_fixtures.py +34 -0
- mlsys/tasks/rwb-block-diagonal-varlen-attention/meta.json +27 -0
- mlsys/tasks/rwb-block-diagonal-varlen-attention/solution_ref.py +36 -0
- mlsys/tasks/rwb-block-diagonal-varlen-attention/starter.py +19 -0
- mlsys/tasks/rwb-block-diagonal-varlen-attention/task.md +83 -0
- mlsys/tasks/rwb-block-size-sensitivity-of-hit-rate/check.py +117 -0
- mlsys/tasks/rwb-block-size-sensitivity-of-hit-rate/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-block-size-sensitivity-of-hit-rate/meta.json +22 -0
- mlsys/tasks/rwb-block-size-sensitivity-of-hit-rate/solution_ref.py +50 -0
- mlsys/tasks/rwb-block-size-sensitivity-of-hit-rate/starter.py +18 -0
- mlsys/tasks/rwb-block-size-sensitivity-of-hit-rate/task.md +80 -0
- mlsys/tasks/rwb-block-table-gather-attention-equivalence/check.py +67 -0
- mlsys/tasks/rwb-block-table-gather-attention-equivalence/fixtures/k.npy +0 -0
- mlsys/tasks/rwb-block-table-gather-attention-equivalence/fixtures/q.npy +0 -0
- mlsys/tasks/rwb-block-table-gather-attention-equivalence/fixtures/v.npy +0 -0
- mlsys/tasks/rwb-block-table-gather-attention-equivalence/gen_fixtures.py +31 -0
- mlsys/tasks/rwb-block-table-gather-attention-equivalence/meta.json +26 -0
- mlsys/tasks/rwb-block-table-gather-attention-equivalence/solution_ref.py +36 -0
- mlsys/tasks/rwb-block-table-gather-attention-equivalence/starter.py +11 -0
- mlsys/tasks/rwb-block-table-gather-attention-equivalence/task.md +80 -0
- mlsys/tasks/rwb-break-even-acceptance-for-a-cost-ratio/check.py +62 -0
- mlsys/tasks/rwb-break-even-acceptance-for-a-cost-ratio/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-break-even-acceptance-for-a-cost-ratio/meta.json +22 -0
- mlsys/tasks/rwb-break-even-acceptance-for-a-cost-ratio/solution_ref.py +32 -0
- mlsys/tasks/rwb-break-even-acceptance-for-a-cost-ratio/starter.py +16 -0
- mlsys/tasks/rwb-break-even-acceptance-for-a-cost-ratio/task.md +91 -0
- mlsys/tasks/rwb-bucket-set-minimizing-waste-under-a-memory-cap/check.py +59 -0
- mlsys/tasks/rwb-bucket-set-minimizing-waste-under-a-memory-cap/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-bucket-set-minimizing-waste-under-a-memory-cap/meta.json +22 -0
- mlsys/tasks/rwb-bucket-set-minimizing-waste-under-a-memory-cap/solution_ref.py +31 -0
- mlsys/tasks/rwb-bucket-set-minimizing-waste-under-a-memory-cap/starter.py +2 -0
- mlsys/tasks/rwb-bucket-set-minimizing-waste-under-a-memory-cap/task.md +68 -0
- mlsys/tasks/rwb-build-cu-seqlens-from-lengths/check.py +28 -0
- mlsys/tasks/rwb-build-cu-seqlens-from-lengths/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-build-cu-seqlens-from-lengths/meta.json +22 -0
- mlsys/tasks/rwb-build-cu-seqlens-from-lengths/solution_ref.py +18 -0
- mlsys/tasks/rwb-build-cu-seqlens-from-lengths/starter.py +4 -0
- mlsys/tasks/rwb-build-cu-seqlens-from-lengths/task.md +40 -0
- mlsys/tasks/rwb-cache-salt-isolation/check.py +37 -0
- mlsys/tasks/rwb-cache-salt-isolation/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-cache-salt-isolation/meta.json +22 -0
- mlsys/tasks/rwb-cache-salt-isolation/solution_ref.py +13 -0
- mlsys/tasks/rwb-cache-salt-isolation/starter.py +2 -0
- mlsys/tasks/rwb-cache-salt-isolation/task.md +41 -0
- mlsys/tasks/rwb-causal-masked-tiled-attention/check.py +40 -0
- mlsys/tasks/rwb-causal-masked-tiled-attention/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-causal-masked-tiled-attention/meta.json +22 -0
- mlsys/tasks/rwb-causal-masked-tiled-attention/solution_ref.py +64 -0
- mlsys/tasks/rwb-causal-masked-tiled-attention/starter.py +16 -0
- mlsys/tasks/rwb-causal-masked-tiled-attention/task.md +70 -0
- mlsys/tasks/rwb-choose-token-budget-minimizing-tail-itl-under-a-ttft-cap/check.py +141 -0
- mlsys/tasks/rwb-choose-token-budget-minimizing-tail-itl-under-a-ttft-cap/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-choose-token-budget-minimizing-tail-itl-under-a-ttft-cap/meta.json +22 -0
- mlsys/tasks/rwb-choose-token-budget-minimizing-tail-itl-under-a-ttft-cap/solution_ref.py +104 -0
- mlsys/tasks/rwb-choose-token-budget-minimizing-tail-itl-under-a-ttft-cap/starter.py +42 -0
- mlsys/tasks/rwb-choose-token-budget-minimizing-tail-itl-under-a-ttft-cap/task.md +92 -0
- mlsys/tasks/rwb-chunked-vs-monolithic-iteration-count-and-ttft/check.py +92 -0
- mlsys/tasks/rwb-chunked-vs-monolithic-iteration-count-and-ttft/fixtures/budget.npy +0 -0
- mlsys/tasks/rwb-chunked-vs-monolithic-iteration-count-and-ttft/fixtures/prompt_lens.npy +0 -0
- mlsys/tasks/rwb-chunked-vs-monolithic-iteration-count-and-ttft/gen_fixtures.py +23 -0
- mlsys/tasks/rwb-chunked-vs-monolithic-iteration-count-and-ttft/meta.json +25 -0
- mlsys/tasks/rwb-chunked-vs-monolithic-iteration-count-and-ttft/solution_ref.py +75 -0
- mlsys/tasks/rwb-chunked-vs-monolithic-iteration-count-and-ttft/starter.py +34 -0
- mlsys/tasks/rwb-chunked-vs-monolithic-iteration-count-and-ttft/task.md +82 -0
- mlsys/tasks/rwb-classify-accept-reject-given-u-p-q/check.py +34 -0
- mlsys/tasks/rwb-classify-accept-reject-given-u-p-q/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-classify-accept-reject-given-u-p-q/meta.json +22 -0
- mlsys/tasks/rwb-classify-accept-reject-given-u-p-q/solution_ref.py +24 -0
- mlsys/tasks/rwb-classify-accept-reject-given-u-p-q/starter.py +4 -0
- mlsys/tasks/rwb-classify-accept-reject-given-u-p-q/task.md +35 -0
- mlsys/tasks/rwb-classify-batch-trigger-size-vs-timeout/check.py +56 -0
- mlsys/tasks/rwb-classify-batch-trigger-size-vs-timeout/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-classify-batch-trigger-size-vs-timeout/meta.json +22 -0
- mlsys/tasks/rwb-classify-batch-trigger-size-vs-timeout/solution_ref.py +31 -0
- mlsys/tasks/rwb-classify-batch-trigger-size-vs-timeout/starter.py +7 -0
- mlsys/tasks/rwb-classify-batch-trigger-size-vs-timeout/task.md +40 -0
- mlsys/tasks/rwb-classify-captured-vs-eager-fallback-batches/check.py +27 -0
- mlsys/tasks/rwb-classify-captured-vs-eager-fallback-batches/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-classify-captured-vs-eager-fallback-batches/meta.json +22 -0
- mlsys/tasks/rwb-classify-captured-vs-eager-fallback-batches/solution_ref.py +19 -0
- mlsys/tasks/rwb-classify-captured-vs-eager-fallback-batches/starter.py +4 -0
- mlsys/tasks/rwb-classify-captured-vs-eager-fallback-batches/task.md +44 -0
- mlsys/tasks/rwb-classify-each-request-prefill-vs-decode-bound/check.py +29 -0
- mlsys/tasks/rwb-classify-each-request-prefill-vs-decode-bound/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-classify-each-request-prefill-vs-decode-bound/meta.json +22 -0
- mlsys/tasks/rwb-classify-each-request-prefill-vs-decode-bound/solution_ref.py +25 -0
- mlsys/tasks/rwb-classify-each-request-prefill-vs-decode-bound/starter.py +2 -0
- mlsys/tasks/rwb-classify-each-request-prefill-vs-decode-bound/task.md +54 -0
- mlsys/tasks/rwb-classify-each-step-compute-vs-memory-bound/check.py +79 -0
- mlsys/tasks/rwb-classify-each-step-compute-vs-memory-bound/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-classify-each-step-compute-vs-memory-bound/meta.json +22 -0
- mlsys/tasks/rwb-classify-each-step-compute-vs-memory-bound/solution_ref.py +8 -0
- mlsys/tasks/rwb-classify-each-step-compute-vs-memory-bound/starter.py +16 -0
- mlsys/tasks/rwb-classify-each-step-compute-vs-memory-bound/task.md +98 -0
- mlsys/tasks/rwb-classify-eligible-sdpa-backend/check.py +33 -0
- mlsys/tasks/rwb-classify-eligible-sdpa-backend/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-classify-eligible-sdpa-backend/meta.json +22 -0
- mlsys/tasks/rwb-classify-eligible-sdpa-backend/solution_ref.py +40 -0
- mlsys/tasks/rwb-classify-eligible-sdpa-backend/starter.py +2 -0
- mlsys/tasks/rwb-classify-eligible-sdpa-backend/task.md +50 -0
- mlsys/tasks/rwb-classify-representable-format-per-value/check.py +73 -0
- mlsys/tasks/rwb-classify-representable-format-per-value/fixtures/values.npy +0 -0
- mlsys/tasks/rwb-classify-representable-format-per-value/gen_fixtures.py +32 -0
- mlsys/tasks/rwb-classify-representable-format-per-value/meta.json +24 -0
- mlsys/tasks/rwb-classify-representable-format-per-value/solution_ref.py +63 -0
- mlsys/tasks/rwb-classify-representable-format-per-value/starter.py +12 -0
- mlsys/tasks/rwb-classify-representable-format-per-value/task.md +69 -0
- mlsys/tasks/rwb-classify-slot-free-busy-at-each-step/check.py +42 -0
- mlsys/tasks/rwb-classify-slot-free-busy-at-each-step/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-classify-slot-free-busy-at-each-step/meta.json +22 -0
- mlsys/tasks/rwb-classify-slot-free-busy-at-each-step/solution_ref.py +24 -0
- mlsys/tasks/rwb-classify-slot-free-busy-at-each-step/starter.py +16 -0
- mlsys/tasks/rwb-classify-slot-free-busy-at-each-step/task.md +91 -0
- mlsys/tasks/rwb-classify-static-vs-continuous-from-an-iteration-trace/check.py +34 -0
- mlsys/tasks/rwb-classify-static-vs-continuous-from-an-iteration-trace/fixtures/active.npy +0 -0
- mlsys/tasks/rwb-classify-static-vs-continuous-from-an-iteration-trace/fixtures/run_len.npy +0 -0
- mlsys/tasks/rwb-classify-static-vs-continuous-from-an-iteration-trace/gen_fixtures.py +100 -0
- mlsys/tasks/rwb-classify-static-vs-continuous-from-an-iteration-trace/meta.json +25 -0
- mlsys/tasks/rwb-classify-static-vs-continuous-from-an-iteration-trace/solution_ref.py +20 -0
- mlsys/tasks/rwb-classify-static-vs-continuous-from-an-iteration-trace/starter.py +10 -0
- mlsys/tasks/rwb-classify-static-vs-continuous-from-an-iteration-trace/task.md +83 -0
- mlsys/tasks/rwb-compute-block-chain-hashes/check.py +35 -0
- mlsys/tasks/rwb-compute-block-chain-hashes/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-compute-block-chain-hashes/meta.json +22 -0
- mlsys/tasks/rwb-compute-block-chain-hashes/solution_ref.py +22 -0
- mlsys/tasks/rwb-compute-block-chain-hashes/starter.py +4 -0
- mlsys/tasks/rwb-compute-block-chain-hashes/task.md +48 -0
- mlsys/tasks/rwb-concurrency-admitted-paged-vs-contiguous/check.py +46 -0
- mlsys/tasks/rwb-concurrency-admitted-paged-vs-contiguous/fixtures/seqlens.npy +0 -0
- mlsys/tasks/rwb-concurrency-admitted-paged-vs-contiguous/gen_fixtures.py +29 -0
- mlsys/tasks/rwb-concurrency-admitted-paged-vs-contiguous/meta.json +24 -0
- mlsys/tasks/rwb-concurrency-admitted-paged-vs-contiguous/solution_ref.py +14 -0
- mlsys/tasks/rwb-concurrency-admitted-paged-vs-contiguous/starter.py +16 -0
- mlsys/tasks/rwb-concurrency-admitted-paged-vs-contiguous/task.md +86 -0
- mlsys/tasks/rwb-constrained-vs-free-argmax-divergence/check.py +104 -0
- mlsys/tasks/rwb-constrained-vs-free-argmax-divergence/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-constrained-vs-free-argmax-divergence/meta.json +22 -0
- mlsys/tasks/rwb-constrained-vs-free-argmax-divergence/solution_ref.py +36 -0
- mlsys/tasks/rwb-constrained-vs-free-argmax-divergence/starter.py +15 -0
- mlsys/tasks/rwb-constrained-vs-free-argmax-divergence/task.md +82 -0
- mlsys/tasks/rwb-continuous-vs-static-throughput-on-one-trace/check.py +73 -0
- mlsys/tasks/rwb-continuous-vs-static-throughput-on-one-trace/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-continuous-vs-static-throughput-on-one-trace/meta.json +22 -0
- mlsys/tasks/rwb-continuous-vs-static-throughput-on-one-trace/solution_ref.py +15 -0
- mlsys/tasks/rwb-continuous-vs-static-throughput-on-one-trace/starter.py +19 -0
- mlsys/tasks/rwb-continuous-vs-static-throughput-on-one-trace/task.md +94 -0
- mlsys/tasks/rwb-debug-a-batcher-that-ignores-the-delay-cap/check.py +66 -0
- mlsys/tasks/rwb-debug-a-batcher-that-ignores-the-delay-cap/fixtures/arrivals.npy +0 -0
- mlsys/tasks/rwb-debug-a-batcher-that-ignores-the-delay-cap/gen_fixtures.py +24 -0
- mlsys/tasks/rwb-debug-a-batcher-that-ignores-the-delay-cap/meta.json +24 -0
- mlsys/tasks/rwb-debug-a-batcher-that-ignores-the-delay-cap/solution_ref.py +49 -0
- mlsys/tasks/rwb-debug-a-batcher-that-ignores-the-delay-cap/starter.py +39 -0
- mlsys/tasks/rwb-debug-a-batcher-that-ignores-the-delay-cap/task.md +78 -0
- mlsys/tasks/rwb-debug-a-hash-that-drops-the-parent-link/check.py +56 -0
- mlsys/tasks/rwb-debug-a-hash-that-drops-the-parent-link/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-a-hash-that-drops-the-parent-link/meta.json +22 -0
- mlsys/tasks/rwb-debug-a-hash-that-drops-the-parent-link/solution_ref.py +8 -0
- mlsys/tasks/rwb-debug-a-hash-that-drops-the-parent-link/starter.py +10 -0
- mlsys/tasks/rwb-debug-a-hash-that-drops-the-parent-link/task.md +58 -0
- mlsys/tasks/rwb-debug-a-mask-that-allows-early-eos/check.py +73 -0
- mlsys/tasks/rwb-debug-a-mask-that-allows-early-eos/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-a-mask-that-allows-early-eos/meta.json +22 -0
- mlsys/tasks/rwb-debug-a-mask-that-allows-early-eos/solution_ref.py +8 -0
- mlsys/tasks/rwb-debug-a-mask-that-allows-early-eos/starter.py +9 -0
- mlsys/tasks/rwb-debug-a-mask-that-allows-early-eos/task.md +74 -0
- mlsys/tasks/rwb-debug-a-mask-that-leaks-across-boundaries/check.py +59 -0
- mlsys/tasks/rwb-debug-a-mask-that-leaks-across-boundaries/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-a-mask-that-leaks-across-boundaries/meta.json +22 -0
- mlsys/tasks/rwb-debug-a-mask-that-leaks-across-boundaries/solution_ref.py +29 -0
- mlsys/tasks/rwb-debug-a-mask-that-leaks-across-boundaries/starter.py +26 -0
- mlsys/tasks/rwb-debug-a-mask-that-leaks-across-boundaries/task.md +72 -0
- mlsys/tasks/rwb-debug-a-merge-that-forgets-the-accumulator-rescale/check.py +59 -0
- mlsys/tasks/rwb-debug-a-merge-that-forgets-the-accumulator-rescale/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-a-merge-that-forgets-the-accumulator-rescale/meta.json +22 -0
- mlsys/tasks/rwb-debug-a-merge-that-forgets-the-accumulator-rescale/solution_ref.py +29 -0
- mlsys/tasks/rwb-debug-a-merge-that-forgets-the-accumulator-rescale/starter.py +24 -0
- mlsys/tasks/rwb-debug-a-merge-that-forgets-the-accumulator-rescale/task.md +78 -0
- mlsys/tasks/rwb-debug-a-missing-1-sqrt-d-scale/check.py +51 -0
- mlsys/tasks/rwb-debug-a-missing-1-sqrt-d-scale/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-a-missing-1-sqrt-d-scale/meta.json +22 -0
- mlsys/tasks/rwb-debug-a-missing-1-sqrt-d-scale/solution_ref.py +14 -0
- mlsys/tasks/rwb-debug-a-missing-1-sqrt-d-scale/starter.py +15 -0
- mlsys/tasks/rwb-debug-a-missing-1-sqrt-d-scale/task.md +77 -0
- mlsys/tasks/rwb-debug-a-packer-that-starves-decodes/check.py +27 -0
- mlsys/tasks/rwb-debug-a-packer-that-starves-decodes/fixtures/state.npy +0 -0
- mlsys/tasks/rwb-debug-a-packer-that-starves-decodes/gen_fixtures.py +46 -0
- mlsys/tasks/rwb-debug-a-packer-that-starves-decodes/meta.json +24 -0
- mlsys/tasks/rwb-debug-a-packer-that-starves-decodes/solution_ref.py +6 -0
- mlsys/tasks/rwb-debug-a-packer-that-starves-decodes/starter.py +9 -0
- mlsys/tasks/rwb-debug-a-packer-that-starves-decodes/task.md +65 -0
- mlsys/tasks/rwb-debug-a-scale-that-clips-outliers/check.py +37 -0
- mlsys/tasks/rwb-debug-a-scale-that-clips-outliers/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-a-scale-that-clips-outliers/meta.json +22 -0
- mlsys/tasks/rwb-debug-a-scale-that-clips-outliers/solution_ref.py +9 -0
- mlsys/tasks/rwb-debug-a-scale-that-clips-outliers/starter.py +12 -0
- mlsys/tasks/rwb-debug-a-scale-that-clips-outliers/task.md +61 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-never-frees-finished-slots/check.py +47 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-never-frees-finished-slots/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-never-frees-finished-slots/meta.json +22 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-never-frees-finished-slots/solution_ref.py +26 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-never-frees-finished-slots/starter.py +33 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-never-frees-finished-slots/task.md +61 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-overflows-np-slots/check.py +51 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-overflows-np-slots/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-overflows-np-slots/meta.json +22 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-overflows-np-slots/solution_ref.py +26 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-overflows-np-slots/starter.py +29 -0
- mlsys/tasks/rwb-debug-a-scheduler-that-overflows-np-slots/task.md +74 -0
- mlsys/tasks/rwb-debug-an-insert-that-never-splits-nodes/check.py +70 -0
- mlsys/tasks/rwb-debug-an-insert-that-never-splits-nodes/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-an-insert-that-never-splits-nodes/meta.json +22 -0
- mlsys/tasks/rwb-debug-an-insert-that-never-splits-nodes/solution_ref.py +47 -0
- mlsys/tasks/rwb-debug-an-insert-that-never-splits-nodes/starter.py +33 -0
- mlsys/tasks/rwb-debug-an-insert-that-never-splits-nodes/task.md +64 -0
- mlsys/tasks/rwb-debug-an-off-by-one-in-slot-mapping/check.py +49 -0
- mlsys/tasks/rwb-debug-an-off-by-one-in-slot-mapping/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-an-off-by-one-in-slot-mapping/meta.json +22 -0
- mlsys/tasks/rwb-debug-an-off-by-one-in-slot-mapping/solution_ref.py +26 -0
- mlsys/tasks/rwb-debug-an-off-by-one-in-slot-mapping/starter.py +27 -0
- mlsys/tasks/rwb-debug-an-off-by-one-in-slot-mapping/task.md +76 -0
- mlsys/tasks/rwb-debug-an-sgmv-segment-off-by-one/check.py +50 -0
- mlsys/tasks/rwb-debug-an-sgmv-segment-off-by-one/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-an-sgmv-segment-off-by-one/meta.json +22 -0
- mlsys/tasks/rwb-debug-an-sgmv-segment-off-by-one/solution_ref.py +10 -0
- mlsys/tasks/rwb-debug-an-sgmv-segment-off-by-one/starter.py +15 -0
- mlsys/tasks/rwb-debug-an-sgmv-segment-off-by-one/task.md +68 -0
- mlsys/tasks/rwb-debug-bucket-assignment-that-rounds-down/check.py +34 -0
- mlsys/tasks/rwb-debug-bucket-assignment-that-rounds-down/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-bucket-assignment-that-rounds-down/meta.json +22 -0
- mlsys/tasks/rwb-debug-bucket-assignment-that-rounds-down/solution_ref.py +9 -0
- mlsys/tasks/rwb-debug-bucket-assignment-that-rounds-down/starter.py +7 -0
- mlsys/tasks/rwb-debug-bucket-assignment-that-rounds-down/task.md +43 -0
- mlsys/tasks/rwb-debug-kv-byte-accounting-gqa-factor-of-2/check.py +76 -0
- mlsys/tasks/rwb-debug-kv-byte-accounting-gqa-factor-of-2/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-debug-kv-byte-accounting-gqa-factor-of-2/meta.json +22 -0
- mlsys/tasks/rwb-debug-kv-byte-accounting-gqa-factor-of-2/solution_ref.py +5 -0
- mlsys/tasks/rwb-debug-kv-byte-accounting-gqa-factor-of-2/starter.py +7 -0
- mlsys/tasks/rwb-debug-kv-byte-accounting-gqa-factor-of-2/task.md +67 -0
- mlsys/tasks/rwb-derive-minimum-max-num-seqs-to-hit-a-throughput-target/check.py +65 -0
- mlsys/tasks/rwb-derive-minimum-max-num-seqs-to-hit-a-throughput-target/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-derive-minimum-max-num-seqs-to-hit-a-throughput-target/meta.json +22 -0
- mlsys/tasks/rwb-derive-minimum-max-num-seqs-to-hit-a-throughput-target/solution_ref.py +14 -0
- mlsys/tasks/rwb-derive-minimum-max-num-seqs-to-hit-a-throughput-target/starter.py +2 -0
- mlsys/tasks/rwb-derive-minimum-max-num-seqs-to-hit-a-throughput-target/task.md +73 -0
- mlsys/tasks/rwb-detect-cross-sequence-leakage-in-a-mask/check.py +27 -0
- mlsys/tasks/rwb-detect-cross-sequence-leakage-in-a-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-detect-cross-sequence-leakage-in-a-mask/meta.json +22 -0
- mlsys/tasks/rwb-detect-cross-sequence-leakage-in-a-mask/solution_ref.py +8 -0
- mlsys/tasks/rwb-detect-cross-sequence-leakage-in-a-mask/starter.py +4 -0
- mlsys/tasks/rwb-detect-cross-sequence-leakage-in-a-mask/task.md +42 -0
- mlsys/tasks/rwb-detect-illegal-block-aliasing/check.py +105 -0
- mlsys/tasks/rwb-detect-illegal-block-aliasing/gen_fixtures.py +2 -0
- mlsys/tasks/rwb-detect-illegal-block-aliasing/meta.json +22 -0
- mlsys/tasks/rwb-detect-illegal-block-aliasing/solution_ref.py +38 -0
- mlsys/tasks/rwb-detect-illegal-block-aliasing/starter.py +24 -0
- mlsys/tasks/rwb-detect-illegal-block-aliasing/task.md +73 -0
- mlsys/tasks/rwb-does-the-string-parse-against-the-grammar/check.py +39 -0
- mlsys/tasks/rwb-does-the-string-parse-against-the-grammar/fixtures/strings.npy +0 -0
- mlsys/tasks/rwb-does-the-string-parse-against-the-grammar/gen_fixtures.py +31 -0
- mlsys/tasks/rwb-does-the-string-parse-against-the-grammar/meta.json +24 -0
- mlsys/tasks/rwb-does-the-string-parse-against-the-grammar/solution_ref.py +26 -0
- mlsys/tasks/rwb-does-the-string-parse-against-the-grammar/starter.py +9 -0
- mlsys/tasks/rwb-does-the-string-parse-against-the-grammar/task.md +65 -0
- mlsys/tasks/rwb-dp-optimal-bucket-selection-k-buckets/check.py +110 -0
- mlsys/tasks/rwb-dp-optimal-bucket-selection-k-buckets/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-dp-optimal-bucket-selection-k-buckets/meta.json +22 -0
- mlsys/tasks/rwb-dp-optimal-bucket-selection-k-buckets/solution_ref.py +50 -0
- mlsys/tasks/rwb-dp-optimal-bucket-selection-k-buckets/starter.py +16 -0
- mlsys/tasks/rwb-dp-optimal-bucket-selection-k-buckets/task.md +86 -0
- mlsys/tasks/rwb-dynamic-batcher-event-simulator/check.py +66 -0
- mlsys/tasks/rwb-dynamic-batcher-event-simulator/fixtures/arrivals.npy +0 -0
- mlsys/tasks/rwb-dynamic-batcher-event-simulator/gen_fixtures.py +23 -0
- mlsys/tasks/rwb-dynamic-batcher-event-simulator/meta.json +24 -0
- mlsys/tasks/rwb-dynamic-batcher-event-simulator/solution_ref.py +28 -0
- mlsys/tasks/rwb-dynamic-batcher-event-simulator/starter.py +15 -0
- mlsys/tasks/rwb-dynamic-batcher-event-simulator/task.md +76 -0
- mlsys/tasks/rwb-dynamic-splitfuse-budget-packer/check.py +85 -0
- mlsys/tasks/rwb-dynamic-splitfuse-budget-packer/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-dynamic-splitfuse-budget-packer/meta.json +22 -0
- mlsys/tasks/rwb-dynamic-splitfuse-budget-packer/solution_ref.py +47 -0
- mlsys/tasks/rwb-dynamic-splitfuse-budget-packer/starter.py +14 -0
- mlsys/tasks/rwb-dynamic-splitfuse-budget-packer/task.md +79 -0
- mlsys/tasks/rwb-e4m3-encode-decode-round-trip/check.py +83 -0
- mlsys/tasks/rwb-e4m3-encode-decode-round-trip/fixtures/x.npy +0 -0
- mlsys/tasks/rwb-e4m3-encode-decode-round-trip/gen_fixtures.py +58 -0
- mlsys/tasks/rwb-e4m3-encode-decode-round-trip/meta.json +25 -0
- mlsys/tasks/rwb-e4m3-encode-decode-round-trip/solution_ref.py +44 -0
- mlsys/tasks/rwb-e4m3-encode-decode-round-trip/starter.py +12 -0
- mlsys/tasks/rwb-e4m3-encode-decode-round-trip/task.md +75 -0
- mlsys/tasks/rwb-e5m2-vs-e4m3-dynamic-range/check.py +26 -0
- mlsys/tasks/rwb-e5m2-vs-e4m3-dynamic-range/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-e5m2-vs-e4m3-dynamic-range/meta.json +22 -0
- mlsys/tasks/rwb-e5m2-vs-e4m3-dynamic-range/solution_ref.py +15 -0
- mlsys/tasks/rwb-e5m2-vs-e4m3-dynamic-range/starter.py +2 -0
- mlsys/tasks/rwb-e5m2-vs-e4m3-dynamic-range/task.md +66 -0
- mlsys/tasks/rwb-enumerate-accepted-strings-up-to-length-l/check.py +35 -0
- mlsys/tasks/rwb-enumerate-accepted-strings-up-to-length-l/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-enumerate-accepted-strings-up-to-length-l/meta.json +22 -0
- mlsys/tasks/rwb-enumerate-accepted-strings-up-to-length-l/solution_ref.py +12 -0
- mlsys/tasks/rwb-enumerate-accepted-strings-up-to-length-l/starter.py +5 -0
- mlsys/tasks/rwb-enumerate-accepted-strings-up-to-length-l/task.md +52 -0
- mlsys/tasks/rwb-expected-acceptance-1-tv-p-q/check.py +63 -0
- mlsys/tasks/rwb-expected-acceptance-1-tv-p-q/fixtures/p.npy +0 -0
- mlsys/tasks/rwb-expected-acceptance-1-tv-p-q/fixtures/q.npy +0 -0
- mlsys/tasks/rwb-expected-acceptance-1-tv-p-q/gen_fixtures.py +39 -0
- mlsys/tasks/rwb-expected-acceptance-1-tv-p-q/meta.json +25 -0
- mlsys/tasks/rwb-expected-acceptance-1-tv-p-q/solution_ref.py +15 -0
- mlsys/tasks/rwb-expected-acceptance-1-tv-p-q/starter.py +13 -0
- mlsys/tasks/rwb-expected-acceptance-1-tv-p-q/task.md +80 -0
- mlsys/tasks/rwb-first-fit-decreasing-bin-packing-into-fixed-bins/check.py +72 -0
- mlsys/tasks/rwb-first-fit-decreasing-bin-packing-into-fixed-bins/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-first-fit-decreasing-bin-packing-into-fixed-bins/meta.json +22 -0
- mlsys/tasks/rwb-first-fit-decreasing-bin-packing-into-fixed-bins/solution_ref.py +38 -0
- mlsys/tasks/rwb-first-fit-decreasing-bin-packing-into-fixed-bins/starter.py +18 -0
- mlsys/tasks/rwb-first-fit-decreasing-bin-packing-into-fixed-bins/task.md +50 -0
- mlsys/tasks/rwb-fixed-slot-np-n-batched-decode-scheduler/check.py +77 -0
- mlsys/tasks/rwb-fixed-slot-np-n-batched-decode-scheduler/fixtures/arrivals.npy +0 -0
- mlsys/tasks/rwb-fixed-slot-np-n-batched-decode-scheduler/fixtures/gen_lens.npy +0 -0
- mlsys/tasks/rwb-fixed-slot-np-n-batched-decode-scheduler/gen_fixtures.py +23 -0
- mlsys/tasks/rwb-fixed-slot-np-n-batched-decode-scheduler/meta.json +25 -0
- mlsys/tasks/rwb-fixed-slot-np-n-batched-decode-scheduler/solution_ref.py +72 -0
- mlsys/tasks/rwb-fixed-slot-np-n-batched-decode-scheduler/starter.py +30 -0
- mlsys/tasks/rwb-fixed-slot-np-n-batched-decode-scheduler/task.md +65 -0
- mlsys/tasks/rwb-fork-branch-continuation-savings/check.py +108 -0
- mlsys/tasks/rwb-fork-branch-continuation-savings/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-fork-branch-continuation-savings/meta.json +22 -0
- mlsys/tasks/rwb-fork-branch-continuation-savings/solution_ref.py +44 -0
- mlsys/tasks/rwb-fork-branch-continuation-savings/starter.py +16 -0
- mlsys/tasks/rwb-fork-branch-continuation-savings/task.md +74 -0
- mlsys/tasks/rwb-fp16-vs-fp32-accumulation-error/check.py +80 -0
- mlsys/tasks/rwb-fp16-vs-fp32-accumulation-error/fixtures/k.npy +0 -0
- mlsys/tasks/rwb-fp16-vs-fp32-accumulation-error/fixtures/q.npy +0 -0
- mlsys/tasks/rwb-fp16-vs-fp32-accumulation-error/fixtures/v.npy +0 -0
- mlsys/tasks/rwb-fp16-vs-fp32-accumulation-error/gen_fixtures.py +26 -0
- mlsys/tasks/rwb-fp16-vs-fp32-accumulation-error/meta.json +26 -0
- mlsys/tasks/rwb-fp16-vs-fp32-accumulation-error/solution_ref.py +61 -0
- mlsys/tasks/rwb-fp16-vs-fp32-accumulation-error/starter.py +17 -0
- mlsys/tasks/rwb-fp16-vs-fp32-accumulation-error/task.md +101 -0
- mlsys/tasks/rwb-goodput-colocated-vs-disaggregated-under-slo/check.py +61 -0
- mlsys/tasks/rwb-goodput-colocated-vs-disaggregated-under-slo/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-goodput-colocated-vs-disaggregated-under-slo/meta.json +22 -0
- mlsys/tasks/rwb-goodput-colocated-vs-disaggregated-under-slo/solution_ref.py +71 -0
- mlsys/tasks/rwb-goodput-colocated-vs-disaggregated-under-slo/starter.py +17 -0
- mlsys/tasks/rwb-goodput-colocated-vs-disaggregated-under-slo/task.md +81 -0
- mlsys/tasks/rwb-gqa-mqa-broadcast-attention/check.py +65 -0
- mlsys/tasks/rwb-gqa-mqa-broadcast-attention/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-gqa-mqa-broadcast-attention/meta.json +22 -0
- mlsys/tasks/rwb-gqa-mqa-broadcast-attention/solution_ref.py +20 -0
- mlsys/tasks/rwb-gqa-mqa-broadcast-attention/starter.py +16 -0
- mlsys/tasks/rwb-gqa-mqa-broadcast-attention/task.md +74 -0
- mlsys/tasks/rwb-group-batch-rows-into-adapter-segments/check.py +30 -0
- mlsys/tasks/rwb-group-batch-rows-into-adapter-segments/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-group-batch-rows-into-adapter-segments/meta.json +22 -0
- mlsys/tasks/rwb-group-batch-rows-into-adapter-segments/solution_ref.py +27 -0
- mlsys/tasks/rwb-group-batch-rows-into-adapter-segments/starter.py +4 -0
- mlsys/tasks/rwb-group-batch-rows-into-adapter-segments/task.md +69 -0
- mlsys/tasks/rwb-internal-fragmentation-paged-vs-contiguous-pre-alloc/check.py +57 -0
- mlsys/tasks/rwb-internal-fragmentation-paged-vs-contiguous-pre-alloc/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-internal-fragmentation-paged-vs-contiguous-pre-alloc/meta.json +27 -0
- mlsys/tasks/rwb-internal-fragmentation-paged-vs-contiguous-pre-alloc/solution_ref.py +14 -0
- mlsys/tasks/rwb-internal-fragmentation-paged-vs-contiguous-pre-alloc/starter.py +10 -0
- mlsys/tasks/rwb-internal-fragmentation-paged-vs-contiguous-pre-alloc/task.md +73 -0
- mlsys/tasks/rwb-json-subset-pushdown-automaton-mask/check.py +154 -0
- mlsys/tasks/rwb-json-subset-pushdown-automaton-mask/fixtures/lengths.npy +0 -0
- mlsys/tasks/rwb-json-subset-pushdown-automaton-mask/fixtures/prefixes.npy +0 -0
- mlsys/tasks/rwb-json-subset-pushdown-automaton-mask/gen_fixtures.py +90 -0
- mlsys/tasks/rwb-json-subset-pushdown-automaton-mask/meta.json +25 -0
- mlsys/tasks/rwb-json-subset-pushdown-automaton-mask/solution_ref.py +140 -0
- mlsys/tasks/rwb-json-subset-pushdown-automaton-mask/starter.py +11 -0
- mlsys/tasks/rwb-json-subset-pushdown-automaton-mask/task.md +78 -0
- mlsys/tasks/rwb-k-4-vs-k-8-waste-tradeoff/check.py +85 -0
- mlsys/tasks/rwb-k-4-vs-k-8-waste-tradeoff/fixtures/counts.npy +0 -0
- mlsys/tasks/rwb-k-4-vs-k-8-waste-tradeoff/fixtures/sizes.npy +0 -0
- mlsys/tasks/rwb-k-4-vs-k-8-waste-tradeoff/gen_fixtures.py +32 -0
- mlsys/tasks/rwb-k-4-vs-k-8-waste-tradeoff/meta.json +25 -0
- mlsys/tasks/rwb-k-4-vs-k-8-waste-tradeoff/solution_ref.py +50 -0
- mlsys/tasks/rwb-k-4-vs-k-8-waste-tradeoff/starter.py +26 -0
- mlsys/tasks/rwb-k-4-vs-k-8-waste-tradeoff/task.md +88 -0
- mlsys/tasks/rwb-kv-cache-transfer-bytes-for-a-request/check.py +25 -0
- mlsys/tasks/rwb-kv-cache-transfer-bytes-for-a-request/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-kv-cache-transfer-bytes-for-a-request/meta.json +22 -0
- mlsys/tasks/rwb-kv-cache-transfer-bytes-for-a-request/solution_ref.py +12 -0
- mlsys/tasks/rwb-kv-cache-transfer-bytes-for-a-request/starter.py +2 -0
- mlsys/tasks/rwb-kv-cache-transfer-bytes-for-a-request/task.md +52 -0
- mlsys/tasks/rwb-kv-memory-and-max-concurrency-fp8-vs-fp16/check.py +75 -0
- mlsys/tasks/rwb-kv-memory-and-max-concurrency-fp8-vs-fp16/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-kv-memory-and-max-concurrency-fp8-vs-fp16/meta.json +22 -0
- mlsys/tasks/rwb-kv-memory-and-max-concurrency-fp8-vs-fp16/solution_ref.py +15 -0
- mlsys/tasks/rwb-kv-memory-and-max-concurrency-fp8-vs-fp16/starter.py +14 -0
- mlsys/tasks/rwb-kv-memory-and-max-concurrency-fp8-vs-fp16/task.md +69 -0
- mlsys/tasks/rwb-kv-memory-for-n-contiguous-slots/check.py +38 -0
- mlsys/tasks/rwb-kv-memory-for-n-contiguous-slots/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-kv-memory-for-n-contiguous-slots/meta.json +22 -0
- mlsys/tasks/rwb-kv-memory-for-n-contiguous-slots/solution_ref.py +21 -0
- mlsys/tasks/rwb-kv-memory-for-n-contiguous-slots/starter.py +5 -0
- mlsys/tasks/rwb-kv-memory-for-n-contiguous-slots/task.md +66 -0
- mlsys/tasks/rwb-launch-overhead-step-time-model/check.py +40 -0
- mlsys/tasks/rwb-launch-overhead-step-time-model/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-launch-overhead-step-time-model/meta.json +22 -0
- mlsys/tasks/rwb-launch-overhead-step-time-model/solution_ref.py +24 -0
- mlsys/tasks/rwb-launch-overhead-step-time-model/starter.py +21 -0
- mlsys/tasks/rwb-launch-overhead-step-time-model/task.md +73 -0
- mlsys/tasks/rwb-longest-cached-prefix-length-for-a-new-request/check.py +81 -0
- mlsys/tasks/rwb-longest-cached-prefix-length-for-a-new-request/fixtures/cached_hashes.npy +0 -0
- mlsys/tasks/rwb-longest-cached-prefix-length-for-a-new-request/fixtures/new_tokens.npy +0 -0
- mlsys/tasks/rwb-longest-cached-prefix-length-for-a-new-request/gen_fixtures.py +65 -0
- mlsys/tasks/rwb-longest-cached-prefix-length-for-a-new-request/meta.json +25 -0
- mlsys/tasks/rwb-longest-cached-prefix-length-for-a-new-request/solution_ref.py +45 -0
- mlsys/tasks/rwb-longest-cached-prefix-length-for-a-new-request/starter.py +35 -0
- mlsys/tasks/rwb-longest-cached-prefix-length-for-a-new-request/task.md +83 -0
- mlsys/tasks/rwb-longest-match-length-of-a-query-against-the-tree/check.py +76 -0
- mlsys/tasks/rwb-longest-match-length-of-a-query-against-the-tree/gen_fixtures.py +65 -0
- mlsys/tasks/rwb-longest-match-length-of-a-query-against-the-tree/meta.json +22 -0
- mlsys/tasks/rwb-longest-match-length-of-a-query-against-the-tree/solution_ref.py +11 -0
- mlsys/tasks/rwb-longest-match-length-of-a-query-against-the-tree/starter.py +3 -0
- mlsys/tasks/rwb-longest-match-length-of-a-query-against-the-tree/task.md +62 -0
- mlsys/tasks/rwb-lora-flops-factored-vs-merged/check.py +42 -0
- mlsys/tasks/rwb-lora-flops-factored-vs-merged/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-lora-flops-factored-vs-merged/meta.json +22 -0
- mlsys/tasks/rwb-lora-flops-factored-vs-merged/solution_ref.py +18 -0
- mlsys/tasks/rwb-lora-flops-factored-vs-merged/starter.py +2 -0
- mlsys/tasks/rwb-lora-flops-factored-vs-merged/task.md +88 -0
- mlsys/tasks/rwb-lru-eviction-on-the-radix-tree-under-capacity/check.py +144 -0
- mlsys/tasks/rwb-lru-eviction-on-the-radix-tree-under-capacity/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-lru-eviction-on-the-radix-tree-under-capacity/meta.json +22 -0
- mlsys/tasks/rwb-lru-eviction-on-the-radix-tree-under-capacity/solution_ref.py +42 -0
- mlsys/tasks/rwb-lru-eviction-on-the-radix-tree-under-capacity/starter.py +20 -0
- mlsys/tasks/rwb-lru-eviction-on-the-radix-tree-under-capacity/task.md +102 -0
- mlsys/tasks/rwb-mask-density-over-a-constrained-decode/check.py +63 -0
- mlsys/tasks/rwb-mask-density-over-a-constrained-decode/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-mask-density-over-a-constrained-decode/meta.json +22 -0
- mlsys/tasks/rwb-mask-density-over-a-constrained-decode/solution_ref.py +11 -0
- mlsys/tasks/rwb-mask-density-over-a-constrained-decode/starter.py +4 -0
- mlsys/tasks/rwb-mask-density-over-a-constrained-decode/task.md +79 -0
- mlsys/tasks/rwb-max-prefill-tokens-in-any-step-itl-proxy/check.py +89 -0
- mlsys/tasks/rwb-max-prefill-tokens-in-any-step-itl-proxy/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-max-prefill-tokens-in-any-step-itl-proxy/meta.json +22 -0
- mlsys/tasks/rwb-max-prefill-tokens-in-any-step-itl-proxy/solution_ref.py +52 -0
- mlsys/tasks/rwb-max-prefill-tokens-in-any-step-itl-proxy/starter.py +25 -0
- mlsys/tasks/rwb-max-prefill-tokens-in-any-step-itl-proxy/task.md +84 -0
- mlsys/tasks/rwb-mean-added-queue-latency/check.py +82 -0
- mlsys/tasks/rwb-mean-added-queue-latency/fixtures/arrivals.npy +0 -0
- mlsys/tasks/rwb-mean-added-queue-latency/gen_fixtures.py +29 -0
- mlsys/tasks/rwb-mean-added-queue-latency/meta.json +24 -0
- mlsys/tasks/rwb-mean-added-queue-latency/solution_ref.py +37 -0
- mlsys/tasks/rwb-mean-added-queue-latency/starter.py +20 -0
- mlsys/tasks/rwb-mean-added-queue-latency/task.md +79 -0
- mlsys/tasks/rwb-measure-padding-waste-of-static-batching/check.py +34 -0
- mlsys/tasks/rwb-measure-padding-waste-of-static-batching/fixtures/batch_ids.npy +0 -0
- mlsys/tasks/rwb-measure-padding-waste-of-static-batching/fixtures/lens.npy +0 -0
- mlsys/tasks/rwb-measure-padding-waste-of-static-batching/gen_fixtures.py +34 -0
- mlsys/tasks/rwb-measure-padding-waste-of-static-batching/meta.json +25 -0
- mlsys/tasks/rwb-measure-padding-waste-of-static-batching/solution_ref.py +32 -0
- mlsys/tasks/rwb-measure-padding-waste-of-static-batching/starter.py +15 -0
- mlsys/tasks/rwb-measure-padding-waste-of-static-batching/task.md +63 -0
- mlsys/tasks/rwb-memory-n-adapters-vs-n-full-models/check.py +39 -0
- mlsys/tasks/rwb-memory-n-adapters-vs-n-full-models/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-memory-n-adapters-vs-n-full-models/meta.json +22 -0
- mlsys/tasks/rwb-memory-n-adapters-vs-n-full-models/solution_ref.py +13 -0
- mlsys/tasks/rwb-memory-n-adapters-vs-n-full-models/starter.py +10 -0
- mlsys/tasks/rwb-memory-n-adapters-vs-n-full-models/task.md +74 -0
- mlsys/tasks/rwb-min-delay-cap-meeting-a-p99-latency-slo/check.py +96 -0
- mlsys/tasks/rwb-min-delay-cap-meeting-a-p99-latency-slo/fixtures/arrivals.npy +0 -0
- mlsys/tasks/rwb-min-delay-cap-meeting-a-p99-latency-slo/gen_fixtures.py +24 -0
- mlsys/tasks/rwb-min-delay-cap-meeting-a-p99-latency-slo/meta.json +24 -0
- mlsys/tasks/rwb-min-delay-cap-meeting-a-p99-latency-slo/solution_ref.py +86 -0
- mlsys/tasks/rwb-min-delay-cap-meeting-a-p99-latency-slo/starter.py +26 -0
- mlsys/tasks/rwb-min-delay-cap-meeting-a-p99-latency-slo/task.md +89 -0
- mlsys/tasks/rwb-mixed-rank-sgmv/check.py +66 -0
- mlsys/tasks/rwb-mixed-rank-sgmv/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-mixed-rank-sgmv/meta.json +22 -0
- mlsys/tasks/rwb-mixed-rank-sgmv/solution_ref.py +10 -0
- mlsys/tasks/rwb-mixed-rank-sgmv/starter.py +4 -0
- mlsys/tasks/rwb-mixed-rank-sgmv/task.md +74 -0
- mlsys/tasks/rwb-modified-rejection-sampling-accept-step/check.py +56 -0
- mlsys/tasks/rwb-modified-rejection-sampling-accept-step/fixtures/draft_token_ids.npy +0 -0
- mlsys/tasks/rwb-modified-rejection-sampling-accept-step/fixtures/p.npy +0 -0
- mlsys/tasks/rwb-modified-rejection-sampling-accept-step/fixtures/q.npy +0 -0
- mlsys/tasks/rwb-modified-rejection-sampling-accept-step/fixtures/u_stream.npy +0 -0
- mlsys/tasks/rwb-modified-rejection-sampling-accept-step/gen_fixtures.py +49 -0
- mlsys/tasks/rwb-modified-rejection-sampling-accept-step/meta.json +27 -0
- mlsys/tasks/rwb-modified-rejection-sampling-accept-step/solution_ref.py +34 -0
- mlsys/tasks/rwb-modified-rejection-sampling-accept-step/starter.py +21 -0
- mlsys/tasks/rwb-modified-rejection-sampling-accept-step/task.md +87 -0
- mlsys/tasks/rwb-multi-token-block-verify-with-bonus-sample/check.py +78 -0
- mlsys/tasks/rwb-multi-token-block-verify-with-bonus-sample/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-multi-token-block-verify-with-bonus-sample/meta.json +22 -0
- mlsys/tasks/rwb-multi-token-block-verify-with-bonus-sample/solution_ref.py +36 -0
- mlsys/tasks/rwb-multi-token-block-verify-with-bonus-sample/starter.py +2 -0
- mlsys/tasks/rwb-multi-token-block-verify-with-bonus-sample/task.md +68 -0
- mlsys/tasks/rwb-n-gram-prompt-lookup-proposer/check.py +47 -0
- mlsys/tasks/rwb-n-gram-prompt-lookup-proposer/fixtures/sequence.npy +0 -0
- mlsys/tasks/rwb-n-gram-prompt-lookup-proposer/gen_fixtures.py +47 -0
- mlsys/tasks/rwb-n-gram-prompt-lookup-proposer/meta.json +24 -0
- mlsys/tasks/rwb-n-gram-prompt-lookup-proposer/solution_ref.py +33 -0
- mlsys/tasks/rwb-n-gram-prompt-lookup-proposer/starter.py +16 -0
- mlsys/tasks/rwb-n-gram-prompt-lookup-proposer/task.md +69 -0
- mlsys/tasks/rwb-naive-exp-sum-merge-vs-lse-merge-stability/check.py +99 -0
- mlsys/tasks/rwb-naive-exp-sum-merge-vs-lse-merge-stability/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-naive-exp-sum-merge-vs-lse-merge-stability/meta.json +28 -0
- mlsys/tasks/rwb-naive-exp-sum-merge-vs-lse-merge-stability/solution_ref.py +69 -0
- mlsys/tasks/rwb-naive-exp-sum-merge-vs-lse-merge-stability/starter.py +20 -0
- mlsys/tasks/rwb-naive-exp-sum-merge-vs-lse-merge-stability/task.md +81 -0
- mlsys/tasks/rwb-naive-sdpa-reference/check.py +29 -0
- mlsys/tasks/rwb-naive-sdpa-reference/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-naive-sdpa-reference/meta.json +22 -0
- mlsys/tasks/rwb-naive-sdpa-reference/solution_ref.py +9 -0
- mlsys/tasks/rwb-naive-sdpa-reference/starter.py +4 -0
- mlsys/tasks/rwb-naive-sdpa-reference/task.md +47 -0
- mlsys/tasks/rwb-order-invariance-of-the-merge/check.py +66 -0
- mlsys/tasks/rwb-order-invariance-of-the-merge/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-order-invariance-of-the-merge/meta.json +27 -0
- mlsys/tasks/rwb-order-invariance-of-the-merge/solution_ref.py +16 -0
- mlsys/tasks/rwb-order-invariance-of-the-merge/starter.py +4 -0
- mlsys/tasks/rwb-order-invariance-of-the-merge/task.md +67 -0
- mlsys/tasks/rwb-p-d-worker-ratio-for-a-balanced-pipeline/check.py +33 -0
- mlsys/tasks/rwb-p-d-worker-ratio-for-a-balanced-pipeline/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-p-d-worker-ratio-for-a-balanced-pipeline/meta.json +22 -0
- mlsys/tasks/rwb-p-d-worker-ratio-for-a-balanced-pipeline/solution_ref.py +9 -0
- mlsys/tasks/rwb-p-d-worker-ratio-for-a-balanced-pipeline/starter.py +2 -0
- mlsys/tasks/rwb-p-d-worker-ratio-for-a-balanced-pipeline/task.md +68 -0
- mlsys/tasks/rwb-pack-a-llama-batch-tokens-pos-seq-id/check.py +87 -0
- mlsys/tasks/rwb-pack-a-llama-batch-tokens-pos-seq-id/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-pack-a-llama-batch-tokens-pos-seq-id/meta.json +22 -0
- mlsys/tasks/rwb-pack-a-llama-batch-tokens-pos-seq-id/solution_ref.py +21 -0
- mlsys/tasks/rwb-pack-a-llama-batch-tokens-pos-seq-id/starter.py +3 -0
- mlsys/tasks/rwb-pack-a-llama-batch-tokens-pos-seq-id/task.md +94 -0
- mlsys/tasks/rwb-padding-waste-eliminated-by-packing/check.py +30 -0
- mlsys/tasks/rwb-padding-waste-eliminated-by-packing/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-padding-waste-eliminated-by-packing/meta.json +22 -0
- mlsys/tasks/rwb-padding-waste-eliminated-by-packing/solution_ref.py +27 -0
- mlsys/tasks/rwb-padding-waste-eliminated-by-packing/starter.py +5 -0
- mlsys/tasks/rwb-padding-waste-eliminated-by-packing/task.md +34 -0
- mlsys/tasks/rwb-paged-block-allocator-over-an-arrival-free-trace/check.py +104 -0
- mlsys/tasks/rwb-paged-block-allocator-over-an-arrival-free-trace/fixtures/arrive_t.npy +0 -0
- mlsys/tasks/rwb-paged-block-allocator-over-an-arrival-free-trace/fixtures/depart_t.npy +0 -0
- mlsys/tasks/rwb-paged-block-allocator-over-an-arrival-free-trace/fixtures/seq_len.npy +0 -0
- mlsys/tasks/rwb-paged-block-allocator-over-an-arrival-free-trace/gen_fixtures.py +38 -0
- mlsys/tasks/rwb-paged-block-allocator-over-an-arrival-free-trace/meta.json +26 -0
- mlsys/tasks/rwb-paged-block-allocator-over-an-arrival-free-trace/solution_ref.py +56 -0
- mlsys/tasks/rwb-paged-block-allocator-over-an-arrival-free-trace/starter.py +32 -0
- mlsys/tasks/rwb-paged-block-allocator-over-an-arrival-free-trace/task.md +100 -0
- mlsys/tasks/rwb-peak-aggregate-kv-transfer-bandwidth/check.py +103 -0
- mlsys/tasks/rwb-peak-aggregate-kv-transfer-bandwidth/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-peak-aggregate-kv-transfer-bandwidth/meta.json +22 -0
- mlsys/tasks/rwb-peak-aggregate-kv-transfer-bandwidth/solution_ref.py +33 -0
- mlsys/tasks/rwb-peak-aggregate-kv-transfer-bandwidth/starter.py +19 -0
- mlsys/tasks/rwb-peak-aggregate-kv-transfer-bandwidth/task.md +75 -0
- mlsys/tasks/rwb-per-head-absmax-scaling/check.py +99 -0
- mlsys/tasks/rwb-per-head-absmax-scaling/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-per-head-absmax-scaling/meta.json +22 -0
- mlsys/tasks/rwb-per-head-absmax-scaling/solution_ref.py +50 -0
- mlsys/tasks/rwb-per-head-absmax-scaling/starter.py +18 -0
- mlsys/tasks/rwb-per-head-absmax-scaling/task.md +77 -0
- mlsys/tasks/rwb-per-tensor-kv-reconstruction-mse/check.py +60 -0
- mlsys/tasks/rwb-per-tensor-kv-reconstruction-mse/fixtures/k.npy +0 -0
- mlsys/tasks/rwb-per-tensor-kv-reconstruction-mse/fixtures/v.npy +0 -0
- mlsys/tasks/rwb-per-tensor-kv-reconstruction-mse/gen_fixtures.py +33 -0
- mlsys/tasks/rwb-per-tensor-kv-reconstruction-mse/meta.json +25 -0
- mlsys/tasks/rwb-per-tensor-kv-reconstruction-mse/solution_ref.py +43 -0
- mlsys/tasks/rwb-per-tensor-kv-reconstruction-mse/starter.py +13 -0
- mlsys/tasks/rwb-per-tensor-kv-reconstruction-mse/task.md +68 -0
- mlsys/tasks/rwb-per-tensor-vs-per-head-attention-output-delta/check.py +77 -0
- mlsys/tasks/rwb-per-tensor-vs-per-head-attention-output-delta/fixtures/k.npy +0 -0
- mlsys/tasks/rwb-per-tensor-vs-per-head-attention-output-delta/fixtures/q.npy +0 -0
- mlsys/tasks/rwb-per-tensor-vs-per-head-attention-output-delta/fixtures/v.npy +0 -0
- mlsys/tasks/rwb-per-tensor-vs-per-head-attention-output-delta/gen_fixtures.py +35 -0
- mlsys/tasks/rwb-per-tensor-vs-per-head-attention-output-delta/meta.json +26 -0
- mlsys/tasks/rwb-per-tensor-vs-per-head-attention-output-delta/solution_ref.py +61 -0
- mlsys/tasks/rwb-per-tensor-vs-per-head-attention-output-delta/starter.py +19 -0
- mlsys/tasks/rwb-per-tensor-vs-per-head-attention-output-delta/task.md +87 -0
- mlsys/tasks/rwb-preferred-batch-size-a-vs-b/check.py +106 -0
- mlsys/tasks/rwb-preferred-batch-size-a-vs-b/fixtures/arrivals.npy +0 -0
- mlsys/tasks/rwb-preferred-batch-size-a-vs-b/gen_fixtures.py +30 -0
- mlsys/tasks/rwb-preferred-batch-size-a-vs-b/meta.json +24 -0
- mlsys/tasks/rwb-preferred-batch-size-a-vs-b/solution_ref.py +85 -0
- mlsys/tasks/rwb-preferred-batch-size-a-vs-b/starter.py +25 -0
- mlsys/tasks/rwb-preferred-batch-size-a-vs-b/task.md +82 -0
- mlsys/tasks/rwb-prefill-chunk-count-for-a-fixed-budget/check.py +32 -0
- mlsys/tasks/rwb-prefill-chunk-count-for-a-fixed-budget/fixtures/prompt_lens.npy +0 -0
- mlsys/tasks/rwb-prefill-chunk-count-for-a-fixed-budget/gen_fixtures.py +24 -0
- mlsys/tasks/rwb-prefill-chunk-count-for-a-fixed-budget/meta.json +24 -0
- mlsys/tasks/rwb-prefill-chunk-count-for-a-fixed-budget/solution_ref.py +9 -0
- mlsys/tasks/rwb-prefill-chunk-count-for-a-fixed-budget/starter.py +9 -0
- mlsys/tasks/rwb-prefill-chunk-count-for-a-fixed-budget/task.md +57 -0
- mlsys/tasks/rwb-prefill-flops-saved-by-apc/check.py +30 -0
- mlsys/tasks/rwb-prefill-flops-saved-by-apc/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-prefill-flops-saved-by-apc/meta.json +22 -0
- mlsys/tasks/rwb-prefill-flops-saved-by-apc/solution_ref.py +21 -0
- mlsys/tasks/rwb-prefill-flops-saved-by-apc/starter.py +4 -0
- mlsys/tasks/rwb-prefill-flops-saved-by-apc/task.md +47 -0
- mlsys/tasks/rwb-prefix-cache-hit-rate-over-a-request-stream/check.py +100 -0
- mlsys/tasks/rwb-prefix-cache-hit-rate-over-a-request-stream/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-prefix-cache-hit-rate-over-a-request-stream/meta.json +22 -0
- mlsys/tasks/rwb-prefix-cache-hit-rate-over-a-request-stream/solution_ref.py +41 -0
- mlsys/tasks/rwb-prefix-cache-hit-rate-over-a-request-stream/starter.py +20 -0
- mlsys/tasks/rwb-prefix-cache-hit-rate-over-a-request-stream/task.md +72 -0
- mlsys/tasks/rwb-radix-token-level-vs-block-level-reuse/check.py +109 -0
- mlsys/tasks/rwb-radix-token-level-vs-block-level-reuse/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-radix-token-level-vs-block-level-reuse/meta.json +22 -0
- mlsys/tasks/rwb-radix-token-level-vs-block-level-reuse/solution_ref.py +20 -0
- mlsys/tasks/rwb-radix-token-level-vs-block-level-reuse/starter.py +15 -0
- mlsys/tasks/rwb-radix-token-level-vs-block-level-reuse/task.md +81 -0
- mlsys/tasks/rwb-radix-tree-insert-with-node-split/check.py +77 -0
- mlsys/tasks/rwb-radix-tree-insert-with-node-split/fixtures/run_id.npy +0 -0
- mlsys/tasks/rwb-radix-tree-insert-with-node-split/fixtures/seq_lens.npy +0 -0
- mlsys/tasks/rwb-radix-tree-insert-with-node-split/fixtures/seqs.npy +0 -0
- mlsys/tasks/rwb-radix-tree-insert-with-node-split/gen_fixtures.py +67 -0
- mlsys/tasks/rwb-radix-tree-insert-with-node-split/meta.json +26 -0
- mlsys/tasks/rwb-radix-tree-insert-with-node-split/solution_ref.py +53 -0
- mlsys/tasks/rwb-radix-tree-insert-with-node-split/starter.py +7 -0
- mlsys/tasks/rwb-radix-tree-insert-with-node-split/task.md +77 -0
- mlsys/tasks/rwb-rank-r-lora-vs-full-delta-approximation/check.py +67 -0
- mlsys/tasks/rwb-rank-r-lora-vs-full-delta-approximation/fixtures/A0.npy +0 -0
- mlsys/tasks/rwb-rank-r-lora-vs-full-delta-approximation/fixtures/B0.npy +0 -0
- mlsys/tasks/rwb-rank-r-lora-vs-full-delta-approximation/fixtures/W.npy +0 -0
- mlsys/tasks/rwb-rank-r-lora-vs-full-delta-approximation/gen_fixtures.py +35 -0
- mlsys/tasks/rwb-rank-r-lora-vs-full-delta-approximation/meta.json +31 -0
- mlsys/tasks/rwb-rank-r-lora-vs-full-delta-approximation/solution_ref.py +47 -0
- mlsys/tasks/rwb-rank-r-lora-vs-full-delta-approximation/starter.py +28 -0
- mlsys/tasks/rwb-rank-r-lora-vs-full-delta-approximation/task.md +80 -0
- mlsys/tasks/rwb-reconstruct-global-attention-weights-from-per-chunk-lse/check.py +60 -0
- mlsys/tasks/rwb-reconstruct-global-attention-weights-from-per-chunk-lse/fixtures/chunk_lse.npy +0 -0
- mlsys/tasks/rwb-reconstruct-global-attention-weights-from-per-chunk-lse/fixtures/chunk_partial_out.npy +0 -0
- mlsys/tasks/rwb-reconstruct-global-attention-weights-from-per-chunk-lse/fixtures/chunk_scores.npy +0 -0
- mlsys/tasks/rwb-reconstruct-global-attention-weights-from-per-chunk-lse/gen_fixtures.py +44 -0
- mlsys/tasks/rwb-reconstruct-global-attention-weights-from-per-chunk-lse/meta.json +26 -0
- mlsys/tasks/rwb-reconstruct-global-attention-weights-from-per-chunk-lse/solution_ref.py +33 -0
- mlsys/tasks/rwb-reconstruct-global-attention-weights-from-per-chunk-lse/starter.py +30 -0
- mlsys/tasks/rwb-reconstruct-global-attention-weights-from-per-chunk-lse/task.md +95 -0
- mlsys/tasks/rwb-regex-fsm-allowed-token-mask/check.py +80 -0
- mlsys/tasks/rwb-regex-fsm-allowed-token-mask/gen_fixtures.py +2 -0
- mlsys/tasks/rwb-regex-fsm-allowed-token-mask/meta.json +22 -0
- mlsys/tasks/rwb-regex-fsm-allowed-token-mask/solution_ref.py +41 -0
- mlsys/tasks/rwb-regex-fsm-allowed-token-mask/starter.py +8 -0
- mlsys/tasks/rwb-regex-fsm-allowed-token-mask/task.md +78 -0
- mlsys/tasks/rwb-reset-rope-position-ids-at-boundaries/check.py +63 -0
- mlsys/tasks/rwb-reset-rope-position-ids-at-boundaries/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-reset-rope-position-ids-at-boundaries/meta.json +22 -0
- mlsys/tasks/rwb-reset-rope-position-ids-at-boundaries/solution_ref.py +40 -0
- mlsys/tasks/rwb-reset-rope-position-ids-at-boundaries/starter.py +10 -0
- mlsys/tasks/rwb-reset-rope-position-ids-at-boundaries/task.md +83 -0
- mlsys/tasks/rwb-round-a-batch-up-to-the-nearest-captured-bucket/check.py +34 -0
- mlsys/tasks/rwb-round-a-batch-up-to-the-nearest-captured-bucket/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-round-a-batch-up-to-the-nearest-captured-bucket/meta.json +22 -0
- mlsys/tasks/rwb-round-a-batch-up-to-the-nearest-captured-bucket/solution_ref.py +18 -0
- mlsys/tasks/rwb-round-a-batch-up-to-the-nearest-captured-bucket/starter.py +2 -0
- mlsys/tasks/rwb-round-a-batch-up-to-the-nearest-captured-bucket/task.md +54 -0
- mlsys/tasks/rwb-route-requests-to-prefill-decode-pools/check.py +128 -0
- mlsys/tasks/rwb-route-requests-to-prefill-decode-pools/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-route-requests-to-prefill-decode-pools/meta.json +22 -0
- mlsys/tasks/rwb-route-requests-to-prefill-decode-pools/solution_ref.py +51 -0
- mlsys/tasks/rwb-route-requests-to-prefill-decode-pools/starter.py +32 -0
- mlsys/tasks/rwb-route-requests-to-prefill-decode-pools/task.md +91 -0
- mlsys/tasks/rwb-s-way-split-kv-merge/check.py +65 -0
- mlsys/tasks/rwb-s-way-split-kv-merge/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-s-way-split-kv-merge/meta.json +22 -0
- mlsys/tasks/rwb-s-way-split-kv-merge/solution_ref.py +15 -0
- mlsys/tasks/rwb-s-way-split-kv-merge/starter.py +19 -0
- mlsys/tasks/rwb-s-way-split-kv-merge/task.md +85 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/check.py +50 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/fixtures/A_bank.npy +0 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/fixtures/B_bank.npy +0 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/fixtures/adapter_id.npy +0 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/fixtures/scale.npy +0 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/fixtures/x.npy +0 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/gen_fixtures.py +31 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/meta.json +28 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/solution_ref.py +39 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/starter.py +23 -0
- mlsys/tasks/rwb-sgmv-per-row-adapter-selection/task.md +76 -0
- mlsys/tasks/rwb-shared-prefix-block-table-copy-on-write/check.py +95 -0
- mlsys/tasks/rwb-shared-prefix-block-table-copy-on-write/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-shared-prefix-block-table-copy-on-write/meta.json +22 -0
- mlsys/tasks/rwb-shared-prefix-block-table-copy-on-write/solution_ref.py +54 -0
- mlsys/tasks/rwb-shared-prefix-block-table-copy-on-write/starter.py +26 -0
- mlsys/tasks/rwb-shared-prefix-block-table-copy-on-write/task.md +86 -0
- mlsys/tasks/rwb-simulate-continuous-batching-active-set-under-max-num-seqs/check.py +51 -0
- mlsys/tasks/rwb-simulate-continuous-batching-active-set-under-max-num-seqs/fixtures/arrival_iters.npy +0 -0
- mlsys/tasks/rwb-simulate-continuous-batching-active-set-under-max-num-seqs/fixtures/gen_lens.npy +0 -0
- mlsys/tasks/rwb-simulate-continuous-batching-active-set-under-max-num-seqs/fixtures/max_num_seqs.npy +0 -0
- mlsys/tasks/rwb-simulate-continuous-batching-active-set-under-max-num-seqs/fixtures/run_id.npy +0 -0
- mlsys/tasks/rwb-simulate-continuous-batching-active-set-under-max-num-seqs/gen_fixtures.py +57 -0
- mlsys/tasks/rwb-simulate-continuous-batching-active-set-under-max-num-seqs/meta.json +27 -0
- mlsys/tasks/rwb-simulate-continuous-batching-active-set-under-max-num-seqs/solution_ref.py +31 -0
- mlsys/tasks/rwb-simulate-continuous-batching-active-set-under-max-num-seqs/starter.py +10 -0
- mlsys/tasks/rwb-simulate-continuous-batching-active-set-under-max-num-seqs/task.md +71 -0
- mlsys/tasks/rwb-single-adapter-lora-delta/check.py +29 -0
- mlsys/tasks/rwb-single-adapter-lora-delta/fixtures/a.npy +0 -0
- mlsys/tasks/rwb-single-adapter-lora-delta/fixtures/b.npy +0 -0
- mlsys/tasks/rwb-single-adapter-lora-delta/fixtures/base.npy +0 -0
- mlsys/tasks/rwb-single-adapter-lora-delta/fixtures/x.npy +0 -0
- mlsys/tasks/rwb-single-adapter-lora-delta/gen_fixtures.py +32 -0
- mlsys/tasks/rwb-single-adapter-lora-delta/meta.json +27 -0
- mlsys/tasks/rwb-single-adapter-lora-delta/solution_ref.py +9 -0
- mlsys/tasks/rwb-single-adapter-lora-delta/starter.py +11 -0
- mlsys/tasks/rwb-single-adapter-lora-delta/task.md +63 -0
- mlsys/tasks/rwb-slot-based-vs-paged-admission/check.py +51 -0
- mlsys/tasks/rwb-slot-based-vs-paged-admission/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-slot-based-vs-paged-admission/meta.json +22 -0
- mlsys/tasks/rwb-slot-based-vs-paged-admission/solution_ref.py +21 -0
- mlsys/tasks/rwb-slot-based-vs-paged-admission/starter.py +3 -0
- mlsys/tasks/rwb-slot-based-vs-paged-admission/task.md +86 -0
- mlsys/tasks/rwb-speedup-vs-acceptance-rate-model/check.py +44 -0
- mlsys/tasks/rwb-speedup-vs-acceptance-rate-model/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-speedup-vs-acceptance-rate-model/meta.json +22 -0
- mlsys/tasks/rwb-speedup-vs-acceptance-rate-model/solution_ref.py +22 -0
- mlsys/tasks/rwb-speedup-vs-acceptance-rate-model/starter.py +4 -0
- mlsys/tasks/rwb-speedup-vs-acceptance-rate-model/task.md +81 -0
- mlsys/tasks/rwb-split-count-vs-parallel-work/check.py +38 -0
- mlsys/tasks/rwb-split-count-vs-parallel-work/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-split-count-vs-parallel-work/meta.json +22 -0
- mlsys/tasks/rwb-split-count-vs-parallel-work/solution_ref.py +15 -0
- mlsys/tasks/rwb-split-count-vs-parallel-work/starter.py +2 -0
- mlsys/tasks/rwb-split-count-vs-parallel-work/task.md +50 -0
- mlsys/tasks/rwb-static-request-level-batching-makespan/check.py +27 -0
- mlsys/tasks/rwb-static-request-level-batching-makespan/fixtures/output_lens.npy +0 -0
- mlsys/tasks/rwb-static-request-level-batching-makespan/gen_fixtures.py +23 -0
- mlsys/tasks/rwb-static-request-level-batching-makespan/meta.json +24 -0
- mlsys/tasks/rwb-static-request-level-batching-makespan/solution_ref.py +31 -0
- mlsys/tasks/rwb-static-request-level-batching-makespan/starter.py +15 -0
- mlsys/tasks/rwb-static-request-level-batching-makespan/task.md +63 -0
- mlsys/tasks/rwb-streaming-softmax-running-max-sum/check.py +41 -0
- mlsys/tasks/rwb-streaming-softmax-running-max-sum/fixtures/scores.npy +0 -0
- mlsys/tasks/rwb-streaming-softmax-running-max-sum/gen_fixtures.py +33 -0
- mlsys/tasks/rwb-streaming-softmax-running-max-sum/meta.json +24 -0
- mlsys/tasks/rwb-streaming-softmax-running-max-sum/solution_ref.py +24 -0
- mlsys/tasks/rwb-streaming-softmax-running-max-sum/starter.py +21 -0
- mlsys/tasks/rwb-streaming-softmax-running-max-sum/task.md +73 -0
- mlsys/tasks/rwb-throughput-vs-budget-saturation-point/check.py +71 -0
- mlsys/tasks/rwb-throughput-vs-budget-saturation-point/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-throughput-vs-budget-saturation-point/meta.json +27 -0
- mlsys/tasks/rwb-throughput-vs-budget-saturation-point/solution_ref.py +11 -0
- mlsys/tasks/rwb-throughput-vs-budget-saturation-point/starter.py +17 -0
- mlsys/tasks/rwb-throughput-vs-budget-saturation-point/task.md +82 -0
- mlsys/tasks/rwb-throughput-vs-delay-cap-curve/check.py +81 -0
- mlsys/tasks/rwb-throughput-vs-delay-cap-curve/fixtures/arrivals.npy +0 -0
- mlsys/tasks/rwb-throughput-vs-delay-cap-curve/gen_fixtures.py +24 -0
- mlsys/tasks/rwb-throughput-vs-delay-cap-curve/meta.json +24 -0
- mlsys/tasks/rwb-throughput-vs-delay-cap-curve/solution_ref.py +62 -0
- mlsys/tasks/rwb-throughput-vs-delay-cap-curve/starter.py +24 -0
- mlsys/tasks/rwb-throughput-vs-delay-cap-curve/task.md +74 -0
- mlsys/tasks/rwb-tiled-flash-attention-forward-no-nxn-matrix/check.py +40 -0
- mlsys/tasks/rwb-tiled-flash-attention-forward-no-nxn-matrix/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-tiled-flash-attention-forward-no-nxn-matrix/meta.json +22 -0
- mlsys/tasks/rwb-tiled-flash-attention-forward-no-nxn-matrix/solution_ref.py +52 -0
- mlsys/tasks/rwb-tiled-flash-attention-forward-no-nxn-matrix/starter.py +5 -0
- mlsys/tasks/rwb-tiled-flash-attention-forward-no-nxn-matrix/task.md +91 -0
- mlsys/tasks/rwb-total-padding-waste-over-a-batch-size-histogram/check.py +25 -0
- mlsys/tasks/rwb-total-padding-waste-over-a-batch-size-histogram/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-total-padding-waste-over-a-batch-size-histogram/meta.json +22 -0
- mlsys/tasks/rwb-total-padding-waste-over-a-batch-size-histogram/solution_ref.py +12 -0
- mlsys/tasks/rwb-total-padding-waste-over-a-batch-size-histogram/starter.py +2 -0
- mlsys/tasks/rwb-total-padding-waste-over-a-batch-size-histogram/task.md +42 -0
- mlsys/tasks/rwb-total-prefix-tokens-saved/check.py +87 -0
- mlsys/tasks/rwb-total-prefix-tokens-saved/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-total-prefix-tokens-saved/meta.json +22 -0
- mlsys/tasks/rwb-total-prefix-tokens-saved/solution_ref.py +35 -0
- mlsys/tasks/rwb-total-prefix-tokens-saved/starter.py +12 -0
- mlsys/tasks/rwb-total-prefix-tokens-saved/task.md +74 -0
- mlsys/tasks/rwb-transfer-vs-recompute-break-even-length/check.py +59 -0
- mlsys/tasks/rwb-transfer-vs-recompute-break-even-length/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-transfer-vs-recompute-break-even-length/meta.json +22 -0
- mlsys/tasks/rwb-transfer-vs-recompute-break-even-length/solution_ref.py +19 -0
- mlsys/tasks/rwb-transfer-vs-recompute-break-even-length/starter.py +8 -0
- mlsys/tasks/rwb-transfer-vs-recompute-break-even-length/task.md +101 -0
- mlsys/tasks/rwb-two-chunk-split-kv-log-sum-exp-merge/check.py +60 -0
- mlsys/tasks/rwb-two-chunk-split-kv-log-sum-exp-merge/fixtures/k.npy +0 -0
- mlsys/tasks/rwb-two-chunk-split-kv-log-sum-exp-merge/fixtures/q.npy +0 -0
- mlsys/tasks/rwb-two-chunk-split-kv-log-sum-exp-merge/fixtures/v.npy +0 -0
- mlsys/tasks/rwb-two-chunk-split-kv-log-sum-exp-merge/gen_fixtures.py +28 -0
- mlsys/tasks/rwb-two-chunk-split-kv-log-sum-exp-merge/meta.json +26 -0
- mlsys/tasks/rwb-two-chunk-split-kv-log-sum-exp-merge/solution_ref.py +29 -0
- mlsys/tasks/rwb-two-chunk-split-kv-log-sum-exp-merge/starter.py +20 -0
- mlsys/tasks/rwb-two-chunk-split-kv-log-sum-exp-merge/task.md +82 -0
- mlsys/tasks/rwb-unbiasedness-output-histogram-equals-target/check.py +51 -0
- mlsys/tasks/rwb-unbiasedness-output-histogram-equals-target/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-unbiasedness-output-histogram-equals-target/meta.json +22 -0
- mlsys/tasks/rwb-unbiasedness-output-histogram-equals-target/solution_ref.py +31 -0
- mlsys/tasks/rwb-unbiasedness-output-histogram-equals-target/starter.py +4 -0
- mlsys/tasks/rwb-unbiasedness-output-histogram-equals-target/task.md +89 -0
- mlsys/tasks/rwb-would-this-pair-share-a-prefix-node/check.py +18 -0
- mlsys/tasks/rwb-would-this-pair-share-a-prefix-node/gen_fixtures.py +1 -0
- mlsys/tasks/rwb-would-this-pair-share-a-prefix-node/meta.json +22 -0
- mlsys/tasks/rwb-would-this-pair-share-a-prefix-node/solution_ref.py +7 -0
- mlsys/tasks/rwb-would-this-pair-share-a-prefix-node/starter.py +2 -0
- mlsys/tasks/rwb-would-this-pair-share-a-prefix-node/task.md +33 -0
- mlsys/tasks/rwc-2-4-magnitude-prune-reconstruction-mse/check.py +38 -0
- mlsys/tasks/rwc-2-4-magnitude-prune-reconstruction-mse/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-2-4-magnitude-prune-reconstruction-mse/meta.json +22 -0
- mlsys/tasks/rwc-2-4-magnitude-prune-reconstruction-mse/solution_ref.py +21 -0
- mlsys/tasks/rwc-2-4-magnitude-prune-reconstruction-mse/starter.py +6 -0
- mlsys/tasks/rwc-2-4-magnitude-prune-reconstruction-mse/task.md +46 -0
- mlsys/tasks/rwc-2-4-prune-compressed-values-2-bit-idx-matmul/check.py +62 -0
- mlsys/tasks/rwc-2-4-prune-compressed-values-2-bit-idx-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-2-4-prune-compressed-values-2-bit-idx-matmul/meta.json +27 -0
- mlsys/tasks/rwc-2-4-prune-compressed-values-2-bit-idx-matmul/solution_ref.py +56 -0
- mlsys/tasks/rwc-2-4-prune-compressed-values-2-bit-idx-matmul/starter.py +13 -0
- mlsys/tasks/rwc-2-4-prune-compressed-values-2-bit-idx-matmul/task.md +72 -0
- mlsys/tasks/rwc-8da4w-vs-8-bit-weight-only-error-and-size/check.py +96 -0
- mlsys/tasks/rwc-8da4w-vs-8-bit-weight-only-error-and-size/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-8da4w-vs-8-bit-weight-only-error-and-size/meta.json +42 -0
- mlsys/tasks/rwc-8da4w-vs-8-bit-weight-only-error-and-size/solution_ref.py +40 -0
- mlsys/tasks/rwc-8da4w-vs-8-bit-weight-only-error-and-size/starter.py +4 -0
- mlsys/tasks/rwc-8da4w-vs-8-bit-weight-only-error-and-size/task.md +78 -0
- mlsys/tasks/rwc-act-order-desc-act-column-reordering-reduces-error/check.py +73 -0
- mlsys/tasks/rwc-act-order-desc-act-column-reordering-reduces-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-act-order-desc-act-column-reordering-reduces-error/meta.json +27 -0
- mlsys/tasks/rwc-act-order-desc-act-column-reordering-reduces-error/solution_ref.py +32 -0
- mlsys/tasks/rwc-act-order-desc-act-column-reordering-reduces-error/starter.py +7 -0
- mlsys/tasks/rwc-act-order-desc-act-column-reordering-reduces-error/task.md +97 -0
- mlsys/tasks/rwc-affine-group-quant-dequant-matches-mlx/check.py +48 -0
- mlsys/tasks/rwc-affine-group-quant-dequant-matches-mlx/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-affine-group-quant-dequant-matches-mlx/meta.json +22 -0
- mlsys/tasks/rwc-affine-group-quant-dequant-matches-mlx/solution_ref.py +43 -0
- mlsys/tasks/rwc-affine-group-quant-dequant-matches-mlx/starter.py +5 -0
- mlsys/tasks/rwc-affine-group-quant-dequant-matches-mlx/task.md +73 -0
- mlsys/tasks/rwc-apply-per-channel-scale-4-bit-quant-fold-reciprocal/check.py +73 -0
- mlsys/tasks/rwc-apply-per-channel-scale-4-bit-quant-fold-reciprocal/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-apply-per-channel-scale-4-bit-quant-fold-reciprocal/meta.json +22 -0
- mlsys/tasks/rwc-apply-per-channel-scale-4-bit-quant-fold-reciprocal/solution_ref.py +58 -0
- mlsys/tasks/rwc-apply-per-channel-scale-4-bit-quant-fold-reciprocal/starter.py +28 -0
- mlsys/tasks/rwc-apply-per-channel-scale-4-bit-quant-fold-reciprocal/task.md +78 -0
- mlsys/tasks/rwc-awq-vs-plain-rtn-4-bit-on-a-salient-heavy-weight/check.py +71 -0
- mlsys/tasks/rwc-awq-vs-plain-rtn-4-bit-on-a-salient-heavy-weight/fixtures/W.npy +0 -0
- mlsys/tasks/rwc-awq-vs-plain-rtn-4-bit-on-a-salient-heavy-weight/fixtures/X.npy +0 -0
- mlsys/tasks/rwc-awq-vs-plain-rtn-4-bit-on-a-salient-heavy-weight/gen_fixtures.py +37 -0
- mlsys/tasks/rwc-awq-vs-plain-rtn-4-bit-on-a-salient-heavy-weight/meta.json +25 -0
- mlsys/tasks/rwc-awq-vs-plain-rtn-4-bit-on-a-salient-heavy-weight/solution_ref.py +39 -0
- mlsys/tasks/rwc-awq-vs-plain-rtn-4-bit-on-a-salient-heavy-weight/starter.py +32 -0
- mlsys/tasks/rwc-awq-vs-plain-rtn-4-bit-on-a-salient-heavy-weight/task.md +85 -0
- mlsys/tasks/rwc-baseline-rtn-4-bit-layer-output-mse/check.py +33 -0
- mlsys/tasks/rwc-baseline-rtn-4-bit-layer-output-mse/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-baseline-rtn-4-bit-layer-output-mse/meta.json +22 -0
- mlsys/tasks/rwc-baseline-rtn-4-bit-layer-output-mse/solution_ref.py +18 -0
- mlsys/tasks/rwc-baseline-rtn-4-bit-layer-output-mse/starter.py +4 -0
- mlsys/tasks/rwc-baseline-rtn-4-bit-layer-output-mse/task.md +52 -0
- mlsys/tasks/rwc-build-the-damped-inverse-hessian-and-its-cholesky/check.py +53 -0
- mlsys/tasks/rwc-build-the-damped-inverse-hessian-and-its-cholesky/fixtures/X.npy +0 -0
- mlsys/tasks/rwc-build-the-damped-inverse-hessian-and-its-cholesky/gen_fixtures.py +25 -0
- mlsys/tasks/rwc-build-the-damped-inverse-hessian-and-its-cholesky/meta.json +24 -0
- mlsys/tasks/rwc-build-the-damped-inverse-hessian-and-its-cholesky/solution_ref.py +37 -0
- mlsys/tasks/rwc-build-the-damped-inverse-hessian-and-its-cholesky/starter.py +25 -0
- mlsys/tasks/rwc-build-the-damped-inverse-hessian-and-its-cholesky/task.md +84 -0
- mlsys/tasks/rwc-classify-values-exact-subnormal-or-saturated-in-e4m3/check.py +69 -0
- mlsys/tasks/rwc-classify-values-exact-subnormal-or-saturated-in-e4m3/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-classify-values-exact-subnormal-or-saturated-in-e4m3/meta.json +22 -0
- mlsys/tasks/rwc-classify-values-exact-subnormal-or-saturated-in-e4m3/solution_ref.py +56 -0
- mlsys/tasks/rwc-classify-values-exact-subnormal-or-saturated-in-e4m3/starter.py +16 -0
- mlsys/tasks/rwc-classify-values-exact-subnormal-or-saturated-in-e4m3/task.md +57 -0
- mlsys/tasks/rwc-combine-two-block-softmax-stats-online-softmax-lemma/check.py +43 -0
- mlsys/tasks/rwc-combine-two-block-softmax-stats-online-softmax-lemma/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-combine-two-block-softmax-stats-online-softmax-lemma/meta.json +22 -0
- mlsys/tasks/rwc-combine-two-block-softmax-stats-online-softmax-lemma/solution_ref.py +11 -0
- mlsys/tasks/rwc-combine-two-block-softmax-stats-online-softmax-lemma/starter.py +2 -0
- mlsys/tasks/rwc-combine-two-block-softmax-stats-online-softmax-lemma/task.md +49 -0
- mlsys/tasks/rwc-compare-dram-traffic-fused-vs-unfused-elementwise-chain/check.py +26 -0
- mlsys/tasks/rwc-compare-dram-traffic-fused-vs-unfused-elementwise-chain/gen_fixtures.py +3 -0
- mlsys/tasks/rwc-compare-dram-traffic-fused-vs-unfused-elementwise-chain/meta.json +23 -0
- mlsys/tasks/rwc-compare-dram-traffic-fused-vs-unfused-elementwise-chain/solution_ref.py +7 -0
- mlsys/tasks/rwc-compare-dram-traffic-fused-vs-unfused-elementwise-chain/starter.py +7 -0
- mlsys/tasks/rwc-compare-dram-traffic-fused-vs-unfused-elementwise-chain/task.md +43 -0
- mlsys/tasks/rwc-compute-8da4w-linear-size-bits-per-param/check.py +44 -0
- mlsys/tasks/rwc-compute-8da4w-linear-size-bits-per-param/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-compute-8da4w-linear-size-bits-per-param/meta.json +27 -0
- mlsys/tasks/rwc-compute-8da4w-linear-size-bits-per-param/solution_ref.py +33 -0
- mlsys/tasks/rwc-compute-8da4w-linear-size-bits-per-param/starter.py +2 -0
- mlsys/tasks/rwc-compute-8da4w-linear-size-bits-per-param/task.md +51 -0
- mlsys/tasks/rwc-compute-nf4-bits-param-with-and-without-double-quant/check.py +25 -0
- mlsys/tasks/rwc-compute-nf4-bits-param-with-and-without-double-quant/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-compute-nf4-bits-param-with-and-without-double-quant/meta.json +22 -0
- mlsys/tasks/rwc-compute-nf4-bits-param-with-and-without-double-quant/solution_ref.py +34 -0
- mlsys/tasks/rwc-compute-nf4-bits-param-with-and-without-double-quant/starter.py +3 -0
- mlsys/tasks/rwc-compute-nf4-bits-param-with-and-without-double-quant/task.md +70 -0
- mlsys/tasks/rwc-compute-the-blockwise-absmax-block-64/check.py +33 -0
- mlsys/tasks/rwc-compute-the-blockwise-absmax-block-64/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-compute-the-blockwise-absmax-block-64/meta.json +22 -0
- mlsys/tasks/rwc-compute-the-blockwise-absmax-block-64/solution_ref.py +10 -0
- mlsys/tasks/rwc-compute-the-blockwise-absmax-block-64/starter.py +5 -0
- mlsys/tasks/rwc-compute-the-blockwise-absmax-block-64/task.md +61 -0
- mlsys/tasks/rwc-compute-the-folded-weight-blob-size-of-the-pt2-artifact/check.py +42 -0
- mlsys/tasks/rwc-compute-the-folded-weight-blob-size-of-the-pt2-artifact/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-compute-the-folded-weight-blob-size-of-the-pt2-artifact/meta.json +22 -0
- mlsys/tasks/rwc-compute-the-folded-weight-blob-size-of-the-pt2-artifact/solution_ref.py +18 -0
- mlsys/tasks/rwc-compute-the-folded-weight-blob-size-of-the-pt2-artifact/starter.py +2 -0
- mlsys/tasks/rwc-compute-the-folded-weight-blob-size-of-the-pt2-artifact/task.md +42 -0
- mlsys/tasks/rwc-compute-the-max-calibration-amax-and-its-clipping-error/check.py +34 -0
- mlsys/tasks/rwc-compute-the-max-calibration-amax-and-its-clipping-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-compute-the-max-calibration-amax-and-its-clipping-error/meta.json +22 -0
- mlsys/tasks/rwc-compute-the-max-calibration-amax-and-its-clipping-error/solution_ref.py +15 -0
- mlsys/tasks/rwc-compute-the-max-calibration-amax-and-its-clipping-error/starter.py +4 -0
- mlsys/tasks/rwc-compute-the-max-calibration-amax-and-its-clipping-error/task.md +67 -0
- mlsys/tasks/rwc-compute-the-mxfp4-shared-e8m0-block-scale-block-32/check.py +20 -0
- mlsys/tasks/rwc-compute-the-mxfp4-shared-e8m0-block-scale-block-32/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-compute-the-mxfp4-shared-e8m0-block-scale-block-32/meta.json +22 -0
- mlsys/tasks/rwc-compute-the-mxfp4-shared-e8m0-block-scale-block-32/solution_ref.py +6 -0
- mlsys/tasks/rwc-compute-the-mxfp4-shared-e8m0-block-scale-block-32/starter.py +6 -0
- mlsys/tasks/rwc-compute-the-mxfp4-shared-e8m0-block-scale-block-32/task.md +48 -0
- mlsys/tasks/rwc-compute-the-per-channel-activation-scale-statistic/check.py +23 -0
- mlsys/tasks/rwc-compute-the-per-channel-activation-scale-statistic/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-compute-the-per-channel-activation-scale-statistic/meta.json +22 -0
- mlsys/tasks/rwc-compute-the-per-channel-activation-scale-statistic/solution_ref.py +18 -0
- mlsys/tasks/rwc-compute-the-per-channel-activation-scale-statistic/starter.py +4 -0
- mlsys/tasks/rwc-compute-the-per-channel-activation-scale-statistic/task.md +49 -0
- mlsys/tasks/rwc-compute-the-per-channel-migration-scale-s-j/check.py +32 -0
- mlsys/tasks/rwc-compute-the-per-channel-migration-scale-s-j/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-compute-the-per-channel-migration-scale-s-j/meta.json +22 -0
- mlsys/tasks/rwc-compute-the-per-channel-migration-scale-s-j/solution_ref.py +26 -0
- mlsys/tasks/rwc-compute-the-per-channel-migration-scale-s-j/starter.py +5 -0
- mlsys/tasks/rwc-compute-the-per-channel-migration-scale-s-j/task.md +52 -0
- mlsys/tasks/rwc-constant-fold-frozen-weights-into-a-baked-constant/check.py +75 -0
- mlsys/tasks/rwc-constant-fold-frozen-weights-into-a-baked-constant/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-constant-fold-frozen-weights-into-a-baked-constant/meta.json +27 -0
- mlsys/tasks/rwc-constant-fold-frozen-weights-into-a-baked-constant/solution_ref.py +35 -0
- mlsys/tasks/rwc-constant-fold-frozen-weights-into-a-baked-constant/starter.py +4 -0
- mlsys/tasks/rwc-constant-fold-frozen-weights-into-a-baked-constant/task.md +84 -0
- mlsys/tasks/rwc-count-dynamo-graph-breaks-in-a-traced-function/check.py +32 -0
- mlsys/tasks/rwc-count-dynamo-graph-breaks-in-a-traced-function/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-count-dynamo-graph-breaks-in-a-traced-function/meta.json +22 -0
- mlsys/tasks/rwc-count-dynamo-graph-breaks-in-a-traced-function/solution_ref.py +12 -0
- mlsys/tasks/rwc-count-dynamo-graph-breaks-in-a-traced-function/starter.py +2 -0
- mlsys/tasks/rwc-count-dynamo-graph-breaks-in-a-traced-function/task.md +46 -0
- mlsys/tasks/rwc-decompose-sdpa-into-onnx-primitives-and-match-fused-attention/check.py +82 -0
- mlsys/tasks/rwc-decompose-sdpa-into-onnx-primitives-and-match-fused-attention/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-decompose-sdpa-into-onnx-primitives-and-match-fused-attention/meta.json +22 -0
- mlsys/tasks/rwc-decompose-sdpa-into-onnx-primitives-and-match-fused-attention/solution_ref.py +26 -0
- mlsys/tasks/rwc-decompose-sdpa-into-onnx-primitives-and-match-fused-attention/starter.py +11 -0
- mlsys/tasks/rwc-decompose-sdpa-into-onnx-primitives-and-match-fused-attention/task.md +94 -0
- mlsys/tasks/rwc-double-quantize-the-nf4-absmax-constants/check.py +97 -0
- mlsys/tasks/rwc-double-quantize-the-nf4-absmax-constants/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-double-quantize-the-nf4-absmax-constants/meta.json +22 -0
- mlsys/tasks/rwc-double-quantize-the-nf4-absmax-constants/solution_ref.py +83 -0
- mlsys/tasks/rwc-double-quantize-the-nf4-absmax-constants/starter.py +18 -0
- mlsys/tasks/rwc-double-quantize-the-nf4-absmax-constants/task.md +80 -0
- mlsys/tasks/rwc-e4m3-vs-e5m2-vs-int8-error-on-an-outlier-weight/check.py +105 -0
- mlsys/tasks/rwc-e4m3-vs-e5m2-vs-int8-error-on-an-outlier-weight/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-e4m3-vs-e5m2-vs-int8-error-on-an-outlier-weight/meta.json +27 -0
- mlsys/tasks/rwc-e4m3-vs-e5m2-vs-int8-error-on-an-outlier-weight/solution_ref.py +70 -0
- mlsys/tasks/rwc-e4m3-vs-e5m2-vs-int8-error-on-an-outlier-weight/starter.py +4 -0
- mlsys/tasks/rwc-e4m3-vs-e5m2-vs-int8-error-on-an-outlier-weight/task.md +63 -0
- mlsys/tasks/rwc-e4m3fn-encode-decode-rne-saturation/check.py +75 -0
- mlsys/tasks/rwc-e4m3fn-encode-decode-rne-saturation/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-e4m3fn-encode-decode-rne-saturation/meta.json +28 -0
- mlsys/tasks/rwc-e4m3fn-encode-decode-rne-saturation/solution_ref.py +48 -0
- mlsys/tasks/rwc-e4m3fn-encode-decode-rne-saturation/starter.py +7 -0
- mlsys/tasks/rwc-e4m3fn-encode-decode-rne-saturation/task.md +77 -0
- mlsys/tasks/rwc-e5m2-encode-decode-with-inf-nan/check.py +161 -0
- mlsys/tasks/rwc-e5m2-encode-decode-with-inf-nan/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-e5m2-encode-decode-with-inf-nan/meta.json +16 -0
- mlsys/tasks/rwc-e5m2-encode-decode-with-inf-nan/solution_ref.py +104 -0
- mlsys/tasks/rwc-e5m2-encode-decode-with-inf-nan/starter.py +11 -0
- mlsys/tasks/rwc-e5m2-encode-decode-with-inf-nan/task.md +51 -0
- mlsys/tasks/rwc-effective-bits-weight-including-scale-bias-overhead/check.py +26 -0
- mlsys/tasks/rwc-effective-bits-weight-including-scale-bias-overhead/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-effective-bits-weight-including-scale-bias-overhead/meta.json +22 -0
- mlsys/tasks/rwc-effective-bits-weight-including-scale-bias-overhead/solution_ref.py +6 -0
- mlsys/tasks/rwc-effective-bits-weight-including-scale-bias-overhead/starter.py +4 -0
- mlsys/tasks/rwc-effective-bits-weight-including-scale-bias-overhead/task.md +50 -0
- mlsys/tasks/rwc-epilogue-fuse-bias-add-activation-into-a-matmul/check.py +54 -0
- mlsys/tasks/rwc-epilogue-fuse-bias-add-activation-into-a-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-epilogue-fuse-bias-add-activation-into-a-matmul/meta.json +27 -0
- mlsys/tasks/rwc-epilogue-fuse-bias-add-activation-into-a-matmul/solution_ref.py +20 -0
- mlsys/tasks/rwc-epilogue-fuse-bias-add-activation-into-a-matmul/starter.py +4 -0
- mlsys/tasks/rwc-epilogue-fuse-bias-add-activation-into-a-matmul/task.md +86 -0
- mlsys/tasks/rwc-fix-2-4-selection-done-per-row-instead-of-per-group-of-4/check.py +46 -0
- mlsys/tasks/rwc-fix-2-4-selection-done-per-row-instead-of-per-group-of-4/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fix-2-4-selection-done-per-row-instead-of-per-group-of-4/meta.json +22 -0
- mlsys/tasks/rwc-fix-2-4-selection-done-per-row-instead-of-per-group-of-4/solution_ref.py +16 -0
- mlsys/tasks/rwc-fix-2-4-selection-done-per-row-instead-of-per-group-of-4/starter.py +17 -0
- mlsys/tasks/rwc-fix-2-4-selection-done-per-row-instead-of-per-group-of-4/task.md +69 -0
- mlsys/tasks/rwc-fix-a-flash-accumulator-missing-the-max-update-rescale/check.py +64 -0
- mlsys/tasks/rwc-fix-a-flash-accumulator-missing-the-max-update-rescale/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fix-a-flash-accumulator-missing-the-max-update-rescale/meta.json +22 -0
- mlsys/tasks/rwc-fix-a-flash-accumulator-missing-the-max-update-rescale/solution_ref.py +29 -0
- mlsys/tasks/rwc-fix-a-flash-accumulator-missing-the-max-update-rescale/starter.py +26 -0
- mlsys/tasks/rwc-fix-a-flash-accumulator-missing-the-max-update-rescale/task.md +81 -0
- mlsys/tasks/rwc-fix-a-gptq-loop-that-skips-the-remaining-column-update/check.py +96 -0
- mlsys/tasks/rwc-fix-a-gptq-loop-that-skips-the-remaining-column-update/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fix-a-gptq-loop-that-skips-the-remaining-column-update/meta.json +27 -0
- mlsys/tasks/rwc-fix-a-gptq-loop-that-skips-the-remaining-column-update/solution_ref.py +27 -0
- mlsys/tasks/rwc-fix-a-gptq-loop-that-skips-the-remaining-column-update/starter.py +19 -0
- mlsys/tasks/rwc-fix-a-gptq-loop-that-skips-the-remaining-column-update/task.md +84 -0
- mlsys/tasks/rwc-fix-a-max-calibration-scale-wrecked-by-one-outlier/check.py +83 -0
- mlsys/tasks/rwc-fix-a-max-calibration-scale-wrecked-by-one-outlier/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fix-a-max-calibration-scale-wrecked-by-one-outlier/meta.json +27 -0
- mlsys/tasks/rwc-fix-a-max-calibration-scale-wrecked-by-one-outlier/solution_ref.py +10 -0
- mlsys/tasks/rwc-fix-a-max-calibration-scale-wrecked-by-one-outlier/starter.py +12 -0
- mlsys/tasks/rwc-fix-a-max-calibration-scale-wrecked-by-one-outlier/task.md +94 -0
- mlsys/tasks/rwc-fix-a-per-tensor-activation-scale-that-should-be-per-token/check.py +42 -0
- mlsys/tasks/rwc-fix-a-per-tensor-activation-scale-that-should-be-per-token/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fix-a-per-tensor-activation-scale-that-should-be-per-token/meta.json +22 -0
- mlsys/tasks/rwc-fix-a-per-tensor-activation-scale-that-should-be-per-token/solution_ref.py +10 -0
- mlsys/tasks/rwc-fix-a-per-tensor-activation-scale-that-should-be-per-token/starter.py +12 -0
- mlsys/tasks/rwc-fix-a-per-tensor-activation-scale-that-should-be-per-token/task.md +71 -0
- mlsys/tasks/rwc-fix-a-scale-folded-on-the-wrong-side/check.py +41 -0
- mlsys/tasks/rwc-fix-a-scale-folded-on-the-wrong-side/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fix-a-scale-folded-on-the-wrong-side/meta.json +22 -0
- mlsys/tasks/rwc-fix-a-scale-folded-on-the-wrong-side/solution_ref.py +10 -0
- mlsys/tasks/rwc-fix-a-scale-folded-on-the-wrong-side/starter.py +10 -0
- mlsys/tasks/rwc-fix-a-scale-folded-on-the-wrong-side/task.md +83 -0
- mlsys/tasks/rwc-fix-a-too-narrow-dynamic-shape-range-that-fails-at-runtime/check.py +54 -0
- mlsys/tasks/rwc-fix-a-too-narrow-dynamic-shape-range-that-fails-at-runtime/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fix-a-too-narrow-dynamic-shape-range-that-fails-at-runtime/meta.json +22 -0
- mlsys/tasks/rwc-fix-a-too-narrow-dynamic-shape-range-that-fails-at-runtime/solution_ref.py +18 -0
- mlsys/tasks/rwc-fix-a-too-narrow-dynamic-shape-range-that-fails-at-runtime/starter.py +15 -0
- mlsys/tasks/rwc-fix-a-too-narrow-dynamic-shape-range-that-fails-at-runtime/task.md +83 -0
- mlsys/tasks/rwc-fix-a-wrong-transpose-perm-that-corrupts-the-export/check.py +49 -0
- mlsys/tasks/rwc-fix-a-wrong-transpose-perm-that-corrupts-the-export/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fix-a-wrong-transpose-perm-that-corrupts-the-export/meta.json +27 -0
- mlsys/tasks/rwc-fix-a-wrong-transpose-perm-that-corrupts-the-export/solution_ref.py +11 -0
- mlsys/tasks/rwc-fix-a-wrong-transpose-perm-that-corrupts-the-export/starter.py +7 -0
- mlsys/tasks/rwc-fix-a-wrong-transpose-perm-that-corrupts-the-export/task.md +63 -0
- mlsys/tasks/rwc-fix-an-inverted-scale-direction/check.py +54 -0
- mlsys/tasks/rwc-fix-an-inverted-scale-direction/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fix-an-inverted-scale-direction/meta.json +27 -0
- mlsys/tasks/rwc-fix-an-inverted-scale-direction/solution_ref.py +7 -0
- mlsys/tasks/rwc-fix-an-inverted-scale-direction/starter.py +10 -0
- mlsys/tasks/rwc-fix-an-inverted-scale-direction/task.md +95 -0
- mlsys/tasks/rwc-fix-the-off-by-one-scale-denominator/check.py +38 -0
- mlsys/tasks/rwc-fix-the-off-by-one-scale-denominator/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fix-the-off-by-one-scale-denominator/meta.json +16 -0
- mlsys/tasks/rwc-fix-the-off-by-one-scale-denominator/solution_ref.py +12 -0
- mlsys/tasks/rwc-fix-the-off-by-one-scale-denominator/starter.py +13 -0
- mlsys/tasks/rwc-fix-the-off-by-one-scale-denominator/task.md +48 -0
- mlsys/tasks/rwc-flag-export-incompatible-ops-guard-break-sources/check.py +26 -0
- mlsys/tasks/rwc-flag-export-incompatible-ops-guard-break-sources/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-flag-export-incompatible-ops-guard-break-sources/meta.json +22 -0
- mlsys/tasks/rwc-flag-export-incompatible-ops-guard-break-sources/solution_ref.py +15 -0
- mlsys/tasks/rwc-flag-export-incompatible-ops-guard-break-sources/starter.py +5 -0
- mlsys/tasks/rwc-flag-export-incompatible-ops-guard-break-sources/task.md +43 -0
- mlsys/tasks/rwc-flag-the-outlier-activation-channels-smoothquant-targets/check.py +25 -0
- mlsys/tasks/rwc-flag-the-outlier-activation-channels-smoothquant-targets/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-flag-the-outlier-activation-channels-smoothquant-targets/meta.json +22 -0
- mlsys/tasks/rwc-flag-the-outlier-activation-channels-smoothquant-targets/solution_ref.py +13 -0
- mlsys/tasks/rwc-flag-the-outlier-activation-channels-smoothquant-targets/starter.py +6 -0
- mlsys/tasks/rwc-flag-the-outlier-activation-channels-smoothquant-targets/task.md +48 -0
- mlsys/tasks/rwc-flash-backward-dq-dk-dv-with-recomputation/check.py +71 -0
- mlsys/tasks/rwc-flash-backward-dq-dk-dv-with-recomputation/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-flash-backward-dq-dk-dv-with-recomputation/meta.json +22 -0
- mlsys/tasks/rwc-flash-backward-dq-dk-dv-with-recomputation/solution_ref.py +20 -0
- mlsys/tasks/rwc-flash-backward-dq-dk-dv-with-recomputation/starter.py +4 -0
- mlsys/tasks/rwc-flash-backward-dq-dk-dv-with-recomputation/task.md +99 -0
- mlsys/tasks/rwc-flash-forward-via-online-softmax-no-nxn-buffer/check.py +40 -0
- mlsys/tasks/rwc-flash-forward-via-online-softmax-no-nxn-buffer/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-flash-forward-via-online-softmax-no-nxn-buffer/meta.json +16 -0
- mlsys/tasks/rwc-flash-forward-via-online-softmax-no-nxn-buffer/solution_ref.py +41 -0
- mlsys/tasks/rwc-flash-forward-via-online-softmax-no-nxn-buffer/starter.py +6 -0
- mlsys/tasks/rwc-flash-forward-via-online-softmax-no-nxn-buffer/task.md +50 -0
- mlsys/tasks/rwc-flatten-pytree-inputs-per-the-exportedprogram-signature/check.py +89 -0
- mlsys/tasks/rwc-flatten-pytree-inputs-per-the-exportedprogram-signature/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-flatten-pytree-inputs-per-the-exportedprogram-signature/meta.json +22 -0
- mlsys/tasks/rwc-flatten-pytree-inputs-per-the-exportedprogram-signature/solution_ref.py +8 -0
- mlsys/tasks/rwc-flatten-pytree-inputs-per-the-exportedprogram-signature/starter.py +2 -0
- mlsys/tasks/rwc-flatten-pytree-inputs-per-the-exportedprogram-signature/task.md +64 -0
- mlsys/tasks/rwc-flexattention-score-mod-alibi-soft-cap-sliding-window/check.py +55 -0
- mlsys/tasks/rwc-flexattention-score-mod-alibi-soft-cap-sliding-window/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-flexattention-score-mod-alibi-soft-cap-sliding-window/meta.json +16 -0
- mlsys/tasks/rwc-flexattention-score-mod-alibi-soft-cap-sliding-window/solution_ref.py +19 -0
- mlsys/tasks/rwc-flexattention-score-mod-alibi-soft-cap-sliding-window/starter.py +6 -0
- mlsys/tasks/rwc-flexattention-score-mod-alibi-soft-cap-sliding-window/task.md +52 -0
- mlsys/tasks/rwc-fold-conv-linear-batchnorm-into-one-layer/check.py +71 -0
- mlsys/tasks/rwc-fold-conv-linear-batchnorm-into-one-layer/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fold-conv-linear-batchnorm-into-one-layer/meta.json +22 -0
- mlsys/tasks/rwc-fold-conv-linear-batchnorm-into-one-layer/solution_ref.py +15 -0
- mlsys/tasks/rwc-fold-conv-linear-batchnorm-into-one-layer/starter.py +18 -0
- mlsys/tasks/rwc-fold-conv-linear-batchnorm-into-one-layer/task.md +83 -0
- mlsys/tasks/rwc-fold-diag-1-s-into-x-diag-s-into-w-prove-equivalence/check.py +56 -0
- mlsys/tasks/rwc-fold-diag-1-s-into-x-diag-s-into-w-prove-equivalence/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fold-diag-1-s-into-x-diag-s-into-w-prove-equivalence/meta.json +27 -0
- mlsys/tasks/rwc-fold-diag-1-s-into-x-diag-s-into-w-prove-equivalence/solution_ref.py +11 -0
- mlsys/tasks/rwc-fold-diag-1-s-into-x-diag-s-into-w-prove-equivalence/starter.py +6 -0
- mlsys/tasks/rwc-fold-diag-1-s-into-x-diag-s-into-w-prove-equivalence/task.md +77 -0
- mlsys/tasks/rwc-fp4-e2m1-blockwise-quant-dequant/check.py +50 -0
- mlsys/tasks/rwc-fp4-e2m1-blockwise-quant-dequant/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fp4-e2m1-blockwise-quant-dequant/meta.json +22 -0
- mlsys/tasks/rwc-fp4-e2m1-blockwise-quant-dequant/solution_ref.py +23 -0
- mlsys/tasks/rwc-fp4-e2m1-blockwise-quant-dequant/starter.py +6 -0
- mlsys/tasks/rwc-fp4-e2m1-blockwise-quant-dequant/task.md +53 -0
- mlsys/tasks/rwc-full-8da4w-linear-matches-reference/check.py +69 -0
- mlsys/tasks/rwc-full-8da4w-linear-matches-reference/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-full-8da4w-linear-matches-reference/meta.json +22 -0
- mlsys/tasks/rwc-full-8da4w-linear-matches-reference/solution_ref.py +36 -0
- mlsys/tasks/rwc-full-8da4w-linear-matches-reference/starter.py +6 -0
- mlsys/tasks/rwc-full-8da4w-linear-matches-reference/task.md +84 -0
- mlsys/tasks/rwc-full-alpha-grid-search-picks-the-best-scale/check.py +62 -0
- mlsys/tasks/rwc-full-alpha-grid-search-picks-the-best-scale/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-full-alpha-grid-search-picks-the-best-scale/meta.json +27 -0
- mlsys/tasks/rwc-full-alpha-grid-search-picks-the-best-scale/solution_ref.py +24 -0
- mlsys/tasks/rwc-full-alpha-grid-search-picks-the-best-scale/starter.py +4 -0
- mlsys/tasks/rwc-full-alpha-grid-search-picks-the-best-scale/task.md +104 -0
- mlsys/tasks/rwc-full-gptq-column-loop-matches-reference-w-q-and-output/check.py +70 -0
- mlsys/tasks/rwc-full-gptq-column-loop-matches-reference-w-q-and-output/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-full-gptq-column-loop-matches-reference-w-q-and-output/meta.json +27 -0
- mlsys/tasks/rwc-full-gptq-column-loop-matches-reference-w-q-and-output/solution_ref.py +32 -0
- mlsys/tasks/rwc-full-gptq-column-loop-matches-reference-w-q-and-output/starter.py +4 -0
- mlsys/tasks/rwc-full-gptq-column-loop-matches-reference-w-q-and-output/task.md +74 -0
- mlsys/tasks/rwc-functionalize-in-place-ops-to-match-eager-output/check.py +47 -0
- mlsys/tasks/rwc-functionalize-in-place-ops-to-match-eager-output/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-functionalize-in-place-ops-to-match-eager-output/meta.json +29 -0
- mlsys/tasks/rwc-functionalize-in-place-ops-to-match-eager-output/solution_ref.py +13 -0
- mlsys/tasks/rwc-functionalize-in-place-ops-to-match-eager-output/starter.py +10 -0
- mlsys/tasks/rwc-functionalize-in-place-ops-to-match-eager-output/task.md +58 -0
- mlsys/tasks/rwc-fuse-an-elementwise-op-chain-into-a-single-pass-kernel/check.py +41 -0
- mlsys/tasks/rwc-fuse-an-elementwise-op-chain-into-a-single-pass-kernel/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fuse-an-elementwise-op-chain-into-a-single-pass-kernel/meta.json +22 -0
- mlsys/tasks/rwc-fuse-an-elementwise-op-chain-into-a-single-pass-kernel/solution_ref.py +31 -0
- mlsys/tasks/rwc-fuse-an-elementwise-op-chain-into-a-single-pass-kernel/starter.py +13 -0
- mlsys/tasks/rwc-fuse-an-elementwise-op-chain-into-a-single-pass-kernel/task.md +67 -0
- mlsys/tasks/rwc-fuse-the-layernorm-subgraph-into-one-layernormalization-op/check.py +79 -0
- mlsys/tasks/rwc-fuse-the-layernorm-subgraph-into-one-layernormalization-op/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-fuse-the-layernorm-subgraph-into-one-layernormalization-op/meta.json +27 -0
- mlsys/tasks/rwc-fuse-the-layernorm-subgraph-into-one-layernormalization-op/solution_ref.py +34 -0
- mlsys/tasks/rwc-fuse-the-layernorm-subgraph-into-one-layernormalization-op/starter.py +4 -0
- mlsys/tasks/rwc-fuse-the-layernorm-subgraph-into-one-layernormalization-op/task.md +96 -0
- mlsys/tasks/rwc-gptq-vs-rtn-error-reduction-ratio/check.py +71 -0
- mlsys/tasks/rwc-gptq-vs-rtn-error-reduction-ratio/fixtures/w.npy +0 -0
- mlsys/tasks/rwc-gptq-vs-rtn-error-reduction-ratio/fixtures/x.npy +0 -0
- mlsys/tasks/rwc-gptq-vs-rtn-error-reduction-ratio/gen_fixtures.py +29 -0
- mlsys/tasks/rwc-gptq-vs-rtn-error-reduction-ratio/meta.json +25 -0
- mlsys/tasks/rwc-gptq-vs-rtn-error-reduction-ratio/solution_ref.py +54 -0
- mlsys/tasks/rwc-gptq-vs-rtn-error-reduction-ratio/starter.py +21 -0
- mlsys/tasks/rwc-gptq-vs-rtn-error-reduction-ratio/task.md +97 -0
- mlsys/tasks/rwc-gqa-mqa-attention-with-kv-head-broadcast/check.py +69 -0
- mlsys/tasks/rwc-gqa-mqa-attention-with-kv-head-broadcast/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-gqa-mqa-attention-with-kv-head-broadcast/meta.json +22 -0
- mlsys/tasks/rwc-gqa-mqa-attention-with-kv-head-broadcast/solution_ref.py +40 -0
- mlsys/tasks/rwc-gqa-mqa-attention-with-kv-head-broadcast/starter.py +5 -0
- mlsys/tasks/rwc-gqa-mqa-attention-with-kv-head-broadcast/task.md +73 -0
- mlsys/tasks/rwc-identify-the-salient-top-1-input-channels/check.py +25 -0
- mlsys/tasks/rwc-identify-the-salient-top-1-input-channels/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-identify-the-salient-top-1-input-channels/meta.json +22 -0
- mlsys/tasks/rwc-identify-the-salient-top-1-input-channels/solution_ref.py +7 -0
- mlsys/tasks/rwc-identify-the-salient-top-1-input-channels/starter.py +2 -0
- mlsys/tasks/rwc-identify-the-salient-top-1-input-channels/task.md +45 -0
- mlsys/tasks/rwc-imatrix-weighted-scale-search-make-qx-quants/check.py +94 -0
- mlsys/tasks/rwc-imatrix-weighted-scale-search-make-qx-quants/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-imatrix-weighted-scale-search-make-qx-quants/meta.json +22 -0
- mlsys/tasks/rwc-imatrix-weighted-scale-search-make-qx-quants/solution_ref.py +26 -0
- mlsys/tasks/rwc-imatrix-weighted-scale-search-make-qx-quants/starter.py +17 -0
- mlsys/tasks/rwc-imatrix-weighted-scale-search-make-qx-quants/task.md +88 -0
- mlsys/tasks/rwc-implement-onnx-dynamicquantizelinear-uint8-exactly/check.py +51 -0
- mlsys/tasks/rwc-implement-onnx-dynamicquantizelinear-uint8-exactly/fixtures/lengths.npy +0 -0
- mlsys/tasks/rwc-implement-onnx-dynamicquantizelinear-uint8-exactly/fixtures/x.npy +0 -0
- mlsys/tasks/rwc-implement-onnx-dynamicquantizelinear-uint8-exactly/gen_fixtures.py +46 -0
- mlsys/tasks/rwc-implement-onnx-dynamicquantizelinear-uint8-exactly/meta.json +25 -0
- mlsys/tasks/rwc-implement-onnx-dynamicquantizelinear-uint8-exactly/solution_ref.py +24 -0
- mlsys/tasks/rwc-implement-onnx-dynamicquantizelinear-uint8-exactly/starter.py +11 -0
- mlsys/tasks/rwc-implement-onnx-dynamicquantizelinear-uint8-exactly/task.md +77 -0
- mlsys/tasks/rwc-implement-onnx-gemm-op-semantics-alpha-beta-transa-transb/check.py +88 -0
- mlsys/tasks/rwc-implement-onnx-gemm-op-semantics-alpha-beta-transa-transb/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-implement-onnx-gemm-op-semantics-alpha-beta-transa-transb/meta.json +22 -0
- mlsys/tasks/rwc-implement-onnx-gemm-op-semantics-alpha-beta-transa-transb/solution_ref.py +23 -0
- mlsys/tasks/rwc-implement-onnx-gemm-op-semantics-alpha-beta-transa-transb/starter.py +2 -0
- mlsys/tasks/rwc-implement-onnx-gemm-op-semantics-alpha-beta-transa-transb/task.md +59 -0
- mlsys/tasks/rwc-implement-the-percentile-99-9-activation-calibrator/check.py +56 -0
- mlsys/tasks/rwc-implement-the-percentile-99-9-activation-calibrator/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-implement-the-percentile-99-9-activation-calibrator/meta.json +27 -0
- mlsys/tasks/rwc-implement-the-percentile-99-9-activation-calibrator/solution_ref.py +8 -0
- mlsys/tasks/rwc-implement-the-percentile-99-9-activation-calibrator/starter.py +4 -0
- mlsys/tasks/rwc-implement-the-percentile-99-9-activation-calibrator/task.md +56 -0
- mlsys/tasks/rwc-implement-the-tensorrt-entropy-kl-calibrator-threshold/check.py +67 -0
- mlsys/tasks/rwc-implement-the-tensorrt-entropy-kl-calibrator-threshold/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-implement-the-tensorrt-entropy-kl-calibrator-threshold/meta.json +27 -0
- mlsys/tasks/rwc-implement-the-tensorrt-entropy-kl-calibrator-threshold/solution_ref.py +35 -0
- mlsys/tasks/rwc-implement-the-tensorrt-entropy-kl-calibrator-threshold/starter.py +4 -0
- mlsys/tasks/rwc-implement-the-tensorrt-entropy-kl-calibrator-threshold/task.md +75 -0
- mlsys/tasks/rwc-int4-groupwise-group-32-symmetric-weight-quant/check.py +78 -0
- mlsys/tasks/rwc-int4-groupwise-group-32-symmetric-weight-quant/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-int4-groupwise-group-32-symmetric-weight-quant/meta.json +22 -0
- mlsys/tasks/rwc-int4-groupwise-group-32-symmetric-weight-quant/solution_ref.py +31 -0
- mlsys/tasks/rwc-int4-groupwise-group-32-symmetric-weight-quant/starter.py +21 -0
- mlsys/tasks/rwc-int4-groupwise-group-32-symmetric-weight-quant/task.md +73 -0
- mlsys/tasks/rwc-int4-weight-only-groupwise-group-32-asymmetric/check.py +78 -0
- mlsys/tasks/rwc-int4-weight-only-groupwise-group-32-asymmetric/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-int4-weight-only-groupwise-group-32-asymmetric/meta.json +27 -0
- mlsys/tasks/rwc-int4-weight-only-groupwise-group-32-asymmetric/solution_ref.py +59 -0
- mlsys/tasks/rwc-int4-weight-only-groupwise-group-32-asymmetric/starter.py +11 -0
- mlsys/tasks/rwc-int4-weight-only-groupwise-group-32-asymmetric/task.md +79 -0
- mlsys/tasks/rwc-int8-dynamic-act-per-token-x-int8-weight-per-channel-w8a8/check.py +37 -0
- mlsys/tasks/rwc-int8-dynamic-act-per-token-x-int8-weight-per-channel-w8a8/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-int8-dynamic-act-per-token-x-int8-weight-per-channel-w8a8/meta.json +22 -0
- mlsys/tasks/rwc-int8-dynamic-act-per-token-x-int8-weight-per-channel-w8a8/solution_ref.py +18 -0
- mlsys/tasks/rwc-int8-dynamic-act-per-token-x-int8-weight-per-channel-w8a8/starter.py +4 -0
- mlsys/tasks/rwc-int8-dynamic-act-per-token-x-int8-weight-per-channel-w8a8/task.md +77 -0
- mlsys/tasks/rwc-int8-quant-error-with-vs-without-smoothquant/check.py +73 -0
- mlsys/tasks/rwc-int8-quant-error-with-vs-without-smoothquant/fixtures/W.npy +0 -0
- mlsys/tasks/rwc-int8-quant-error-with-vs-without-smoothquant/fixtures/X.npy +0 -0
- mlsys/tasks/rwc-int8-quant-error-with-vs-without-smoothquant/gen_fixtures.py +30 -0
- mlsys/tasks/rwc-int8-quant-error-with-vs-without-smoothquant/meta.json +25 -0
- mlsys/tasks/rwc-int8-quant-error-with-vs-without-smoothquant/solution_ref.py +68 -0
- mlsys/tasks/rwc-int8-quant-error-with-vs-without-smoothquant/starter.py +29 -0
- mlsys/tasks/rwc-int8-quant-error-with-vs-without-smoothquant/task.md +81 -0
- mlsys/tasks/rwc-kv-memory-saving-ratio-attention-output-error/check.py +68 -0
- mlsys/tasks/rwc-kv-memory-saving-ratio-attention-output-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-kv-memory-saving-ratio-attention-output-error/meta.json +27 -0
- mlsys/tasks/rwc-kv-memory-saving-ratio-attention-output-error/solution_ref.py +34 -0
- mlsys/tasks/rwc-kv-memory-saving-ratio-attention-output-error/starter.py +4 -0
- mlsys/tasks/rwc-kv-memory-saving-ratio-attention-output-error/task.md +88 -0
- mlsys/tasks/rwc-magnitude-2-4-vs-sparsegpt-2-4-error/check.py +119 -0
- mlsys/tasks/rwc-magnitude-2-4-vs-sparsegpt-2-4-error/fixtures/W.npy +0 -0
- mlsys/tasks/rwc-magnitude-2-4-vs-sparsegpt-2-4-error/fixtures/X.npy +0 -0
- mlsys/tasks/rwc-magnitude-2-4-vs-sparsegpt-2-4-error/gen_fixtures.py +43 -0
- mlsys/tasks/rwc-magnitude-2-4-vs-sparsegpt-2-4-error/meta.json +25 -0
- mlsys/tasks/rwc-magnitude-2-4-vs-sparsegpt-2-4-error/solution_ref.py +68 -0
- mlsys/tasks/rwc-magnitude-2-4-vs-sparsegpt-2-4-error/starter.py +35 -0
- mlsys/tasks/rwc-magnitude-2-4-vs-sparsegpt-2-4-error/task.md +93 -0
- mlsys/tasks/rwc-map-pytorch-ops-to-native-onnx-ops-vs-decompositions/check.py +43 -0
- mlsys/tasks/rwc-map-pytorch-ops-to-native-onnx-ops-vs-decompositions/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-map-pytorch-ops-to-native-onnx-ops-vs-decompositions/meta.json +22 -0
- mlsys/tasks/rwc-map-pytorch-ops-to-native-onnx-ops-vs-decompositions/solution_ref.py +21 -0
- mlsys/tasks/rwc-map-pytorch-ops-to-native-onnx-ops-vs-decompositions/starter.py +2 -0
- mlsys/tasks/rwc-map-pytorch-ops-to-native-onnx-ops-vs-decompositions/task.md +33 -0
- mlsys/tasks/rwc-mlx-affine-asymmetric-vs-symmetric-absmax-int4/check.py +55 -0
- mlsys/tasks/rwc-mlx-affine-asymmetric-vs-symmetric-absmax-int4/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-mlx-affine-asymmetric-vs-symmetric-absmax-int4/meta.json +27 -0
- mlsys/tasks/rwc-mlx-affine-asymmetric-vs-symmetric-absmax-int4/solution_ref.py +29 -0
- mlsys/tasks/rwc-mlx-affine-asymmetric-vs-symmetric-absmax-int4/starter.py +4 -0
- mlsys/tasks/rwc-mlx-affine-asymmetric-vs-symmetric-absmax-int4/task.md +92 -0
- mlsys/tasks/rwc-mxfp4-blk32-vs-nvfp4-blk16-reconstruction-error/check.py +128 -0
- mlsys/tasks/rwc-mxfp4-blk32-vs-nvfp4-blk16-reconstruction-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-mxfp4-blk32-vs-nvfp4-blk16-reconstruction-error/meta.json +22 -0
- mlsys/tasks/rwc-mxfp4-blk32-vs-nvfp4-blk16-reconstruction-error/solution_ref.py +114 -0
- mlsys/tasks/rwc-mxfp4-blk32-vs-nvfp4-blk16-reconstruction-error/starter.py +20 -0
- mlsys/tasks/rwc-mxfp4-blk32-vs-nvfp4-blk16-reconstruction-error/task.md +79 -0
- mlsys/tasks/rwc-mxfp4-quant-dequant-block-32-e2m1-e8m0/check.py +43 -0
- mlsys/tasks/rwc-mxfp4-quant-dequant-block-32-e2m1-e8m0/fixtures/weights.npy +0 -0
- mlsys/tasks/rwc-mxfp4-quant-dequant-block-32-e2m1-e8m0/gen_fixtures.py +28 -0
- mlsys/tasks/rwc-mxfp4-quant-dequant-block-32-e2m1-e8m0/meta.json +29 -0
- mlsys/tasks/rwc-mxfp4-quant-dequant-block-32-e2m1-e8m0/solution_ref.py +23 -0
- mlsys/tasks/rwc-mxfp4-quant-dequant-block-32-e2m1-e8m0/starter.py +16 -0
- mlsys/tasks/rwc-mxfp4-quant-dequant-block-32-e2m1-e8m0/task.md +90 -0
- mlsys/tasks/rwc-nf4-quantize-dequant-matches-the-reference-codebook/check.py +49 -0
- mlsys/tasks/rwc-nf4-quantize-dequant-matches-the-reference-codebook/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-nf4-quantize-dequant-matches-the-reference-codebook/meta.json +27 -0
- mlsys/tasks/rwc-nf4-quantize-dequant-matches-the-reference-codebook/solution_ref.py +25 -0
- mlsys/tasks/rwc-nf4-quantize-dequant-matches-the-reference-codebook/starter.py +4 -0
- mlsys/tasks/rwc-nf4-quantize-dequant-matches-the-reference-codebook/task.md +34 -0
- mlsys/tasks/rwc-nf4-vs-fp4-vs-int4-rtn-on-a-normal-weight/check.py +98 -0
- mlsys/tasks/rwc-nf4-vs-fp4-vs-int4-rtn-on-a-normal-weight/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-nf4-vs-fp4-vs-int4-rtn-on-a-normal-weight/meta.json +22 -0
- mlsys/tasks/rwc-nf4-vs-fp4-vs-int4-rtn-on-a-normal-weight/solution_ref.py +80 -0
- mlsys/tasks/rwc-nf4-vs-fp4-vs-int4-rtn-on-a-normal-weight/starter.py +22 -0
- mlsys/tasks/rwc-nf4-vs-fp4-vs-int4-rtn-on-a-normal-weight/task.md +93 -0
- mlsys/tasks/rwc-nvfp4-two-level-scaling-block-16-e4m3-block-scale-fp32-global/check.py +82 -0
- mlsys/tasks/rwc-nvfp4-two-level-scaling-block-16-e4m3-block-scale-fp32-global/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-nvfp4-two-level-scaling-block-16-e4m3-block-scale-fp32-global/meta.json +32 -0
- mlsys/tasks/rwc-nvfp4-two-level-scaling-block-16-e4m3-block-scale-fp32-global/solution_ref.py +59 -0
- mlsys/tasks/rwc-nvfp4-two-level-scaling-block-16-e4m3-block-scale-fp32-global/starter.py +4 -0
- mlsys/tasks/rwc-nvfp4-two-level-scaling-block-16-e4m3-block-scale-fp32-global/task.md +72 -0
- mlsys/tasks/rwc-one-obq-column-update-with-error-propagation/check.py +67 -0
- mlsys/tasks/rwc-one-obq-column-update-with-error-propagation/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-one-obq-column-update-with-error-propagation/meta.json +22 -0
- mlsys/tasks/rwc-one-obq-column-update-with-error-propagation/solution_ref.py +20 -0
- mlsys/tasks/rwc-one-obq-column-update-with-error-propagation/starter.py +19 -0
- mlsys/tasks/rwc-one-obq-column-update-with-error-propagation/task.md +94 -0
- mlsys/tasks/rwc-optimal-per-tensor-scale-amax-448-for-e4m3/check.py +58 -0
- mlsys/tasks/rwc-optimal-per-tensor-scale-amax-448-for-e4m3/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-optimal-per-tensor-scale-amax-448-for-e4m3/meta.json +27 -0
- mlsys/tasks/rwc-optimal-per-tensor-scale-amax-448-for-e4m3/solution_ref.py +31 -0
- mlsys/tasks/rwc-optimal-per-tensor-scale-amax-448-for-e4m3/starter.py +4 -0
- mlsys/tasks/rwc-optimal-per-tensor-scale-amax-448-for-e4m3/task.md +75 -0
- mlsys/tasks/rwc-pack-b-bit-codes-into-uint32-words-mlx-layout/check.py +53 -0
- mlsys/tasks/rwc-pack-b-bit-codes-into-uint32-words-mlx-layout/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-pack-b-bit-codes-into-uint32-words-mlx-layout/meta.json +23 -0
- mlsys/tasks/rwc-pack-b-bit-codes-into-uint32-words-mlx-layout/solution_ref.py +23 -0
- mlsys/tasks/rwc-pack-b-bit-codes-into-uint32-words-mlx-layout/starter.py +7 -0
- mlsys/tasks/rwc-pack-b-bit-codes-into-uint32-words-mlx-layout/task.md +66 -0
- mlsys/tasks/rwc-paged-fp8-kv-gather-dequant-attention/check.py +131 -0
- mlsys/tasks/rwc-paged-fp8-kv-gather-dequant-attention/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-paged-fp8-kv-gather-dequant-attention/meta.json +22 -0
- mlsys/tasks/rwc-paged-fp8-kv-gather-dequant-attention/solution_ref.py +44 -0
- mlsys/tasks/rwc-paged-fp8-kv-gather-dequant-attention/starter.py +16 -0
- mlsys/tasks/rwc-paged-fp8-kv-gather-dequant-attention/task.md +74 -0
- mlsys/tasks/rwc-partition-ops-xnnpack-delegatable-vs-portable-fallback/check.py +46 -0
- mlsys/tasks/rwc-partition-ops-xnnpack-delegatable-vs-portable-fallback/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-partition-ops-xnnpack-delegatable-vs-portable-fallback/meta.json +22 -0
- mlsys/tasks/rwc-partition-ops-xnnpack-delegatable-vs-portable-fallback/solution_ref.py +13 -0
- mlsys/tasks/rwc-partition-ops-xnnpack-delegatable-vs-portable-fallback/starter.py +4 -0
- mlsys/tasks/rwc-partition-ops-xnnpack-delegatable-vs-portable-fallback/task.md +59 -0
- mlsys/tasks/rwc-per-channel-fp8-weight-quant/check.py +102 -0
- mlsys/tasks/rwc-per-channel-fp8-weight-quant/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-per-channel-fp8-weight-quant/meta.json +22 -0
- mlsys/tasks/rwc-per-channel-fp8-weight-quant/solution_ref.py +58 -0
- mlsys/tasks/rwc-per-channel-fp8-weight-quant/starter.py +16 -0
- mlsys/tasks/rwc-per-channel-fp8-weight-quant/task.md +71 -0
- mlsys/tasks/rwc-per-group-asymmetric-4-bit-quant-scale-zero/check.py +82 -0
- mlsys/tasks/rwc-per-group-asymmetric-4-bit-quant-scale-zero/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-per-group-asymmetric-4-bit-quant-scale-zero/meta.json +27 -0
- mlsys/tasks/rwc-per-group-asymmetric-4-bit-quant-scale-zero/solution_ref.py +38 -0
- mlsys/tasks/rwc-per-group-asymmetric-4-bit-quant-scale-zero/starter.py +18 -0
- mlsys/tasks/rwc-per-group-asymmetric-4-bit-quant-scale-zero/task.md +68 -0
- mlsys/tasks/rwc-per-group-min-max-scale-bias-group-64/check.py +44 -0
- mlsys/tasks/rwc-per-group-min-max-scale-bias-group-64/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-per-group-min-max-scale-bias-group-64/meta.json +22 -0
- mlsys/tasks/rwc-per-group-min-max-scale-bias-group-64/solution_ref.py +13 -0
- mlsys/tasks/rwc-per-group-min-max-scale-bias-group-64/starter.py +4 -0
- mlsys/tasks/rwc-per-group-min-max-scale-bias-group-64/task.md +60 -0
- mlsys/tasks/rwc-per-head-kv-scales/check.py +115 -0
- mlsys/tasks/rwc-per-head-kv-scales/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-per-head-kv-scales/meta.json +22 -0
- mlsys/tasks/rwc-per-head-kv-scales/solution_ref.py +71 -0
- mlsys/tasks/rwc-per-head-kv-scales/starter.py +16 -0
- mlsys/tasks/rwc-per-head-kv-scales/task.md +73 -0
- mlsys/tasks/rwc-per-tensor-fp8-e4m3-kv-quant-attention/check.py +37 -0
- mlsys/tasks/rwc-per-tensor-fp8-e4m3-kv-quant-attention/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-per-tensor-fp8-e4m3-kv-quant-attention/meta.json +22 -0
- mlsys/tasks/rwc-per-tensor-fp8-e4m3-kv-quant-attention/solution_ref.py +18 -0
- mlsys/tasks/rwc-per-tensor-fp8-e4m3-kv-quant-attention/starter.py +7 -0
- mlsys/tasks/rwc-per-tensor-fp8-e4m3-kv-quant-attention/task.md +51 -0
- mlsys/tasks/rwc-per-tensor-int8-symmetric-fake-quant-with-amax-scaling/check.py +44 -0
- mlsys/tasks/rwc-per-tensor-int8-symmetric-fake-quant-with-amax-scaling/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-per-tensor-int8-symmetric-fake-quant-with-amax-scaling/meta.json +27 -0
- mlsys/tasks/rwc-per-tensor-int8-symmetric-fake-quant-with-amax-scaling/solution_ref.py +13 -0
- mlsys/tasks/rwc-per-tensor-int8-symmetric-fake-quant-with-amax-scaling/starter.py +4 -0
- mlsys/tasks/rwc-per-tensor-int8-symmetric-fake-quant-with-amax-scaling/task.md +76 -0
- mlsys/tasks/rwc-per-tensor-vs-per-channel-int8-which-halves-the-error/check.py +80 -0
- mlsys/tasks/rwc-per-tensor-vs-per-channel-int8-which-halves-the-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-per-tensor-vs-per-channel-int8-which-halves-the-error/meta.json +27 -0
- mlsys/tasks/rwc-per-tensor-vs-per-channel-int8-which-halves-the-error/solution_ref.py +33 -0
- mlsys/tasks/rwc-per-tensor-vs-per-channel-int8-which-halves-the-error/starter.py +19 -0
- mlsys/tasks/rwc-per-tensor-vs-per-channel-int8-which-halves-the-error/task.md +92 -0
- mlsys/tasks/rwc-per-tensor-vs-per-head-fp8-kv-on-an-outlier-head/check.py +65 -0
- mlsys/tasks/rwc-per-tensor-vs-per-head-fp8-kv-on-an-outlier-head/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-per-tensor-vs-per-head-fp8-kv-on-an-outlier-head/meta.json +27 -0
- mlsys/tasks/rwc-per-tensor-vs-per-head-fp8-kv-on-an-outlier-head/solution_ref.py +38 -0
- mlsys/tasks/rwc-per-tensor-vs-per-head-fp8-kv-on-an-outlier-head/starter.py +10 -0
- mlsys/tasks/rwc-per-tensor-vs-per-head-fp8-kv-on-an-outlier-head/task.md +77 -0
- mlsys/tasks/rwc-per-token-int8-dynamic-activation-quant/check.py +26 -0
- mlsys/tasks/rwc-per-token-int8-dynamic-activation-quant/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-per-token-int8-dynamic-activation-quant/meta.json +22 -0
- mlsys/tasks/rwc-per-token-int8-dynamic-activation-quant/solution_ref.py +24 -0
- mlsys/tasks/rwc-per-token-int8-dynamic-activation-quant/starter.py +18 -0
- mlsys/tasks/rwc-per-token-int8-dynamic-activation-quant/task.md +46 -0
- mlsys/tasks/rwc-pick-layers-to-keep-in-fp16-by-sensitivity/check.py +24 -0
- mlsys/tasks/rwc-pick-layers-to-keep-in-fp16-by-sensitivity/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-pick-layers-to-keep-in-fp16-by-sensitivity/meta.json +22 -0
- mlsys/tasks/rwc-pick-layers-to-keep-in-fp16-by-sensitivity/solution_ref.py +24 -0
- mlsys/tasks/rwc-pick-layers-to-keep-in-fp16-by-sensitivity/starter.py +4 -0
- mlsys/tasks/rwc-pick-layers-to-keep-in-fp16-by-sensitivity/task.md +37 -0
- mlsys/tasks/rwc-pick-the-eligible-sdpa-backend-from-constraints/check.py +31 -0
- mlsys/tasks/rwc-pick-the-eligible-sdpa-backend-from-constraints/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-pick-the-eligible-sdpa-backend-from-constraints/meta.json +22 -0
- mlsys/tasks/rwc-pick-the-eligible-sdpa-backend-from-constraints/solution_ref.py +26 -0
- mlsys/tasks/rwc-pick-the-eligible-sdpa-backend-from-constraints/starter.py +2 -0
- mlsys/tasks/rwc-pick-the-eligible-sdpa-backend-from-constraints/task.md +35 -0
- mlsys/tasks/rwc-pick-the-max-autotune-tile-via-wave-quantization-cost/check.py +80 -0
- mlsys/tasks/rwc-pick-the-max-autotune-tile-via-wave-quantization-cost/gen_fixtures.py +2 -0
- mlsys/tasks/rwc-pick-the-max-autotune-tile-via-wave-quantization-cost/meta.json +27 -0
- mlsys/tasks/rwc-pick-the-max-autotune-tile-via-wave-quantization-cost/solution_ref.py +35 -0
- mlsys/tasks/rwc-pick-the-max-autotune-tile-via-wave-quantization-cost/starter.py +22 -0
- mlsys/tasks/rwc-pick-the-max-autotune-tile-via-wave-quantization-cost/task.md +96 -0
- mlsys/tasks/rwc-propagate-symbolic-shapes-and-emit-dim-guards/check.py +90 -0
- mlsys/tasks/rwc-propagate-symbolic-shapes-and-emit-dim-guards/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-propagate-symbolic-shapes-and-emit-dim-guards/meta.json +22 -0
- mlsys/tasks/rwc-propagate-symbolic-shapes-and-emit-dim-guards/solution_ref.py +50 -0
- mlsys/tasks/rwc-propagate-symbolic-shapes-and-emit-dim-guards/starter.py +3 -0
- mlsys/tasks/rwc-propagate-symbolic-shapes-and-emit-dim-guards/task.md +97 -0
- mlsys/tasks/rwc-push-the-scale-into-the-preceding-layernorm-params/check.py +74 -0
- mlsys/tasks/rwc-push-the-scale-into-the-preceding-layernorm-params/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-push-the-scale-into-the-preceding-layernorm-params/meta.json +27 -0
- mlsys/tasks/rwc-push-the-scale-into-the-preceding-layernorm-params/solution_ref.py +35 -0
- mlsys/tasks/rwc-push-the-scale-into-the-preceding-layernorm-params/starter.py +11 -0
- mlsys/tasks/rwc-push-the-scale-into-the-preceding-layernorm-params/task.md +157 -0
- mlsys/tasks/rwc-q4-0-symmetric-4-bit-fp16-scale-matches-ggml/check.py +55 -0
- mlsys/tasks/rwc-q4-0-symmetric-4-bit-fp16-scale-matches-ggml/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-q4-0-symmetric-4-bit-fp16-scale-matches-ggml/meta.json +23 -0
- mlsys/tasks/rwc-q4-0-symmetric-4-bit-fp16-scale-matches-ggml/solution_ref.py +30 -0
- mlsys/tasks/rwc-q4-0-symmetric-4-bit-fp16-scale-matches-ggml/starter.py +33 -0
- mlsys/tasks/rwc-q4-0-symmetric-4-bit-fp16-scale-matches-ggml/task.md +72 -0
- mlsys/tasks/rwc-q4-0-vs-q4-k-vs-imatrix-q4-k-error-on-a-real-row/check.py +116 -0
- mlsys/tasks/rwc-q4-0-vs-q4-k-vs-imatrix-q4-k-error-on-a-real-row/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-q4-0-vs-q4-k-vs-imatrix-q4-k-error-on-a-real-row/meta.json +27 -0
- mlsys/tasks/rwc-q4-0-vs-q4-k-vs-imatrix-q4-k-error-on-a-real-row/solution_ref.py +46 -0
- mlsys/tasks/rwc-q4-0-vs-q4-k-vs-imatrix-q4-k-error-on-a-real-row/starter.py +14 -0
- mlsys/tasks/rwc-q4-0-vs-q4-k-vs-imatrix-q4-k-error-on-a-real-row/task.md +102 -0
- mlsys/tasks/rwc-q4-1-asymmetric-scale-min-matches-ggml/check.py +74 -0
- mlsys/tasks/rwc-q4-1-asymmetric-scale-min-matches-ggml/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-q4-1-asymmetric-scale-min-matches-ggml/meta.json +27 -0
- mlsys/tasks/rwc-q4-1-asymmetric-scale-min-matches-ggml/solution_ref.py +24 -0
- mlsys/tasks/rwc-q4-1-asymmetric-scale-min-matches-ggml/starter.py +17 -0
- mlsys/tasks/rwc-q4-1-asymmetric-scale-min-matches-ggml/task.md +82 -0
- mlsys/tasks/rwc-q4-k-super-block-256-two-level-k-quant/check.py +129 -0
- mlsys/tasks/rwc-q4-k-super-block-256-two-level-k-quant/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-q4-k-super-block-256-two-level-k-quant/meta.json +28 -0
- mlsys/tasks/rwc-q4-k-super-block-256-two-level-k-quant/solution_ref.py +92 -0
- mlsys/tasks/rwc-q4-k-super-block-256-two-level-k-quant/starter.py +7 -0
- mlsys/tasks/rwc-q4-k-super-block-256-two-level-k-quant/task.md +79 -0
- mlsys/tasks/rwc-q6-k-super-block-reconstruction/check.py +52 -0
- mlsys/tasks/rwc-q6-k-super-block-reconstruction/gen_fixtures.py +2 -0
- mlsys/tasks/rwc-q6-k-super-block-reconstruction/meta.json +22 -0
- mlsys/tasks/rwc-q6-k-super-block-reconstruction/solution_ref.py +31 -0
- mlsys/tasks/rwc-q6-k-super-block-reconstruction/starter.py +16 -0
- mlsys/tasks/rwc-q6-k-super-block-reconstruction/task.md +85 -0
- mlsys/tasks/rwc-q8-0-block-quant-dequant-matches-ggml/check.py +62 -0
- mlsys/tasks/rwc-q8-0-block-quant-dequant-matches-ggml/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-q8-0-block-quant-dequant-matches-ggml/meta.json +23 -0
- mlsys/tasks/rwc-q8-0-block-quant-dequant-matches-ggml/solution_ref.py +32 -0
- mlsys/tasks/rwc-q8-0-block-quant-dequant-matches-ggml/starter.py +7 -0
- mlsys/tasks/rwc-q8-0-block-quant-dequant-matches-ggml/task.md +66 -0
- mlsys/tasks/rwc-quantizedlinear-matmul-per-group-dequant-equals-dense/check.py +41 -0
- mlsys/tasks/rwc-quantizedlinear-matmul-per-group-dequant-equals-dense/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-quantizedlinear-matmul-per-group-dequant-equals-dense/meta.json +22 -0
- mlsys/tasks/rwc-quantizedlinear-matmul-per-group-dequant-equals-dense/solution_ref.py +9 -0
- mlsys/tasks/rwc-quantizedlinear-matmul-per-group-dequant-equals-dense/starter.py +4 -0
- mlsys/tasks/rwc-quantizedlinear-matmul-per-group-dequant-equals-dense/task.md +68 -0
- mlsys/tasks/rwc-reconstruct-dense-from-compressed-values-metadata/check.py +66 -0
- mlsys/tasks/rwc-reconstruct-dense-from-compressed-values-metadata/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-reconstruct-dense-from-compressed-values-metadata/meta.json +27 -0
- mlsys/tasks/rwc-reconstruct-dense-from-compressed-values-metadata/solution_ref.py +28 -0
- mlsys/tasks/rwc-reconstruct-dense-from-compressed-values-metadata/starter.py +4 -0
- mlsys/tasks/rwc-reconstruct-dense-from-compressed-values-metadata/task.md +55 -0
- mlsys/tasks/rwc-reconstruct-dense-weight-from-affinequantizedtensor-fields/check.py +90 -0
- mlsys/tasks/rwc-reconstruct-dense-weight-from-affinequantizedtensor-fields/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-reconstruct-dense-weight-from-affinequantizedtensor-fields/meta.json +22 -0
- mlsys/tasks/rwc-reconstruct-dense-weight-from-affinequantizedtensor-fields/solution_ref.py +38 -0
- mlsys/tasks/rwc-reconstruct-dense-weight-from-affinequantizedtensor-fields/starter.py +19 -0
- mlsys/tasks/rwc-reconstruct-dense-weight-from-affinequantizedtensor-fields/task.md +75 -0
- mlsys/tasks/rwc-reference-sdpa-scaled-causal-mask/check.py +45 -0
- mlsys/tasks/rwc-reference-sdpa-scaled-causal-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-reference-sdpa-scaled-causal-mask/meta.json +22 -0
- mlsys/tasks/rwc-reference-sdpa-scaled-causal-mask/solution_ref.py +43 -0
- mlsys/tasks/rwc-reference-sdpa-scaled-causal-mask/starter.py +5 -0
- mlsys/tasks/rwc-reference-sdpa-scaled-causal-mask/task.md +74 -0
- mlsys/tasks/rwc-replay-a-cuda-graph-static-buffer-capture-correctly/check.py +49 -0
- mlsys/tasks/rwc-replay-a-cuda-graph-static-buffer-capture-correctly/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-replay-a-cuda-graph-static-buffer-capture-correctly/meta.json +22 -0
- mlsys/tasks/rwc-replay-a-cuda-graph-static-buffer-capture-correctly/solution_ref.py +20 -0
- mlsys/tasks/rwc-replay-a-cuda-graph-static-buffer-capture-correctly/starter.py +4 -0
- mlsys/tasks/rwc-replay-a-cuda-graph-static-buffer-capture-correctly/task.md +67 -0
- mlsys/tasks/rwc-run-onnx-shape-inference-through-dynamic-axes/check.py +197 -0
- mlsys/tasks/rwc-run-onnx-shape-inference-through-dynamic-axes/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-run-onnx-shape-inference-through-dynamic-axes/meta.json +22 -0
- mlsys/tasks/rwc-run-onnx-shape-inference-through-dynamic-axes/solution_ref.py +69 -0
- mlsys/tasks/rwc-run-onnx-shape-inference-through-dynamic-axes/starter.py +13 -0
- mlsys/tasks/rwc-run-onnx-shape-inference-through-dynamic-axes/task.md +89 -0
- mlsys/tasks/rwc-search-alpha-to-balance-activation-vs-weight-quant-error/check.py +112 -0
- mlsys/tasks/rwc-search-alpha-to-balance-activation-vs-weight-quant-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-search-alpha-to-balance-activation-vs-weight-quant-error/meta.json +27 -0
- mlsys/tasks/rwc-search-alpha-to-balance-activation-vs-weight-quant-error/solution_ref.py +65 -0
- mlsys/tasks/rwc-search-alpha-to-balance-activation-vs-weight-quant-error/starter.py +26 -0
- mlsys/tasks/rwc-search-alpha-to-balance-activation-vs-weight-quant-error/task.md +109 -0
- mlsys/tasks/rwc-search-the-fp8-scale-to-minimize-mse-clip-vs-round/check.py +83 -0
- mlsys/tasks/rwc-search-the-fp8-scale-to-minimize-mse-clip-vs-round/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-search-the-fp8-scale-to-minimize-mse-clip-vs-round/meta.json +27 -0
- mlsys/tasks/rwc-search-the-fp8-scale-to-minimize-mse-clip-vs-round/solution_ref.py +41 -0
- mlsys/tasks/rwc-search-the-fp8-scale-to-minimize-mse-clip-vs-round/starter.py +4 -0
- mlsys/tasks/rwc-search-the-fp8-scale-to-minimize-mse-clip-vs-round/task.md +77 -0
- mlsys/tasks/rwc-search-the-per-channel-weight-clip-ratio/check.py +74 -0
- mlsys/tasks/rwc-search-the-per-channel-weight-clip-ratio/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-search-the-per-channel-weight-clip-ratio/meta.json +27 -0
- mlsys/tasks/rwc-search-the-per-channel-weight-clip-ratio/solution_ref.py +22 -0
- mlsys/tasks/rwc-search-the-per-channel-weight-clip-ratio/starter.py +4 -0
- mlsys/tasks/rwc-search-the-per-channel-weight-clip-ratio/task.md +85 -0
- mlsys/tasks/rwc-select-the-kept-2-of-4-per-group-mask/check.py +31 -0
- mlsys/tasks/rwc-select-the-kept-2-of-4-per-group-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-select-the-kept-2-of-4-per-group-mask/meta.json +22 -0
- mlsys/tasks/rwc-select-the-kept-2-of-4-per-group-mask/solution_ref.py +12 -0
- mlsys/tasks/rwc-select-the-kept-2-of-4-per-group-mask/starter.py +4 -0
- mlsys/tasks/rwc-select-the-kept-2-of-4-per-group-mask/task.md +34 -0
- mlsys/tasks/rwc-sparsegpt-2-4-mask-via-hessian-saliency-compensation/check.py +70 -0
- mlsys/tasks/rwc-sparsegpt-2-4-mask-via-hessian-saliency-compensation/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-sparsegpt-2-4-mask-via-hessian-saliency-compensation/meta.json +27 -0
- mlsys/tasks/rwc-sparsegpt-2-4-mask-via-hessian-saliency-compensation/solution_ref.py +31 -0
- mlsys/tasks/rwc-sparsegpt-2-4-mask-via-hessian-saliency-compensation/starter.py +4 -0
- mlsys/tasks/rwc-sparsegpt-2-4-mask-via-hessian-saliency-compensation/task.md +97 -0
- mlsys/tasks/rwc-tag-pointwise-fusible-ops-vs-fusion-barriers-in-an-op-chain/check.py +25 -0
- mlsys/tasks/rwc-tag-pointwise-fusible-ops-vs-fusion-barriers-in-an-op-chain/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-tag-pointwise-fusible-ops-vs-fusion-barriers-in-an-op-chain/meta.json +22 -0
- mlsys/tasks/rwc-tag-pointwise-fusible-ops-vs-fusion-barriers-in-an-op-chain/solution_ref.py +3 -0
- mlsys/tasks/rwc-tag-pointwise-fusible-ops-vs-fusion-barriers-in-an-op-chain/starter.py +2 -0
- mlsys/tasks/rwc-tag-pointwise-fusible-ops-vs-fusion-barriers-in-an-op-chain/task.md +25 -0
- mlsys/tasks/rwc-two-level-accumulation-beats-naive-fp8-accumulation/check.py +74 -0
- mlsys/tasks/rwc-two-level-accumulation-beats-naive-fp8-accumulation/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-two-level-accumulation-beats-naive-fp8-accumulation/meta.json +22 -0
- mlsys/tasks/rwc-two-level-accumulation-beats-naive-fp8-accumulation/solution_ref.py +26 -0
- mlsys/tasks/rwc-two-level-accumulation-beats-naive-fp8-accumulation/starter.py +13 -0
- mlsys/tasks/rwc-two-level-accumulation-beats-naive-fp8-accumulation/task.md +105 -0
- mlsys/tasks/rwc-unpack-the-q4-k-6-bit-scales-mins-blob/check.py +79 -0
- mlsys/tasks/rwc-unpack-the-q4-k-6-bit-scales-mins-blob/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-unpack-the-q4-k-6-bit-scales-mins-blob/meta.json +22 -0
- mlsys/tasks/rwc-unpack-the-q4-k-6-bit-scales-mins-blob/solution_ref.py +39 -0
- mlsys/tasks/rwc-unpack-the-q4-k-6-bit-scales-mins-blob/starter.py +17 -0
- mlsys/tasks/rwc-unpack-the-q4-k-6-bit-scales-mins-blob/task.md +83 -0
- mlsys/tasks/rwc-unpack-two-nibbles-per-byte-and-dequant/check.py +57 -0
- mlsys/tasks/rwc-unpack-two-nibbles-per-byte-and-dequant/gen_fixtures.py +1 -0
- mlsys/tasks/rwc-unpack-two-nibbles-per-byte-and-dequant/meta.json +27 -0
- mlsys/tasks/rwc-unpack-two-nibbles-per-byte-and-dequant/solution_ref.py +21 -0
- mlsys/tasks/rwc-unpack-two-nibbles-per-byte-and-dequant/starter.py +4 -0
- mlsys/tasks/rwc-unpack-two-nibbles-per-byte-and-dequant/task.md +72 -0
- mlsys/tasks/rwm-8-bit-vs-4-bit-vs-fp8-optimizer-state-error-ordering/check.py +120 -0
- mlsys/tasks/rwm-8-bit-vs-4-bit-vs-fp8-optimizer-state-error-ordering/gen_fixtures.py +2 -0
- mlsys/tasks/rwm-8-bit-vs-4-bit-vs-fp8-optimizer-state-error-ordering/meta.json +32 -0
- mlsys/tasks/rwm-8-bit-vs-4-bit-vs-fp8-optimizer-state-error-ordering/solution_ref.py +86 -0
- mlsys/tasks/rwm-8-bit-vs-4-bit-vs-fp8-optimizer-state-error-ordering/starter.py +12 -0
- mlsys/tasks/rwm-8-bit-vs-4-bit-vs-fp8-optimizer-state-error-ordering/task.md +111 -0
- mlsys/tasks/rwm-activation-memory-full-store-vs-checkpoint-every-k/check.py +31 -0
- mlsys/tasks/rwm-activation-memory-full-store-vs-checkpoint-every-k/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-activation-memory-full-store-vs-checkpoint-every-k/meta.json +22 -0
- mlsys/tasks/rwm-activation-memory-full-store-vs-checkpoint-every-k/solution_ref.py +32 -0
- mlsys/tasks/rwm-activation-memory-full-store-vs-checkpoint-every-k/starter.py +2 -0
- mlsys/tasks/rwm-activation-memory-full-store-vs-checkpoint-every-k/task.md +53 -0
- mlsys/tasks/rwm-activation-memory-with-without-checkpoint-offload/check.py +34 -0
- mlsys/tasks/rwm-activation-memory-with-without-checkpoint-offload/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-activation-memory-with-without-checkpoint-offload/meta.json +22 -0
- mlsys/tasks/rwm-activation-memory-with-without-checkpoint-offload/solution_ref.py +10 -0
- mlsys/tasks/rwm-activation-memory-with-without-checkpoint-offload/starter.py +4 -0
- mlsys/tasks/rwm-activation-memory-with-without-checkpoint-offload/task.md +66 -0
- mlsys/tasks/rwm-all-gather-unflatten-back-to-original-tensors/check.py +59 -0
- mlsys/tasks/rwm-all-gather-unflatten-back-to-original-tensors/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-all-gather-unflatten-back-to-original-tensors/meta.json +22 -0
- mlsys/tasks/rwm-all-gather-unflatten-back-to-original-tensors/solution_ref.py +15 -0
- mlsys/tasks/rwm-all-gather-unflatten-back-to-original-tensors/starter.py +6 -0
- mlsys/tasks/rwm-all-gather-unflatten-back-to-original-tensors/task.md +75 -0
- mlsys/tasks/rwm-allocate-a-kv-bit-budget-across-nbits-k-nbits-v-window/check.py +103 -0
- mlsys/tasks/rwm-allocate-a-kv-bit-budget-across-nbits-k-nbits-v-window/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-allocate-a-kv-bit-budget-across-nbits-k-nbits-v-window/meta.json +22 -0
- mlsys/tasks/rwm-allocate-a-kv-bit-budget-across-nbits-k-nbits-v-window/solution_ref.py +75 -0
- mlsys/tasks/rwm-allocate-a-kv-bit-budget-across-nbits-k-nbits-v-window/starter.py +16 -0
- mlsys/tasks/rwm-allocate-a-kv-bit-budget-across-nbits-k-nbits-v-window/task.md +96 -0
- mlsys/tasks/rwm-assign-each-layer-to-gpu-cpu-disk-under-a-sequential-device-map/check.py +40 -0
- mlsys/tasks/rwm-assign-each-layer-to-gpu-cpu-disk-under-a-sequential-device-map/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-assign-each-layer-to-gpu-cpu-disk-under-a-sequential-device-map/meta.json +22 -0
- mlsys/tasks/rwm-assign-each-layer-to-gpu-cpu-disk-under-a-sequential-device-map/solution_ref.py +20 -0
- mlsys/tasks/rwm-assign-each-layer-to-gpu-cpu-disk-under-a-sequential-device-map/starter.py +2 -0
- mlsys/tasks/rwm-assign-each-layer-to-gpu-cpu-disk-under-a-sequential-device-map/task.md +51 -0
- mlsys/tasks/rwm-asymmetric-int4-group-quant-dequant-of-k-channel-and-v-token/check.py +99 -0
- mlsys/tasks/rwm-asymmetric-int4-group-quant-dequant-of-k-channel-and-v-token/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-asymmetric-int4-group-quant-dequant-of-k-channel-and-v-token/meta.json +27 -0
- mlsys/tasks/rwm-asymmetric-int4-group-quant-dequant-of-k-channel-and-v-token/solution_ref.py +40 -0
- mlsys/tasks/rwm-asymmetric-int4-group-quant-dequant-of-k-channel-and-v-token/starter.py +26 -0
- mlsys/tasks/rwm-asymmetric-int4-group-quant-dequant-of-k-channel-and-v-token/task.md +88 -0
- mlsys/tasks/rwm-best-fit-caching-allocator-with-split-free-list-reuse/check.py +145 -0
- mlsys/tasks/rwm-best-fit-caching-allocator-with-split-free-list-reuse/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-best-fit-caching-allocator-with-split-free-list-reuse/meta.json +22 -0
- mlsys/tasks/rwm-best-fit-caching-allocator-with-split-free-list-reuse/solution_ref.py +60 -0
- mlsys/tasks/rwm-best-fit-caching-allocator-with-split-free-list-reuse/starter.py +24 -0
- mlsys/tasks/rwm-best-fit-caching-allocator-with-split-free-list-reuse/task.md +91 -0
- mlsys/tasks/rwm-block-allocator-with-free-list-logical-physical-table/check.py +97 -0
- mlsys/tasks/rwm-block-allocator-with-free-list-logical-physical-table/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-block-allocator-with-free-list-logical-physical-table/meta.json +22 -0
- mlsys/tasks/rwm-block-allocator-with-free-list-logical-physical-table/solution_ref.py +25 -0
- mlsys/tasks/rwm-block-allocator-with-free-list-logical-physical-table/starter.py +22 -0
- mlsys/tasks/rwm-block-allocator-with-free-list-logical-physical-table/task.md +66 -0
- mlsys/tasks/rwm-build-the-flatparameter-flatten-pad-chunk-into-n-shards/check.py +63 -0
- mlsys/tasks/rwm-build-the-flatparameter-flatten-pad-chunk-into-n-shards/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-build-the-flatparameter-flatten-pad-chunk-into-n-shards/meta.json +27 -0
- mlsys/tasks/rwm-build-the-flatparameter-flatten-pad-chunk-into-n-shards/solution_ref.py +12 -0
- mlsys/tasks/rwm-build-the-flatparameter-flatten-pad-chunk-into-n-shards/starter.py +22 -0
- mlsys/tasks/rwm-build-the-flatparameter-flatten-pad-chunk-into-n-shards/task.md +76 -0
- mlsys/tasks/rwm-bytes-per-param-optimizer-variant/check.py +36 -0
- mlsys/tasks/rwm-bytes-per-param-optimizer-variant/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-bytes-per-param-optimizer-variant/meta.json +22 -0
- mlsys/tasks/rwm-bytes-per-param-optimizer-variant/solution_ref.py +10 -0
- mlsys/tasks/rwm-bytes-per-param-optimizer-variant/starter.py +2 -0
- mlsys/tasks/rwm-bytes-per-param-optimizer-variant/task.md +46 -0
- mlsys/tasks/rwm-cacheblend-non-prefix-chunk-reuse-boundary-recompute/check.py +78 -0
- mlsys/tasks/rwm-cacheblend-non-prefix-chunk-reuse-boundary-recompute/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-cacheblend-non-prefix-chunk-reuse-boundary-recompute/meta.json +24 -0
- mlsys/tasks/rwm-cacheblend-non-prefix-chunk-reuse-boundary-recompute/solution_ref.py +36 -0
- mlsys/tasks/rwm-cacheblend-non-prefix-chunk-reuse-boundary-recompute/starter.py +2 -0
- mlsys/tasks/rwm-cacheblend-non-prefix-chunk-reuse-boundary-recompute/task.md +74 -0
- mlsys/tasks/rwm-chained-chunk-hashing-store-lookup-lmcache/check.py +58 -0
- mlsys/tasks/rwm-chained-chunk-hashing-store-lookup-lmcache/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-chained-chunk-hashing-store-lookup-lmcache/meta.json +24 -0
- mlsys/tasks/rwm-chained-chunk-hashing-store-lookup-lmcache/solution_ref.py +14 -0
- mlsys/tasks/rwm-chained-chunk-hashing-store-lookup-lmcache/starter.py +4 -0
- mlsys/tasks/rwm-chained-chunk-hashing-store-lookup-lmcache/task.md +75 -0
- mlsys/tasks/rwm-checkpoint-segment-autograd-recompute-verify-grads/check.py +46 -0
- mlsys/tasks/rwm-checkpoint-segment-autograd-recompute-verify-grads/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-checkpoint-segment-autograd-recompute-verify-grads/meta.json +27 -0
- mlsys/tasks/rwm-checkpoint-segment-autograd-recompute-verify-grads/solution_ref.py +43 -0
- mlsys/tasks/rwm-checkpoint-segment-autograd-recompute-verify-grads/starter.py +12 -0
- mlsys/tasks/rwm-checkpoint-segment-autograd-recompute-verify-grads/task.md +88 -0
- mlsys/tasks/rwm-closed-form-per-rank-bytes-incl-offload-subtraction/check.py +54 -0
- mlsys/tasks/rwm-closed-form-per-rank-bytes-incl-offload-subtraction/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-closed-form-per-rank-bytes-incl-offload-subtraction/meta.json +22 -0
- mlsys/tasks/rwm-closed-form-per-rank-bytes-incl-offload-subtraction/solution_ref.py +25 -0
- mlsys/tasks/rwm-closed-form-per-rank-bytes-incl-offload-subtraction/starter.py +2 -0
- mlsys/tasks/rwm-closed-form-per-rank-bytes-incl-offload-subtraction/task.md +73 -0
- mlsys/tasks/rwm-communication-volume-per-step-stage-2-vs-stage-3/check.py +43 -0
- mlsys/tasks/rwm-communication-volume-per-step-stage-2-vs-stage-3/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-communication-volume-per-step-stage-2-vs-stage-3/meta.json +22 -0
- mlsys/tasks/rwm-communication-volume-per-step-stage-2-vs-stage-3/solution_ref.py +8 -0
- mlsys/tasks/rwm-communication-volume-per-step-stage-2-vs-stage-3/starter.py +2 -0
- mlsys/tasks/rwm-communication-volume-per-step-stage-2-vs-stage-3/task.md +46 -0
- mlsys/tasks/rwm-copy-on-write-block-fork-for-beam-parallel-sampling/check.py +84 -0
- mlsys/tasks/rwm-copy-on-write-block-fork-for-beam-parallel-sampling/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-copy-on-write-block-fork-for-beam-parallel-sampling/meta.json +22 -0
- mlsys/tasks/rwm-copy-on-write-block-fork-for-beam-parallel-sampling/solution_ref.py +35 -0
- mlsys/tasks/rwm-copy-on-write-block-fork-for-beam-parallel-sampling/starter.py +2 -0
- mlsys/tasks/rwm-copy-on-write-block-fork-for-beam-parallel-sampling/task.md +70 -0
- mlsys/tasks/rwm-cpu-offload-vs-disk-offload-byte-traffic-per-forward/check.py +39 -0
- mlsys/tasks/rwm-cpu-offload-vs-disk-offload-byte-traffic-per-forward/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-cpu-offload-vs-disk-offload-byte-traffic-per-forward/meta.json +22 -0
- mlsys/tasks/rwm-cpu-offload-vs-disk-offload-byte-traffic-per-forward/solution_ref.py +10 -0
- mlsys/tasks/rwm-cpu-offload-vs-disk-offload-byte-traffic-per-forward/starter.py +3 -0
- mlsys/tasks/rwm-cpu-offload-vs-disk-offload-byte-traffic-per-forward/task.md +78 -0
- mlsys/tasks/rwm-cpu-offload-vs-nvme-offload-residency-zero-infinity/check.py +50 -0
- mlsys/tasks/rwm-cpu-offload-vs-nvme-offload-residency-zero-infinity/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-cpu-offload-vs-nvme-offload-residency-zero-infinity/meta.json +22 -0
- mlsys/tasks/rwm-cpu-offload-vs-nvme-offload-residency-zero-infinity/solution_ref.py +29 -0
- mlsys/tasks/rwm-cpu-offload-vs-nvme-offload-residency-zero-infinity/starter.py +2 -0
- mlsys/tasks/rwm-cpu-offload-vs-nvme-offload-residency-zero-infinity/task.md +75 -0
- mlsys/tasks/rwm-cpu-offloaded-adam-step-equals-single-device-step/check.py +75 -0
- mlsys/tasks/rwm-cpu-offloaded-adam-step-equals-single-device-step/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-cpu-offloaded-adam-step-equals-single-device-step/meta.json +22 -0
- mlsys/tasks/rwm-cpu-offloaded-adam-step-equals-single-device-step/solution_ref.py +31 -0
- mlsys/tasks/rwm-cpu-offloaded-adam-step-equals-single-device-step/starter.py +17 -0
- mlsys/tasks/rwm-cpu-offloaded-adam-step-equals-single-device-step/task.md +86 -0
- mlsys/tasks/rwm-double-quantize-the-absmax-scales-0-4-bits-param/check.py +65 -0
- mlsys/tasks/rwm-double-quantize-the-absmax-scales-0-4-bits-param/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-double-quantize-the-absmax-scales-0-4-bits-param/meta.json +22 -0
- mlsys/tasks/rwm-double-quantize-the-absmax-scales-0-4-bits-param/solution_ref.py +36 -0
- mlsys/tasks/rwm-double-quantize-the-absmax-scales-0-4-bits-param/starter.py +4 -0
- mlsys/tasks/rwm-double-quantize-the-absmax-scales-0-4-bits-param/task.md +79 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-error-on-log-normal-v-states/check.py +65 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-error-on-log-normal-v-states/gen_fixtures.py +2 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-error-on-log-normal-v-states/meta.json +27 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-error-on-log-normal-v-states/solution_ref.py +42 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-error-on-log-normal-v-states/starter.py +13 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-error-on-log-normal-v-states/task.md +87 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-which-wins-per-input-block/check.py +45 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-which-wins-per-input-block/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-which-wins-per-input-block/meta.json +22 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-which-wins-per-input-block/solution_ref.py +33 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-which-wins-per-input-block/starter.py +6 -0
- mlsys/tasks/rwm-dynamic-map-vs-linear-int8-which-wins-per-input-block/task.md +48 -0
- mlsys/tasks/rwm-emit-the-async-prefetch-evict-resident-set-per-step/check.py +46 -0
- mlsys/tasks/rwm-emit-the-async-prefetch-evict-resident-set-per-step/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-emit-the-async-prefetch-evict-resident-set-per-step/meta.json +27 -0
- mlsys/tasks/rwm-emit-the-async-prefetch-evict-resident-set-per-step/solution_ref.py +31 -0
- mlsys/tasks/rwm-emit-the-async-prefetch-evict-resident-set-per-step/starter.py +2 -0
- mlsys/tasks/rwm-emit-the-async-prefetch-evict-resident-set-per-step/task.md +43 -0
- mlsys/tasks/rwm-enumerate-the-256-dynamic-map-levels-from-the-bit-budget/check.py +57 -0
- mlsys/tasks/rwm-enumerate-the-256-dynamic-map-levels-from-the-bit-budget/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-enumerate-the-256-dynamic-map-levels-from-the-bit-budget/meta.json +27 -0
- mlsys/tasks/rwm-enumerate-the-256-dynamic-map-levels-from-the-bit-budget/solution_ref.py +28 -0
- mlsys/tasks/rwm-enumerate-the-256-dynamic-map-levels-from-the-bit-budget/starter.py +31 -0
- mlsys/tasks/rwm-enumerate-the-256-dynamic-map-levels-from-the-bit-budget/task.md +86 -0
- mlsys/tasks/rwm-fix-a-checkpoint-that-drops-rng-state-dropout-mismatch/check.py +134 -0
- mlsys/tasks/rwm-fix-a-checkpoint-that-drops-rng-state-dropout-mismatch/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fix-a-checkpoint-that-drops-rng-state-dropout-mismatch/meta.json +22 -0
- mlsys/tasks/rwm-fix-a-checkpoint-that-drops-rng-state-dropout-mismatch/solution_ref.py +54 -0
- mlsys/tasks/rwm-fix-a-checkpoint-that-drops-rng-state-dropout-mismatch/starter.py +50 -0
- mlsys/tasks/rwm-fix-a-checkpoint-that-drops-rng-state-dropout-mismatch/task.md +97 -0
- mlsys/tasks/rwm-fix-a-global-absmax-8-bit-optimizer-quantizer-blockwise/check.py +60 -0
- mlsys/tasks/rwm-fix-a-global-absmax-8-bit-optimizer-quantizer-blockwise/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fix-a-global-absmax-8-bit-optimizer-quantizer-blockwise/meta.json +22 -0
- mlsys/tasks/rwm-fix-a-global-absmax-8-bit-optimizer-quantizer-blockwise/solution_ref.py +18 -0
- mlsys/tasks/rwm-fix-a-global-absmax-8-bit-optimizer-quantizer-blockwise/starter.py +14 -0
- mlsys/tasks/rwm-fix-a-global-absmax-8-bit-optimizer-quantizer-blockwise/task.md +81 -0
- mlsys/tasks/rwm-fix-a-hasher-that-hashes-chunks-independently-false-hits/check.py +40 -0
- mlsys/tasks/rwm-fix-a-hasher-that-hashes-chunks-independently-false-hits/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fix-a-hasher-that-hashes-chunks-independently-false-hits/meta.json +22 -0
- mlsys/tasks/rwm-fix-a-hasher-that-hashes-chunks-independently-false-hits/solution_ref.py +19 -0
- mlsys/tasks/rwm-fix-a-hasher-that-hashes-chunks-independently-false-hits/starter.py +11 -0
- mlsys/tasks/rwm-fix-a-hasher-that-hashes-chunks-independently-false-hits/task.md +50 -0
- mlsys/tasks/rwm-fix-a-kivi-cache-quantizing-k-per-token-and-dropping-the-residual/check.py +62 -0
- mlsys/tasks/rwm-fix-a-kivi-cache-quantizing-k-per-token-and-dropping-the-residual/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fix-a-kivi-cache-quantizing-k-per-token-and-dropping-the-residual/meta.json +27 -0
- mlsys/tasks/rwm-fix-a-kivi-cache-quantizing-k-per-token-and-dropping-the-residual/solution_ref.py +27 -0
- mlsys/tasks/rwm-fix-a-kivi-cache-quantizing-k-per-token-and-dropping-the-residual/starter.py +28 -0
- mlsys/tasks/rwm-fix-a-kivi-cache-quantizing-k-per-token-and-dropping-the-residual/task.md +74 -0
- mlsys/tasks/rwm-fix-a-symmetric-int4-global-scale-codec-nf4-blockwise/check.py +55 -0
- mlsys/tasks/rwm-fix-a-symmetric-int4-global-scale-codec-nf4-blockwise/gen_fixtures.py +2 -0
- mlsys/tasks/rwm-fix-a-symmetric-int4-global-scale-codec-nf4-blockwise/meta.json +27 -0
- mlsys/tasks/rwm-fix-a-symmetric-int4-global-scale-codec-nf4-blockwise/solution_ref.py +29 -0
- mlsys/tasks/rwm-fix-a-symmetric-int4-global-scale-codec-nf4-blockwise/starter.py +18 -0
- mlsys/tasks/rwm-fix-a-symmetric-int4-global-scale-codec-nf4-blockwise/task.md +87 -0
- mlsys/tasks/rwm-fix-an-off-by-one-prefetch-that-evicts-the-layer-still-in-use/check.py +51 -0
- mlsys/tasks/rwm-fix-an-off-by-one-prefetch-that-evicts-the-layer-still-in-use/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fix-an-off-by-one-prefetch-that-evicts-the-layer-still-in-use/meta.json +22 -0
- mlsys/tasks/rwm-fix-an-off-by-one-prefetch-that-evicts-the-layer-still-in-use/solution_ref.py +25 -0
- mlsys/tasks/rwm-fix-an-off-by-one-prefetch-that-evicts-the-layer-still-in-use/starter.py +32 -0
- mlsys/tasks/rwm-fix-an-off-by-one-prefetch-that-evicts-the-layer-still-in-use/task.md +67 -0
- mlsys/tasks/rwm-fix-h2o-accumulating-attention-without-the-causal-mask/check.py +62 -0
- mlsys/tasks/rwm-fix-h2o-accumulating-attention-without-the-causal-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fix-h2o-accumulating-attention-without-the-causal-mask/meta.json +22 -0
- mlsys/tasks/rwm-fix-h2o-accumulating-attention-without-the-causal-mask/solution_ref.py +17 -0
- mlsys/tasks/rwm-fix-h2o-accumulating-attention-without-the-causal-mask/starter.py +15 -0
- mlsys/tasks/rwm-fix-h2o-accumulating-attention-without-the-causal-mask/task.md +73 -0
- mlsys/tasks/rwm-fix-tiled-attention-that-skips-accumulator-rescaling/check.py +59 -0
- mlsys/tasks/rwm-fix-tiled-attention-that-skips-accumulator-rescaling/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fix-tiled-attention-that-skips-accumulator-rescaling/meta.json +22 -0
- mlsys/tasks/rwm-fix-tiled-attention-that-skips-accumulator-rescaling/solution_ref.py +48 -0
- mlsys/tasks/rwm-fix-tiled-attention-that-skips-accumulator-rescaling/starter.py +42 -0
- mlsys/tasks/rwm-fix-tiled-attention-that-skips-accumulator-rescaling/task.md +85 -0
- mlsys/tasks/rwm-fix-vae-tiling-with-no-overlap-seam-artifacts/check.py +60 -0
- mlsys/tasks/rwm-fix-vae-tiling-with-no-overlap-seam-artifacts/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fix-vae-tiling-with-no-overlap-seam-artifacts/meta.json +22 -0
- mlsys/tasks/rwm-fix-vae-tiling-with-no-overlap-seam-artifacts/solution_ref.py +33 -0
- mlsys/tasks/rwm-fix-vae-tiling-with-no-overlap-seam-artifacts/starter.py +38 -0
- mlsys/tasks/rwm-fix-vae-tiling-with-no-overlap-seam-artifacts/task.md +92 -0
- mlsys/tasks/rwm-fixed-budget-kv-memory-and-compression-ratio/check.py +48 -0
- mlsys/tasks/rwm-fixed-budget-kv-memory-and-compression-ratio/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fixed-budget-kv-memory-and-compression-ratio/meta.json +27 -0
- mlsys/tasks/rwm-fixed-budget-kv-memory-and-compression-ratio/solution_ref.py +15 -0
- mlsys/tasks/rwm-fixed-budget-kv-memory-and-compression-ratio/starter.py +2 -0
- mlsys/tasks/rwm-fixed-budget-kv-memory-and-compression-ratio/task.md +61 -0
- mlsys/tasks/rwm-flashattention-backward-from-stored-logsumexp-no-score-matrix/check.py +50 -0
- mlsys/tasks/rwm-flashattention-backward-from-stored-logsumexp-no-score-matrix/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-flashattention-backward-from-stored-logsumexp-no-score-matrix/meta.json +22 -0
- mlsys/tasks/rwm-flashattention-backward-from-stored-logsumexp-no-score-matrix/solution_ref.py +20 -0
- mlsys/tasks/rwm-flashattention-backward-from-stored-logsumexp-no-score-matrix/starter.py +4 -0
- mlsys/tasks/rwm-flashattention-backward-from-stored-logsumexp-no-score-matrix/task.md +95 -0
- mlsys/tasks/rwm-fp8-e4m3-layerwise-casting-store-bf16-compute/check.py +90 -0
- mlsys/tasks/rwm-fp8-e4m3-layerwise-casting-store-bf16-compute/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fp8-e4m3-layerwise-casting-store-bf16-compute/meta.json +27 -0
- mlsys/tasks/rwm-fp8-e4m3-layerwise-casting-store-bf16-compute/solution_ref.py +57 -0
- mlsys/tasks/rwm-fp8-e4m3-layerwise-casting-store-bf16-compute/starter.py +10 -0
- mlsys/tasks/rwm-fp8-e4m3-layerwise-casting-store-bf16-compute/task.md +87 -0
- mlsys/tasks/rwm-fragmentation-oom-with-vs-without-max-split-size-cap/check.py +111 -0
- mlsys/tasks/rwm-fragmentation-oom-with-vs-without-max-split-size-cap/gen_fixtures.py +2 -0
- mlsys/tasks/rwm-fragmentation-oom-with-vs-without-max-split-size-cap/meta.json +22 -0
- mlsys/tasks/rwm-fragmentation-oom-with-vs-without-max-split-size-cap/solution_ref.py +58 -0
- mlsys/tasks/rwm-fragmentation-oom-with-vs-without-max-split-size-cap/starter.py +13 -0
- mlsys/tasks/rwm-fragmentation-oom-with-vs-without-max-split-size-cap/task.md +97 -0
- mlsys/tasks/rwm-fsdp-cpu-offload-vs-zero-3-cpu-offload-per-rank-gpu-bytes/check.py +31 -0
- mlsys/tasks/rwm-fsdp-cpu-offload-vs-zero-3-cpu-offload-per-rank-gpu-bytes/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-fsdp-cpu-offload-vs-zero-3-cpu-offload-per-rank-gpu-bytes/meta.json +22 -0
- mlsys/tasks/rwm-fsdp-cpu-offload-vs-zero-3-cpu-offload-per-rank-gpu-bytes/solution_ref.py +11 -0
- mlsys/tasks/rwm-fsdp-cpu-offload-vs-zero-3-cpu-offload-per-rank-gpu-bytes/starter.py +2 -0
- mlsys/tasks/rwm-fsdp-cpu-offload-vs-zero-3-cpu-offload-per-rank-gpu-bytes/task.md +76 -0
- mlsys/tasks/rwm-gather-logical-kv-from-the-block-table-and-attend/check.py +39 -0
- mlsys/tasks/rwm-gather-logical-kv-from-the-block-table-and-attend/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-gather-logical-kv-from-the-block-table-and-attend/meta.json +22 -0
- mlsys/tasks/rwm-gather-logical-kv-from-the-block-table-and-attend/solution_ref.py +14 -0
- mlsys/tasks/rwm-gather-logical-kv-from-the-block-table-and-attend/starter.py +6 -0
- mlsys/tasks/rwm-gather-logical-kv-from-the-block-table-and-attend/task.md +79 -0
- mlsys/tasks/rwm-gpu-bytes-freed-on-gpu-adamw-vs-cpuoffloadoptimizer/check.py +19 -0
- mlsys/tasks/rwm-gpu-bytes-freed-on-gpu-adamw-vs-cpuoffloadoptimizer/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-gpu-bytes-freed-on-gpu-adamw-vs-cpuoffloadoptimizer/meta.json +22 -0
- mlsys/tasks/rwm-gpu-bytes-freed-on-gpu-adamw-vs-cpuoffloadoptimizer/solution_ref.py +20 -0
- mlsys/tasks/rwm-gpu-bytes-freed-on-gpu-adamw-vs-cpuoffloadoptimizer/starter.py +2 -0
- mlsys/tasks/rwm-gpu-bytes-freed-on-gpu-adamw-vs-cpuoffloadoptimizer/task.md +42 -0
- mlsys/tasks/rwm-gpu-prefill-tokens-saved-by-prefix-chunk-reuse/check.py +49 -0
- mlsys/tasks/rwm-gpu-prefill-tokens-saved-by-prefix-chunk-reuse/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-gpu-prefill-tokens-saved-by-prefix-chunk-reuse/meta.json +22 -0
- mlsys/tasks/rwm-gpu-prefill-tokens-saved-by-prefix-chunk-reuse/solution_ref.py +22 -0
- mlsys/tasks/rwm-gpu-prefill-tokens-saved-by-prefix-chunk-reuse/starter.py +4 -0
- mlsys/tasks/rwm-gpu-prefill-tokens-saved-by-prefix-chunk-reuse/task.md +74 -0
- mlsys/tasks/rwm-group-offload-peak-vram-with-prefetch/check.py +68 -0
- mlsys/tasks/rwm-group-offload-peak-vram-with-prefetch/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-group-offload-peak-vram-with-prefetch/meta.json +22 -0
- mlsys/tasks/rwm-group-offload-peak-vram-with-prefetch/solution_ref.py +22 -0
- mlsys/tasks/rwm-group-offload-peak-vram-with-prefetch/starter.py +11 -0
- mlsys/tasks/rwm-group-offload-peak-vram-with-prefetch/task.md +86 -0
- mlsys/tasks/rwm-h2d-transfer-bytes-offloaded-dynamic-vs-offloaded-static-over-a-generation/check.py +48 -0
- mlsys/tasks/rwm-h2d-transfer-bytes-offloaded-dynamic-vs-offloaded-static-over-a-generation/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-h2d-transfer-bytes-offloaded-dynamic-vs-offloaded-static-over-a-generation/meta.json +22 -0
- mlsys/tasks/rwm-h2d-transfer-bytes-offloaded-dynamic-vs-offloaded-static-over-a-generation/solution_ref.py +7 -0
- mlsys/tasks/rwm-h2d-transfer-bytes-offloaded-dynamic-vs-offloaded-static-over-a-generation/starter.py +4 -0
- mlsys/tasks/rwm-h2d-transfer-bytes-offloaded-dynamic-vs-offloaded-static-over-a-generation/task.md +57 -0
- mlsys/tasks/rwm-h2o-heavy-hitter-accumulated-attention-eviction-set/check.py +64 -0
- mlsys/tasks/rwm-h2o-heavy-hitter-accumulated-attention-eviction-set/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-h2o-heavy-hitter-accumulated-attention-eviction-set/meta.json +22 -0
- mlsys/tasks/rwm-h2o-heavy-hitter-accumulated-attention-eviction-set/solution_ref.py +42 -0
- mlsys/tasks/rwm-h2o-heavy-hitter-accumulated-attention-eviction-set/starter.py +17 -0
- mlsys/tasks/rwm-h2o-heavy-hitter-accumulated-attention-eviction-set/task.md +95 -0
- mlsys/tasks/rwm-hit-rate-of-a-shared-prefix-workload-vs-chunk-size/check.py +28 -0
- mlsys/tasks/rwm-hit-rate-of-a-shared-prefix-workload-vs-chunk-size/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-hit-rate-of-a-shared-prefix-workload-vs-chunk-size/meta.json +22 -0
- mlsys/tasks/rwm-hit-rate-of-a-shared-prefix-workload-vs-chunk-size/solution_ref.py +8 -0
- mlsys/tasks/rwm-hit-rate-of-a-shared-prefix-workload-vs-chunk-size/starter.py +6 -0
- mlsys/tasks/rwm-hit-rate-of-a-shared-prefix-workload-vs-chunk-size/task.md +55 -0
- mlsys/tasks/rwm-how-many-gpu-kv-buffers-a-depth-k-prefetch-needs/check.py +30 -0
- mlsys/tasks/rwm-how-many-gpu-kv-buffers-a-depth-k-prefetch-needs/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-how-many-gpu-kv-buffers-a-depth-k-prefetch-needs/meta.json +22 -0
- mlsys/tasks/rwm-how-many-gpu-kv-buffers-a-depth-k-prefetch-needs/solution_ref.py +15 -0
- mlsys/tasks/rwm-how-many-gpu-kv-buffers-a-depth-k-prefetch-needs/starter.py +2 -0
- mlsys/tasks/rwm-how-many-gpu-kv-buffers-a-depth-k-prefetch-needs/task.md +51 -0
- mlsys/tasks/rwm-identify-which-eviction-policy-produced-a-retained-set/check.py +71 -0
- mlsys/tasks/rwm-identify-which-eviction-policy-produced-a-retained-set/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-identify-which-eviction-policy-produced-a-retained-set/meta.json +22 -0
- mlsys/tasks/rwm-identify-which-eviction-policy-produced-a-retained-set/solution_ref.py +39 -0
- mlsys/tasks/rwm-identify-which-eviction-policy-produced-a-retained-set/starter.py +2 -0
- mlsys/tasks/rwm-identify-which-eviction-policy-produced-a-retained-set/task.md +46 -0
- mlsys/tasks/rwm-infer-auto-device-map-greedy-allocator-with-no-split-blocks/check.py +77 -0
- mlsys/tasks/rwm-infer-auto-device-map-greedy-allocator-with-no-split-blocks/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-infer-auto-device-map-greedy-allocator-with-no-split-blocks/meta.json +22 -0
- mlsys/tasks/rwm-infer-auto-device-map-greedy-allocator-with-no-split-blocks/solution_ref.py +41 -0
- mlsys/tasks/rwm-infer-auto-device-map-greedy-allocator-with-no-split-blocks/starter.py +2 -0
- mlsys/tasks/rwm-infer-auto-device-map-greedy-allocator-with-no-split-blocks/task.md +68 -0
- mlsys/tasks/rwm-int2-v-with-an-exact-fp16-residual-window/check.py +47 -0
- mlsys/tasks/rwm-int2-v-with-an-exact-fp16-residual-window/gen_fixtures.py +2 -0
- mlsys/tasks/rwm-int2-v-with-an-exact-fp16-residual-window/meta.json +27 -0
- mlsys/tasks/rwm-int2-v-with-an-exact-fp16-residual-window/solution_ref.py +31 -0
- mlsys/tasks/rwm-int2-v-with-an-exact-fp16-residual-window/starter.py +11 -0
- mlsys/tasks/rwm-int2-v-with-an-exact-fp16-residual-window/task.md +77 -0
- mlsys/tasks/rwm-knorm-press-evict-lowest-key-norm-tokens/check.py +44 -0
- mlsys/tasks/rwm-knorm-press-evict-lowest-key-norm-tokens/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-knorm-press-evict-lowest-key-norm-tokens/meta.json +22 -0
- mlsys/tasks/rwm-knorm-press-evict-lowest-key-norm-tokens/solution_ref.py +20 -0
- mlsys/tasks/rwm-knorm-press-evict-lowest-key-norm-tokens/starter.py +4 -0
- mlsys/tasks/rwm-knorm-press-evict-lowest-key-norm-tokens/task.md +51 -0
- mlsys/tasks/rwm-label-each-request-s-chunks-hit-vs-miss-against-the-kv-store/check.py +43 -0
- mlsys/tasks/rwm-label-each-request-s-chunks-hit-vs-miss-against-the-kv-store/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-label-each-request-s-chunks-hit-vs-miss-against-the-kv-store/meta.json +22 -0
- mlsys/tasks/rwm-label-each-request-s-chunks-hit-vs-miss-against-the-kv-store/solution_ref.py +29 -0
- mlsys/tasks/rwm-label-each-request-s-chunks-hit-vs-miss-against-the-kv-store/starter.py +12 -0
- mlsys/tasks/rwm-label-each-request-s-chunks-hit-vs-miss-against-the-kv-store/task.md +63 -0
- mlsys/tasks/rwm-label-which-kv-layers-are-gpu-resident-at-each-decode-step/check.py +31 -0
- mlsys/tasks/rwm-label-which-kv-layers-are-gpu-resident-at-each-decode-step/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-label-which-kv-layers-are-gpu-resident-at-each-decode-step/meta.json +22 -0
- mlsys/tasks/rwm-label-which-kv-layers-are-gpu-resident-at-each-decode-step/solution_ref.py +9 -0
- mlsys/tasks/rwm-label-which-kv-layers-are-gpu-resident-at-each-decode-step/starter.py +4 -0
- mlsys/tasks/rwm-label-which-kv-layers-are-gpu-resident-at-each-decode-step/task.md +41 -0
- mlsys/tasks/rwm-lru-cpu-ssd-tiering-under-a-cpu-capacity-cap/check.py +63 -0
- mlsys/tasks/rwm-lru-cpu-ssd-tiering-under-a-cpu-capacity-cap/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-lru-cpu-ssd-tiering-under-a-cpu-capacity-cap/meta.json +22 -0
- mlsys/tasks/rwm-lru-cpu-ssd-tiering-under-a-cpu-capacity-cap/solution_ref.py +20 -0
- mlsys/tasks/rwm-lru-cpu-ssd-tiering-under-a-cpu-capacity-cap/starter.py +2 -0
- mlsys/tasks/rwm-lru-cpu-ssd-tiering-under-a-cpu-capacity-cap/task.md +56 -0
- mlsys/tasks/rwm-mark-each-kv-block-full-vs-partially-filled/check.py +36 -0
- mlsys/tasks/rwm-mark-each-kv-block-full-vs-partially-filled/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-mark-each-kv-block-full-vs-partially-filled/meta.json +22 -0
- mlsys/tasks/rwm-mark-each-kv-block-full-vs-partially-filled/solution_ref.py +16 -0
- mlsys/tasks/rwm-mark-each-kv-block-full-vs-partially-filled/starter.py +4 -0
- mlsys/tasks/rwm-mark-each-kv-block-full-vs-partially-filled/task.md +37 -0
- mlsys/tasks/rwm-mark-stored-vs-recomputed-activations-for-a-segmentation/check.py +30 -0
- mlsys/tasks/rwm-mark-stored-vs-recomputed-activations-for-a-segmentation/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-mark-stored-vs-recomputed-activations-for-a-segmentation/meta.json +22 -0
- mlsys/tasks/rwm-mark-stored-vs-recomputed-activations-for-a-segmentation/solution_ref.py +15 -0
- mlsys/tasks/rwm-mark-stored-vs-recomputed-activations-for-a-segmentation/starter.py +4 -0
- mlsys/tasks/rwm-mark-stored-vs-recomputed-activations-for-a-segmentation/task.md +65 -0
- mlsys/tasks/rwm-max-concurrent-sequences-that-fit-in-the-block-pool/check.py +55 -0
- mlsys/tasks/rwm-max-concurrent-sequences-that-fit-in-the-block-pool/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-max-concurrent-sequences-that-fit-in-the-block-pool/meta.json +22 -0
- mlsys/tasks/rwm-max-concurrent-sequences-that-fit-in-the-block-pool/solution_ref.py +20 -0
- mlsys/tasks/rwm-max-concurrent-sequences-that-fit-in-the-block-pool/starter.py +3 -0
- mlsys/tasks/rwm-max-concurrent-sequences-that-fit-in-the-block-pool/task.md +80 -0
- mlsys/tasks/rwm-memory-of-int4-kv-fp16-residual-window-vs-full-fp16-cache/check.py +59 -0
- mlsys/tasks/rwm-memory-of-int4-kv-fp16-residual-window-vs-full-fp16-cache/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-memory-of-int4-kv-fp16-residual-window-vs-full-fp16-cache/meta.json +22 -0
- mlsys/tasks/rwm-memory-of-int4-kv-fp16-residual-window-vs-full-fp16-cache/solution_ref.py +52 -0
- mlsys/tasks/rwm-memory-of-int4-kv-fp16-residual-window-vs-full-fp16-cache/starter.py +2 -0
- mlsys/tasks/rwm-memory-of-int4-kv-fp16-residual-window-vs-full-fp16-cache/task.md +71 -0
- mlsys/tasks/rwm-memory-vs-recompute-for-checkpoint-every-k-k-in-1-2-4/check.py +41 -0
- mlsys/tasks/rwm-memory-vs-recompute-for-checkpoint-every-k-k-in-1-2-4/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-memory-vs-recompute-for-checkpoint-every-k-k-in-1-2-4/meta.json +22 -0
- mlsys/tasks/rwm-memory-vs-recompute-for-checkpoint-every-k-k-in-1-2-4/solution_ref.py +18 -0
- mlsys/tasks/rwm-memory-vs-recompute-for-checkpoint-every-k-k-in-1-2-4/starter.py +2 -0
- mlsys/tasks/rwm-memory-vs-recompute-for-checkpoint-every-k-k-in-1-2-4/task.md +79 -0
- mlsys/tasks/rwm-minimum-gpu-memory-to-run-a-streamed-model/check.py +37 -0
- mlsys/tasks/rwm-minimum-gpu-memory-to-run-a-streamed-model/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-minimum-gpu-memory-to-run-a-streamed-model/meta.json +22 -0
- mlsys/tasks/rwm-minimum-gpu-memory-to-run-a-streamed-model/solution_ref.py +17 -0
- mlsys/tasks/rwm-minimum-gpu-memory-to-run-a-streamed-model/starter.py +10 -0
- mlsys/tasks/rwm-minimum-gpu-memory-to-run-a-streamed-model/task.md +69 -0
- mlsys/tasks/rwm-naive-vs-online-softmax-numerical-stability-on-large-logits/check.py +41 -0
- mlsys/tasks/rwm-naive-vs-online-softmax-numerical-stability-on-large-logits/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-naive-vs-online-softmax-numerical-stability-on-large-logits/meta.json +22 -0
- mlsys/tasks/rwm-naive-vs-online-softmax-numerical-stability-on-large-logits/solution_ref.py +8 -0
- mlsys/tasks/rwm-naive-vs-online-softmax-numerical-stability-on-large-logits/starter.py +4 -0
- mlsys/tasks/rwm-naive-vs-online-softmax-numerical-stability-on-large-logits/task.md +76 -0
- mlsys/tasks/rwm-nf4-blockwise-codec-levels-from-n-0-1-quantiles/check.py +97 -0
- mlsys/tasks/rwm-nf4-blockwise-codec-levels-from-n-0-1-quantiles/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-nf4-blockwise-codec-levels-from-n-0-1-quantiles/meta.json +29 -0
- mlsys/tasks/rwm-nf4-blockwise-codec-levels-from-n-0-1-quantiles/solution_ref.py +65 -0
- mlsys/tasks/rwm-nf4-blockwise-codec-levels-from-n-0-1-quantiles/starter.py +18 -0
- mlsys/tasks/rwm-nf4-blockwise-codec-levels-from-n-0-1-quantiles/task.md +99 -0
- mlsys/tasks/rwm-nf4-storage-bytes-and-effective-bits-param/check.py +54 -0
- mlsys/tasks/rwm-nf4-storage-bytes-and-effective-bits-param/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-nf4-storage-bytes-and-effective-bits-param/meta.json +22 -0
- mlsys/tasks/rwm-nf4-storage-bytes-and-effective-bits-param/solution_ref.py +17 -0
- mlsys/tasks/rwm-nf4-storage-bytes-and-effective-bits-param/starter.py +11 -0
- mlsys/tasks/rwm-nf4-storage-bytes-and-effective-bits-param/task.md +70 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-affine-reconstruction-error/check.py +104 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-affine-reconstruction-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-affine-reconstruction-error/meta.json +22 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-affine-reconstruction-error/solution_ref.py +45 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-affine-reconstruction-error/starter.py +4 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-affine-reconstruction-error/task.md +81 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-which-grid-fits-normal-weights-best/check.py +25 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-which-grid-fits-normal-weights-best/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-which-grid-fits-normal-weights-best/meta.json +22 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-which-grid-fits-normal-weights-best/solution_ref.py +18 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-which-grid-fits-normal-weights-best/starter.py +2 -0
- mlsys/tasks/rwm-nf4-vs-fp4-vs-int4-which-grid-fits-normal-weights-best/task.md +44 -0
- mlsys/tasks/rwm-online-softmax-for-one-query-over-streamed-k-v-blocks/check.py +51 -0
- mlsys/tasks/rwm-online-softmax-for-one-query-over-streamed-k-v-blocks/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-online-softmax-for-one-query-over-streamed-k-v-blocks/meta.json +22 -0
- mlsys/tasks/rwm-online-softmax-for-one-query-over-streamed-k-v-blocks/solution_ref.py +33 -0
- mlsys/tasks/rwm-online-softmax-for-one-query-over-streamed-k-v-blocks/starter.py +4 -0
- mlsys/tasks/rwm-online-softmax-for-one-query-over-streamed-k-v-blocks/task.md +88 -0
- mlsys/tasks/rwm-optimal-asymmetric-scale-zero-point-minimizing-max-abs-error/check.py +56 -0
- mlsys/tasks/rwm-optimal-asymmetric-scale-zero-point-minimizing-max-abs-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-optimal-asymmetric-scale-zero-point-minimizing-max-abs-error/meta.json +22 -0
- mlsys/tasks/rwm-optimal-asymmetric-scale-zero-point-minimizing-max-abs-error/solution_ref.py +19 -0
- mlsys/tasks/rwm-optimal-asymmetric-scale-zero-point-minimizing-max-abs-error/starter.py +9 -0
- mlsys/tasks/rwm-optimal-asymmetric-scale-zero-point-minimizing-max-abs-error/task.md +73 -0
- mlsys/tasks/rwm-optimal-checkpoint-placement-revolve-dp/check.py +32 -0
- mlsys/tasks/rwm-optimal-checkpoint-placement-revolve-dp/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-optimal-checkpoint-placement-revolve-dp/meta.json +24 -0
- mlsys/tasks/rwm-optimal-checkpoint-placement-revolve-dp/solution_ref.py +29 -0
- mlsys/tasks/rwm-optimal-checkpoint-placement-revolve-dp/starter.py +2 -0
- mlsys/tasks/rwm-optimal-checkpoint-placement-revolve-dp/task.md +60 -0
- mlsys/tasks/rwm-optimizer-memory-adam-fp32-vs-8-bit-blockwise-vs-paged/check.py +27 -0
- mlsys/tasks/rwm-optimizer-memory-adam-fp32-vs-8-bit-blockwise-vs-paged/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-optimizer-memory-adam-fp32-vs-8-bit-blockwise-vs-paged/meta.json +22 -0
- mlsys/tasks/rwm-optimizer-memory-adam-fp32-vs-8-bit-blockwise-vs-paged/solution_ref.py +14 -0
- mlsys/tasks/rwm-optimizer-memory-adam-fp32-vs-8-bit-blockwise-vs-paged/starter.py +2 -0
- mlsys/tasks/rwm-optimizer-memory-adam-fp32-vs-8-bit-blockwise-vs-paged/task.md +46 -0
- mlsys/tasks/rwm-peak-attention-memory-naive-o-n-2-vs-flash-o-n/check.py +28 -0
- mlsys/tasks/rwm-peak-attention-memory-naive-o-n-2-vs-flash-o-n/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-peak-attention-memory-naive-o-n-2-vs-flash-o-n/meta.json +22 -0
- mlsys/tasks/rwm-peak-attention-memory-naive-o-n-2-vs-flash-o-n/solution_ref.py +22 -0
- mlsys/tasks/rwm-peak-attention-memory-naive-o-n-2-vs-flash-o-n/starter.py +2 -0
- mlsys/tasks/rwm-peak-attention-memory-naive-o-n-2-vs-flash-o-n/task.md +48 -0
- mlsys/tasks/rwm-peak-gpu-bytes-total-h2d-transfer-for-a-k-layer-window/check.py +31 -0
- mlsys/tasks/rwm-peak-gpu-bytes-total-h2d-transfer-for-a-k-layer-window/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-peak-gpu-bytes-total-h2d-transfer-for-a-k-layer-window/meta.json +22 -0
- mlsys/tasks/rwm-peak-gpu-bytes-total-h2d-transfer-for-a-k-layer-window/solution_ref.py +14 -0
- mlsys/tasks/rwm-peak-gpu-bytes-total-h2d-transfer-for-a-k-layer-window/starter.py +2 -0
- mlsys/tasks/rwm-peak-gpu-bytes-total-h2d-transfer-for-a-k-layer-window/task.md +52 -0
- mlsys/tasks/rwm-peak-kv-bytes-offloaded-double-buffer-vs-on-device-full-cache/check.py +37 -0
- mlsys/tasks/rwm-peak-kv-bytes-offloaded-double-buffer-vs-on-device-full-cache/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-peak-kv-bytes-offloaded-double-buffer-vs-on-device-full-cache/meta.json +22 -0
- mlsys/tasks/rwm-peak-kv-bytes-offloaded-double-buffer-vs-on-device-full-cache/solution_ref.py +39 -0
- mlsys/tasks/rwm-peak-kv-bytes-offloaded-double-buffer-vs-on-device-full-cache/starter.py +7 -0
- mlsys/tasks/rwm-peak-kv-bytes-offloaded-double-buffer-vs-on-device-full-cache/task.md +76 -0
- mlsys/tasks/rwm-peak-vram-full-resident-vs-model-vs-sequential-offload/check.py +35 -0
- mlsys/tasks/rwm-peak-vram-full-resident-vs-model-vs-sequential-offload/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-peak-vram-full-resident-vs-model-vs-sequential-offload/meta.json +22 -0
- mlsys/tasks/rwm-peak-vram-full-resident-vs-model-vs-sequential-offload/solution_ref.py +30 -0
- mlsys/tasks/rwm-peak-vram-full-resident-vs-model-vs-sequential-offload/starter.py +2 -0
- mlsys/tasks/rwm-peak-vram-full-resident-vs-model-vs-sequential-offload/task.md +72 -0
- mlsys/tasks/rwm-per-channel-k-beats-per-token-k-on-outlier-channels/check.py +62 -0
- mlsys/tasks/rwm-per-channel-k-beats-per-token-k-on-outlier-channels/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-per-channel-k-beats-per-token-k-on-outlier-channels/meta.json +22 -0
- mlsys/tasks/rwm-per-channel-k-beats-per-token-k-on-outlier-channels/solution_ref.py +34 -0
- mlsys/tasks/rwm-per-channel-k-beats-per-token-k-on-outlier-channels/starter.py +15 -0
- mlsys/tasks/rwm-per-channel-k-beats-per-token-k-on-outlier-channels/task.md +78 -0
- mlsys/tasks/rwm-per-gpu-bytes-for-params-grads-optimizer-given-phi-n-stage/check.py +28 -0
- mlsys/tasks/rwm-per-gpu-bytes-for-params-grads-optimizer-given-phi-n-stage/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-per-gpu-bytes-for-params-grads-optimizer-given-phi-n-stage/meta.json +22 -0
- mlsys/tasks/rwm-per-gpu-bytes-for-params-grads-optimizer-given-phi-n-stage/solution_ref.py +32 -0
- mlsys/tasks/rwm-per-gpu-bytes-for-params-grads-optimizer-given-phi-n-stage/starter.py +2 -0
- mlsys/tasks/rwm-per-gpu-bytes-for-params-grads-optimizer-given-phi-n-stage/task.md +40 -0
- mlsys/tasks/rwm-per-rank-flat-partition-of-phi-across-n-ranks/check.py +38 -0
- mlsys/tasks/rwm-per-rank-flat-partition-of-phi-across-n-ranks/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-per-rank-flat-partition-of-phi-across-n-ranks/meta.json +22 -0
- mlsys/tasks/rwm-per-rank-flat-partition-of-phi-across-n-ranks/solution_ref.py +13 -0
- mlsys/tasks/rwm-per-rank-flat-partition-of-phi-across-n-ranks/starter.py +2 -0
- mlsys/tasks/rwm-per-rank-flat-partition-of-phi-across-n-ranks/task.md +68 -0
- mlsys/tasks/rwm-per-rank-peak-memory-of-full-shard-with-without-cpu-offload/check.py +34 -0
- mlsys/tasks/rwm-per-rank-peak-memory-of-full-shard-with-without-cpu-offload/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-per-rank-peak-memory-of-full-shard-with-without-cpu-offload/meta.json +22 -0
- mlsys/tasks/rwm-per-rank-peak-memory-of-full-shard-with-without-cpu-offload/solution_ref.py +11 -0
- mlsys/tasks/rwm-per-rank-peak-memory-of-full-shard-with-without-cpu-offload/starter.py +2 -0
- mlsys/tasks/rwm-per-rank-peak-memory-of-full-shard-with-without-cpu-offload/task.md +56 -0
- mlsys/tasks/rwm-pick-the-kivi-quant-axis-for-k-and-for-v/check.py +30 -0
- mlsys/tasks/rwm-pick-the-kivi-quant-axis-for-k-and-for-v/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-pick-the-kivi-quant-axis-for-k-and-for-v/meta.json +22 -0
- mlsys/tasks/rwm-pick-the-kivi-quant-axis-for-k-and-for-v/solution_ref.py +16 -0
- mlsys/tasks/rwm-pick-the-kivi-quant-axis-for-k-and-for-v/starter.py +4 -0
- mlsys/tasks/rwm-pick-the-kivi-quant-axis-for-k-and-for-v/task.md +45 -0
- mlsys/tasks/rwm-pick-the-minimal-knob-set-that-fits-the-memory-budget/check.py +59 -0
- mlsys/tasks/rwm-pick-the-minimal-knob-set-that-fits-the-memory-budget/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-pick-the-minimal-knob-set-that-fits-the-memory-budget/meta.json +22 -0
- mlsys/tasks/rwm-pick-the-minimal-knob-set-that-fits-the-memory-budget/solution_ref.py +25 -0
- mlsys/tasks/rwm-pick-the-minimal-knob-set-that-fits-the-memory-budget/starter.py +2 -0
- mlsys/tasks/rwm-pick-the-minimal-knob-set-that-fits-the-memory-budget/task.md +75 -0
- mlsys/tasks/rwm-prefix-cache-block-hashing-and-cross-sequence-sharing/check.py +66 -0
- mlsys/tasks/rwm-prefix-cache-block-hashing-and-cross-sequence-sharing/gen_fixtures.py +2 -0
- mlsys/tasks/rwm-prefix-cache-block-hashing-and-cross-sequence-sharing/meta.json +22 -0
- mlsys/tasks/rwm-prefix-cache-block-hashing-and-cross-sequence-sharing/solution_ref.py +32 -0
- mlsys/tasks/rwm-prefix-cache-block-hashing-and-cross-sequence-sharing/starter.py +8 -0
- mlsys/tasks/rwm-prefix-cache-block-hashing-and-cross-sequence-sharing/task.md +81 -0
- mlsys/tasks/rwm-prove-offloaded-cache-decode-is-bit-lossless-vs-full-cache/check.py +65 -0
- mlsys/tasks/rwm-prove-offloaded-cache-decode-is-bit-lossless-vs-full-cache/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-prove-offloaded-cache-decode-is-bit-lossless-vs-full-cache/meta.json +22 -0
- mlsys/tasks/rwm-prove-offloaded-cache-decode-is-bit-lossless-vs-full-cache/solution_ref.py +54 -0
- mlsys/tasks/rwm-prove-offloaded-cache-decode-is-bit-lossless-vs-full-cache/starter.py +50 -0
- mlsys/tasks/rwm-prove-offloaded-cache-decode-is-bit-lossless-vs-full-cache/task.md +75 -0
- mlsys/tasks/rwm-qlora-forward-dequant-nf4-base-lora-delta/check.py +64 -0
- mlsys/tasks/rwm-qlora-forward-dequant-nf4-base-lora-delta/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-qlora-forward-dequant-nf4-base-lora-delta/meta.json +22 -0
- mlsys/tasks/rwm-qlora-forward-dequant-nf4-base-lora-delta/solution_ref.py +42 -0
- mlsys/tasks/rwm-qlora-forward-dequant-nf4-base-lora-delta/starter.py +26 -0
- mlsys/tasks/rwm-qlora-forward-dequant-nf4-base-lora-delta/task.md +91 -0
- mlsys/tasks/rwm-reconstruct-create-dynamic-map-and-quantize-adam-v-blockwise/check.py +80 -0
- mlsys/tasks/rwm-reconstruct-create-dynamic-map-and-quantize-adam-v-blockwise/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-reconstruct-create-dynamic-map-and-quantize-adam-v-blockwise/meta.json +22 -0
- mlsys/tasks/rwm-reconstruct-create-dynamic-map-and-quantize-adam-v-blockwise/solution_ref.py +51 -0
- mlsys/tasks/rwm-reconstruct-create-dynamic-map-and-quantize-adam-v-blockwise/starter.py +10 -0
- mlsys/tasks/rwm-reconstruct-create-dynamic-map-and-quantize-adam-v-blockwise/task.md +85 -0
- mlsys/tasks/rwm-reconstruct-the-16-nf4-level-values/check.py +23 -0
- mlsys/tasks/rwm-reconstruct-the-16-nf4-level-values/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-reconstruct-the-16-nf4-level-values/meta.json +22 -0
- mlsys/tasks/rwm-reconstruct-the-16-nf4-level-values/solution_ref.py +10 -0
- mlsys/tasks/rwm-reconstruct-the-16-nf4-level-values/starter.py +5 -0
- mlsys/tasks/rwm-reconstruct-the-16-nf4-level-values/task.md +45 -0
- mlsys/tasks/rwm-recover-peak-reserved-allocated-from-a-memory-snapshot/check.py +88 -0
- mlsys/tasks/rwm-recover-peak-reserved-allocated-from-a-memory-snapshot/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-recover-peak-reserved-allocated-from-a-memory-snapshot/meta.json +22 -0
- mlsys/tasks/rwm-recover-peak-reserved-allocated-from-a-memory-snapshot/solution_ref.py +22 -0
- mlsys/tasks/rwm-recover-peak-reserved-allocated-from-a-memory-snapshot/starter.py +2 -0
- mlsys/tasks/rwm-recover-peak-reserved-allocated-from-a-memory-snapshot/task.md +99 -0
- mlsys/tasks/rwm-reserved-vs-allocated-fragmentation-gap-after-a-trace/check.py +44 -0
- mlsys/tasks/rwm-reserved-vs-allocated-fragmentation-gap-after-a-trace/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-reserved-vs-allocated-fragmentation-gap-after-a-trace/meta.json +22 -0
- mlsys/tasks/rwm-reserved-vs-allocated-fragmentation-gap-after-a-trace/solution_ref.py +20 -0
- mlsys/tasks/rwm-reserved-vs-allocated-fragmentation-gap-after-a-trace/starter.py +2 -0
- mlsys/tasks/rwm-reserved-vs-allocated-fragmentation-gap-after-a-trace/task.md +72 -0
- mlsys/tasks/rwm-simulate-paged-optimizer-eviction-under-a-spike-no-oom/check.py +72 -0
- mlsys/tasks/rwm-simulate-paged-optimizer-eviction-under-a-spike-no-oom/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-simulate-paged-optimizer-eviction-under-a-spike-no-oom/meta.json +27 -0
- mlsys/tasks/rwm-simulate-paged-optimizer-eviction-under-a-spike-no-oom/solution_ref.py +21 -0
- mlsys/tasks/rwm-simulate-paged-optimizer-eviction-under-a-spike-no-oom/starter.py +30 -0
- mlsys/tasks/rwm-simulate-paged-optimizer-eviction-under-a-spike-no-oom/task.md +78 -0
- mlsys/tasks/rwm-size-rounding-small-large-pool-selection/check.py +67 -0
- mlsys/tasks/rwm-size-rounding-small-large-pool-selection/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-size-rounding-small-large-pool-selection/meta.json +22 -0
- mlsys/tasks/rwm-size-rounding-small-large-pool-selection/solution_ref.py +42 -0
- mlsys/tasks/rwm-size-rounding-small-large-pool-selection/starter.py +12 -0
- mlsys/tasks/rwm-size-rounding-small-large-pool-selection/task.md +93 -0
- mlsys/tasks/rwm-sliced-attention-matching-full-attention/check.py +66 -0
- mlsys/tasks/rwm-sliced-attention-matching-full-attention/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-sliced-attention-matching-full-attention/meta.json +32 -0
- mlsys/tasks/rwm-sliced-attention-matching-full-attention/solution_ref.py +28 -0
- mlsys/tasks/rwm-sliced-attention-matching-full-attention/starter.py +25 -0
- mlsys/tasks/rwm-sliced-attention-matching-full-attention/task.md +45 -0
- mlsys/tasks/rwm-smallest-stage-offload-target-that-fits-a-target-model/check.py +72 -0
- mlsys/tasks/rwm-smallest-stage-offload-target-that-fits-a-target-model/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-smallest-stage-offload-target-that-fits-a-target-model/meta.json +22 -0
- mlsys/tasks/rwm-smallest-stage-offload-target-that-fits-a-target-model/solution_ref.py +34 -0
- mlsys/tasks/rwm-smallest-stage-offload-target-that-fits-a-target-model/starter.py +2 -0
- mlsys/tasks/rwm-smallest-stage-offload-target-that-fits-a-target-model/task.md +71 -0
- mlsys/tasks/rwm-snapkv-observation-window-pooled-vote-selection/check.py +76 -0
- mlsys/tasks/rwm-snapkv-observation-window-pooled-vote-selection/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-snapkv-observation-window-pooled-vote-selection/meta.json +22 -0
- mlsys/tasks/rwm-snapkv-observation-window-pooled-vote-selection/solution_ref.py +52 -0
- mlsys/tasks/rwm-snapkv-observation-window-pooled-vote-selection/starter.py +28 -0
- mlsys/tasks/rwm-snapkv-observation-window-pooled-vote-selection/task.md +77 -0
- mlsys/tasks/rwm-split-to-minimize-disk-resident-bytes-under-max-memory/check.py +63 -0
- mlsys/tasks/rwm-split-to-minimize-disk-resident-bytes-under-max-memory/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-split-to-minimize-disk-resident-bytes-under-max-memory/meta.json +22 -0
- mlsys/tasks/rwm-split-to-minimize-disk-resident-bytes-under-max-memory/solution_ref.py +24 -0
- mlsys/tasks/rwm-split-to-minimize-disk-resident-bytes-under-max-memory/starter.py +2 -0
- mlsys/tasks/rwm-split-to-minimize-disk-resident-bytes-under-max-memory/task.md +57 -0
- mlsys/tasks/rwm-splittable-vs-oversized-free-blocks-under-max-split-size/check.py +22 -0
- mlsys/tasks/rwm-splittable-vs-oversized-free-blocks-under-max-split-size/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-splittable-vs-oversized-free-blocks-under-max-split-size/meta.json +22 -0
- mlsys/tasks/rwm-splittable-vs-oversized-free-blocks-under-max-split-size/solution_ref.py +6 -0
- mlsys/tasks/rwm-splittable-vs-oversized-free-blocks-under-max-split-size/starter.py +4 -0
- mlsys/tasks/rwm-splittable-vs-oversized-free-blocks-under-max-split-size/task.md +44 -0
- mlsys/tasks/rwm-sqrt-l-segment-size-and-its-memory-recompute-cost/check.py +23 -0
- mlsys/tasks/rwm-sqrt-l-segment-size-and-its-memory-recompute-cost/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-sqrt-l-segment-size-and-its-memory-recompute-cost/meta.json +22 -0
- mlsys/tasks/rwm-sqrt-l-segment-size-and-its-memory-recompute-cost/solution_ref.py +8 -0
- mlsys/tasks/rwm-sqrt-l-segment-size-and-its-memory-recompute-cost/starter.py +6 -0
- mlsys/tasks/rwm-sqrt-l-segment-size-and-its-memory-recompute-cost/task.md +57 -0
- mlsys/tasks/rwm-streamed-layer-forward-equals-full-resident-forward/check.py +36 -0
- mlsys/tasks/rwm-streamed-layer-forward-equals-full-resident-forward/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-streamed-layer-forward-equals-full-resident-forward/meta.json +22 -0
- mlsys/tasks/rwm-streamed-layer-forward-equals-full-resident-forward/solution_ref.py +14 -0
- mlsys/tasks/rwm-streamed-layer-forward-equals-full-resident-forward/starter.py +3 -0
- mlsys/tasks/rwm-streamed-layer-forward-equals-full-resident-forward/task.md +97 -0
- mlsys/tasks/rwm-streamingllm-sink-window-set-rolling-position-ids/check.py +70 -0
- mlsys/tasks/rwm-streamingllm-sink-window-set-rolling-position-ids/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-streamingllm-sink-window-set-rolling-position-ids/meta.json +22 -0
- mlsys/tasks/rwm-streamingllm-sink-window-set-rolling-position-ids/solution_ref.py +25 -0
- mlsys/tasks/rwm-streamingllm-sink-window-set-rolling-position-ids/starter.py +4 -0
- mlsys/tasks/rwm-streamingllm-sink-window-set-rolling-position-ids/task.md +88 -0
- mlsys/tasks/rwm-streamingllm-vs-h2o-retention-of-a-mid-context-needle/check.py +95 -0
- mlsys/tasks/rwm-streamingllm-vs-h2o-retention-of-a-mid-context-needle/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-streamingllm-vs-h2o-retention-of-a-mid-context-needle/meta.json +22 -0
- mlsys/tasks/rwm-streamingllm-vs-h2o-retention-of-a-mid-context-needle/solution_ref.py +23 -0
- mlsys/tasks/rwm-streamingllm-vs-h2o-retention-of-a-mid-context-needle/starter.py +4 -0
- mlsys/tasks/rwm-streamingllm-vs-h2o-retention-of-a-mid-context-needle/task.md +86 -0
- mlsys/tasks/rwm-swap-vs-recompute-preemption-accounting/check.py +51 -0
- mlsys/tasks/rwm-swap-vs-recompute-preemption-accounting/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-swap-vs-recompute-preemption-accounting/meta.json +22 -0
- mlsys/tasks/rwm-swap-vs-recompute-preemption-accounting/solution_ref.py +16 -0
- mlsys/tasks/rwm-swap-vs-recompute-preemption-accounting/starter.py +16 -0
- mlsys/tasks/rwm-swap-vs-recompute-preemption-accounting/task.md +74 -0
- mlsys/tasks/rwm-the-online-softmax-correction-factor-block-by-block/check.py +68 -0
- mlsys/tasks/rwm-the-online-softmax-correction-factor-block-by-block/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-the-online-softmax-correction-factor-block-by-block/meta.json +22 -0
- mlsys/tasks/rwm-the-online-softmax-correction-factor-block-by-block/solution_ref.py +32 -0
- mlsys/tasks/rwm-the-online-softmax-correction-factor-block-by-block/starter.py +4 -0
- mlsys/tasks/rwm-the-online-softmax-correction-factor-block-by-block/task.md +89 -0
- mlsys/tasks/rwm-tiled-flashattention-forward-with-causal-mask/check.py +44 -0
- mlsys/tasks/rwm-tiled-flashattention-forward-with-causal-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-tiled-flashattention-forward-with-causal-mask/meta.json +22 -0
- mlsys/tasks/rwm-tiled-flashattention-forward-with-causal-mask/solution_ref.py +45 -0
- mlsys/tasks/rwm-tiled-flashattention-forward-with-causal-mask/starter.py +4 -0
- mlsys/tasks/rwm-tiled-flashattention-forward-with-causal-mask/task.md +83 -0
- mlsys/tasks/rwm-torchao-4-bit-adamw-state-one-step/check.py +111 -0
- mlsys/tasks/rwm-torchao-4-bit-adamw-state-one-step/gen_fixtures.py +3 -0
- mlsys/tasks/rwm-torchao-4-bit-adamw-state-one-step/meta.json +27 -0
- mlsys/tasks/rwm-torchao-4-bit-adamw-state-one-step/solution_ref.py +65 -0
- mlsys/tasks/rwm-torchao-4-bit-adamw-state-one-step/starter.py +17 -0
- mlsys/tasks/rwm-torchao-4-bit-adamw-state-one-step/task.md +88 -0
- mlsys/tasks/rwm-torchao-8-bit-adamw-state-blockwise-one-step/check.py +81 -0
- mlsys/tasks/rwm-torchao-8-bit-adamw-state-blockwise-one-step/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-torchao-8-bit-adamw-state-blockwise-one-step/meta.json +22 -0
- mlsys/tasks/rwm-torchao-8-bit-adamw-state-blockwise-one-step/solution_ref.py +59 -0
- mlsys/tasks/rwm-torchao-8-bit-adamw-state-blockwise-one-step/starter.py +4 -0
- mlsys/tasks/rwm-torchao-8-bit-adamw-state-blockwise-one-step/task.md +120 -0
- mlsys/tasks/rwm-unsloth-offloaded-checkpoint-context-multiplier/check.py +44 -0
- mlsys/tasks/rwm-unsloth-offloaded-checkpoint-context-multiplier/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-unsloth-offloaded-checkpoint-context-multiplier/meta.json +22 -0
- mlsys/tasks/rwm-unsloth-offloaded-checkpoint-context-multiplier/solution_ref.py +19 -0
- mlsys/tasks/rwm-unsloth-offloaded-checkpoint-context-multiplier/starter.py +2 -0
- mlsys/tasks/rwm-unsloth-offloaded-checkpoint-context-multiplier/task.md +83 -0
- mlsys/tasks/rwm-vae-slicing-batch-split-vs-tiling-spatial-split-peak-memory/check.py +27 -0
- mlsys/tasks/rwm-vae-slicing-batch-split-vs-tiling-spatial-split-peak-memory/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-vae-slicing-batch-split-vs-tiling-spatial-split-peak-memory/meta.json +22 -0
- mlsys/tasks/rwm-vae-slicing-batch-split-vs-tiling-spatial-split-peak-memory/solution_ref.py +12 -0
- mlsys/tasks/rwm-vae-slicing-batch-split-vs-tiling-spatial-split-peak-memory/starter.py +2 -0
- mlsys/tasks/rwm-vae-slicing-batch-split-vs-tiling-spatial-split-peak-memory/task.md +66 -0
- mlsys/tasks/rwm-vae-tiled-decode-with-overlap-blending/check.py +89 -0
- mlsys/tasks/rwm-vae-tiled-decode-with-overlap-blending/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-vae-tiled-decode-with-overlap-blending/meta.json +22 -0
- mlsys/tasks/rwm-vae-tiled-decode-with-overlap-blending/solution_ref.py +66 -0
- mlsys/tasks/rwm-vae-tiled-decode-with-overlap-blending/starter.py +11 -0
- mlsys/tasks/rwm-vae-tiled-decode-with-overlap-blending/task.md +99 -0
- mlsys/tasks/rwm-vram-reduction-from-moving-optimizer-state-step-to-cpu/check.py +41 -0
- mlsys/tasks/rwm-vram-reduction-from-moving-optimizer-state-step-to-cpu/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-vram-reduction-from-moving-optimizer-state-step-to-cpu/meta.json +22 -0
- mlsys/tasks/rwm-vram-reduction-from-moving-optimizer-state-step-to-cpu/solution_ref.py +18 -0
- mlsys/tasks/rwm-vram-reduction-from-moving-optimizer-state-step-to-cpu/starter.py +15 -0
- mlsys/tasks/rwm-vram-reduction-from-moving-optimizer-state-step-to-cpu/task.md +91 -0
- mlsys/tasks/rwm-wasted-slots-physical-blocks-paged-vs-contiguous-pre-alloc/check.py +37 -0
- mlsys/tasks/rwm-wasted-slots-physical-blocks-paged-vs-contiguous-pre-alloc/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-wasted-slots-physical-blocks-paged-vs-contiguous-pre-alloc/meta.json +22 -0
- mlsys/tasks/rwm-wasted-slots-physical-blocks-paged-vs-contiguous-pre-alloc/solution_ref.py +32 -0
- mlsys/tasks/rwm-wasted-slots-physical-blocks-paged-vs-contiguous-pre-alloc/starter.py +2 -0
- mlsys/tasks/rwm-wasted-slots-physical-blocks-paged-vs-contiguous-pre-alloc/task.md +58 -0
- mlsys/tasks/rwm-what-lives-on-gpu-vs-cpu-in-forward-vs-backward-under-fsdp-flags/check.py +40 -0
- mlsys/tasks/rwm-what-lives-on-gpu-vs-cpu-in-forward-vs-backward-under-fsdp-flags/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-what-lives-on-gpu-vs-cpu-in-forward-vs-backward-under-fsdp-flags/meta.json +22 -0
- mlsys/tasks/rwm-what-lives-on-gpu-vs-cpu-in-forward-vs-backward-under-fsdp-flags/solution_ref.py +40 -0
- mlsys/tasks/rwm-what-lives-on-gpu-vs-cpu-in-forward-vs-backward-under-fsdp-flags/starter.py +2 -0
- mlsys/tasks/rwm-what-lives-on-gpu-vs-cpu-in-forward-vs-backward-under-fsdp-flags/task.md +45 -0
- mlsys/tasks/rwm-which-attention-backend-materializes-the-full-score-matrix/check.py +23 -0
- mlsys/tasks/rwm-which-attention-backend-materializes-the-full-score-matrix/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-which-attention-backend-materializes-the-full-score-matrix/meta.json +22 -0
- mlsys/tasks/rwm-which-attention-backend-materializes-the-full-score-matrix/solution_ref.py +12 -0
- mlsys/tasks/rwm-which-attention-backend-materializes-the-full-score-matrix/starter.py +2 -0
- mlsys/tasks/rwm-which-attention-backend-materializes-the-full-score-matrix/task.md +45 -0
- mlsys/tasks/rwm-which-component-is-gpu-resident-per-pipeline-stage-and-mode/check.py +39 -0
- mlsys/tasks/rwm-which-component-is-gpu-resident-per-pipeline-stage-and-mode/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-which-component-is-gpu-resident-per-pipeline-stage-and-mode/meta.json +22 -0
- mlsys/tasks/rwm-which-component-is-gpu-resident-per-pipeline-stage-and-mode/solution_ref.py +36 -0
- mlsys/tasks/rwm-which-component-is-gpu-resident-per-pipeline-stage-and-mode/starter.py +2 -0
- mlsys/tasks/rwm-which-component-is-gpu-resident-per-pipeline-stage-and-mode/task.md +55 -0
- mlsys/tasks/rwm-which-of-params-grads-optimizer-are-sharded-at-each-zero-stage/check.py +21 -0
- mlsys/tasks/rwm-which-of-params-grads-optimizer-are-sharded-at-each-zero-stage/gen_fixtures.py +1 -0
- mlsys/tasks/rwm-which-of-params-grads-optimizer-are-sharded-at-each-zero-stage/meta.json +22 -0
- mlsys/tasks/rwm-which-of-params-grads-optimizer-are-sharded-at-each-zero-stage/solution_ref.py +25 -0
- mlsys/tasks/rwm-which-of-params-grads-optimizer-are-sharded-at-each-zero-stage/starter.py +2 -0
- mlsys/tasks/rwm-which-of-params-grads-optimizer-are-sharded-at-each-zero-stage/task.md +51 -0
- mlsys/tasks/rwm-why-expandable-segments-avoids-a-fragmentation-oom/check.py +130 -0
- mlsys/tasks/rwm-why-expandable-segments-avoids-a-fragmentation-oom/gen_fixtures.py +2 -0
- mlsys/tasks/rwm-why-expandable-segments-avoids-a-fragmentation-oom/meta.json +22 -0
- mlsys/tasks/rwm-why-expandable-segments-avoids-a-fragmentation-oom/solution_ref.py +78 -0
- mlsys/tasks/rwm-why-expandable-segments-avoids-a-fragmentation-oom/starter.py +13 -0
- mlsys/tasks/rwm-why-expandable-segments-avoids-a-fragmentation-oom/task.md +92 -0
- mlsys/tasks/rwq-act-order-column-permutation/check.py +85 -0
- mlsys/tasks/rwq-act-order-column-permutation/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-act-order-column-permutation/meta.json +27 -0
- mlsys/tasks/rwq-act-order-column-permutation/solution_ref.py +53 -0
- mlsys/tasks/rwq-act-order-column-permutation/starter.py +10 -0
- mlsys/tasks/rwq-act-order-column-permutation/task.md +85 -0
- mlsys/tasks/rwq-activation-calibration-scale-moving-absmax/check.py +30 -0
- mlsys/tasks/rwq-activation-calibration-scale-moving-absmax/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-activation-calibration-scale-moving-absmax/meta.json +22 -0
- mlsys/tasks/rwq-activation-calibration-scale-moving-absmax/solution_ref.py +11 -0
- mlsys/tasks/rwq-activation-calibration-scale-moving-absmax/starter.py +4 -0
- mlsys/tasks/rwq-activation-calibration-scale-moving-absmax/task.md +74 -0
- mlsys/tasks/rwq-apply-a-per-channel-scale-and-quantize/check.py +80 -0
- mlsys/tasks/rwq-apply-a-per-channel-scale-and-quantize/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-apply-a-per-channel-scale-and-quantize/meta.json +27 -0
- mlsys/tasks/rwq-apply-a-per-channel-scale-and-quantize/solution_ref.py +38 -0
- mlsys/tasks/rwq-apply-a-per-channel-scale-and-quantize/starter.py +38 -0
- mlsys/tasks/rwq-apply-a-per-channel-scale-and-quantize/task.md +92 -0
- mlsys/tasks/rwq-awq-scaling-vs-plain-group-int4/check.py +64 -0
- mlsys/tasks/rwq-awq-scaling-vs-plain-group-int4/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-awq-scaling-vs-plain-group-int4/meta.json +32 -0
- mlsys/tasks/rwq-awq-scaling-vs-plain-group-int4/solution_ref.py +31 -0
- mlsys/tasks/rwq-awq-scaling-vs-plain-group-int4/starter.py +7 -0
- mlsys/tasks/rwq-awq-scaling-vs-plain-group-int4/task.md +70 -0
- mlsys/tasks/rwq-build-a-normalized-sylvester-hadamard-matrix/check.py +42 -0
- mlsys/tasks/rwq-build-a-normalized-sylvester-hadamard-matrix/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-build-a-normalized-sylvester-hadamard-matrix/meta.json +27 -0
- mlsys/tasks/rwq-build-a-normalized-sylvester-hadamard-matrix/solution_ref.py +8 -0
- mlsys/tasks/rwq-build-a-normalized-sylvester-hadamard-matrix/starter.py +6 -0
- mlsys/tasks/rwq-build-a-normalized-sylvester-hadamard-matrix/task.md +89 -0
- mlsys/tasks/rwq-cholesky-inverse-of-the-damped-hessian/check.py +38 -0
- mlsys/tasks/rwq-cholesky-inverse-of-the-damped-hessian/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-cholesky-inverse-of-the-damped-hessian/meta.json +22 -0
- mlsys/tasks/rwq-cholesky-inverse-of-the-damped-hessian/solution_ref.py +14 -0
- mlsys/tasks/rwq-cholesky-inverse-of-the-damped-hessian/starter.py +9 -0
- mlsys/tasks/rwq-cholesky-inverse-of-the-damped-hessian/task.md +54 -0
- mlsys/tasks/rwq-classify-e4m3-regime-per-value/check.py +37 -0
- mlsys/tasks/rwq-classify-e4m3-regime-per-value/fixtures/fp8_x.npy +0 -0
- mlsys/tasks/rwq-classify-e4m3-regime-per-value/gen_fixtures.py +52 -0
- mlsys/tasks/rwq-classify-e4m3-regime-per-value/meta.json +24 -0
- mlsys/tasks/rwq-classify-e4m3-regime-per-value/solution_ref.py +35 -0
- mlsys/tasks/rwq-classify-e4m3-regime-per-value/starter.py +16 -0
- mlsys/tasks/rwq-classify-e4m3-regime-per-value/task.md +79 -0
- mlsys/tasks/rwq-classify-each-value-s-e2m1-code/check.py +37 -0
- mlsys/tasks/rwq-classify-each-value-s-e2m1-code/fixtures/fp4_x.npy +0 -0
- mlsys/tasks/rwq-classify-each-value-s-e2m1-code/gen_fixtures.py +39 -0
- mlsys/tasks/rwq-classify-each-value-s-e2m1-code/meta.json +24 -0
- mlsys/tasks/rwq-classify-each-value-s-e2m1-code/solution_ref.py +30 -0
- mlsys/tasks/rwq-classify-each-value-s-e2m1-code/starter.py +21 -0
- mlsys/tasks/rwq-classify-each-value-s-e2m1-code/task.md +65 -0
- mlsys/tasks/rwq-classify-which-modules-quantize-dynamic-targets/check.py +21 -0
- mlsys/tasks/rwq-classify-which-modules-quantize-dynamic-targets/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-classify-which-modules-quantize-dynamic-targets/meta.json +22 -0
- mlsys/tasks/rwq-classify-which-modules-quantize-dynamic-targets/solution_ref.py +3 -0
- mlsys/tasks/rwq-classify-which-modules-quantize-dynamic-targets/starter.py +2 -0
- mlsys/tasks/rwq-classify-which-modules-quantize-dynamic-targets/task.md +35 -0
- mlsys/tasks/rwq-damped-hessian-from-calibration-activations/check.py +32 -0
- mlsys/tasks/rwq-damped-hessian-from-calibration-activations/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-damped-hessian-from-calibration-activations/meta.json +27 -0
- mlsys/tasks/rwq-damped-hessian-from-calibration-activations/solution_ref.py +6 -0
- mlsys/tasks/rwq-damped-hessian-from-calibration-activations/starter.py +5 -0
- mlsys/tasks/rwq-damped-hessian-from-calibration-activations/task.md +67 -0
- mlsys/tasks/rwq-debug-error-term-missing-the-h-1-q-q-normalization/check.py +62 -0
- mlsys/tasks/rwq-debug-error-term-missing-the-h-1-q-q-normalization/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-debug-error-term-missing-the-h-1-q-q-normalization/meta.json +27 -0
- mlsys/tasks/rwq-debug-error-term-missing-the-h-1-q-q-normalization/solution_ref.py +32 -0
- mlsys/tasks/rwq-debug-error-term-missing-the-h-1-q-q-normalization/starter.py +34 -0
- mlsys/tasks/rwq-debug-error-term-missing-the-h-1-q-q-normalization/task.md +78 -0
- mlsys/tasks/rwq-debug-loop-optimizes-scale-instead-of-zero-point/check.py +42 -0
- mlsys/tasks/rwq-debug-loop-optimizes-scale-instead-of-zero-point/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-debug-loop-optimizes-scale-instead-of-zero-point/meta.json +22 -0
- mlsys/tasks/rwq-debug-loop-optimizes-scale-instead-of-zero-point/solution_ref.py +23 -0
- mlsys/tasks/rwq-debug-loop-optimizes-scale-instead-of-zero-point/starter.py +18 -0
- mlsys/tasks/rwq-debug-loop-optimizes-scale-instead-of-zero-point/task.md +66 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-instead-of-per-token/check.py +64 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-instead-of-per-token/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-instead-of-per-token/meta.json +27 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-instead-of-per-token/solution_ref.py +23 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-instead-of-per-token/starter.py +23 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-instead-of-per-token/task.md +75 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-where-vector-wise-is-required/check.py +61 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-where-vector-wise-is-required/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-where-vector-wise-is-required/meta.json +22 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-where-vector-wise-is-required/solution_ref.py +24 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-where-vector-wise-is-required/starter.py +17 -0
- mlsys/tasks/rwq-debug-per-tensor-scale-where-vector-wise-is-required/task.md +104 -0
- mlsys/tasks/rwq-debug-scale-applied-in-the-wrong-direction/check.py +39 -0
- mlsys/tasks/rwq-debug-scale-applied-in-the-wrong-direction/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-debug-scale-applied-in-the-wrong-direction/meta.json +22 -0
- mlsys/tasks/rwq-debug-scale-applied-in-the-wrong-direction/solution_ref.py +15 -0
- mlsys/tasks/rwq-debug-scale-applied-in-the-wrong-direction/starter.py +9 -0
- mlsys/tasks/rwq-debug-scale-applied-in-the-wrong-direction/task.md +69 -0
- mlsys/tasks/rwq-debug-smoothing-folded-the-same-way-into-both-sides/check.py +27 -0
- mlsys/tasks/rwq-debug-smoothing-folded-the-same-way-into-both-sides/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-debug-smoothing-folded-the-same-way-into-both-sides/meta.json +22 -0
- mlsys/tasks/rwq-debug-smoothing-folded-the-same-way-into-both-sides/solution_ref.py +8 -0
- mlsys/tasks/rwq-debug-smoothing-folded-the-same-way-into-both-sides/starter.py +10 -0
- mlsys/tasks/rwq-debug-smoothing-folded-the-same-way-into-both-sides/task.md +70 -0
- mlsys/tasks/rwq-debug-static-activation-scale-on-shifted-input/check.py +48 -0
- mlsys/tasks/rwq-debug-static-activation-scale-on-shifted-input/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-debug-static-activation-scale-on-shifted-input/meta.json +22 -0
- mlsys/tasks/rwq-debug-static-activation-scale-on-shifted-input/solution_ref.py +16 -0
- mlsys/tasks/rwq-debug-static-activation-scale-on-shifted-input/starter.py +24 -0
- mlsys/tasks/rwq-debug-static-activation-scale-on-shifted-input/task.md +73 -0
- mlsys/tasks/rwq-debug-uniform-levels-instead-of-the-nf4-codebook/check.py +56 -0
- mlsys/tasks/rwq-debug-uniform-levels-instead-of-the-nf4-codebook/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-debug-uniform-levels-instead-of-the-nf4-codebook/meta.json +22 -0
- mlsys/tasks/rwq-debug-uniform-levels-instead-of-the-nf4-codebook/solution_ref.py +21 -0
- mlsys/tasks/rwq-debug-uniform-levels-instead-of-the-nf4-codebook/starter.py +34 -0
- mlsys/tasks/rwq-debug-uniform-levels-instead-of-the-nf4-codebook/task.md +80 -0
- mlsys/tasks/rwq-debug-unnormalized-hadamard-breaks-invariance/check.py +41 -0
- mlsys/tasks/rwq-debug-unnormalized-hadamard-breaks-invariance/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-debug-unnormalized-hadamard-breaks-invariance/meta.json +22 -0
- mlsys/tasks/rwq-debug-unnormalized-hadamard-breaks-invariance/solution_ref.py +15 -0
- mlsys/tasks/rwq-debug-unnormalized-hadamard-breaks-invariance/starter.py +17 -0
- mlsys/tasks/rwq-debug-unnormalized-hadamard-breaks-invariance/task.md +81 -0
- mlsys/tasks/rwq-decode-e4m3-bit-patterns-to-values/check.py +50 -0
- mlsys/tasks/rwq-decode-e4m3-bit-patterns-to-values/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-decode-e4m3-bit-patterns-to-values/meta.json +22 -0
- mlsys/tasks/rwq-decode-e4m3-bit-patterns-to-values/solution_ref.py +30 -0
- mlsys/tasks/rwq-decode-e4m3-bit-patterns-to-values/starter.py +9 -0
- mlsys/tasks/rwq-decode-e4m3-bit-patterns-to-values/task.md +67 -0
- mlsys/tasks/rwq-decomposition-vs-naive-per-tensor-int8/check.py +59 -0
- mlsys/tasks/rwq-decomposition-vs-naive-per-tensor-int8/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-decomposition-vs-naive-per-tensor-int8/meta.json +27 -0
- mlsys/tasks/rwq-decomposition-vs-naive-per-tensor-int8/solution_ref.py +32 -0
- mlsys/tasks/rwq-decomposition-vs-naive-per-tensor-int8/starter.py +5 -0
- mlsys/tasks/rwq-decomposition-vs-naive-per-tensor-int8/task.md +62 -0
- mlsys/tasks/rwq-dequant-from-hqq-state/check.py +25 -0
- mlsys/tasks/rwq-dequant-from-hqq-state/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-dequant-from-hqq-state/meta.json +22 -0
- mlsys/tasks/rwq-dequant-from-hqq-state/solution_ref.py +24 -0
- mlsys/tasks/rwq-dequant-from-hqq-state/starter.py +4 -0
- mlsys/tasks/rwq-dequant-from-hqq-state/task.md +52 -0
- mlsys/tasks/rwq-dequant-only-from-stored-nf4-codes/check.py +36 -0
- mlsys/tasks/rwq-dequant-only-from-stored-nf4-codes/fixtures/nf4_absmax.npy +0 -0
- mlsys/tasks/rwq-dequant-only-from-stored-nf4-codes/fixtures/nf4_idx.npy +0 -0
- mlsys/tasks/rwq-dequant-only-from-stored-nf4-codes/gen_fixtures.py +27 -0
- mlsys/tasks/rwq-dequant-only-from-stored-nf4-codes/meta.json +25 -0
- mlsys/tasks/rwq-dequant-only-from-stored-nf4-codes/solution_ref.py +20 -0
- mlsys/tasks/rwq-dequant-only-from-stored-nf4-codes/starter.py +15 -0
- mlsys/tasks/rwq-dequant-only-from-stored-nf4-codes/task.md +73 -0
- mlsys/tasks/rwq-detect-outlier-feature-columns-threshold-6-0/check.py +44 -0
- mlsys/tasks/rwq-detect-outlier-feature-columns-threshold-6-0/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-detect-outlier-feature-columns-threshold-6-0/meta.json +22 -0
- mlsys/tasks/rwq-detect-outlier-feature-columns-threshold-6-0/solution_ref.py +11 -0
- mlsys/tasks/rwq-detect-outlier-feature-columns-threshold-6-0/starter.py +8 -0
- mlsys/tasks/rwq-detect-outlier-feature-columns-threshold-6-0/task.md +49 -0
- mlsys/tasks/rwq-double-quantization-of-the-block-scales/check.py +62 -0
- mlsys/tasks/rwq-double-quantization-of-the-block-scales/fixtures/nf4_absmax.npy +0 -0
- mlsys/tasks/rwq-double-quantization-of-the-block-scales/gen_fixtures.py +29 -0
- mlsys/tasks/rwq-double-quantization-of-the-block-scales/meta.json +29 -0
- mlsys/tasks/rwq-double-quantization-of-the-block-scales/solution_ref.py +67 -0
- mlsys/tasks/rwq-double-quantization-of-the-block-scales/starter.py +20 -0
- mlsys/tasks/rwq-double-quantization-of-the-block-scales/task.md +95 -0
- mlsys/tasks/rwq-dtype-range-packing-factor-table/check.py +18 -0
- mlsys/tasks/rwq-dtype-range-packing-factor-table/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-dtype-range-packing-factor-table/meta.json +22 -0
- mlsys/tasks/rwq-dtype-range-packing-factor-table/solution_ref.py +13 -0
- mlsys/tasks/rwq-dtype-range-packing-factor-table/starter.py +2 -0
- mlsys/tasks/rwq-dtype-range-packing-factor-table/task.md +52 -0
- mlsys/tasks/rwq-dynamic-activation-scale-zero-point/check.py +29 -0
- mlsys/tasks/rwq-dynamic-activation-scale-zero-point/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-dynamic-activation-scale-zero-point/meta.json +27 -0
- mlsys/tasks/rwq-dynamic-activation-scale-zero-point/solution_ref.py +30 -0
- mlsys/tasks/rwq-dynamic-activation-scale-zero-point/starter.py +5 -0
- mlsys/tasks/rwq-dynamic-activation-scale-zero-point/task.md +49 -0
- mlsys/tasks/rwq-dynamic-int8-linear-forward/check.py +50 -0
- mlsys/tasks/rwq-dynamic-int8-linear-forward/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-dynamic-int8-linear-forward/meta.json +22 -0
- mlsys/tasks/rwq-dynamic-int8-linear-forward/solution_ref.py +32 -0
- mlsys/tasks/rwq-dynamic-int8-linear-forward/starter.py +10 -0
- mlsys/tasks/rwq-dynamic-int8-linear-forward/task.md +76 -0
- mlsys/tasks/rwq-e4m3-vs-e5m2-on-the-same-tensor/check.py +120 -0
- mlsys/tasks/rwq-e4m3-vs-e5m2-on-the-same-tensor/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-e4m3-vs-e5m2-on-the-same-tensor/meta.json +27 -0
- mlsys/tasks/rwq-e4m3-vs-e5m2-on-the-same-tensor/solution_ref.py +56 -0
- mlsys/tasks/rwq-e4m3-vs-e5m2-on-the-same-tensor/starter.py +11 -0
- mlsys/tasks/rwq-e4m3-vs-e5m2-on-the-same-tensor/task.md +73 -0
- mlsys/tasks/rwq-entropy-kl-calibration-threshold/check.py +74 -0
- mlsys/tasks/rwq-entropy-kl-calibration-threshold/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-entropy-kl-calibration-threshold/meta.json +27 -0
- mlsys/tasks/rwq-entropy-kl-calibration-threshold/solution_ref.py +36 -0
- mlsys/tasks/rwq-entropy-kl-calibration-threshold/starter.py +4 -0
- mlsys/tasks/rwq-entropy-kl-calibration-threshold/task.md +72 -0
- mlsys/tasks/rwq-enumerate-the-e4m3-value-grid/check.py +48 -0
- mlsys/tasks/rwq-enumerate-the-e4m3-value-grid/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-enumerate-the-e4m3-value-grid/meta.json +22 -0
- mlsys/tasks/rwq-enumerate-the-e4m3-value-grid/solution_ref.py +24 -0
- mlsys/tasks/rwq-enumerate-the-e4m3-value-grid/starter.py +8 -0
- mlsys/tasks/rwq-enumerate-the-e4m3-value-grid/task.md +71 -0
- mlsys/tasks/rwq-error-propagation-through-softmax/check.py +62 -0
- mlsys/tasks/rwq-error-propagation-through-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-error-propagation-through-softmax/meta.json +22 -0
- mlsys/tasks/rwq-error-propagation-through-softmax/solution_ref.py +33 -0
- mlsys/tasks/rwq-error-propagation-through-softmax/starter.py +8 -0
- mlsys/tasks/rwq-error-propagation-through-softmax/task.md +69 -0
- mlsys/tasks/rwq-fast-walsh-hadamard-transform/check.py +50 -0
- mlsys/tasks/rwq-fast-walsh-hadamard-transform/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-fast-walsh-hadamard-transform/meta.json +22 -0
- mlsys/tasks/rwq-fast-walsh-hadamard-transform/solution_ref.py +27 -0
- mlsys/tasks/rwq-fast-walsh-hadamard-transform/starter.py +11 -0
- mlsys/tasks/rwq-fast-walsh-hadamard-transform/task.md +71 -0
- mlsys/tasks/rwq-float-vs-integer-zero-point-domains-are-equivalent/check.py +72 -0
- mlsys/tasks/rwq-float-vs-integer-zero-point-domains-are-equivalent/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-float-vs-integer-zero-point-domains-are-equivalent/meta.json +32 -0
- mlsys/tasks/rwq-float-vs-integer-zero-point-domains-are-equivalent/solution_ref.py +9 -0
- mlsys/tasks/rwq-float-vs-integer-zero-point-domains-are-equivalent/starter.py +10 -0
- mlsys/tasks/rwq-float-vs-integer-zero-point-domains-are-equivalent/task.md +86 -0
- mlsys/tasks/rwq-full-autoround-loop/check.py +80 -0
- mlsys/tasks/rwq-full-autoround-loop/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-full-autoround-loop/meta.json +27 -0
- mlsys/tasks/rwq-full-autoround-loop/solution_ref.py +37 -0
- mlsys/tasks/rwq-full-autoround-loop/starter.py +4 -0
- mlsys/tasks/rwq-full-autoround-loop/task.md +92 -0
- mlsys/tasks/rwq-full-fp8-w8a8-dynamic-matmul/check.py +91 -0
- mlsys/tasks/rwq-full-fp8-w8a8-dynamic-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-full-fp8-w8a8-dynamic-matmul/meta.json +27 -0
- mlsys/tasks/rwq-full-fp8-w8a8-dynamic-matmul/solution_ref.py +63 -0
- mlsys/tasks/rwq-full-fp8-w8a8-dynamic-matmul/starter.py +21 -0
- mlsys/tasks/rwq-full-fp8-w8a8-dynamic-matmul/task.md +95 -0
- mlsys/tasks/rwq-full-gptq-error-compensation-on-a-layer/check.py +103 -0
- mlsys/tasks/rwq-full-gptq-error-compensation-on-a-layer/fixtures/gptq_w.npy +0 -0
- mlsys/tasks/rwq-full-gptq-error-compensation-on-a-layer/fixtures/gptq_x.npy +0 -0
- mlsys/tasks/rwq-full-gptq-error-compensation-on-a-layer/gen_fixtures.py +26 -0
- mlsys/tasks/rwq-full-gptq-error-compensation-on-a-layer/meta.json +35 -0
- mlsys/tasks/rwq-full-gptq-error-compensation-on-a-layer/solution_ref.py +59 -0
- mlsys/tasks/rwq-full-gptq-error-compensation-on-a-layer/starter.py +14 -0
- mlsys/tasks/rwq-full-gptq-error-compensation-on-a-layer/task.md +94 -0
- mlsys/tasks/rwq-full-hqq-optimization-loop/check.py +73 -0
- mlsys/tasks/rwq-full-hqq-optimization-loop/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-full-hqq-optimization-loop/meta.json +27 -0
- mlsys/tasks/rwq-full-hqq-optimization-loop/solution_ref.py +30 -0
- mlsys/tasks/rwq-full-hqq-optimization-loop/starter.py +11 -0
- mlsys/tasks/rwq-full-hqq-optimization-loop/task.md +99 -0
- mlsys/tasks/rwq-full-nf4-quantize-dequantize-blocksize-64/check.py +51 -0
- mlsys/tasks/rwq-full-nf4-quantize-dequantize-blocksize-64/fixtures/nf4_w.npy +0 -0
- mlsys/tasks/rwq-full-nf4-quantize-dequantize-blocksize-64/gen_fixtures.py +31 -0
- mlsys/tasks/rwq-full-nf4-quantize-dequantize-blocksize-64/meta.json +29 -0
- mlsys/tasks/rwq-full-nf4-quantize-dequantize-blocksize-64/solution_ref.py +25 -0
- mlsys/tasks/rwq-full-nf4-quantize-dequantize-blocksize-64/starter.py +22 -0
- mlsys/tasks/rwq-full-nf4-quantize-dequantize-blocksize-64/task.md +69 -0
- mlsys/tasks/rwq-generalized-soft-threshold-shrinkage-operator/check.py +21 -0
- mlsys/tasks/rwq-generalized-soft-threshold-shrinkage-operator/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-generalized-soft-threshold-shrinkage-operator/meta.json +22 -0
- mlsys/tasks/rwq-generalized-soft-threshold-shrinkage-operator/solution_ref.py +9 -0
- mlsys/tasks/rwq-generalized-soft-threshold-shrinkage-operator/starter.py +2 -0
- mlsys/tasks/rwq-generalized-soft-threshold-shrinkage-operator/task.md +52 -0
- mlsys/tasks/rwq-gptq-vs-rtn-output-error/check.py +98 -0
- mlsys/tasks/rwq-gptq-vs-rtn-output-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-gptq-vs-rtn-output-error/meta.json +32 -0
- mlsys/tasks/rwq-gptq-vs-rtn-output-error/solution_ref.py +57 -0
- mlsys/tasks/rwq-gptq-vs-rtn-output-error/starter.py +9 -0
- mlsys/tasks/rwq-gptq-vs-rtn-output-error/task.md +94 -0
- mlsys/tasks/rwq-grid-search-the-per-channel-scale-exponent/check.py +66 -0
- mlsys/tasks/rwq-grid-search-the-per-channel-scale-exponent/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-grid-search-the-per-channel-scale-exponent/meta.json +27 -0
- mlsys/tasks/rwq-grid-search-the-per-channel-scale-exponent/solution_ref.py +51 -0
- mlsys/tasks/rwq-grid-search-the-per-channel-scale-exponent/starter.py +27 -0
- mlsys/tasks/rwq-grid-search-the-per-channel-scale-exponent/task.md +95 -0
- mlsys/tasks/rwq-group-wise-rtn-baseline-the-thing-gptq-beats/check.py +53 -0
- mlsys/tasks/rwq-group-wise-rtn-baseline-the-thing-gptq-beats/fixtures/gptq_w.npy +0 -0
- mlsys/tasks/rwq-group-wise-rtn-baseline-the-thing-gptq-beats/gen_fixtures.py +24 -0
- mlsys/tasks/rwq-group-wise-rtn-baseline-the-thing-gptq-beats/meta.json +29 -0
- mlsys/tasks/rwq-group-wise-rtn-baseline-the-thing-gptq-beats/solution_ref.py +34 -0
- mlsys/tasks/rwq-group-wise-rtn-baseline-the-thing-gptq-beats/starter.py +15 -0
- mlsys/tasks/rwq-group-wise-rtn-baseline-the-thing-gptq-beats/task.md +72 -0
- mlsys/tasks/rwq-hard-activation-channels-needing-migration/check.py +67 -0
- mlsys/tasks/rwq-hard-activation-channels-needing-migration/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-hard-activation-channels-needing-migration/meta.json +22 -0
- mlsys/tasks/rwq-hard-activation-channels-needing-migration/solution_ref.py +9 -0
- mlsys/tasks/rwq-hard-activation-channels-needing-migration/starter.py +6 -0
- mlsys/tasks/rwq-hard-activation-channels-needing-migration/task.md +65 -0
- mlsys/tasks/rwq-hqq-initialization-asymmetric-group-quant/check.py +83 -0
- mlsys/tasks/rwq-hqq-initialization-asymmetric-group-quant/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-hqq-initialization-asymmetric-group-quant/meta.json +27 -0
- mlsys/tasks/rwq-hqq-initialization-asymmetric-group-quant/solution_ref.py +64 -0
- mlsys/tasks/rwq-hqq-initialization-asymmetric-group-quant/starter.py +20 -0
- mlsys/tasks/rwq-hqq-initialization-asymmetric-group-quant/task.md +85 -0
- mlsys/tasks/rwq-hqq-vs-asymmetric-rtn-at-4-bit/check.py +80 -0
- mlsys/tasks/rwq-hqq-vs-asymmetric-rtn-at-4-bit/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-hqq-vs-asymmetric-rtn-at-4-bit/meta.json +32 -0
- mlsys/tasks/rwq-hqq-vs-asymmetric-rtn-at-4-bit/solution_ref.py +41 -0
- mlsys/tasks/rwq-hqq-vs-asymmetric-rtn-at-4-bit/starter.py +7 -0
- mlsys/tasks/rwq-hqq-vs-asymmetric-rtn-at-4-bit/task.md +70 -0
- mlsys/tasks/rwq-imatrix-weighted-scale-selection/check.py +62 -0
- mlsys/tasks/rwq-imatrix-weighted-scale-selection/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-imatrix-weighted-scale-selection/meta.json +27 -0
- mlsys/tasks/rwq-imatrix-weighted-scale-selection/solution_ref.py +24 -0
- mlsys/tasks/rwq-imatrix-weighted-scale-selection/starter.py +10 -0
- mlsys/tasks/rwq-imatrix-weighted-scale-selection/task.md +79 -0
- mlsys/tasks/rwq-importance-matrix-from-calibration/check.py +39 -0
- mlsys/tasks/rwq-importance-matrix-from-calibration/fixtures/gguf_x.npy +0 -0
- mlsys/tasks/rwq-importance-matrix-from-calibration/gen_fixtures.py +43 -0
- mlsys/tasks/rwq-importance-matrix-from-calibration/meta.json +24 -0
- mlsys/tasks/rwq-importance-matrix-from-calibration/solution_ref.py +10 -0
- mlsys/tasks/rwq-importance-matrix-from-calibration/starter.py +9 -0
- mlsys/tasks/rwq-importance-matrix-from-calibration/task.md +69 -0
- mlsys/tasks/rwq-int4-weight-only-tinygemm-quant/check.py +79 -0
- mlsys/tasks/rwq-int4-weight-only-tinygemm-quant/fixtures/tao_w.npy +0 -0
- mlsys/tasks/rwq-int4-weight-only-tinygemm-quant/gen_fixtures.py +30 -0
- mlsys/tasks/rwq-int4-weight-only-tinygemm-quant/meta.json +34 -0
- mlsys/tasks/rwq-int4-weight-only-tinygemm-quant/solution_ref.py +26 -0
- mlsys/tasks/rwq-int4-weight-only-tinygemm-quant/starter.py +15 -0
- mlsys/tasks/rwq-int4-weight-only-tinygemm-quant/task.md +84 -0
- mlsys/tasks/rwq-int8-dynamic-activation-int8-weight-linear/check.py +47 -0
- mlsys/tasks/rwq-int8-dynamic-activation-int8-weight-linear/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-int8-dynamic-activation-int8-weight-linear/meta.json +22 -0
- mlsys/tasks/rwq-int8-dynamic-activation-int8-weight-linear/solution_ref.py +23 -0
- mlsys/tasks/rwq-int8-dynamic-activation-int8-weight-linear/starter.py +10 -0
- mlsys/tasks/rwq-int8-dynamic-activation-int8-weight-linear/task.md +98 -0
- mlsys/tasks/rwq-int8-vs-fp8-kv-attention-error/check.py +81 -0
- mlsys/tasks/rwq-int8-vs-fp8-kv-attention-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-int8-vs-fp8-kv-attention-error/meta.json +27 -0
- mlsys/tasks/rwq-int8-vs-fp8-kv-attention-error/solution_ref.py +40 -0
- mlsys/tasks/rwq-int8-vs-fp8-kv-attention-error/starter.py +4 -0
- mlsys/tasks/rwq-int8-vs-fp8-kv-attention-error/task.md +76 -0
- mlsys/tasks/rwq-learned-clipping-range/check.py +85 -0
- mlsys/tasks/rwq-learned-clipping-range/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-learned-clipping-range/meta.json +27 -0
- mlsys/tasks/rwq-learned-clipping-range/solution_ref.py +49 -0
- mlsys/tasks/rwq-learned-clipping-range/starter.py +21 -0
- mlsys/tasks/rwq-learned-clipping-range/task.md +94 -0
- mlsys/tasks/rwq-learned-rounding-vs-nearest-rounding/check.py +83 -0
- mlsys/tasks/rwq-learned-rounding-vs-nearest-rounding/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-learned-rounding-vs-nearest-rounding/meta.json +32 -0
- mlsys/tasks/rwq-learned-rounding-vs-nearest-rounding/solution_ref.py +52 -0
- mlsys/tasks/rwq-learned-rounding-vs-nearest-rounding/starter.py +15 -0
- mlsys/tasks/rwq-learned-rounding-vs-nearest-rounding/task.md +88 -0
- mlsys/tasks/rwq-match-a-bits-per-weight-budget-to-a-gguf-type/check.py +41 -0
- mlsys/tasks/rwq-match-a-bits-per-weight-budget-to-a-gguf-type/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-match-a-bits-per-weight-budget-to-a-gguf-type/meta.json +22 -0
- mlsys/tasks/rwq-match-a-bits-per-weight-budget-to-a-gguf-type/solution_ref.py +20 -0
- mlsys/tasks/rwq-match-a-bits-per-weight-budget-to-a-gguf-type/starter.py +20 -0
- mlsys/tasks/rwq-match-a-bits-per-weight-budget-to-a-gguf-type/task.md +58 -0
- mlsys/tasks/rwq-math-equivalent-smoothing-transform/check.py +26 -0
- mlsys/tasks/rwq-math-equivalent-smoothing-transform/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-math-equivalent-smoothing-transform/meta.json +22 -0
- mlsys/tasks/rwq-math-equivalent-smoothing-transform/solution_ref.py +34 -0
- mlsys/tasks/rwq-math-equivalent-smoothing-transform/starter.py +6 -0
- mlsys/tasks/rwq-math-equivalent-smoothing-transform/task.md +67 -0
- mlsys/tasks/rwq-migrated-quantization-difficulty/check.py +69 -0
- mlsys/tasks/rwq-migrated-quantization-difficulty/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-migrated-quantization-difficulty/meta.json +27 -0
- mlsys/tasks/rwq-migrated-quantization-difficulty/solution_ref.py +46 -0
- mlsys/tasks/rwq-migrated-quantization-difficulty/starter.py +20 -0
- mlsys/tasks/rwq-migrated-quantization-difficulty/task.md +89 -0
- mlsys/tasks/rwq-min-max-vs-percentile-vs-entropy-calibration/check.py +122 -0
- mlsys/tasks/rwq-min-max-vs-percentile-vs-entropy-calibration/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-min-max-vs-percentile-vs-entropy-calibration/meta.json +27 -0
- mlsys/tasks/rwq-min-max-vs-percentile-vs-entropy-calibration/solution_ref.py +94 -0
- mlsys/tasks/rwq-min-max-vs-percentile-vs-entropy-calibration/starter.py +12 -0
- mlsys/tasks/rwq-min-max-vs-percentile-vs-entropy-calibration/task.md +90 -0
- mlsys/tasks/rwq-mixed-precision-memory-accounting/check.py +26 -0
- mlsys/tasks/rwq-mixed-precision-memory-accounting/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-mixed-precision-memory-accounting/meta.json +22 -0
- mlsys/tasks/rwq-mixed-precision-memory-accounting/solution_ref.py +28 -0
- mlsys/tasks/rwq-mixed-precision-memory-accounting/starter.py +2 -0
- mlsys/tasks/rwq-mixed-precision-memory-accounting/task.md +77 -0
- mlsys/tasks/rwq-mixed-precision-outlier-decomposition/check.py +81 -0
- mlsys/tasks/rwq-mixed-precision-outlier-decomposition/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-mixed-precision-outlier-decomposition/meta.json +27 -0
- mlsys/tasks/rwq-mixed-precision-outlier-decomposition/solution_ref.py +32 -0
- mlsys/tasks/rwq-mixed-precision-outlier-decomposition/starter.py +4 -0
- mlsys/tasks/rwq-mixed-precision-outlier-decomposition/task.md +100 -0
- mlsys/tasks/rwq-mxfp4-e8m0-power-of-two-block-scale/check.py +31 -0
- mlsys/tasks/rwq-mxfp4-e8m0-power-of-two-block-scale/fixtures/mx_w.npy +0 -0
- mlsys/tasks/rwq-mxfp4-e8m0-power-of-two-block-scale/gen_fixtures.py +45 -0
- mlsys/tasks/rwq-mxfp4-e8m0-power-of-two-block-scale/meta.json +24 -0
- mlsys/tasks/rwq-mxfp4-e8m0-power-of-two-block-scale/solution_ref.py +17 -0
- mlsys/tasks/rwq-mxfp4-e8m0-power-of-two-block-scale/starter.py +14 -0
- mlsys/tasks/rwq-mxfp4-e8m0-power-of-two-block-scale/task.md +63 -0
- mlsys/tasks/rwq-mxfp4-full-block-quantization/check.py +57 -0
- mlsys/tasks/rwq-mxfp4-full-block-quantization/fixtures/mx_w.npy +0 -0
- mlsys/tasks/rwq-mxfp4-full-block-quantization/gen_fixtures.py +38 -0
- mlsys/tasks/rwq-mxfp4-full-block-quantization/meta.json +34 -0
- mlsys/tasks/rwq-mxfp4-full-block-quantization/solution_ref.py +24 -0
- mlsys/tasks/rwq-mxfp4-full-block-quantization/starter.py +9 -0
- mlsys/tasks/rwq-mxfp4-full-block-quantization/task.md +95 -0
- mlsys/tasks/rwq-nearest-rounding-baseline-v-0/check.py +70 -0
- mlsys/tasks/rwq-nearest-rounding-baseline-v-0/fixtures/ar_w.npy +0 -0
- mlsys/tasks/rwq-nearest-rounding-baseline-v-0/gen_fixtures.py +29 -0
- mlsys/tasks/rwq-nearest-rounding-baseline-v-0/meta.json +29 -0
- mlsys/tasks/rwq-nearest-rounding-baseline-v-0/solution_ref.py +38 -0
- mlsys/tasks/rwq-nearest-rounding-baseline-v-0/starter.py +12 -0
- mlsys/tasks/rwq-nearest-rounding-baseline-v-0/task.md +81 -0
- mlsys/tasks/rwq-nf4-beats-symmetric-int4-on-normal-weights/check.py +53 -0
- mlsys/tasks/rwq-nf4-beats-symmetric-int4-on-normal-weights/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-nf4-beats-symmetric-int4-on-normal-weights/meta.json +27 -0
- mlsys/tasks/rwq-nf4-beats-symmetric-int4-on-normal-weights/solution_ref.py +37 -0
- mlsys/tasks/rwq-nf4-beats-symmetric-int4-on-normal-weights/starter.py +11 -0
- mlsys/tasks/rwq-nf4-beats-symmetric-int4-on-normal-weights/task.md +71 -0
- mlsys/tasks/rwq-nvfp4-second-level-scale-factorization/check.py +72 -0
- mlsys/tasks/rwq-nvfp4-second-level-scale-factorization/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-nvfp4-second-level-scale-factorization/meta.json +22 -0
- mlsys/tasks/rwq-nvfp4-second-level-scale-factorization/solution_ref.py +43 -0
- mlsys/tasks/rwq-nvfp4-second-level-scale-factorization/starter.py +21 -0
- mlsys/tasks/rwq-nvfp4-second-level-scale-factorization/task.md +84 -0
- mlsys/tasks/rwq-nvfp4-two-level-scaling/check.py +101 -0
- mlsys/tasks/rwq-nvfp4-two-level-scaling/fixtures/nv_w.npy +0 -0
- mlsys/tasks/rwq-nvfp4-two-level-scaling/gen_fixtures.py +44 -0
- mlsys/tasks/rwq-nvfp4-two-level-scaling/meta.json +39 -0
- mlsys/tasks/rwq-nvfp4-two-level-scaling/solution_ref.py +58 -0
- mlsys/tasks/rwq-nvfp4-two-level-scaling/starter.py +23 -0
- mlsys/tasks/rwq-nvfp4-two-level-scaling/task.md +96 -0
- mlsys/tasks/rwq-nvfp4-vs-mxfp4-accuracy/check.py +59 -0
- mlsys/tasks/rwq-nvfp4-vs-mxfp4-accuracy/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-nvfp4-vs-mxfp4-accuracy/meta.json +32 -0
- mlsys/tasks/rwq-nvfp4-vs-mxfp4-accuracy/solution_ref.py +37 -0
- mlsys/tasks/rwq-nvfp4-vs-mxfp4-accuracy/starter.py +35 -0
- mlsys/tasks/rwq-nvfp4-vs-mxfp4-accuracy/task.md +81 -0
- mlsys/tasks/rwq-one-half-quadratic-iteration/check.py +70 -0
- mlsys/tasks/rwq-one-half-quadratic-iteration/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-one-half-quadratic-iteration/meta.json +27 -0
- mlsys/tasks/rwq-one-half-quadratic-iteration/solution_ref.py +40 -0
- mlsys/tasks/rwq-one-half-quadratic-iteration/starter.py +17 -0
- mlsys/tasks/rwq-one-half-quadratic-iteration/task.md +84 -0
- mlsys/tasks/rwq-one-obq-single-weight-hessian-update/check.py +52 -0
- mlsys/tasks/rwq-one-obq-single-weight-hessian-update/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-one-obq-single-weight-hessian-update/meta.json +22 -0
- mlsys/tasks/rwq-one-obq-single-weight-hessian-update/solution_ref.py +19 -0
- mlsys/tasks/rwq-one-obq-single-weight-hessian-update/starter.py +4 -0
- mlsys/tasks/rwq-one-obq-single-weight-hessian-update/task.md +78 -0
- mlsys/tasks/rwq-one-signsgd-rounding-step/check.py +49 -0
- mlsys/tasks/rwq-one-signsgd-rounding-step/gen_fixtures.py +3 -0
- mlsys/tasks/rwq-one-signsgd-rounding-step/meta.json +27 -0
- mlsys/tasks/rwq-one-signsgd-rounding-step/solution_ref.py +15 -0
- mlsys/tasks/rwq-one-signsgd-rounding-step/starter.py +10 -0
- mlsys/tasks/rwq-one-signsgd-rounding-step/task.md +76 -0
- mlsys/tasks/rwq-outlier-ratio-before-after-rotation/check.py +81 -0
- mlsys/tasks/rwq-outlier-ratio-before-after-rotation/fixtures/rot_x.npy +0 -0
- mlsys/tasks/rwq-outlier-ratio-before-after-rotation/gen_fixtures.py +35 -0
- mlsys/tasks/rwq-outlier-ratio-before-after-rotation/meta.json +29 -0
- mlsys/tasks/rwq-outlier-ratio-before-after-rotation/solution_ref.py +24 -0
- mlsys/tasks/rwq-outlier-ratio-before-after-rotation/starter.py +11 -0
- mlsys/tasks/rwq-outlier-ratio-before-after-rotation/task.md +76 -0
- mlsys/tasks/rwq-per-64-block-absmax-scales/check.py +24 -0
- mlsys/tasks/rwq-per-64-block-absmax-scales/fixtures/nf4_w.npy +0 -0
- mlsys/tasks/rwq-per-64-block-absmax-scales/gen_fixtures.py +26 -0
- mlsys/tasks/rwq-per-64-block-absmax-scales/meta.json +24 -0
- mlsys/tasks/rwq-per-64-block-absmax-scales/solution_ref.py +7 -0
- mlsys/tasks/rwq-per-64-block-absmax-scales/starter.py +7 -0
- mlsys/tasks/rwq-per-64-block-absmax-scales/task.md +80 -0
- mlsys/tasks/rwq-per-channel-smoothing-scale-vector/check.py +26 -0
- mlsys/tasks/rwq-per-channel-smoothing-scale-vector/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-per-channel-smoothing-scale-vector/meta.json +22 -0
- mlsys/tasks/rwq-per-channel-smoothing-scale-vector/solution_ref.py +23 -0
- mlsys/tasks/rwq-per-channel-smoothing-scale-vector/starter.py +4 -0
- mlsys/tasks/rwq-per-channel-smoothing-scale-vector/task.md +48 -0
- mlsys/tasks/rwq-per-input-channel-importance/check.py +16 -0
- mlsys/tasks/rwq-per-input-channel-importance/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-per-input-channel-importance/meta.json +22 -0
- mlsys/tasks/rwq-per-input-channel-importance/solution_ref.py +17 -0
- mlsys/tasks/rwq-per-input-channel-importance/starter.py +4 -0
- mlsys/tasks/rwq-per-input-channel-importance/task.md +49 -0
- mlsys/tasks/rwq-per-tensor-and-per-token-fp8-scales/check.py +43 -0
- mlsys/tasks/rwq-per-tensor-and-per-token-fp8-scales/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-per-tensor-and-per-token-fp8-scales/meta.json +22 -0
- mlsys/tasks/rwq-per-tensor-and-per-token-fp8-scales/solution_ref.py +30 -0
- mlsys/tasks/rwq-per-tensor-and-per-token-fp8-scales/starter.py +4 -0
- mlsys/tasks/rwq-per-tensor-and-per-token-fp8-scales/task.md +61 -0
- mlsys/tasks/rwq-per-tensor-vs-per-channel-weight-int8/check.py +60 -0
- mlsys/tasks/rwq-per-tensor-vs-per-channel-weight-int8/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-per-tensor-vs-per-channel-weight-int8/meta.json +32 -0
- mlsys/tasks/rwq-per-tensor-vs-per-channel-weight-int8/solution_ref.py +27 -0
- mlsys/tasks/rwq-per-tensor-vs-per-channel-weight-int8/starter.py +22 -0
- mlsys/tasks/rwq-per-tensor-vs-per-channel-weight-int8/task.md +76 -0
- mlsys/tasks/rwq-per-token-fp8-e4m3-kv-quant-attention-error/check.py +83 -0
- mlsys/tasks/rwq-per-token-fp8-e4m3-kv-quant-attention-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-per-token-fp8-e4m3-kv-quant-attention-error/meta.json +27 -0
- mlsys/tasks/rwq-per-token-fp8-e4m3-kv-quant-attention-error/solution_ref.py +44 -0
- mlsys/tasks/rwq-per-token-fp8-e4m3-kv-quant-attention-error/starter.py +4 -0
- mlsys/tasks/rwq-per-token-fp8-e4m3-kv-quant-attention-error/task.md +89 -0
- mlsys/tasks/rwq-per-token-int8-kv-quant-attention-error/check.py +65 -0
- mlsys/tasks/rwq-per-token-int8-kv-quant-attention-error/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-per-token-int8-kv-quant-attention-error/meta.json +27 -0
- mlsys/tasks/rwq-per-token-int8-kv-quant-attention-error/solution_ref.py +55 -0
- mlsys/tasks/rwq-per-token-int8-kv-quant-attention-error/starter.py +20 -0
- mlsys/tasks/rwq-per-token-int8-kv-quant-attention-error/task.md +78 -0
- mlsys/tasks/rwq-per-token-scales-memory-accounting/check.py +54 -0
- mlsys/tasks/rwq-per-token-scales-memory-accounting/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-per-token-scales-memory-accounting/meta.json +27 -0
- mlsys/tasks/rwq-per-token-scales-memory-accounting/solution_ref.py +21 -0
- mlsys/tasks/rwq-per-token-scales-memory-accounting/starter.py +4 -0
- mlsys/tasks/rwq-per-token-scales-memory-accounting/task.md +85 -0
- mlsys/tasks/rwq-percentile-clipping-sweep/check.py +59 -0
- mlsys/tasks/rwq-percentile-clipping-sweep/gen_fixtures.py +3 -0
- mlsys/tasks/rwq-percentile-clipping-sweep/meta.json +27 -0
- mlsys/tasks/rwq-percentile-clipping-sweep/solution_ref.py +28 -0
- mlsys/tasks/rwq-percentile-clipping-sweep/starter.py +11 -0
- mlsys/tasks/rwq-percentile-clipping-sweep/task.md +76 -0
- mlsys/tasks/rwq-pick-the-int4-group-size/check.py +58 -0
- mlsys/tasks/rwq-pick-the-int4-group-size/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-pick-the-int4-group-size/meta.json +27 -0
- mlsys/tasks/rwq-pick-the-int4-group-size/solution_ref.py +30 -0
- mlsys/tasks/rwq-pick-the-int4-group-size/starter.py +24 -0
- mlsys/tasks/rwq-pick-the-int4-group-size/task.md +86 -0
- mlsys/tasks/rwq-pick-the-kv-scale-granularity/check.py +68 -0
- mlsys/tasks/rwq-pick-the-kv-scale-granularity/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-pick-the-kv-scale-granularity/meta.json +22 -0
- mlsys/tasks/rwq-pick-the-kv-scale-granularity/solution_ref.py +37 -0
- mlsys/tasks/rwq-pick-the-kv-scale-granularity/starter.py +4 -0
- mlsys/tasks/rwq-pick-the-kv-scale-granularity/task.md +77 -0
- mlsys/tasks/rwq-q4-0-block-pack-unpack-32-elem-fp16-scale/check.py +49 -0
- mlsys/tasks/rwq-q4-0-block-pack-unpack-32-elem-fp16-scale/fixtures/gguf_w.npy +0 -0
- mlsys/tasks/rwq-q4-0-block-pack-unpack-32-elem-fp16-scale/gen_fixtures.py +29 -0
- mlsys/tasks/rwq-q4-0-block-pack-unpack-32-elem-fp16-scale/meta.json +29 -0
- mlsys/tasks/rwq-q4-0-block-pack-unpack-32-elem-fp16-scale/solution_ref.py +22 -0
- mlsys/tasks/rwq-q4-0-block-pack-unpack-32-elem-fp16-scale/starter.py +10 -0
- mlsys/tasks/rwq-q4-0-block-pack-unpack-32-elem-fp16-scale/task.md +91 -0
- mlsys/tasks/rwq-q4-0-vs-q8-0-reconstruction-error/check.py +43 -0
- mlsys/tasks/rwq-q4-0-vs-q8-0-reconstruction-error/fixtures/gguf_w.npy +0 -0
- mlsys/tasks/rwq-q4-0-vs-q8-0-reconstruction-error/gen_fixtures.py +16 -0
- mlsys/tasks/rwq-q4-0-vs-q8-0-reconstruction-error/meta.json +34 -0
- mlsys/tasks/rwq-q4-0-vs-q8-0-reconstruction-error/solution_ref.py +28 -0
- mlsys/tasks/rwq-q4-0-vs-q8-0-reconstruction-error/starter.py +13 -0
- mlsys/tasks/rwq-q4-0-vs-q8-0-reconstruction-error/task.md +66 -0
- mlsys/tasks/rwq-q4-k-super-block-structure/check.py +144 -0
- mlsys/tasks/rwq-q4-k-super-block-structure/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-q4-k-super-block-structure/meta.json +28 -0
- mlsys/tasks/rwq-q4-k-super-block-structure/solution_ref.py +122 -0
- mlsys/tasks/rwq-q4-k-super-block-structure/starter.py +36 -0
- mlsys/tasks/rwq-q4-k-super-block-structure/task.md +107 -0
- mlsys/tasks/rwq-q6-k-dequant-from-packed-fields/check.py +75 -0
- mlsys/tasks/rwq-q6-k-dequant-from-packed-fields/fixtures/q6k_d.npy +0 -0
- mlsys/tasks/rwq-q6-k-dequant-from-packed-fields/fixtures/q6k_qh.npy +0 -0
- mlsys/tasks/rwq-q6-k-dequant-from-packed-fields/fixtures/q6k_ql.npy +0 -0
- mlsys/tasks/rwq-q6-k-dequant-from-packed-fields/fixtures/q6k_scales.npy +0 -0
- mlsys/tasks/rwq-q6-k-dequant-from-packed-fields/gen_fixtures.py +36 -0
- mlsys/tasks/rwq-q6-k-dequant-from-packed-fields/meta.json +27 -0
- mlsys/tasks/rwq-q6-k-dequant-from-packed-fields/solution_ref.py +37 -0
- mlsys/tasks/rwq-q6-k-dequant-from-packed-fields/starter.py +12 -0
- mlsys/tasks/rwq-q6-k-dequant-from-packed-fields/task.md +82 -0
- mlsys/tasks/rwq-q8-0-block-quantization-32-elem-int8/check.py +50 -0
- mlsys/tasks/rwq-q8-0-block-quantization-32-elem-int8/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-q8-0-block-quantization-32-elem-int8/meta.json +22 -0
- mlsys/tasks/rwq-q8-0-block-quantization-32-elem-int8/solution_ref.py +38 -0
- mlsys/tasks/rwq-q8-0-block-quantization-32-elem-int8/starter.py +7 -0
- mlsys/tasks/rwq-q8-0-block-quantization-32-elem-int8/task.md +92 -0
- mlsys/tasks/rwq-qfloat8-weight-quant-per-tensor-scale-e4m3/check.py +76 -0
- mlsys/tasks/rwq-qfloat8-weight-quant-per-tensor-scale-e4m3/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-qfloat8-weight-quant-per-tensor-scale-e4m3/meta.json +27 -0
- mlsys/tasks/rwq-qfloat8-weight-quant-per-tensor-scale-e4m3/solution_ref.py +43 -0
- mlsys/tasks/rwq-qfloat8-weight-quant-per-tensor-scale-e4m3/starter.py +20 -0
- mlsys/tasks/rwq-qfloat8-weight-quant-per-tensor-scale-e4m3/task.md +85 -0
- mlsys/tasks/rwq-qint4-per-axis-vs-per-group-scales/check.py +60 -0
- mlsys/tasks/rwq-qint4-per-axis-vs-per-group-scales/fixtures/qnt_w.npy +0 -0
- mlsys/tasks/rwq-qint4-per-axis-vs-per-group-scales/gen_fixtures.py +35 -0
- mlsys/tasks/rwq-qint4-per-axis-vs-per-group-scales/meta.json +34 -0
- mlsys/tasks/rwq-qint4-per-axis-vs-per-group-scales/solution_ref.py +28 -0
- mlsys/tasks/rwq-qint4-per-axis-vs-per-group-scales/starter.py +14 -0
- mlsys/tasks/rwq-qint4-per-axis-vs-per-group-scales/task.md +71 -0
- mlsys/tasks/rwq-qint4-qint2-sub-byte-packing/check.py +64 -0
- mlsys/tasks/rwq-qint4-qint2-sub-byte-packing/fixtures/qnt_w.npy +0 -0
- mlsys/tasks/rwq-qint4-qint2-sub-byte-packing/gen_fixtures.py +16 -0
- mlsys/tasks/rwq-qint4-qint2-sub-byte-packing/meta.json +29 -0
- mlsys/tasks/rwq-qint4-qint2-sub-byte-packing/solution_ref.py +45 -0
- mlsys/tasks/rwq-qint4-qint2-sub-byte-packing/starter.py +16 -0
- mlsys/tasks/rwq-qint4-qint2-sub-byte-packing/task.md +79 -0
- mlsys/tasks/rwq-qint8-per-axis-symmetric-quant/check.py +53 -0
- mlsys/tasks/rwq-qint8-per-axis-symmetric-quant/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-qint8-per-axis-symmetric-quant/meta.json +27 -0
- mlsys/tasks/rwq-qint8-per-axis-symmetric-quant/solution_ref.py +18 -0
- mlsys/tasks/rwq-qint8-per-axis-symmetric-quant/starter.py +11 -0
- mlsys/tasks/rwq-qint8-per-axis-symmetric-quant/task.md +69 -0
- mlsys/tasks/rwq-quantizelinear-dequantizelinear-round-trip/check.py +45 -0
- mlsys/tasks/rwq-quantizelinear-dequantizelinear-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-quantizelinear-dequantizelinear-round-trip/meta.json +27 -0
- mlsys/tasks/rwq-quantizelinear-dequantizelinear-round-trip/solution_ref.py +13 -0
- mlsys/tasks/rwq-quantizelinear-dequantizelinear-round-trip/starter.py +17 -0
- mlsys/tasks/rwq-quantizelinear-dequantizelinear-round-trip/task.md +63 -0
- mlsys/tasks/rwq-random-hadamard-vs-learned-orthogonal-rotation/check.py +51 -0
- mlsys/tasks/rwq-random-hadamard-vs-learned-orthogonal-rotation/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-random-hadamard-vs-learned-orthogonal-rotation/meta.json +22 -0
- mlsys/tasks/rwq-random-hadamard-vs-learned-orthogonal-rotation/solution_ref.py +34 -0
- mlsys/tasks/rwq-random-hadamard-vs-learned-orthogonal-rotation/starter.py +4 -0
- mlsys/tasks/rwq-random-hadamard-vs-learned-orthogonal-rotation/task.md +73 -0
- mlsys/tasks/rwq-reconstruct-from-nvfp4-storage/check.py +51 -0
- mlsys/tasks/rwq-reconstruct-from-nvfp4-storage/fixtures/e2m1_codes.npy +0 -0
- mlsys/tasks/rwq-reconstruct-from-nvfp4-storage/fixtures/e4m3_block_codes.npy +0 -0
- mlsys/tasks/rwq-reconstruct-from-nvfp4-storage/fixtures/global_scale.npy +0 -0
- mlsys/tasks/rwq-reconstruct-from-nvfp4-storage/gen_fixtures.py +39 -0
- mlsys/tasks/rwq-reconstruct-from-nvfp4-storage/meta.json +26 -0
- mlsys/tasks/rwq-reconstruct-from-nvfp4-storage/solution_ref.py +30 -0
- mlsys/tasks/rwq-reconstruct-from-nvfp4-storage/starter.py +9 -0
- mlsys/tasks/rwq-reconstruct-from-nvfp4-storage/task.md +90 -0
- mlsys/tasks/rwq-reconstruct-from-qdq-node-params/check.py +69 -0
- mlsys/tasks/rwq-reconstruct-from-qdq-node-params/fixtures/qdq_q.npy +0 -0
- mlsys/tasks/rwq-reconstruct-from-qdq-node-params/fixtures/qdq_scale.npy +0 -0
- mlsys/tasks/rwq-reconstruct-from-qdq-node-params/fixtures/qdq_zp.npy +0 -0
- mlsys/tasks/rwq-reconstruct-from-qdq-node-params/gen_fixtures.py +27 -0
- mlsys/tasks/rwq-reconstruct-from-qdq-node-params/meta.json +26 -0
- mlsys/tasks/rwq-reconstruct-from-qdq-node-params/solution_ref.py +17 -0
- mlsys/tasks/rwq-reconstruct-from-qdq-node-params/starter.py +13 -0
- mlsys/tasks/rwq-reconstruct-from-qdq-node-params/task.md +56 -0
- mlsys/tasks/rwq-reconstruct-from-tinygemm-codes/check.py +29 -0
- mlsys/tasks/rwq-reconstruct-from-tinygemm-codes/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-reconstruct-from-tinygemm-codes/meta.json +20 -0
- mlsys/tasks/rwq-reconstruct-from-tinygemm-codes/solution_ref.py +6 -0
- mlsys/tasks/rwq-reconstruct-from-tinygemm-codes/starter.py +6 -0
- mlsys/tasks/rwq-reconstruct-from-tinygemm-codes/task.md +55 -0
- mlsys/tasks/rwq-reconstruct-the-dynamic-linear-output/check.py +38 -0
- mlsys/tasks/rwq-reconstruct-the-dynamic-linear-output/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-reconstruct-the-dynamic-linear-output/meta.json +20 -0
- mlsys/tasks/rwq-reconstruct-the-dynamic-linear-output/solution_ref.py +10 -0
- mlsys/tasks/rwq-reconstruct-the-dynamic-linear-output/starter.py +6 -0
- mlsys/tasks/rwq-reconstruct-the-dynamic-linear-output/task.md +62 -0
- mlsys/tasks/rwq-reduce-range-accumulator-safety/check.py +47 -0
- mlsys/tasks/rwq-reduce-range-accumulator-safety/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-reduce-range-accumulator-safety/meta.json +27 -0
- mlsys/tasks/rwq-reduce-range-accumulator-safety/solution_ref.py +22 -0
- mlsys/tasks/rwq-reduce-range-accumulator-safety/starter.py +5 -0
- mlsys/tasks/rwq-reduce-range-accumulator-safety/task.md +45 -0
- mlsys/tasks/rwq-rotation-preserves-the-matmul-spreads-outliers/check.py +108 -0
- mlsys/tasks/rwq-rotation-preserves-the-matmul-spreads-outliers/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-rotation-preserves-the-matmul-spreads-outliers/meta.json +32 -0
- mlsys/tasks/rwq-rotation-preserves-the-matmul-spreads-outliers/solution_ref.py +76 -0
- mlsys/tasks/rwq-rotation-preserves-the-matmul-spreads-outliers/starter.py +23 -0
- mlsys/tasks/rwq-rotation-preserves-the-matmul-spreads-outliers/task.md +87 -0
- mlsys/tasks/rwq-simulate-e4m3-round-to-nearest-even-cast/check.py +98 -0
- mlsys/tasks/rwq-simulate-e4m3-round-to-nearest-even-cast/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-simulate-e4m3-round-to-nearest-even-cast/meta.json +20 -0
- mlsys/tasks/rwq-simulate-e4m3-round-to-nearest-even-cast/solution_ref.py +58 -0
- mlsys/tasks/rwq-simulate-e4m3-round-to-nearest-even-cast/starter.py +6 -0
- mlsys/tasks/rwq-simulate-e4m3-round-to-nearest-even-cast/task.md +54 -0
- mlsys/tasks/rwq-smoothed-vs-raw-w8a8-output-error/check.py +56 -0
- mlsys/tasks/rwq-smoothed-vs-raw-w8a8-output-error/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-smoothed-vs-raw-w8a8-output-error/meta.json +20 -0
- mlsys/tasks/rwq-smoothed-vs-raw-w8a8-output-error/solution_ref.py +29 -0
- mlsys/tasks/rwq-smoothed-vs-raw-w8a8-output-error/starter.py +6 -0
- mlsys/tasks/rwq-smoothed-vs-raw-w8a8-output-error/task.md +62 -0
- mlsys/tasks/rwq-snap-normalized-weights-to-the-nf4-codebook/check.py +52 -0
- mlsys/tasks/rwq-snap-normalized-weights-to-the-nf4-codebook/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-snap-normalized-weights-to-the-nf4-codebook/meta.json +22 -0
- mlsys/tasks/rwq-snap-normalized-weights-to-the-nf4-codebook/solution_ref.py +33 -0
- mlsys/tasks/rwq-snap-normalized-weights-to-the-nf4-codebook/starter.py +2 -0
- mlsys/tasks/rwq-snap-normalized-weights-to-the-nf4-codebook/task.md +49 -0
- mlsys/tasks/rwq-snap-to-the-e2m1-fp4-value-grid/check.py +49 -0
- mlsys/tasks/rwq-snap-to-the-e2m1-fp4-value-grid/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-snap-to-the-e2m1-fp4-value-grid/meta.json +22 -0
- mlsys/tasks/rwq-snap-to-the-e2m1-fp4-value-grid/solution_ref.py +11 -0
- mlsys/tasks/rwq-snap-to-the-e2m1-fp4-value-grid/starter.py +5 -0
- mlsys/tasks/rwq-snap-to-the-e2m1-fp4-value-grid/task.md +73 -0
- mlsys/tasks/rwq-static-min-max-calibration-params/check.py +58 -0
- mlsys/tasks/rwq-static-min-max-calibration-params/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-static-min-max-calibration-params/meta.json +27 -0
- mlsys/tasks/rwq-static-min-max-calibration-params/solution_ref.py +18 -0
- mlsys/tasks/rwq-static-min-max-calibration-params/starter.py +11 -0
- mlsys/tasks/rwq-static-min-max-calibration-params/task.md +70 -0
- mlsys/tasks/rwq-straight-through-gradient-of-block-mse-wrt-v/check.py +57 -0
- mlsys/tasks/rwq-straight-through-gradient-of-block-mse-wrt-v/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-straight-through-gradient-of-block-mse-wrt-v/meta.json +22 -0
- mlsys/tasks/rwq-straight-through-gradient-of-block-mse-wrt-v/solution_ref.py +27 -0
- mlsys/tasks/rwq-straight-through-gradient-of-block-mse-wrt-v/starter.py +24 -0
- mlsys/tasks/rwq-straight-through-gradient-of-block-mse-wrt-v/task.md +92 -0
- mlsys/tasks/rwq-symmetric-vs-asymmetric-int8-quantize-dequantize/check.py +66 -0
- mlsys/tasks/rwq-symmetric-vs-asymmetric-int8-quantize-dequantize/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-symmetric-vs-asymmetric-int8-quantize-dequantize/meta.json +33 -0
- mlsys/tasks/rwq-symmetric-vs-asymmetric-int8-quantize-dequantize/solution_ref.py +22 -0
- mlsys/tasks/rwq-symmetric-vs-asymmetric-int8-quantize-dequantize/starter.py +7 -0
- mlsys/tasks/rwq-symmetric-vs-asymmetric-int8-quantize-dequantize/task.md +80 -0
- mlsys/tasks/rwq-symmetric-weights-vs-asymmetric-activations/check.py +40 -0
- mlsys/tasks/rwq-symmetric-weights-vs-asymmetric-activations/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-symmetric-weights-vs-asymmetric-activations/meta.json +22 -0
- mlsys/tasks/rwq-symmetric-weights-vs-asymmetric-activations/solution_ref.py +17 -0
- mlsys/tasks/rwq-symmetric-weights-vs-asymmetric-activations/starter.py +7 -0
- mlsys/tasks/rwq-symmetric-weights-vs-asymmetric-activations/task.md +53 -0
- mlsys/tasks/rwq-the-two-torchao-scale-granularities/check.py +27 -0
- mlsys/tasks/rwq-the-two-torchao-scale-granularities/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-the-two-torchao-scale-granularities/meta.json +22 -0
- mlsys/tasks/rwq-the-two-torchao-scale-granularities/solution_ref.py +6 -0
- mlsys/tasks/rwq-the-two-torchao-scale-granularities/starter.py +4 -0
- mlsys/tasks/rwq-the-two-torchao-scale-granularities/task.md +45 -0
- mlsys/tasks/rwq-top-1-salient-channels/check.py +57 -0
- mlsys/tasks/rwq-top-1-salient-channels/fixtures/awq_x.npy +0 -0
- mlsys/tasks/rwq-top-1-salient-channels/gen_fixtures.py +36 -0
- mlsys/tasks/rwq-top-1-salient-channels/meta.json +24 -0
- mlsys/tasks/rwq-top-1-salient-channels/solution_ref.py +16 -0
- mlsys/tasks/rwq-top-1-salient-channels/starter.py +11 -0
- mlsys/tasks/rwq-top-1-salient-channels/task.md +60 -0
- mlsys/tasks/rwq-tune-the-migration-strength-alpha/check.py +72 -0
- mlsys/tasks/rwq-tune-the-migration-strength-alpha/gen_fixtures.py +4 -0
- mlsys/tasks/rwq-tune-the-migration-strength-alpha/meta.json +27 -0
- mlsys/tasks/rwq-tune-the-migration-strength-alpha/solution_ref.py +46 -0
- mlsys/tasks/rwq-tune-the-migration-strength-alpha/starter.py +10 -0
- mlsys/tasks/rwq-tune-the-migration-strength-alpha/task.md +74 -0
- mlsys/tasks/rwq-undo-rotation-on-stored-weights/check.py +28 -0
- mlsys/tasks/rwq-undo-rotation-on-stored-weights/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-undo-rotation-on-stored-weights/meta.json +22 -0
- mlsys/tasks/rwq-undo-rotation-on-stored-weights/solution_ref.py +5 -0
- mlsys/tasks/rwq-undo-rotation-on-stored-weights/starter.py +5 -0
- mlsys/tasks/rwq-undo-rotation-on-stored-weights/task.md +68 -0
- mlsys/tasks/rwq-unpack-dequant-qint4-codes/check.py +25 -0
- mlsys/tasks/rwq-unpack-dequant-qint4-codes/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-unpack-dequant-qint4-codes/meta.json +22 -0
- mlsys/tasks/rwq-unpack-dequant-qint4-codes/solution_ref.py +8 -0
- mlsys/tasks/rwq-unpack-dequant-qint4-codes/starter.py +4 -0
- mlsys/tasks/rwq-unpack-dequant-qint4-codes/task.md +46 -0
- mlsys/tasks/rwq-vector-wise-int8-matmul-reconstruction/check.py +37 -0
- mlsys/tasks/rwq-vector-wise-int8-matmul-reconstruction/fixtures/int8_w.npy +0 -0
- mlsys/tasks/rwq-vector-wise-int8-matmul-reconstruction/fixtures/int8_x.npy +0 -0
- mlsys/tasks/rwq-vector-wise-int8-matmul-reconstruction/gen_fixtures.py +29 -0
- mlsys/tasks/rwq-vector-wise-int8-matmul-reconstruction/meta.json +25 -0
- mlsys/tasks/rwq-vector-wise-int8-matmul-reconstruction/solution_ref.py +19 -0
- mlsys/tasks/rwq-vector-wise-int8-matmul-reconstruction/starter.py +8 -0
- mlsys/tasks/rwq-vector-wise-int8-matmul-reconstruction/task.md +85 -0
- mlsys/tasks/rwq-vector-wise-int8-scales-for-x-and-w/check.py +36 -0
- mlsys/tasks/rwq-vector-wise-int8-scales-for-x-and-w/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-vector-wise-int8-scales-for-x-and-w/meta.json +25 -0
- mlsys/tasks/rwq-vector-wise-int8-scales-for-x-and-w/solution_ref.py +7 -0
- mlsys/tasks/rwq-vector-wise-int8-scales-for-x-and-w/starter.py +14 -0
- mlsys/tasks/rwq-vector-wise-int8-scales-for-x-and-w/task.md +47 -0
- mlsys/tasks/rwq-weight-clipping-search-after-scaling/check.py +61 -0
- mlsys/tasks/rwq-weight-clipping-search-after-scaling/fixtures/clip_w.npy +0 -0
- mlsys/tasks/rwq-weight-clipping-search-after-scaling/gen_fixtures.py +40 -0
- mlsys/tasks/rwq-weight-clipping-search-after-scaling/meta.json +29 -0
- mlsys/tasks/rwq-weight-clipping-search-after-scaling/solution_ref.py +31 -0
- mlsys/tasks/rwq-weight-clipping-search-after-scaling/starter.py +22 -0
- mlsys/tasks/rwq-weight-clipping-search-after-scaling/task.md +88 -0
- mlsys/tasks/rwq-weight-only-vs-dynamic-activation-error/check.py +55 -0
- mlsys/tasks/rwq-weight-only-vs-dynamic-activation-error/gen_fixtures.py +2 -0
- mlsys/tasks/rwq-weight-only-vs-dynamic-activation-error/meta.json +27 -0
- mlsys/tasks/rwq-weight-only-vs-dynamic-activation-error/solution_ref.py +37 -0
- mlsys/tasks/rwq-weight-only-vs-dynamic-activation-error/starter.py +12 -0
- mlsys/tasks/rwq-weight-only-vs-dynamic-activation-error/task.md +70 -0
- mlsys/tasks/rwq-which-weights-flipped-rounding-direction/check.py +25 -0
- mlsys/tasks/rwq-which-weights-flipped-rounding-direction/gen_fixtures.py +1 -0
- mlsys/tasks/rwq-which-weights-flipped-rounding-direction/meta.json +22 -0
- mlsys/tasks/rwq-which-weights-flipped-rounding-direction/solution_ref.py +28 -0
- mlsys/tasks/rwq-which-weights-flipped-rounding-direction/starter.py +6 -0
- mlsys/tasks/rwq-which-weights-flipped-rounding-direction/task.md +62 -0
- mlsys/tasks/rws-1d-wasserstein-via-cdf-integral/check.py +37 -0
- mlsys/tasks/rws-1d-wasserstein-via-cdf-integral/fixtures/w1_u.npy +0 -0
- mlsys/tasks/rws-1d-wasserstein-via-cdf-integral/fixtures/w1_v.npy +0 -0
- mlsys/tasks/rws-1d-wasserstein-via-cdf-integral/gen_fixtures.py +37 -0
- mlsys/tasks/rws-1d-wasserstein-via-cdf-integral/meta.json +25 -0
- mlsys/tasks/rws-1d-wasserstein-via-cdf-integral/solution_ref.py +19 -0
- mlsys/tasks/rws-1d-wasserstein-via-cdf-integral/starter.py +9 -0
- mlsys/tasks/rws-1d-wasserstein-via-cdf-integral/task.md +77 -0
- mlsys/tasks/rws-activation-based-importance-scoring/check.py +20 -0
- mlsys/tasks/rws-activation-based-importance-scoring/gen_fixtures.py +1 -0
- mlsys/tasks/rws-activation-based-importance-scoring/meta.json +22 -0
- mlsys/tasks/rws-activation-based-importance-scoring/solution_ref.py +21 -0
- mlsys/tasks/rws-activation-based-importance-scoring/starter.py +7 -0
- mlsys/tasks/rws-activation-based-importance-scoring/task.md +57 -0
- mlsys/tasks/rws-activation-covariance-eigenbasis/check.py +52 -0
- mlsys/tasks/rws-activation-covariance-eigenbasis/gen_fixtures.py +1 -0
- mlsys/tasks/rws-activation-covariance-eigenbasis/meta.json +27 -0
- mlsys/tasks/rws-activation-covariance-eigenbasis/solution_ref.py +13 -0
- mlsys/tasks/rws-activation-covariance-eigenbasis/starter.py +6 -0
- mlsys/tasks/rws-activation-covariance-eigenbasis/task.md +49 -0
- mlsys/tasks/rws-activation-weighted-2-4-mask/check.py +75 -0
- mlsys/tasks/rws-activation-weighted-2-4-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rws-activation-weighted-2-4-mask/meta.json +27 -0
- mlsys/tasks/rws-activation-weighted-2-4-mask/solution_ref.py +18 -0
- mlsys/tasks/rws-activation-weighted-2-4-mask/starter.py +4 -0
- mlsys/tasks/rws-activation-weighted-2-4-mask/task.md +89 -0
- mlsys/tasks/rws-angular-distance-per-layer/check.py +44 -0
- mlsys/tasks/rws-angular-distance-per-layer/gen_fixtures.py +1 -0
- mlsys/tasks/rws-angular-distance-per-layer/meta.json +22 -0
- mlsys/tasks/rws-angular-distance-per-layer/solution_ref.py +15 -0
- mlsys/tasks/rws-angular-distance-per-layer/starter.py +4 -0
- mlsys/tasks/rws-angular-distance-per-layer/task.md +65 -0
- mlsys/tasks/rws-angular-distance-vs-block-influence-agreement/check.py +71 -0
- mlsys/tasks/rws-angular-distance-vs-block-influence-agreement/gen_fixtures.py +1 -0
- mlsys/tasks/rws-angular-distance-vs-block-influence-agreement/meta.json +22 -0
- mlsys/tasks/rws-angular-distance-vs-block-influence-agreement/solution_ref.py +40 -0
- mlsys/tasks/rws-angular-distance-vs-block-influence-agreement/starter.py +4 -0
- mlsys/tasks/rws-angular-distance-vs-block-influence-agreement/task.md +67 -0
- mlsys/tasks/rws-best-contiguous-n-block-to-drop/check.py +63 -0
- mlsys/tasks/rws-best-contiguous-n-block-to-drop/gen_fixtures.py +1 -0
- mlsys/tasks/rws-best-contiguous-n-block-to-drop/meta.json +27 -0
- mlsys/tasks/rws-best-contiguous-n-block-to-drop/solution_ref.py +18 -0
- mlsys/tasks/rws-best-contiguous-n-block-to-drop/starter.py +4 -0
- mlsys/tasks/rws-best-contiguous-n-block-to-drop/task.md +57 -0
- mlsys/tasks/rws-block-influence-layer-ranking/check.py +47 -0
- mlsys/tasks/rws-block-influence-layer-ranking/gen_fixtures.py +1 -0
- mlsys/tasks/rws-block-influence-layer-ranking/meta.json +27 -0
- mlsys/tasks/rws-block-influence-layer-ranking/solution_ref.py +41 -0
- mlsys/tasks/rws-block-influence-layer-ranking/starter.py +4 -0
- mlsys/tasks/rws-block-influence-layer-ranking/task.md +62 -0
- mlsys/tasks/rws-cached-norm-sparsity-sweep/check.py +59 -0
- mlsys/tasks/rws-cached-norm-sparsity-sweep/gen_fixtures.py +1 -0
- mlsys/tasks/rws-cached-norm-sparsity-sweep/meta.json +22 -0
- mlsys/tasks/rws-cached-norm-sparsity-sweep/solution_ref.py +27 -0
- mlsys/tasks/rws-cached-norm-sparsity-sweep/starter.py +23 -0
- mlsys/tasks/rws-cached-norm-sparsity-sweep/task.md +80 -0
- mlsys/tasks/rws-classify-a-mask-as-valid-2-4/check.py +37 -0
- mlsys/tasks/rws-classify-a-mask-as-valid-2-4/gen_fixtures.py +1 -0
- mlsys/tasks/rws-classify-a-mask-as-valid-2-4/meta.json +22 -0
- mlsys/tasks/rws-classify-a-mask-as-valid-2-4/solution_ref.py +17 -0
- mlsys/tasks/rws-classify-a-mask-as-valid-2-4/starter.py +4 -0
- mlsys/tasks/rws-classify-a-mask-as-valid-2-4/task.md +54 -0
- mlsys/tasks/rws-classify-alm-token-pair-alignment-type/check.py +55 -0
- mlsys/tasks/rws-classify-alm-token-pair-alignment-type/gen_fixtures.py +1 -0
- mlsys/tasks/rws-classify-alm-token-pair-alignment-type/meta.json +22 -0
- mlsys/tasks/rws-classify-alm-token-pair-alignment-type/solution_ref.py +11 -0
- mlsys/tasks/rws-classify-alm-token-pair-alignment-type/starter.py +3 -0
- mlsys/tasks/rws-classify-alm-token-pair-alignment-type/task.md +61 -0
- mlsys/tasks/rws-classify-apply-on-policy-vs-off-policy-target/check.py +41 -0
- mlsys/tasks/rws-classify-apply-on-policy-vs-off-policy-target/gen_fixtures.py +1 -0
- mlsys/tasks/rws-classify-apply-on-policy-vs-off-policy-target/meta.json +22 -0
- mlsys/tasks/rws-classify-apply-on-policy-vs-off-policy-target/solution_ref.py +28 -0
- mlsys/tasks/rws-classify-apply-on-policy-vs-off-policy-target/starter.py +4 -0
- mlsys/tasks/rws-classify-apply-on-policy-vs-off-policy-target/task.md +81 -0
- mlsys/tasks/rws-classify-constraint-satisfaction/check.py +48 -0
- mlsys/tasks/rws-classify-constraint-satisfaction/gen_fixtures.py +1 -0
- mlsys/tasks/rws-classify-constraint-satisfaction/meta.json +22 -0
- mlsys/tasks/rws-classify-constraint-satisfaction/solution_ref.py +13 -0
- mlsys/tasks/rws-classify-constraint-satisfaction/starter.py +4 -0
- mlsys/tasks/rws-classify-constraint-satisfaction/task.md +61 -0
- mlsys/tasks/rws-classify-k-for-a-variance-target/check.py +26 -0
- mlsys/tasks/rws-classify-k-for-a-variance-target/gen_fixtures.py +1 -0
- mlsys/tasks/rws-classify-k-for-a-variance-target/meta.json +22 -0
- mlsys/tasks/rws-classify-k-for-a-variance-target/solution_ref.py +8 -0
- mlsys/tasks/rws-classify-k-for-a-variance-target/starter.py +4 -0
- mlsys/tasks/rws-classify-k-for-a-variance-target/task.md +46 -0
- mlsys/tasks/rws-classify-removable-vs-critical-layers/check.py +20 -0
- mlsys/tasks/rws-classify-removable-vs-critical-layers/gen_fixtures.py +1 -0
- mlsys/tasks/rws-classify-removable-vs-critical-layers/meta.json +22 -0
- mlsys/tasks/rws-classify-removable-vs-critical-layers/solution_ref.py +6 -0
- mlsys/tasks/rws-classify-removable-vs-critical-layers/starter.py +6 -0
- mlsys/tasks/rws-classify-removable-vs-critical-layers/task.md +37 -0
- mlsys/tasks/rws-classify-the-coupling-map-of-an-attention-block/check.py +51 -0
- mlsys/tasks/rws-classify-the-coupling-map-of-an-attention-block/gen_fixtures.py +1 -0
- mlsys/tasks/rws-classify-the-coupling-map-of-an-attention-block/meta.json +22 -0
- mlsys/tasks/rws-classify-the-coupling-map-of-an-attention-block/solution_ref.py +48 -0
- mlsys/tasks/rws-classify-the-coupling-map-of-an-attention-block/starter.py +2 -0
- mlsys/tasks/rws-classify-the-coupling-map-of-an-attention-block/task.md +57 -0
- mlsys/tasks/rws-classify-whether-a-mask-is-a-valid-l1-unstructured-mask-at-s/check.py +42 -0
- mlsys/tasks/rws-classify-whether-a-mask-is-a-valid-l1-unstructured-mask-at-s/gen_fixtures.py +3 -0
- mlsys/tasks/rws-classify-whether-a-mask-is-a-valid-l1-unstructured-mask-at-s/meta.json +22 -0
- mlsys/tasks/rws-classify-whether-a-mask-is-a-valid-l1-unstructured-mask-at-s/solution_ref.py +20 -0
- mlsys/tasks/rws-classify-whether-a-mask-is-a-valid-l1-unstructured-mask-at-s/starter.py +11 -0
- mlsys/tasks/rws-classify-whether-a-mask-is-a-valid-l1-unstructured-mask-at-s/task.md +62 -0
- mlsys/tasks/rws-combined-logit-intermediate-loss-and-its-gradient/check.py +90 -0
- mlsys/tasks/rws-combined-logit-intermediate-loss-and-its-gradient/gen_fixtures.py +1 -0
- mlsys/tasks/rws-combined-logit-intermediate-loss-and-its-gradient/meta.json +27 -0
- mlsys/tasks/rws-combined-logit-intermediate-loss-and-its-gradient/solution_ref.py +32 -0
- mlsys/tasks/rws-combined-logit-intermediate-loss-and-its-gradient/starter.py +7 -0
- mlsys/tasks/rws-combined-logit-intermediate-loss-and-its-gradient/task.md +105 -0
- mlsys/tasks/rws-combined-served-size/check.py +45 -0
- mlsys/tasks/rws-combined-served-size/gen_fixtures.py +1 -0
- mlsys/tasks/rws-combined-served-size/meta.json +22 -0
- mlsys/tasks/rws-combined-served-size/solution_ref.py +16 -0
- mlsys/tasks/rws-combined-served-size/starter.py +4 -0
- mlsys/tasks/rws-combined-served-size/task.md +66 -0
- mlsys/tasks/rws-compressed-sparse-storage-size-vs-dense/check.py +59 -0
- mlsys/tasks/rws-compressed-sparse-storage-size-vs-dense/gen_fixtures.py +4 -0
- mlsys/tasks/rws-compressed-sparse-storage-size-vs-dense/meta.json +22 -0
- mlsys/tasks/rws-compressed-sparse-storage-size-vs-dense/solution_ref.py +15 -0
- mlsys/tasks/rws-compressed-sparse-storage-size-vs-dense/starter.py +6 -0
- mlsys/tasks/rws-compressed-sparse-storage-size-vs-dense/task.md +87 -0
- mlsys/tasks/rws-compute-savings-from-the-chosen-width-depth/check.py +69 -0
- mlsys/tasks/rws-compute-savings-from-the-chosen-width-depth/gen_fixtures.py +1 -0
- mlsys/tasks/rws-compute-savings-from-the-chosen-width-depth/meta.json +27 -0
- mlsys/tasks/rws-compute-savings-from-the-chosen-width-depth/solution_ref.py +25 -0
- mlsys/tasks/rws-compute-savings-from-the-chosen-width-depth/starter.py +2 -0
- mlsys/tasks/rws-compute-savings-from-the-chosen-width-depth/task.md +86 -0
- mlsys/tasks/rws-compute-wanda-per-input-activation-norms/check.py +18 -0
- mlsys/tasks/rws-compute-wanda-per-input-activation-norms/gen_fixtures.py +1 -0
- mlsys/tasks/rws-compute-wanda-per-input-activation-norms/meta.json +22 -0
- mlsys/tasks/rws-compute-wanda-per-input-activation-norms/solution_ref.py +4 -0
- mlsys/tasks/rws-compute-wanda-per-input-activation-norms/starter.py +4 -0
- mlsys/tasks/rws-compute-wanda-per-input-activation-norms/task.md +31 -0
- mlsys/tasks/rws-cosine-annealed-update-fraction/check.py +24 -0
- mlsys/tasks/rws-cosine-annealed-update-fraction/gen_fixtures.py +3 -0
- mlsys/tasks/rws-cosine-annealed-update-fraction/meta.json +22 -0
- mlsys/tasks/rws-cosine-annealed-update-fraction/solution_ref.py +5 -0
- mlsys/tasks/rws-cosine-annealed-update-fraction/starter.py +3 -0
- mlsys/tasks/rws-cosine-annealed-update-fraction/task.md +32 -0
- mlsys/tasks/rws-cosine-similarity-of-one-layer-s-in-out-states/check.py +24 -0
- mlsys/tasks/rws-cosine-similarity-of-one-layer-s-in-out-states/gen_fixtures.py +1 -0
- mlsys/tasks/rws-cosine-similarity-of-one-layer-s-in-out-states/meta.json +22 -0
- mlsys/tasks/rws-cosine-similarity-of-one-layer-s-in-out-states/solution_ref.py +8 -0
- mlsys/tasks/rws-cosine-similarity-of-one-layer-s-in-out-states/starter.py +4 -0
- mlsys/tasks/rws-cosine-similarity-of-one-layer-s-in-out-states/task.md +47 -0
- mlsys/tasks/rws-count-live-params-sparsity-of-a-mask/check.py +28 -0
- mlsys/tasks/rws-count-live-params-sparsity-of-a-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rws-count-live-params-sparsity-of-a-mask/meta.json +22 -0
- mlsys/tasks/rws-count-live-params-sparsity-of-a-mask/solution_ref.py +22 -0
- mlsys/tasks/rws-count-live-params-sparsity-of-a-mask/starter.py +4 -0
- mlsys/tasks/rws-count-live-params-sparsity-of-a-mask/task.md +35 -0
- mlsys/tasks/rws-dark-knowledge-vs-hard-label-gradient/check.py +66 -0
- mlsys/tasks/rws-dark-knowledge-vs-hard-label-gradient/gen_fixtures.py +1 -0
- mlsys/tasks/rws-dark-knowledge-vs-hard-label-gradient/meta.json +27 -0
- mlsys/tasks/rws-dark-knowledge-vs-hard-label-gradient/solution_ref.py +20 -0
- mlsys/tasks/rws-dark-knowledge-vs-hard-label-gradient/starter.py +7 -0
- mlsys/tasks/rws-dark-knowledge-vs-hard-label-gradient/task.md +82 -0
- mlsys/tasks/rws-debug-a-broken-obs-update/check.py +51 -0
- mlsys/tasks/rws-debug-a-broken-obs-update/gen_fixtures.py +1 -0
- mlsys/tasks/rws-debug-a-broken-obs-update/meta.json +22 -0
- mlsys/tasks/rws-debug-a-broken-obs-update/solution_ref.py +12 -0
- mlsys/tasks/rws-debug-a-broken-obs-update/starter.py +13 -0
- mlsys/tasks/rws-debug-a-broken-obs-update/task.md +59 -0
- mlsys/tasks/rws-debug-a-globally-thresholded-wanda/check.py +47 -0
- mlsys/tasks/rws-debug-a-globally-thresholded-wanda/gen_fixtures.py +1 -0
- mlsys/tasks/rws-debug-a-globally-thresholded-wanda/meta.json +22 -0
- mlsys/tasks/rws-debug-a-globally-thresholded-wanda/solution_ref.py +15 -0
- mlsys/tasks/rws-debug-a-globally-thresholded-wanda/starter.py +4 -0
- mlsys/tasks/rws-debug-a-globally-thresholded-wanda/task.md +70 -0
- mlsys/tasks/rws-debug-a-half-coupled-head-prune/check.py +56 -0
- mlsys/tasks/rws-debug-a-half-coupled-head-prune/gen_fixtures.py +1 -0
- mlsys/tasks/rws-debug-a-half-coupled-head-prune/meta.json +22 -0
- mlsys/tasks/rws-debug-a-half-coupled-head-prune/solution_ref.py +26 -0
- mlsys/tasks/rws-debug-a-half-coupled-head-prune/starter.py +24 -0
- mlsys/tasks/rws-debug-a-half-coupled-head-prune/task.md +74 -0
- mlsys/tasks/rws-debug-a-pipeline-that-quantizes-the-pruned-zeros/check.py +53 -0
- mlsys/tasks/rws-debug-a-pipeline-that-quantizes-the-pruned-zeros/gen_fixtures.py +2 -0
- mlsys/tasks/rws-debug-a-pipeline-that-quantizes-the-pruned-zeros/meta.json +22 -0
- mlsys/tasks/rws-debug-a-pipeline-that-quantizes-the-pruned-zeros/solution_ref.py +57 -0
- mlsys/tasks/rws-debug-a-pipeline-that-quantizes-the-pruned-zeros/starter.py +38 -0
- mlsys/tasks/rws-debug-a-pipeline-that-quantizes-the-pruned-zeros/task.md +81 -0
- mlsys/tasks/rws-debug-a-rigl-that-regrows-among-live-weights/check.py +66 -0
- mlsys/tasks/rws-debug-a-rigl-that-regrows-among-live-weights/gen_fixtures.py +1 -0
- mlsys/tasks/rws-debug-a-rigl-that-regrows-among-live-weights/meta.json +22 -0
- mlsys/tasks/rws-debug-a-rigl-that-regrows-among-live-weights/solution_ref.py +13 -0
- mlsys/tasks/rws-debug-a-rigl-that-regrows-among-live-weights/starter.py +11 -0
- mlsys/tasks/rws-debug-a-rigl-that-regrows-among-live-weights/task.md +68 -0
- mlsys/tasks/rws-debug-a-t-less-softmax-z-t-kd/check.py +68 -0
- mlsys/tasks/rws-debug-a-t-less-softmax-z-t-kd/gen_fixtures.py +1 -0
- mlsys/tasks/rws-debug-a-t-less-softmax-z-t-kd/meta.json +22 -0
- mlsys/tasks/rws-debug-a-t-less-softmax-z-t-kd/solution_ref.py +22 -0
- mlsys/tasks/rws-debug-a-t-less-softmax-z-t-kd/starter.py +24 -0
- mlsys/tasks/rws-debug-a-t-less-softmax-z-t-kd/task.md +72 -0
- mlsys/tasks/rws-debug-a-wrong-order-eigenvector-slice/check.py +42 -0
- mlsys/tasks/rws-debug-a-wrong-order-eigenvector-slice/gen_fixtures.py +2 -0
- mlsys/tasks/rws-debug-a-wrong-order-eigenvector-slice/meta.json +22 -0
- mlsys/tasks/rws-debug-a-wrong-order-eigenvector-slice/solution_ref.py +19 -0
- mlsys/tasks/rws-debug-a-wrong-order-eigenvector-slice/starter.py +20 -0
- mlsys/tasks/rws-debug-a-wrong-order-eigenvector-slice/task.md +62 -0
- mlsys/tasks/rws-debug-an-unclamped-arccos-max-distance-selector/check.py +65 -0
- mlsys/tasks/rws-debug-an-unclamped-arccos-max-distance-selector/meta.json +22 -0
- mlsys/tasks/rws-debug-an-unclamped-arccos-max-distance-selector/solution_ref.py +12 -0
- mlsys/tasks/rws-debug-an-unclamped-arccos-max-distance-selector/starter.py +16 -0
- mlsys/tasks/rws-debug-an-unclamped-arccos-max-distance-selector/task.md +76 -0
- mlsys/tasks/rws-debug-tie-handling-in-a-magnitude-prune/check.py +36 -0
- mlsys/tasks/rws-debug-tie-handling-in-a-magnitude-prune/gen_fixtures.py +1 -0
- mlsys/tasks/rws-debug-tie-handling-in-a-magnitude-prune/meta.json +22 -0
- mlsys/tasks/rws-debug-tie-handling-in-a-magnitude-prune/solution_ref.py +16 -0
- mlsys/tasks/rws-debug-tie-handling-in-a-magnitude-prune/starter.py +5 -0
- mlsys/tasks/rws-debug-tie-handling-in-a-magnitude-prune/task.md +35 -0
- mlsys/tasks/rws-deepsparse-style-csr-matmul-unstructured/check.py +60 -0
- mlsys/tasks/rws-deepsparse-style-csr-matmul-unstructured/gen_fixtures.py +1 -0
- mlsys/tasks/rws-deepsparse-style-csr-matmul-unstructured/meta.json +22 -0
- mlsys/tasks/rws-deepsparse-style-csr-matmul-unstructured/solution_ref.py +14 -0
- mlsys/tasks/rws-deepsparse-style-csr-matmul-unstructured/starter.py +4 -0
- mlsys/tasks/rws-deepsparse-style-csr-matmul-unstructured/task.md +84 -0
- mlsys/tasks/rws-depgraph-group-norm-importance-ranking/check.py +120 -0
- mlsys/tasks/rws-depgraph-group-norm-importance-ranking/gen_fixtures.py +1 -0
- mlsys/tasks/rws-depgraph-group-norm-importance-ranking/meta.json +22 -0
- mlsys/tasks/rws-depgraph-group-norm-importance-ranking/solution_ref.py +17 -0
- mlsys/tasks/rws-depgraph-group-norm-importance-ranking/starter.py +4 -0
- mlsys/tasks/rws-depgraph-group-norm-importance-ranking/task.md +78 -0
- mlsys/tasks/rws-derive-greedy-top-2-optimality-over-the-6-patterns/check.py +35 -0
- mlsys/tasks/rws-derive-greedy-top-2-optimality-over-the-6-patterns/gen_fixtures.py +1 -0
- mlsys/tasks/rws-derive-greedy-top-2-optimality-over-the-6-patterns/meta.json +22 -0
- mlsys/tasks/rws-derive-greedy-top-2-optimality-over-the-6-patterns/solution_ref.py +7 -0
- mlsys/tasks/rws-derive-greedy-top-2-optimality-over-the-6-patterns/starter.py +4 -0
- mlsys/tasks/rws-derive-greedy-top-2-optimality-over-the-6-patterns/task.md +60 -0
- mlsys/tasks/rws-derive-per-row-scale-invariance-of-the-wanda-mask/check.py +45 -0
- mlsys/tasks/rws-derive-per-row-scale-invariance-of-the-wanda-mask/fixtures/wanda_norms.npy +0 -0
- mlsys/tasks/rws-derive-per-row-scale-invariance-of-the-wanda-mask/fixtures/wanda_w.npy +0 -0
- mlsys/tasks/rws-derive-per-row-scale-invariance-of-the-wanda-mask/gen_fixtures.py +26 -0
- mlsys/tasks/rws-derive-per-row-scale-invariance-of-the-wanda-mask/meta.json +25 -0
- mlsys/tasks/rws-derive-per-row-scale-invariance-of-the-wanda-mask/solution_ref.py +13 -0
- mlsys/tasks/rws-derive-per-row-scale-invariance-of-the-wanda-mask/starter.py +14 -0
- mlsys/tasks/rws-derive-per-row-scale-invariance-of-the-wanda-mask/task.md +71 -0
- mlsys/tasks/rws-derive-the-s-quantile-threshold-matching-argsort-mask/check.py +41 -0
- mlsys/tasks/rws-derive-the-s-quantile-threshold-matching-argsort-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rws-derive-the-s-quantile-threshold-matching-argsort-mask/meta.json +22 -0
- mlsys/tasks/rws-derive-the-s-quantile-threshold-matching-argsort-mask/solution_ref.py +17 -0
- mlsys/tasks/rws-derive-the-s-quantile-threshold-matching-argsort-mask/starter.py +4 -0
- mlsys/tasks/rws-derive-the-s-quantile-threshold-matching-argsort-mask/task.md +79 -0
- mlsys/tasks/rws-derive-the-t-mse-limit/check.py +54 -0
- mlsys/tasks/rws-derive-the-t-mse-limit/gen_fixtures.py +1 -0
- mlsys/tasks/rws-derive-the-t-mse-limit/meta.json +27 -0
- mlsys/tasks/rws-derive-the-t-mse-limit/solution_ref.py +24 -0
- mlsys/tasks/rws-derive-the-t-mse-limit/starter.py +4 -0
- mlsys/tasks/rws-derive-the-t-mse-limit/task.md +78 -0
- mlsys/tasks/rws-detect-a-2-4-sparse-tensor/check.py +32 -0
- mlsys/tasks/rws-detect-a-2-4-sparse-tensor/gen_fixtures.py +1 -0
- mlsys/tasks/rws-detect-a-2-4-sparse-tensor/meta.json +22 -0
- mlsys/tasks/rws-detect-a-2-4-sparse-tensor/solution_ref.py +9 -0
- mlsys/tasks/rws-detect-a-2-4-sparse-tensor/starter.py +2 -0
- mlsys/tasks/rws-detect-a-2-4-sparse-tensor/task.md +52 -0
- mlsys/tasks/rws-distilbert-kd-loss/check.py +51 -0
- mlsys/tasks/rws-distilbert-kd-loss/gen_fixtures.py +1 -0
- mlsys/tasks/rws-distilbert-kd-loss/meta.json +22 -0
- mlsys/tasks/rws-distilbert-kd-loss/solution_ref.py +29 -0
- mlsys/tasks/rws-distilbert-kd-loss/starter.py +4 -0
- mlsys/tasks/rws-distilbert-kd-loss/task.md +67 -0
- mlsys/tasks/rws-drop-step-prune-bottom-w-of-live-weights/check.py +44 -0
- mlsys/tasks/rws-drop-step-prune-bottom-w-of-live-weights/gen_fixtures.py +1 -0
- mlsys/tasks/rws-drop-step-prune-bottom-w-of-live-weights/meta.json +22 -0
- mlsys/tasks/rws-drop-step-prune-bottom-w-of-live-weights/solution_ref.py +42 -0
- mlsys/tasks/rws-drop-step-prune-bottom-w-of-live-weights/starter.py +4 -0
- mlsys/tasks/rws-drop-step-prune-bottom-w-of-live-weights/task.md +49 -0
- mlsys/tasks/rws-dynamic-batch-loading-weight-update/check.py +15 -0
- mlsys/tasks/rws-dynamic-batch-loading-weight-update/gen_fixtures.py +1 -0
- mlsys/tasks/rws-dynamic-batch-loading-weight-update/meta.json +27 -0
- mlsys/tasks/rws-dynamic-batch-loading-weight-update/solution_ref.py +24 -0
- mlsys/tasks/rws-dynamic-batch-loading-weight-update/starter.py +5 -0
- mlsys/tasks/rws-dynamic-batch-loading-weight-update/task.md +36 -0
- mlsys/tasks/rws-effective-bits-per-weight/check.py +38 -0
- mlsys/tasks/rws-effective-bits-per-weight/gen_fixtures.py +1 -0
- mlsys/tasks/rws-effective-bits-per-weight/meta.json +22 -0
- mlsys/tasks/rws-effective-bits-per-weight/solution_ref.py +13 -0
- mlsys/tasks/rws-effective-bits-per-weight/starter.py +18 -0
- mlsys/tasks/rws-effective-bits-per-weight/task.md +74 -0
- mlsys/tasks/rws-enumerate-classify-the-6-valid-2-4-patterns/check.py +30 -0
- mlsys/tasks/rws-enumerate-classify-the-6-valid-2-4-patterns/gen_fixtures.py +1 -0
- mlsys/tasks/rws-enumerate-classify-the-6-valid-2-4-patterns/meta.json +22 -0
- mlsys/tasks/rws-enumerate-classify-the-6-valid-2-4-patterns/solution_ref.py +24 -0
- mlsys/tasks/rws-enumerate-classify-the-6-valid-2-4-patterns/starter.py +4 -0
- mlsys/tasks/rws-enumerate-classify-the-6-valid-2-4-patterns/task.md +44 -0
- mlsys/tasks/rws-erk-per-layer-density-budget/check.py +70 -0
- mlsys/tasks/rws-erk-per-layer-density-budget/gen_fixtures.py +3 -0
- mlsys/tasks/rws-erk-per-layer-density-budget/meta.json +27 -0
- mlsys/tasks/rws-erk-per-layer-density-budget/solution_ref.py +40 -0
- mlsys/tasks/rws-erk-per-layer-density-budget/starter.py +13 -0
- mlsys/tasks/rws-erk-per-layer-density-budget/task.md +78 -0
- mlsys/tasks/rws-error-compounding-triangle-bound/check.py +78 -0
- mlsys/tasks/rws-error-compounding-triangle-bound/gen_fixtures.py +2 -0
- mlsys/tasks/rws-error-compounding-triangle-bound/meta.json +27 -0
- mlsys/tasks/rws-error-compounding-triangle-bound/solution_ref.py +48 -0
- mlsys/tasks/rws-error-compounding-triangle-bound/starter.py +12 -0
- mlsys/tasks/rws-error-compounding-triangle-bound/task.md +82 -0
- mlsys/tasks/rws-excess-loss-signal-for-dynamic-batch-loading/check.py +17 -0
- mlsys/tasks/rws-excess-loss-signal-for-dynamic-batch-loading/gen_fixtures.py +1 -0
- mlsys/tasks/rws-excess-loss-signal-for-dynamic-batch-loading/meta.json +22 -0
- mlsys/tasks/rws-excess-loss-signal-for-dynamic-batch-loading/solution_ref.py +11 -0
- mlsys/tasks/rws-excess-loss-signal-for-dynamic-batch-loading/starter.py +4 -0
- mlsys/tasks/rws-excess-loss-signal-for-dynamic-batch-loading/task.md +42 -0
- mlsys/tasks/rws-expected-sparsity-retained-magnitude-of-a-pattern-distribution/check.py +76 -0
- mlsys/tasks/rws-expected-sparsity-retained-magnitude-of-a-pattern-distribution/fixtures/pat_p.npy +0 -0
- mlsys/tasks/rws-expected-sparsity-retained-magnitude-of-a-pattern-distribution/fixtures/pat_w.npy +0 -0
- mlsys/tasks/rws-expected-sparsity-retained-magnitude-of-a-pattern-distribution/gen_fixtures.py +37 -0
- mlsys/tasks/rws-expected-sparsity-retained-magnitude-of-a-pattern-distribution/meta.json +25 -0
- mlsys/tasks/rws-expected-sparsity-retained-magnitude-of-a-pattern-distribution/solution_ref.py +33 -0
- mlsys/tasks/rws-expected-sparsity-retained-magnitude-of-a-pattern-distribution/starter.py +12 -0
- mlsys/tasks/rws-expected-sparsity-retained-magnitude-of-a-pattern-distribution/task.md +82 -0
- mlsys/tasks/rws-form-the-sparsegpt-hessian-and-its-inverse/check.py +20 -0
- mlsys/tasks/rws-form-the-sparsegpt-hessian-and-its-inverse/gen_fixtures.py +1 -0
- mlsys/tasks/rws-form-the-sparsegpt-hessian-and-its-inverse/meta.json +22 -0
- mlsys/tasks/rws-form-the-sparsegpt-hessian-and-its-inverse/solution_ref.py +13 -0
- mlsys/tasks/rws-form-the-sparsegpt-hessian-and-its-inverse/starter.py +4 -0
- mlsys/tasks/rws-form-the-sparsegpt-hessian-and-its-inverse/task.md +64 -0
- mlsys/tasks/rws-forward-vs-reverse-kl-kd-term/check.py +36 -0
- mlsys/tasks/rws-forward-vs-reverse-kl-kd-term/gen_fixtures.py +1 -0
- mlsys/tasks/rws-forward-vs-reverse-kl-kd-term/meta.json +22 -0
- mlsys/tasks/rws-forward-vs-reverse-kl-kd-term/solution_ref.py +34 -0
- mlsys/tasks/rws-forward-vs-reverse-kl-kd-term/starter.py +4 -0
- mlsys/tasks/rws-forward-vs-reverse-kl-kd-term/task.md +59 -0
- mlsys/tasks/rws-full-1d-optimal-transport-with-a-ground-metric/check.py +62 -0
- mlsys/tasks/rws-full-1d-optimal-transport-with-a-ground-metric/gen_fixtures.py +1 -0
- mlsys/tasks/rws-full-1d-optimal-transport-with-a-ground-metric/meta.json +22 -0
- mlsys/tasks/rws-full-1d-optimal-transport-with-a-ground-metric/solution_ref.py +22 -0
- mlsys/tasks/rws-full-1d-optimal-transport-with-a-ground-metric/starter.py +16 -0
- mlsys/tasks/rws-full-1d-optimal-transport-with-a-ground-metric/task.md +67 -0
- mlsys/tasks/rws-full-column-block-prune-obs-compensation/check.py +85 -0
- mlsys/tasks/rws-full-column-block-prune-obs-compensation/gen_fixtures.py +1 -0
- mlsys/tasks/rws-full-column-block-prune-obs-compensation/meta.json +22 -0
- mlsys/tasks/rws-full-column-block-prune-obs-compensation/solution_ref.py +32 -0
- mlsys/tasks/rws-full-column-block-prune-obs-compensation/starter.py +4 -0
- mlsys/tasks/rws-full-column-block-prune-obs-compensation/task.md +98 -0
- mlsys/tasks/rws-full-rigl-topology-update/check.py +75 -0
- mlsys/tasks/rws-full-rigl-topology-update/gen_fixtures.py +1 -0
- mlsys/tasks/rws-full-rigl-topology-update/meta.json +22 -0
- mlsys/tasks/rws-full-rigl-topology-update/solution_ref.py +23 -0
- mlsys/tasks/rws-full-rigl-topology-update/starter.py +4 -0
- mlsys/tasks/rws-full-rigl-topology-update/task.md +86 -0
- mlsys/tasks/rws-general-n-m-mask-4-8-1-4/check.py +52 -0
- mlsys/tasks/rws-general-n-m-mask-4-8-1-4/gen_fixtures.py +1 -0
- mlsys/tasks/rws-general-n-m-mask-4-8-1-4/meta.json +22 -0
- mlsys/tasks/rws-general-n-m-mask-4-8-1-4/solution_ref.py +11 -0
- mlsys/tasks/rws-general-n-m-mask-4-8-1-4/starter.py +6 -0
- mlsys/tasks/rws-general-n-m-mask-4-8-1-4/task.md +60 -0
- mlsys/tasks/rws-generalized-jsd-divergence/check.py +32 -0
- mlsys/tasks/rws-generalized-jsd-divergence/gen_fixtures.py +1 -0
- mlsys/tasks/rws-generalized-jsd-divergence/meta.json +22 -0
- mlsys/tasks/rws-generalized-jsd-divergence/solution_ref.py +11 -0
- mlsys/tasks/rws-generalized-jsd-divergence/starter.py +4 -0
- mlsys/tasks/rws-generalized-jsd-divergence/task.md +48 -0
- mlsys/tasks/rws-gkd-mixed-on-off-policy-objective/check.py +48 -0
- mlsys/tasks/rws-gkd-mixed-on-off-policy-objective/gen_fixtures.py +1 -0
- mlsys/tasks/rws-gkd-mixed-on-off-policy-objective/meta.json +22 -0
- mlsys/tasks/rws-gkd-mixed-on-off-policy-objective/solution_ref.py +16 -0
- mlsys/tasks/rws-gkd-mixed-on-off-policy-objective/starter.py +4 -0
- mlsys/tasks/rws-gkd-mixed-on-off-policy-objective/task.md +71 -0
- mlsys/tasks/rws-global-unstructured-across-layers-with-one-shared-threshold/check.py +54 -0
- mlsys/tasks/rws-global-unstructured-across-layers-with-one-shared-threshold/fixtures/layer0.npy +0 -0
- mlsys/tasks/rws-global-unstructured-across-layers-with-one-shared-threshold/fixtures/layer1.npy +0 -0
- mlsys/tasks/rws-global-unstructured-across-layers-with-one-shared-threshold/fixtures/layer2.npy +0 -0
- mlsys/tasks/rws-global-unstructured-across-layers-with-one-shared-threshold/fixtures/layer3.npy +0 -0
- mlsys/tasks/rws-global-unstructured-across-layers-with-one-shared-threshold/gen_fixtures.py +29 -0
- mlsys/tasks/rws-global-unstructured-across-layers-with-one-shared-threshold/meta.json +32 -0
- mlsys/tasks/rws-global-unstructured-across-layers-with-one-shared-threshold/solution_ref.py +21 -0
- mlsys/tasks/rws-global-unstructured-across-layers-with-one-shared-threshold/starter.py +17 -0
- mlsys/tasks/rws-global-unstructured-across-layers-with-one-shared-threshold/task.md +66 -0
- mlsys/tasks/rws-gradient-of-expected-mask-objective-w-r-t-logits/check.py +59 -0
- mlsys/tasks/rws-gradient-of-expected-mask-objective-w-r-t-logits/gen_fixtures.py +1 -0
- mlsys/tasks/rws-gradient-of-expected-mask-objective-w-r-t-logits/meta.json +22 -0
- mlsys/tasks/rws-gradient-of-expected-mask-objective-w-r-t-logits/solution_ref.py +17 -0
- mlsys/tasks/rws-gradient-of-expected-mask-objective-w-r-t-logits/starter.py +4 -0
- mlsys/tasks/rws-gradient-of-expected-mask-objective-w-r-t-logits/task.md +82 -0
- mlsys/tasks/rws-gradient-of-jsd-w-r-t-student-logits/check.py +59 -0
- mlsys/tasks/rws-gradient-of-jsd-w-r-t-student-logits/meta.json +22 -0
- mlsys/tasks/rws-gradient-of-jsd-w-r-t-student-logits/solution_ref.py +21 -0
- mlsys/tasks/rws-gradient-of-jsd-w-r-t-student-logits/starter.py +13 -0
- mlsys/tasks/rws-gradient-of-jsd-w-r-t-student-logits/task.md +89 -0
- mlsys/tasks/rws-gumbel-softmax-relaxed-pattern-sample/check.py +37 -0
- mlsys/tasks/rws-gumbel-softmax-relaxed-pattern-sample/gen_fixtures.py +3 -0
- mlsys/tasks/rws-gumbel-softmax-relaxed-pattern-sample/meta.json +22 -0
- mlsys/tasks/rws-gumbel-softmax-relaxed-pattern-sample/solution_ref.py +15 -0
- mlsys/tasks/rws-gumbel-softmax-relaxed-pattern-sample/starter.py +10 -0
- mlsys/tasks/rws-gumbel-softmax-relaxed-pattern-sample/task.md +61 -0
- mlsys/tasks/rws-hard-concrete-gate-value-expected-l0/check.py +51 -0
- mlsys/tasks/rws-hard-concrete-gate-value-expected-l0/gen_fixtures.py +2 -0
- mlsys/tasks/rws-hard-concrete-gate-value-expected-l0/meta.json +27 -0
- mlsys/tasks/rws-hard-concrete-gate-value-expected-l0/solution_ref.py +23 -0
- mlsys/tasks/rws-hard-concrete-gate-value-expected-l0/starter.py +12 -0
- mlsys/tasks/rws-hard-concrete-gate-value-expected-l0/task.md +66 -0
- mlsys/tasks/rws-hidden-state-cosine-loss-distilbert-3rd-term/check.py +75 -0
- mlsys/tasks/rws-hidden-state-cosine-loss-distilbert-3rd-term/gen_fixtures.py +1 -0
- mlsys/tasks/rws-hidden-state-cosine-loss-distilbert-3rd-term/meta.json +27 -0
- mlsys/tasks/rws-hidden-state-cosine-loss-distilbert-3rd-term/solution_ref.py +23 -0
- mlsys/tasks/rws-hidden-state-cosine-loss-distilbert-3rd-term/starter.py +20 -0
- mlsys/tasks/rws-hidden-state-cosine-loss-distilbert-3rd-term/task.md +85 -0
- mlsys/tasks/rws-hit-a-param-budget-after-coupled-slicing/check.py +74 -0
- mlsys/tasks/rws-hit-a-param-budget-after-coupled-slicing/fixtures/cs_budget.npy +0 -0
- mlsys/tasks/rws-hit-a-param-budget-after-coupled-slicing/fixtures/cs_coefs.npy +0 -0
- mlsys/tasks/rws-hit-a-param-budget-after-coupled-slicing/fixtures/cs_consts.npy +0 -0
- mlsys/tasks/rws-hit-a-param-budget-after-coupled-slicing/fixtures/cs_widths.npy +0 -0
- mlsys/tasks/rws-hit-a-param-budget-after-coupled-slicing/gen_fixtures.py +58 -0
- mlsys/tasks/rws-hit-a-param-budget-after-coupled-slicing/meta.json +27 -0
- mlsys/tasks/rws-hit-a-param-budget-after-coupled-slicing/solution_ref.py +28 -0
- mlsys/tasks/rws-hit-a-param-budget-after-coupled-slicing/starter.py +12 -0
- mlsys/tasks/rws-hit-a-param-budget-after-coupled-slicing/task.md +82 -0
- mlsys/tasks/rws-implement-the-wanda-score-per-output-row-mask/check.py +43 -0
- mlsys/tasks/rws-implement-the-wanda-score-per-output-row-mask/fixtures/ww.npy +0 -0
- mlsys/tasks/rws-implement-the-wanda-score-per-output-row-mask/fixtures/wx.npy +0 -0
- mlsys/tasks/rws-implement-the-wanda-score-per-output-row-mask/gen_fixtures.py +30 -0
- mlsys/tasks/rws-implement-the-wanda-score-per-output-row-mask/meta.json +25 -0
- mlsys/tasks/rws-implement-the-wanda-score-per-output-row-mask/solution_ref.py +14 -0
- mlsys/tasks/rws-implement-the-wanda-score-per-output-row-mask/starter.py +18 -0
- mlsys/tasks/rws-implement-the-wanda-score-per-output-row-mask/task.md +63 -0
- mlsys/tasks/rws-intermediate-state-hidden-distillation-loss/check.py +46 -0
- mlsys/tasks/rws-intermediate-state-hidden-distillation-loss/gen_fixtures.py +1 -0
- mlsys/tasks/rws-intermediate-state-hidden-distillation-loss/meta.json +22 -0
- mlsys/tasks/rws-intermediate-state-hidden-distillation-loss/solution_ref.py +9 -0
- mlsys/tasks/rws-intermediate-state-hidden-distillation-loss/starter.py +4 -0
- mlsys/tasks/rws-intermediate-state-hidden-distillation-loss/task.md +65 -0
- mlsys/tasks/rws-jsd-limits-recover-forward-reverse-kl/check.py +51 -0
- mlsys/tasks/rws-jsd-limits-recover-forward-reverse-kl/gen_fixtures.py +1 -0
- mlsys/tasks/rws-jsd-limits-recover-forward-reverse-kl/meta.json +22 -0
- mlsys/tasks/rws-jsd-limits-recover-forward-reverse-kl/solution_ref.py +13 -0
- mlsys/tasks/rws-jsd-limits-recover-forward-reverse-kl/starter.py +4 -0
- mlsys/tasks/rws-jsd-limits-recover-forward-reverse-kl/task.md +90 -0
- mlsys/tasks/rws-kd-gradient-and-the-t-scale-role/check.py +72 -0
- mlsys/tasks/rws-kd-gradient-and-the-t-scale-role/gen_fixtures.py +1 -0
- mlsys/tasks/rws-kd-gradient-and-the-t-scale-role/meta.json +27 -0
- mlsys/tasks/rws-kd-gradient-and-the-t-scale-role/solution_ref.py +21 -0
- mlsys/tasks/rws-kd-gradient-and-the-t-scale-role/starter.py +7 -0
- mlsys/tasks/rws-kd-gradient-and-the-t-scale-role/task.md +54 -0
- mlsys/tasks/rws-lagrangian-shape-constraint-loss-gradient/check.py +54 -0
- mlsys/tasks/rws-lagrangian-shape-constraint-loss-gradient/gen_fixtures.py +1 -0
- mlsys/tasks/rws-lagrangian-shape-constraint-loss-gradient/meta.json +22 -0
- mlsys/tasks/rws-lagrangian-shape-constraint-loss-gradient/solution_ref.py +20 -0
- mlsys/tasks/rws-lagrangian-shape-constraint-loss-gradient/starter.py +6 -0
- mlsys/tasks/rws-lagrangian-shape-constraint-loss-gradient/task.md +80 -0
- mlsys/tasks/rws-lazy-batch-blocked-update-equals-full-update/check.py +70 -0
- mlsys/tasks/rws-lazy-batch-blocked-update-equals-full-update/gen_fixtures.py +1 -0
- mlsys/tasks/rws-lazy-batch-blocked-update-equals-full-update/meta.json +22 -0
- mlsys/tasks/rws-lazy-batch-blocked-update-equals-full-update/solution_ref.py +33 -0
- mlsys/tasks/rws-lazy-batch-blocked-update-equals-full-update/starter.py +7 -0
- mlsys/tasks/rws-lazy-batch-blocked-update-equals-full-update/task.md +95 -0
- mlsys/tasks/rws-learned-soft-mask-vs-one-shot-magnitude-2-4/check.py +88 -0
- mlsys/tasks/rws-learned-soft-mask-vs-one-shot-magnitude-2-4/gen_fixtures.py +1 -0
- mlsys/tasks/rws-learned-soft-mask-vs-one-shot-magnitude-2-4/meta.json +27 -0
- mlsys/tasks/rws-learned-soft-mask-vs-one-shot-magnitude-2-4/solution_ref.py +40 -0
- mlsys/tasks/rws-learned-soft-mask-vs-one-shot-magnitude-2-4/starter.py +4 -0
- mlsys/tasks/rws-learned-soft-mask-vs-one-shot-magnitude-2-4/task.md +79 -0
- mlsys/tasks/rws-levenshtein-edit-distance-mined-core/check.py +56 -0
- mlsys/tasks/rws-levenshtein-edit-distance-mined-core/gen_fixtures.py +1 -0
- mlsys/tasks/rws-levenshtein-edit-distance-mined-core/meta.json +22 -0
- mlsys/tasks/rws-levenshtein-edit-distance-mined-core/solution_ref.py +24 -0
- mlsys/tasks/rws-levenshtein-edit-distance-mined-core/starter.py +3 -0
- mlsys/tasks/rws-levenshtein-edit-distance-mined-core/task.md +70 -0
- mlsys/tasks/rws-magnitude-optimal-2-4-mask/check.py +36 -0
- mlsys/tasks/rws-magnitude-optimal-2-4-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rws-magnitude-optimal-2-4-mask/meta.json +22 -0
- mlsys/tasks/rws-magnitude-optimal-2-4-mask/solution_ref.py +17 -0
- mlsys/tasks/rws-magnitude-optimal-2-4-mask/starter.py +4 -0
- mlsys/tasks/rws-magnitude-optimal-2-4-mask/task.md +58 -0
- mlsys/tasks/rws-magnitude-vs-taylor-head-importance/check.py +54 -0
- mlsys/tasks/rws-magnitude-vs-taylor-head-importance/gen_fixtures.py +1 -0
- mlsys/tasks/rws-magnitude-vs-taylor-head-importance/meta.json +27 -0
- mlsys/tasks/rws-magnitude-vs-taylor-head-importance/solution_ref.py +20 -0
- mlsys/tasks/rws-magnitude-vs-taylor-head-importance/starter.py +4 -0
- mlsys/tasks/rws-magnitude-vs-taylor-head-importance/task.md +84 -0
- mlsys/tasks/rws-map-a-learned-mask-to-a-target-architecture/check.py +73 -0
- mlsys/tasks/rws-map-a-learned-mask-to-a-target-architecture/gen_fixtures.py +1 -0
- mlsys/tasks/rws-map-a-learned-mask-to-a-target-architecture/meta.json +22 -0
- mlsys/tasks/rws-map-a-learned-mask-to-a-target-architecture/solution_ref.py +24 -0
- mlsys/tasks/rws-map-a-learned-mask-to-a-target-architecture/starter.py +4 -0
- mlsys/tasks/rws-map-a-learned-mask-to-a-target-architecture/task.md +79 -0
- mlsys/tasks/rws-mean-activation-vs-l2-vs-taylor-importance/check.py +45 -0
- mlsys/tasks/rws-mean-activation-vs-l2-vs-taylor-importance/gen_fixtures.py +1 -0
- mlsys/tasks/rws-mean-activation-vs-l2-vs-taylor-importance/meta.json +22 -0
- mlsys/tasks/rws-mean-activation-vs-l2-vs-taylor-importance/solution_ref.py +40 -0
- mlsys/tasks/rws-mean-activation-vs-l2-vs-taylor-importance/starter.py +4 -0
- mlsys/tasks/rws-mean-activation-vs-l2-vs-taylor-importance/task.md +54 -0
- mlsys/tasks/rws-measure-2-4-compute-memory-reduction/check.py +56 -0
- mlsys/tasks/rws-measure-2-4-compute-memory-reduction/gen_fixtures.py +1 -0
- mlsys/tasks/rws-measure-2-4-compute-memory-reduction/meta.json +27 -0
- mlsys/tasks/rws-measure-2-4-compute-memory-reduction/solution_ref.py +10 -0
- mlsys/tasks/rws-measure-2-4-compute-memory-reduction/starter.py +4 -0
- mlsys/tasks/rws-measure-2-4-compute-memory-reduction/task.md +77 -0
- mlsys/tasks/rws-measure-realized-sparsity-of-a-pruned-checkpoint/check.py +33 -0
- mlsys/tasks/rws-measure-realized-sparsity-of-a-pruned-checkpoint/gen_fixtures.py +1 -0
- mlsys/tasks/rws-measure-realized-sparsity-of-a-pruned-checkpoint/meta.json +22 -0
- mlsys/tasks/rws-measure-realized-sparsity-of-a-pruned-checkpoint/solution_ref.py +9 -0
- mlsys/tasks/rws-measure-realized-sparsity-of-a-pruned-checkpoint/starter.py +4 -0
- mlsys/tasks/rws-measure-realized-sparsity-of-a-pruned-checkpoint/task.md +40 -0
- mlsys/tasks/rws-mined-vocab-alignment-map/check.py +58 -0
- mlsys/tasks/rws-mined-vocab-alignment-map/gen_fixtures.py +3 -0
- mlsys/tasks/rws-mined-vocab-alignment-map/meta.json +22 -0
- mlsys/tasks/rws-mined-vocab-alignment-map/solution_ref.py +26 -0
- mlsys/tasks/rws-mined-vocab-alignment-map/starter.py +8 -0
- mlsys/tasks/rws-mined-vocab-alignment-map/task.md +62 -0
- mlsys/tasks/rws-mode-covering-vs-mode-seeking-behavior/check.py +102 -0
- mlsys/tasks/rws-mode-covering-vs-mode-seeking-behavior/gen_fixtures.py +3 -0
- mlsys/tasks/rws-mode-covering-vs-mode-seeking-behavior/meta.json +32 -0
- mlsys/tasks/rws-mode-covering-vs-mode-seeking-behavior/solution_ref.py +52 -0
- mlsys/tasks/rws-mode-covering-vs-mode-seeking-behavior/starter.py +24 -0
- mlsys/tasks/rws-mode-covering-vs-mode-seeking-behavior/task.md +100 -0
- mlsys/tasks/rws-numeric-equality-dense-vs-2-4-compressed-matmul/check.py +33 -0
- mlsys/tasks/rws-numeric-equality-dense-vs-2-4-compressed-matmul/fixtures/w24.npy +0 -0
- mlsys/tasks/rws-numeric-equality-dense-vs-2-4-compressed-matmul/fixtures/x.npy +0 -0
- mlsys/tasks/rws-numeric-equality-dense-vs-2-4-compressed-matmul/gen_fixtures.py +32 -0
- mlsys/tasks/rws-numeric-equality-dense-vs-2-4-compressed-matmul/meta.json +25 -0
- mlsys/tasks/rws-numeric-equality-dense-vs-2-4-compressed-matmul/solution_ref.py +20 -0
- mlsys/tasks/rws-numeric-equality-dense-vs-2-4-compressed-matmul/starter.py +11 -0
- mlsys/tasks/rws-numeric-equality-dense-vs-2-4-compressed-matmul/task.md +71 -0
- mlsys/tasks/rws-obs-single-weight-saliency-closed-form-update/check.py +61 -0
- mlsys/tasks/rws-obs-single-weight-saliency-closed-form-update/gen_fixtures.py +2 -0
- mlsys/tasks/rws-obs-single-weight-saliency-closed-form-update/meta.json +32 -0
- mlsys/tasks/rws-obs-single-weight-saliency-closed-form-update/solution_ref.py +34 -0
- mlsys/tasks/rws-obs-single-weight-saliency-closed-form-update/starter.py +15 -0
- mlsys/tasks/rws-obs-single-weight-saliency-closed-form-update/task.md +71 -0
- mlsys/tasks/rws-optimal-per-group-int4-scales-under-the-mask/check.py +102 -0
- mlsys/tasks/rws-optimal-per-group-int4-scales-under-the-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rws-optimal-per-group-int4-scales-under-the-mask/meta.json +27 -0
- mlsys/tasks/rws-optimal-per-group-int4-scales-under-the-mask/solution_ref.py +66 -0
- mlsys/tasks/rws-optimal-per-group-int4-scales-under-the-mask/starter.py +35 -0
- mlsys/tasks/rws-optimal-per-group-int4-scales-under-the-mask/task.md +99 -0
- mlsys/tasks/rws-order-matters-prune-quant-vs-quant-prune/check.py +80 -0
- mlsys/tasks/rws-order-matters-prune-quant-vs-quant-prune/fixtures/opw_w.npy +0 -0
- mlsys/tasks/rws-order-matters-prune-quant-vs-quant-prune/fixtures/opw_x.npy +0 -0
- mlsys/tasks/rws-order-matters-prune-quant-vs-quant-prune/gen_fixtures.py +54 -0
- mlsys/tasks/rws-order-matters-prune-quant-vs-quant-prune/meta.json +35 -0
- mlsys/tasks/rws-order-matters-prune-quant-vs-quant-prune/solution_ref.py +45 -0
- mlsys/tasks/rws-order-matters-prune-quant-vs-quant-prune/starter.py +27 -0
- mlsys/tasks/rws-order-matters-prune-quant-vs-quant-prune/task.md +83 -0
- mlsys/tasks/rws-orthogonal-rotation-invariance/check.py +44 -0
- mlsys/tasks/rws-orthogonal-rotation-invariance/gen_fixtures.py +3 -0
- mlsys/tasks/rws-orthogonal-rotation-invariance/meta.json +22 -0
- mlsys/tasks/rws-orthogonal-rotation-invariance/solution_ref.py +17 -0
- mlsys/tasks/rws-orthogonal-rotation-invariance/starter.py +9 -0
- mlsys/tasks/rws-orthogonal-rotation-invariance/task.md +57 -0
- mlsys/tasks/rws-pack-2-4-into-values-2-bit-index-metadata/check.py +45 -0
- mlsys/tasks/rws-pack-2-4-into-values-2-bit-index-metadata/gen_fixtures.py +1 -0
- mlsys/tasks/rws-pack-2-4-into-values-2-bit-index-metadata/meta.json +22 -0
- mlsys/tasks/rws-pack-2-4-into-values-2-bit-index-metadata/solution_ref.py +15 -0
- mlsys/tasks/rws-pack-2-4-into-values-2-bit-index-metadata/starter.py +4 -0
- mlsys/tasks/rws-pack-2-4-into-values-2-bit-index-metadata/task.md +51 -0
- mlsys/tasks/rws-param-flop-fraction-removed-by-dropping-k-layers/check.py +32 -0
- mlsys/tasks/rws-param-flop-fraction-removed-by-dropping-k-layers/gen_fixtures.py +1 -0
- mlsys/tasks/rws-param-flop-fraction-removed-by-dropping-k-layers/meta.json +22 -0
- mlsys/tasks/rws-param-flop-fraction-removed-by-dropping-k-layers/solution_ref.py +27 -0
- mlsys/tasks/rws-param-flop-fraction-removed-by-dropping-k-layers/starter.py +2 -0
- mlsys/tasks/rws-param-flop-fraction-removed-by-dropping-k-layers/task.md +48 -0
- mlsys/tasks/rws-pca-slice-error-equals-tail-eigenvalue-sum/check.py +46 -0
- mlsys/tasks/rws-pca-slice-error-equals-tail-eigenvalue-sum/fixtures/pca_k.npy +0 -0
- mlsys/tasks/rws-pca-slice-error-equals-tail-eigenvalue-sum/fixtures/pca_x.npy +0 -0
- mlsys/tasks/rws-pca-slice-error-equals-tail-eigenvalue-sum/gen_fixtures.py +34 -0
- mlsys/tasks/rws-pca-slice-error-equals-tail-eigenvalue-sum/meta.json +25 -0
- mlsys/tasks/rws-pca-slice-error-equals-tail-eigenvalue-sum/solution_ref.py +20 -0
- mlsys/tasks/rws-pca-slice-error-equals-tail-eigenvalue-sum/starter.py +8 -0
- mlsys/tasks/rws-pca-slice-error-equals-tail-eigenvalue-sum/task.md +76 -0
- mlsys/tasks/rws-pca-slice-vs-naive-magnitude-column-drop/check.py +49 -0
- mlsys/tasks/rws-pca-slice-vs-naive-magnitude-column-drop/gen_fixtures.py +2 -0
- mlsys/tasks/rws-pca-slice-vs-naive-magnitude-column-drop/meta.json +27 -0
- mlsys/tasks/rws-pca-slice-vs-naive-magnitude-column-drop/solution_ref.py +33 -0
- mlsys/tasks/rws-pca-slice-vs-naive-magnitude-column-drop/starter.py +11 -0
- mlsys/tasks/rws-pca-slice-vs-naive-magnitude-column-drop/task.md +69 -0
- mlsys/tasks/rws-per-neuron-ffn-importance-group-l2-norm/check.py +31 -0
- mlsys/tasks/rws-per-neuron-ffn-importance-group-l2-norm/gen_fixtures.py +1 -0
- mlsys/tasks/rws-per-neuron-ffn-importance-group-l2-norm/meta.json +22 -0
- mlsys/tasks/rws-per-neuron-ffn-importance-group-l2-norm/solution_ref.py +25 -0
- mlsys/tasks/rws-per-neuron-ffn-importance-group-l2-norm/starter.py +7 -0
- mlsys/tasks/rws-per-neuron-ffn-importance-group-l2-norm/task.md +51 -0
- mlsys/tasks/rws-per-tensor-vs-global-per-layer-sparsity-drift/check.py +43 -0
- mlsys/tasks/rws-per-tensor-vs-global-per-layer-sparsity-drift/fixtures/layer0.npy +0 -0
- mlsys/tasks/rws-per-tensor-vs-global-per-layer-sparsity-drift/fixtures/layer1.npy +0 -0
- mlsys/tasks/rws-per-tensor-vs-global-per-layer-sparsity-drift/fixtures/layer2.npy +0 -0
- mlsys/tasks/rws-per-tensor-vs-global-per-layer-sparsity-drift/fixtures/layer3.npy +0 -0
- mlsys/tasks/rws-per-tensor-vs-global-per-layer-sparsity-drift/gen_fixtures.py +25 -0
- mlsys/tasks/rws-per-tensor-vs-global-per-layer-sparsity-drift/meta.json +32 -0
- mlsys/tasks/rws-per-tensor-vs-global-per-layer-sparsity-drift/solution_ref.py +21 -0
- mlsys/tasks/rws-per-tensor-vs-global-per-layer-sparsity-drift/starter.py +9 -0
- mlsys/tasks/rws-per-tensor-vs-global-per-layer-sparsity-drift/task.md +84 -0
- mlsys/tasks/rws-prune-ffn-neurons-to-target-width-consistently/check.py +42 -0
- mlsys/tasks/rws-prune-ffn-neurons-to-target-width-consistently/gen_fixtures.py +1 -0
- mlsys/tasks/rws-prune-ffn-neurons-to-target-width-consistently/meta.json +22 -0
- mlsys/tasks/rws-prune-ffn-neurons-to-target-width-consistently/solution_ref.py +22 -0
- mlsys/tasks/rws-prune-ffn-neurons-to-target-width-consistently/starter.py +4 -0
- mlsys/tasks/rws-prune-ffn-neurons-to-target-width-consistently/task.md +54 -0
- mlsys/tasks/rws-prune-then-quantize-a-layer/check.py +50 -0
- mlsys/tasks/rws-prune-then-quantize-a-layer/gen_fixtures.py +1 -0
- mlsys/tasks/rws-prune-then-quantize-a-layer/meta.json +22 -0
- mlsys/tasks/rws-prune-then-quantize-a-layer/solution_ref.py +37 -0
- mlsys/tasks/rws-prune-then-quantize-a-layer/starter.py +8 -0
- mlsys/tasks/rws-prune-then-quantize-a-layer/task.md +62 -0
- mlsys/tasks/rws-reconstruct-dense-weight-from-compressed-2-4/check.py +55 -0
- mlsys/tasks/rws-reconstruct-dense-weight-from-compressed-2-4/gen_fixtures.py +1 -0
- mlsys/tasks/rws-reconstruct-dense-weight-from-compressed-2-4/meta.json +22 -0
- mlsys/tasks/rws-reconstruct-dense-weight-from-compressed-2-4/solution_ref.py +13 -0
- mlsys/tasks/rws-reconstruct-dense-weight-from-compressed-2-4/starter.py +4 -0
- mlsys/tasks/rws-reconstruct-dense-weight-from-compressed-2-4/task.md +58 -0
- mlsys/tasks/rws-reconstruct-error-propagation-to-unvisited-columns/check.py +53 -0
- mlsys/tasks/rws-reconstruct-error-propagation-to-unvisited-columns/gen_fixtures.py +1 -0
- mlsys/tasks/rws-reconstruct-error-propagation-to-unvisited-columns/meta.json +22 -0
- mlsys/tasks/rws-reconstruct-error-propagation-to-unvisited-columns/solution_ref.py +23 -0
- mlsys/tasks/rws-reconstruct-error-propagation-to-unvisited-columns/starter.py +4 -0
- mlsys/tasks/rws-reconstruct-error-propagation-to-unvisited-columns/task.md +82 -0
- mlsys/tasks/rws-reconstruct-pruned-layer-output-residual/check.py +30 -0
- mlsys/tasks/rws-reconstruct-pruned-layer-output-residual/fixtures/wanda_m.npy +0 -0
- mlsys/tasks/rws-reconstruct-pruned-layer-output-residual/fixtures/wanda_w.npy +0 -0
- mlsys/tasks/rws-reconstruct-pruned-layer-output-residual/fixtures/wanda_x.npy +0 -0
- mlsys/tasks/rws-reconstruct-pruned-layer-output-residual/gen_fixtures.py +35 -0
- mlsys/tasks/rws-reconstruct-pruned-layer-output-residual/meta.json +31 -0
- mlsys/tasks/rws-reconstruct-pruned-layer-output-residual/solution_ref.py +22 -0
- mlsys/tasks/rws-reconstruct-pruned-layer-output-residual/starter.py +12 -0
- mlsys/tasks/rws-reconstruct-pruned-layer-output-residual/task.md +52 -0
- mlsys/tasks/rws-reconstruct-the-pruned-shell-forward-pre-distill/check.py +52 -0
- mlsys/tasks/rws-reconstruct-the-pruned-shell-forward-pre-distill/gen_fixtures.py +1 -0
- mlsys/tasks/rws-reconstruct-the-pruned-shell-forward-pre-distill/meta.json +22 -0
- mlsys/tasks/rws-reconstruct-the-pruned-shell-forward-pre-distill/solution_ref.py +8 -0
- mlsys/tasks/rws-reconstruct-the-pruned-shell-forward-pre-distill/starter.py +4 -0
- mlsys/tasks/rws-reconstruct-the-pruned-shell-forward-pre-distill/task.md +88 -0
- mlsys/tasks/rws-remove-an-attention-head-end-to-end/check.py +62 -0
- mlsys/tasks/rws-remove-an-attention-head-end-to-end/gen_fixtures.py +1 -0
- mlsys/tasks/rws-remove-an-attention-head-end-to-end/meta.json +22 -0
- mlsys/tasks/rws-remove-an-attention-head-end-to-end/solution_ref.py +33 -0
- mlsys/tasks/rws-remove-an-attention-head-end-to-end/starter.py +7 -0
- mlsys/tasks/rws-remove-an-attention-head-end-to-end/task.md +89 -0
- mlsys/tasks/rws-reproduce-torch-l1-unstructured-per-tensor-mask/check.py +29 -0
- mlsys/tasks/rws-reproduce-torch-l1-unstructured-per-tensor-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rws-reproduce-torch-l1-unstructured-per-tensor-mask/meta.json +22 -0
- mlsys/tasks/rws-reproduce-torch-l1-unstructured-per-tensor-mask/solution_ref.py +12 -0
- mlsys/tasks/rws-reproduce-torch-l1-unstructured-per-tensor-mask/starter.py +4 -0
- mlsys/tasks/rws-reproduce-torch-l1-unstructured-per-tensor-mask/task.md +40 -0
- mlsys/tasks/rws-retained-variance-for-a-slice-level/check.py +66 -0
- mlsys/tasks/rws-retained-variance-for-a-slice-level/gen_fixtures.py +15 -0
- mlsys/tasks/rws-retained-variance-for-a-slice-level/meta.json +27 -0
- mlsys/tasks/rws-retained-variance-for-a-slice-level/solution_ref.py +31 -0
- mlsys/tasks/rws-retained-variance-for-a-slice-level/starter.py +21 -0
- mlsys/tasks/rws-retained-variance-for-a-slice-level/task.md +88 -0
- mlsys/tasks/rws-rigl-grow-step-top-grad-among-zeros/check.py +40 -0
- mlsys/tasks/rws-rigl-grow-step-top-grad-among-zeros/gen_fixtures.py +1 -0
- mlsys/tasks/rws-rigl-grow-step-top-grad-among-zeros/meta.json +22 -0
- mlsys/tasks/rws-rigl-grow-step-top-grad-among-zeros/solution_ref.py +39 -0
- mlsys/tasks/rws-rigl-grow-step-top-grad-among-zeros/starter.py +4 -0
- mlsys/tasks/rws-rigl-grow-step-top-grad-among-zeros/task.md +56 -0
- mlsys/tasks/rws-rigl-vs-set-regrowth/check.py +87 -0
- mlsys/tasks/rws-rigl-vs-set-regrowth/gen_fixtures.py +2 -0
- mlsys/tasks/rws-rigl-vs-set-regrowth/meta.json +22 -0
- mlsys/tasks/rws-rigl-vs-set-regrowth/solution_ref.py +61 -0
- mlsys/tasks/rws-rigl-vs-set-regrowth/starter.py +21 -0
- mlsys/tasks/rws-rigl-vs-set-regrowth/task.md +79 -0
- mlsys/tasks/rws-rotate-and-slice-on-a-two-layer-stub/check.py +48 -0
- mlsys/tasks/rws-rotate-and-slice-on-a-two-layer-stub/gen_fixtures.py +1 -0
- mlsys/tasks/rws-rotate-and-slice-on-a-two-layer-stub/meta.json +22 -0
- mlsys/tasks/rws-rotate-and-slice-on-a-two-layer-stub/solution_ref.py +16 -0
- mlsys/tasks/rws-rotate-and-slice-on-a-two-layer-stub/starter.py +4 -0
- mlsys/tasks/rws-rotate-and-slice-on-a-two-layer-stub/task.md +77 -0
- mlsys/tasks/rws-route-to-the-right-serving-path/check.py +69 -0
- mlsys/tasks/rws-route-to-the-right-serving-path/gen_fixtures.py +1 -0
- mlsys/tasks/rws-route-to-the-right-serving-path/meta.json +22 -0
- mlsys/tasks/rws-route-to-the-right-serving-path/solution_ref.py +16 -0
- mlsys/tasks/rws-route-to-the-right-serving-path/starter.py +4 -0
- mlsys/tasks/rws-route-to-the-right-serving-path/task.md +88 -0
- mlsys/tasks/rws-select-keep-sets-for-a-target-width-depth/check.py +25 -0
- mlsys/tasks/rws-select-keep-sets-for-a-target-width-depth/gen_fixtures.py +1 -0
- mlsys/tasks/rws-select-keep-sets-for-a-target-width-depth/meta.json +22 -0
- mlsys/tasks/rws-select-keep-sets-for-a-target-width-depth/solution_ref.py +13 -0
- mlsys/tasks/rws-select-keep-sets-for-a-target-width-depth/starter.py +4 -0
- mlsys/tasks/rws-select-keep-sets-for-a-target-width-depth/task.md +41 -0
- mlsys/tasks/rws-sequence-level-kd-hard-target/check.py +44 -0
- mlsys/tasks/rws-sequence-level-kd-hard-target/gen_fixtures.py +1 -0
- mlsys/tasks/rws-sequence-level-kd-hard-target/meta.json +22 -0
- mlsys/tasks/rws-sequence-level-kd-hard-target/solution_ref.py +21 -0
- mlsys/tasks/rws-sequence-level-kd-hard-target/starter.py +5 -0
- mlsys/tasks/rws-sequence-level-kd-hard-target/task.md +83 -0
- mlsys/tasks/rws-serving-format-memory-footprint/check.py +55 -0
- mlsys/tasks/rws-serving-format-memory-footprint/gen_fixtures.py +2 -0
- mlsys/tasks/rws-serving-format-memory-footprint/meta.json +27 -0
- mlsys/tasks/rws-serving-format-memory-footprint/solution_ref.py +34 -0
- mlsys/tasks/rws-serving-format-memory-footprint/starter.py +11 -0
- mlsys/tasks/rws-serving-format-memory-footprint/task.md +67 -0
- mlsys/tasks/rws-soft-expected-mask-from-pattern-logits/check.py +28 -0
- mlsys/tasks/rws-soft-expected-mask-from-pattern-logits/gen_fixtures.py +1 -0
- mlsys/tasks/rws-soft-expected-mask-from-pattern-logits/meta.json +22 -0
- mlsys/tasks/rws-soft-expected-mask-from-pattern-logits/solution_ref.py +10 -0
- mlsys/tasks/rws-soft-expected-mask-from-pattern-logits/starter.py +4 -0
- mlsys/tasks/rws-soft-expected-mask-from-pattern-logits/task.md +63 -0
- mlsys/tasks/rws-sparse-gemm-from-compressed-2-4/check.py +70 -0
- mlsys/tasks/rws-sparse-gemm-from-compressed-2-4/gen_fixtures.py +3 -0
- mlsys/tasks/rws-sparse-gemm-from-compressed-2-4/meta.json +22 -0
- mlsys/tasks/rws-sparse-gemm-from-compressed-2-4/solution_ref.py +25 -0
- mlsys/tasks/rws-sparse-gemm-from-compressed-2-4/starter.py +12 -0
- mlsys/tasks/rws-sparse-gemm-from-compressed-2-4/task.md +69 -0
- mlsys/tasks/rws-sparsegpt-2-4-mask-via-hessian-diagonal/check.py +85 -0
- mlsys/tasks/rws-sparsegpt-2-4-mask-via-hessian-diagonal/gen_fixtures.py +1 -0
- mlsys/tasks/rws-sparsegpt-2-4-mask-via-hessian-diagonal/meta.json +32 -0
- mlsys/tasks/rws-sparsegpt-2-4-mask-via-hessian-diagonal/solution_ref.py +37 -0
- mlsys/tasks/rws-sparsegpt-2-4-mask-via-hessian-diagonal/starter.py +25 -0
- mlsys/tasks/rws-sparsegpt-2-4-mask-via-hessian-diagonal/task.md +98 -0
- mlsys/tasks/rws-sparsegpt-2-4-then-gptq-w4a16-mini-recipe/check.py +95 -0
- mlsys/tasks/rws-sparsegpt-2-4-then-gptq-w4a16-mini-recipe/gen_fixtures.py +2 -0
- mlsys/tasks/rws-sparsegpt-2-4-then-gptq-w4a16-mini-recipe/meta.json +27 -0
- mlsys/tasks/rws-sparsegpt-2-4-then-gptq-w4a16-mini-recipe/solution_ref.py +77 -0
- mlsys/tasks/rws-sparsegpt-2-4-then-gptq-w4a16-mini-recipe/starter.py +29 -0
- mlsys/tasks/rws-sparsegpt-2-4-then-gptq-w4a16-mini-recipe/task.md +123 -0
- mlsys/tasks/rws-sparsegpt-layer-wise-obs-reconstruction/check.py +81 -0
- mlsys/tasks/rws-sparsegpt-layer-wise-obs-reconstruction/gen_fixtures.py +1 -0
- mlsys/tasks/rws-sparsegpt-layer-wise-obs-reconstruction/meta.json +27 -0
- mlsys/tasks/rws-sparsegpt-layer-wise-obs-reconstruction/solution_ref.py +28 -0
- mlsys/tasks/rws-sparsegpt-layer-wise-obs-reconstruction/starter.py +4 -0
- mlsys/tasks/rws-sparsegpt-layer-wise-obs-reconstruction/task.md +68 -0
- mlsys/tasks/rws-sparsegpt-vs-wanda-vs-magnitude-at-equal-s/check.py +98 -0
- mlsys/tasks/rws-sparsegpt-vs-wanda-vs-magnitude-at-equal-s/fixtures/layer_w.npy +0 -0
- mlsys/tasks/rws-sparsegpt-vs-wanda-vs-magnitude-at-equal-s/fixtures/layer_x.npy +0 -0
- mlsys/tasks/rws-sparsegpt-vs-wanda-vs-magnitude-at-equal-s/gen_fixtures.py +32 -0
- mlsys/tasks/rws-sparsegpt-vs-wanda-vs-magnitude-at-equal-s/meta.json +40 -0
- mlsys/tasks/rws-sparsegpt-vs-wanda-vs-magnitude-at-equal-s/solution_ref.py +64 -0
- mlsys/tasks/rws-sparsegpt-vs-wanda-vs-magnitude-at-equal-s/starter.py +11 -0
- mlsys/tasks/rws-sparsegpt-vs-wanda-vs-magnitude-at-equal-s/task.md +92 -0
- mlsys/tasks/rws-straight-through-estimator-forward-backward/check.py +83 -0
- mlsys/tasks/rws-straight-through-estimator-forward-backward/gen_fixtures.py +2 -0
- mlsys/tasks/rws-straight-through-estimator-forward-backward/meta.json +27 -0
- mlsys/tasks/rws-straight-through-estimator-forward-backward/solution_ref.py +59 -0
- mlsys/tasks/rws-straight-through-estimator-forward-backward/starter.py +23 -0
- mlsys/tasks/rws-straight-through-estimator-forward-backward/task.md +81 -0
- mlsys/tasks/rws-temperature-limits-of-gumbel-softmax/check.py +65 -0
- mlsys/tasks/rws-temperature-limits-of-gumbel-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/rws-temperature-limits-of-gumbel-softmax/meta.json +27 -0
- mlsys/tasks/rws-temperature-limits-of-gumbel-softmax/solution_ref.py +14 -0
- mlsys/tasks/rws-temperature-limits-of-gumbel-softmax/starter.py +4 -0
- mlsys/tasks/rws-temperature-limits-of-gumbel-softmax/task.md +83 -0
- mlsys/tasks/rws-temperature-softened-distribution/check.py +46 -0
- mlsys/tasks/rws-temperature-softened-distribution/gen_fixtures.py +1 -0
- mlsys/tasks/rws-temperature-softened-distribution/meta.json +22 -0
- mlsys/tasks/rws-temperature-softened-distribution/solution_ref.py +8 -0
- mlsys/tasks/rws-temperature-softened-distribution/starter.py +4 -0
- mlsys/tasks/rws-temperature-softened-distribution/task.md +44 -0
- mlsys/tasks/rws-uld-gradient-through-the-sort-permutation/check.py +39 -0
- mlsys/tasks/rws-uld-gradient-through-the-sort-permutation/gen_fixtures.py +1 -0
- mlsys/tasks/rws-uld-gradient-through-the-sort-permutation/meta.json +22 -0
- mlsys/tasks/rws-uld-gradient-through-the-sort-permutation/solution_ref.py +9 -0
- mlsys/tasks/rws-uld-gradient-through-the-sort-permutation/starter.py +5 -0
- mlsys/tasks/rws-uld-gradient-through-the-sort-permutation/task.md +43 -0
- mlsys/tasks/rws-uld-vs-same-vocab-kl-on-shared-vocab/check.py +58 -0
- mlsys/tasks/rws-uld-vs-same-vocab-kl-on-shared-vocab/fixtures/uld_p_students.npy +0 -0
- mlsys/tasks/rws-uld-vs-same-vocab-kl-on-shared-vocab/fixtures/uld_p_teacher.npy +0 -0
- mlsys/tasks/rws-uld-vs-same-vocab-kl-on-shared-vocab/gen_fixtures.py +43 -0
- mlsys/tasks/rws-uld-vs-same-vocab-kl-on-shared-vocab/meta.json +35 -0
- mlsys/tasks/rws-uld-vs-same-vocab-kl-on-shared-vocab/solution_ref.py +18 -0
- mlsys/tasks/rws-uld-vs-same-vocab-kl-on-shared-vocab/starter.py +18 -0
- mlsys/tasks/rws-uld-vs-same-vocab-kl-on-shared-vocab/task.md +80 -0
- mlsys/tasks/rws-uld-wasserstein-1-loss-on-sorted-logits/check.py +30 -0
- mlsys/tasks/rws-uld-wasserstein-1-loss-on-sorted-logits/gen_fixtures.py +1 -0
- mlsys/tasks/rws-uld-wasserstein-1-loss-on-sorted-logits/meta.json +22 -0
- mlsys/tasks/rws-uld-wasserstein-1-loss-on-sorted-logits/solution_ref.py +13 -0
- mlsys/tasks/rws-uld-wasserstein-1-loss-on-sorted-logits/starter.py +4 -0
- mlsys/tasks/rws-uld-wasserstein-1-loss-on-sorted-logits/task.md +48 -0
- mlsys/tasks/rws-uniform-vs-reweighted-expected-loss/check.py +58 -0
- mlsys/tasks/rws-uniform-vs-reweighted-expected-loss/gen_fixtures.py +1 -0
- mlsys/tasks/rws-uniform-vs-reweighted-expected-loss/meta.json +32 -0
- mlsys/tasks/rws-uniform-vs-reweighted-expected-loss/solution_ref.py +18 -0
- mlsys/tasks/rws-uniform-vs-reweighted-expected-loss/starter.py +4 -0
- mlsys/tasks/rws-uniform-vs-reweighted-expected-loss/task.md +87 -0
- mlsys/tasks/rws-unpack-cusparselt-metadata-to-a-dense-mask/check.py +29 -0
- mlsys/tasks/rws-unpack-cusparselt-metadata-to-a-dense-mask/gen_fixtures.py +1 -0
- mlsys/tasks/rws-unpack-cusparselt-metadata-to-a-dense-mask/meta.json +22 -0
- mlsys/tasks/rws-unpack-cusparselt-metadata-to-a-dense-mask/solution_ref.py +30 -0
- mlsys/tasks/rws-unpack-cusparselt-metadata-to-a-dense-mask/starter.py +4 -0
- mlsys/tasks/rws-unpack-cusparselt-metadata-to-a-dense-mask/task.md +65 -0
- mlsys/tasks/rws-wanda-2-4-variant-per-4-group/check.py +67 -0
- mlsys/tasks/rws-wanda-2-4-variant-per-4-group/gen_fixtures.py +1 -0
- mlsys/tasks/rws-wanda-2-4-variant-per-4-group/meta.json +27 -0
- mlsys/tasks/rws-wanda-2-4-variant-per-4-group/solution_ref.py +19 -0
- mlsys/tasks/rws-wanda-2-4-variant-per-4-group/starter.py +4 -0
- mlsys/tasks/rws-wanda-2-4-variant-per-4-group/task.md +63 -0
- mlsys/tasks/rws-wanda-vs-magnitude-reconstruction-error/check.py +82 -0
- mlsys/tasks/rws-wanda-vs-magnitude-reconstruction-error/gen_fixtures.py +5 -0
- mlsys/tasks/rws-wanda-vs-magnitude-reconstruction-error/meta.json +32 -0
- mlsys/tasks/rws-wanda-vs-magnitude-reconstruction-error/solution_ref.py +46 -0
- mlsys/tasks/rws-wanda-vs-magnitude-reconstruction-error/starter.py +11 -0
- mlsys/tasks/rws-wanda-vs-magnitude-reconstruction-error/task.md +69 -0
- mlsys/tasks/sys-1f1b-schedule-ordering/check.py +48 -0
- mlsys/tasks/sys-1f1b-schedule-ordering/gen_fixtures.py +1 -0
- mlsys/tasks/sys-1f1b-schedule-ordering/meta.json +22 -0
- mlsys/tasks/sys-1f1b-schedule-ordering/solution_ref.py +27 -0
- mlsys/tasks/sys-1f1b-schedule-ordering/starter.py +2 -0
- mlsys/tasks/sys-1f1b-schedule-ordering/task.md +60 -0
- mlsys/tasks/sys-acceptance-rate-computation/check.py +26 -0
- mlsys/tasks/sys-acceptance-rate-computation/gen_fixtures.py +1 -0
- mlsys/tasks/sys-acceptance-rate-computation/meta.json +22 -0
- mlsys/tasks/sys-acceptance-rate-computation/solution_ref.py +6 -0
- mlsys/tasks/sys-acceptance-rate-computation/starter.py +4 -0
- mlsys/tasks/sys-acceptance-rate-computation/task.md +28 -0
- mlsys/tasks/sys-activation-bytes-saved-by-recompute-vs-store-p/check.py +31 -0
- mlsys/tasks/sys-activation-bytes-saved-by-recompute-vs-store-p/gen_fixtures.py +1 -0
- mlsys/tasks/sys-activation-bytes-saved-by-recompute-vs-store-p/meta.json +22 -0
- mlsys/tasks/sys-activation-bytes-saved-by-recompute-vs-store-p/solution_ref.py +4 -0
- mlsys/tasks/sys-activation-bytes-saved-by-recompute-vs-store-p/starter.py +2 -0
- mlsys/tasks/sys-activation-bytes-saved-by-recompute-vs-store-p/task.md +67 -0
- mlsys/tasks/sys-adam-optimizer-state-bytes/check.py +33 -0
- mlsys/tasks/sys-adam-optimizer-state-bytes/gen_fixtures.py +1 -0
- mlsys/tasks/sys-adam-optimizer-state-bytes/meta.json +22 -0
- mlsys/tasks/sys-adam-optimizer-state-bytes/solution_ref.py +5 -0
- mlsys/tasks/sys-adam-optimizer-state-bytes/starter.py +3 -0
- mlsys/tasks/sys-adam-optimizer-state-bytes/task.md +29 -0
- mlsys/tasks/sys-alibi-additive-bias-inside-online-softmax/check.py +40 -0
- mlsys/tasks/sys-alibi-additive-bias-inside-online-softmax/gen_fixtures.py +1 -0
- mlsys/tasks/sys-alibi-additive-bias-inside-online-softmax/meta.json +22 -0
- mlsys/tasks/sys-alibi-additive-bias-inside-online-softmax/solution_ref.py +27 -0
- mlsys/tasks/sys-alibi-additive-bias-inside-online-softmax/starter.py +5 -0
- mlsys/tasks/sys-alibi-additive-bias-inside-online-softmax/task.md +83 -0
- mlsys/tasks/sys-all-reduce-reduce-scatter-all-gather/check.py +46 -0
- mlsys/tasks/sys-all-reduce-reduce-scatter-all-gather/gen_fixtures.py +1 -0
- mlsys/tasks/sys-all-reduce-reduce-scatter-all-gather/meta.json +23 -0
- mlsys/tasks/sys-all-reduce-reduce-scatter-all-gather/solution_ref.py +16 -0
- mlsys/tasks/sys-all-reduce-reduce-scatter-all-gather/starter.py +9 -0
- mlsys/tasks/sys-all-reduce-reduce-scatter-all-gather/task.md +105 -0
- mlsys/tasks/sys-all-to-all-for-moe-dispatch/check.py +39 -0
- mlsys/tasks/sys-all-to-all-for-moe-dispatch/gen_fixtures.py +1 -0
- mlsys/tasks/sys-all-to-all-for-moe-dispatch/meta.json +22 -0
- mlsys/tasks/sys-all-to-all-for-moe-dispatch/solution_ref.py +11 -0
- mlsys/tasks/sys-all-to-all-for-moe-dispatch/starter.py +4 -0
- mlsys/tasks/sys-all-to-all-for-moe-dispatch/task.md +88 -0
- mlsys/tasks/sys-append-and-read-incremental-decode/check.py +63 -0
- mlsys/tasks/sys-append-and-read-incremental-decode/gen_fixtures.py +1 -0
- mlsys/tasks/sys-append-and-read-incremental-decode/meta.json +22 -0
- mlsys/tasks/sys-append-and-read-incremental-decode/solution_ref.py +49 -0
- mlsys/tasks/sys-append-and-read-incremental-decode/starter.py +7 -0
- mlsys/tasks/sys-append-and-read-incremental-decode/task.md +61 -0
- mlsys/tasks/sys-apply-causal-mask-to-dense-scores/check.py +66 -0
- mlsys/tasks/sys-apply-causal-mask-to-dense-scores/gen_fixtures.py +1 -0
- mlsys/tasks/sys-apply-causal-mask-to-dense-scores/meta.json +22 -0
- mlsys/tasks/sys-apply-causal-mask-to-dense-scores/solution_ref.py +10 -0
- mlsys/tasks/sys-apply-causal-mask-to-dense-scores/starter.py +5 -0
- mlsys/tasks/sys-apply-causal-mask-to-dense-scores/task.md +58 -0
- mlsys/tasks/sys-arithmetic-intensity-of-a-gemm/check.py +28 -0
- mlsys/tasks/sys-arithmetic-intensity-of-a-gemm/gen_fixtures.py +1 -0
- mlsys/tasks/sys-arithmetic-intensity-of-a-gemm/meta.json +22 -0
- mlsys/tasks/sys-arithmetic-intensity-of-a-gemm/solution_ref.py +10 -0
- mlsys/tasks/sys-arithmetic-intensity-of-a-gemm/starter.py +4 -0
- mlsys/tasks/sys-arithmetic-intensity-of-a-gemm/task.md +42 -0
- mlsys/tasks/sys-asymmetric-zero-point-round-trip/check.py +40 -0
- mlsys/tasks/sys-asymmetric-zero-point-round-trip/gen_fixtures.py +2 -0
- mlsys/tasks/sys-asymmetric-zero-point-round-trip/meta.json +27 -0
- mlsys/tasks/sys-asymmetric-zero-point-round-trip/solution_ref.py +18 -0
- mlsys/tasks/sys-asymmetric-zero-point-round-trip/starter.py +11 -0
- mlsys/tasks/sys-asymmetric-zero-point-round-trip/task.md +69 -0
- mlsys/tasks/sys-attainable-performance-from-roofline/check.py +19 -0
- mlsys/tasks/sys-attainable-performance-from-roofline/gen_fixtures.py +1 -0
- mlsys/tasks/sys-attainable-performance-from-roofline/meta.json +22 -0
- mlsys/tasks/sys-attainable-performance-from-roofline/solution_ref.py +8 -0
- mlsys/tasks/sys-attainable-performance-from-roofline/starter.py +4 -0
- mlsys/tasks/sys-attainable-performance-from-roofline/task.md +48 -0
- mlsys/tasks/sys-awq-salient-channel-scaling-round-trip/check.py +35 -0
- mlsys/tasks/sys-awq-salient-channel-scaling-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/sys-awq-salient-channel-scaling-round-trip/meta.json +22 -0
- mlsys/tasks/sys-awq-salient-channel-scaling-round-trip/solution_ref.py +15 -0
- mlsys/tasks/sys-awq-salient-channel-scaling-round-trip/starter.py +4 -0
- mlsys/tasks/sys-awq-salient-channel-scaling-round-trip/task.md +64 -0
- mlsys/tasks/sys-backward-matches-autograd-under-bf16-emulated-rounding/check.py +61 -0
- mlsys/tasks/sys-backward-matches-autograd-under-bf16-emulated-rounding/gen_fixtures.py +1 -0
- mlsys/tasks/sys-backward-matches-autograd-under-bf16-emulated-rounding/meta.json +22 -0
- mlsys/tasks/sys-backward-matches-autograd-under-bf16-emulated-rounding/solution_ref.py +38 -0
- mlsys/tasks/sys-backward-matches-autograd-under-bf16-emulated-rounding/starter.py +7 -0
- mlsys/tasks/sys-backward-matches-autograd-under-bf16-emulated-rounding/task.md +67 -0
- mlsys/tasks/sys-batch-size-maximizing-throughput-under-p99/check.py +45 -0
- mlsys/tasks/sys-batch-size-maximizing-throughput-under-p99/gen_fixtures.py +1 -0
- mlsys/tasks/sys-batch-size-maximizing-throughput-under-p99/meta.json +22 -0
- mlsys/tasks/sys-batch-size-maximizing-throughput-under-p99/solution_ref.py +19 -0
- mlsys/tasks/sys-batch-size-maximizing-throughput-under-p99/starter.py +2 -0
- mlsys/tasks/sys-batch-size-maximizing-throughput-under-p99/task.md +77 -0
- mlsys/tasks/sys-bf16-matmul-with-fp32-accumulation-error-bound/check.py +67 -0
- mlsys/tasks/sys-bf16-matmul-with-fp32-accumulation-error-bound/gen_fixtures.py +1 -0
- mlsys/tasks/sys-bf16-matmul-with-fp32-accumulation-error-bound/meta.json +22 -0
- mlsys/tasks/sys-bf16-matmul-with-fp32-accumulation-error-bound/solution_ref.py +14 -0
- mlsys/tasks/sys-bf16-matmul-with-fp32-accumulation-error-bound/starter.py +7 -0
- mlsys/tasks/sys-bf16-matmul-with-fp32-accumulation-error-bound/task.md +77 -0
- mlsys/tasks/sys-block-count-and-wasted-slot-arithmetic/check.py +26 -0
- mlsys/tasks/sys-block-count-and-wasted-slot-arithmetic/gen_fixtures.py +1 -0
- mlsys/tasks/sys-block-count-and-wasted-slot-arithmetic/meta.json +22 -0
- mlsys/tasks/sys-block-count-and-wasted-slot-arithmetic/solution_ref.py +9 -0
- mlsys/tasks/sys-block-count-and-wasted-slot-arithmetic/starter.py +2 -0
- mlsys/tasks/sys-block-count-and-wasted-slot-arithmetic/task.md +31 -0
- mlsys/tasks/sys-block-parametrized-online-softmax-under-bf16-emulated-rounding/check.py +64 -0
- mlsys/tasks/sys-block-parametrized-online-softmax-under-bf16-emulated-rounding/gen_fixtures.py +1 -0
- mlsys/tasks/sys-block-parametrized-online-softmax-under-bf16-emulated-rounding/meta.json +22 -0
- mlsys/tasks/sys-block-parametrized-online-softmax-under-bf16-emulated-rounding/solution_ref.py +39 -0
- mlsys/tasks/sys-block-parametrized-online-softmax-under-bf16-emulated-rounding/starter.py +4 -0
- mlsys/tasks/sys-block-parametrized-online-softmax-under-bf16-emulated-rounding/task.md +77 -0
- mlsys/tasks/sys-block-pointer-indexing-with-boundary-mask/check.py +41 -0
- mlsys/tasks/sys-block-pointer-indexing-with-boundary-mask/gen_fixtures.py +1 -0
- mlsys/tasks/sys-block-pointer-indexing-with-boundary-mask/meta.json +22 -0
- mlsys/tasks/sys-block-pointer-indexing-with-boundary-mask/solution_ref.py +17 -0
- mlsys/tasks/sys-block-pointer-indexing-with-boundary-mask/starter.py +4 -0
- mlsys/tasks/sys-block-pointer-indexing-with-boundary-mask/task.md +58 -0
- mlsys/tasks/sys-block-size-choice-minimizing-modeled-hbm/check.py +43 -0
- mlsys/tasks/sys-block-size-choice-minimizing-modeled-hbm/gen_fixtures.py +1 -0
- mlsys/tasks/sys-block-size-choice-minimizing-modeled-hbm/meta.json +22 -0
- mlsys/tasks/sys-block-size-choice-minimizing-modeled-hbm/solution_ref.py +17 -0
- mlsys/tasks/sys-block-size-choice-minimizing-modeled-hbm/starter.py +2 -0
- mlsys/tasks/sys-block-size-choice-minimizing-modeled-hbm/task.md +60 -0
- mlsys/tasks/sys-block-sparse-equals-dense-on-structurally-zero-inputs/check.py +74 -0
- mlsys/tasks/sys-block-sparse-equals-dense-on-structurally-zero-inputs/gen_fixtures.py +1 -0
- mlsys/tasks/sys-block-sparse-equals-dense-on-structurally-zero-inputs/meta.json +27 -0
- mlsys/tasks/sys-block-sparse-equals-dense-on-structurally-zero-inputs/solution_ref.py +32 -0
- mlsys/tasks/sys-block-sparse-equals-dense-on-structurally-zero-inputs/starter.py +4 -0
- mlsys/tasks/sys-block-sparse-equals-dense-on-structurally-zero-inputs/task.md +94 -0
- mlsys/tasks/sys-block-table-append-gather-attention/check.py +110 -0
- mlsys/tasks/sys-block-table-append-gather-attention/gen_fixtures.py +1 -0
- mlsys/tasks/sys-block-table-append-gather-attention/meta.json +28 -0
- mlsys/tasks/sys-block-table-append-gather-attention/solution_ref.py +80 -0
- mlsys/tasks/sys-block-table-append-gather-attention/starter.py +52 -0
- mlsys/tasks/sys-block-table-append-gather-attention/task.md +95 -0
- mlsys/tasks/sys-bucket-grads-to-maximize-overlap/check.py +90 -0
- mlsys/tasks/sys-bucket-grads-to-maximize-overlap/gen_fixtures.py +1 -0
- mlsys/tasks/sys-bucket-grads-to-maximize-overlap/meta.json +22 -0
- mlsys/tasks/sys-bucket-grads-to-maximize-overlap/solution_ref.py +48 -0
- mlsys/tasks/sys-bucket-grads-to-maximize-overlap/starter.py +2 -0
- mlsys/tasks/sys-bucket-grads-to-maximize-overlap/task.md +74 -0
- mlsys/tasks/sys-build-a-minimal-op-dag-tracer/check.py +76 -0
- mlsys/tasks/sys-build-a-minimal-op-dag-tracer/gen_fixtures.py +1 -0
- mlsys/tasks/sys-build-a-minimal-op-dag-tracer/meta.json +22 -0
- mlsys/tasks/sys-build-a-minimal-op-dag-tracer/solution_ref.py +45 -0
- mlsys/tasks/sys-build-a-minimal-op-dag-tracer/starter.py +2 -0
- mlsys/tasks/sys-build-a-minimal-op-dag-tracer/task.md +77 -0
- mlsys/tasks/sys-capacity-factor-token-dropping/check.py +45 -0
- mlsys/tasks/sys-capacity-factor-token-dropping/gen_fixtures.py +1 -0
- mlsys/tasks/sys-capacity-factor-token-dropping/meta.json +22 -0
- mlsys/tasks/sys-capacity-factor-token-dropping/solution_ref.py +13 -0
- mlsys/tasks/sys-capacity-factor-token-dropping/starter.py +5 -0
- mlsys/tasks/sys-capacity-factor-token-dropping/task.md +75 -0
- mlsys/tasks/sys-causal-flashattention-forward-with-kv-early-exit/check.py +64 -0
- mlsys/tasks/sys-causal-flashattention-forward-with-kv-early-exit/gen_fixtures.py +1 -0
- mlsys/tasks/sys-causal-flashattention-forward-with-kv-early-exit/meta.json +27 -0
- mlsys/tasks/sys-causal-flashattention-forward-with-kv-early-exit/solution_ref.py +50 -0
- mlsys/tasks/sys-causal-flashattention-forward-with-kv-early-exit/starter.py +7 -0
- mlsys/tasks/sys-causal-flashattention-forward-with-kv-early-exit/task.md +83 -0
- mlsys/tasks/sys-causal-folded-into-tiling-with-early-exit/check.py +70 -0
- mlsys/tasks/sys-causal-folded-into-tiling-with-early-exit/gen_fixtures.py +1 -0
- mlsys/tasks/sys-causal-folded-into-tiling-with-early-exit/meta.json +27 -0
- mlsys/tasks/sys-causal-folded-into-tiling-with-early-exit/solution_ref.py +36 -0
- mlsys/tasks/sys-causal-folded-into-tiling-with-early-exit/starter.py +11 -0
- mlsys/tasks/sys-causal-folded-into-tiling-with-early-exit/task.md +81 -0
- mlsys/tasks/sys-chunk-size-selection-to-bound-decode-stall/check.py +46 -0
- mlsys/tasks/sys-chunk-size-selection-to-bound-decode-stall/gen_fixtures.py +1 -0
- mlsys/tasks/sys-chunk-size-selection-to-bound-decode-stall/meta.json +22 -0
- mlsys/tasks/sys-chunk-size-selection-to-bound-decode-stall/solution_ref.py +15 -0
- mlsys/tasks/sys-chunk-size-selection-to-bound-decode-stall/starter.py +2 -0
- mlsys/tasks/sys-chunk-size-selection-to-bound-decode-stall/task.md +80 -0
- mlsys/tasks/sys-chunked-prefill-reproduces-kv-tokens/check.py +68 -0
- mlsys/tasks/sys-chunked-prefill-reproduces-kv-tokens/gen_fixtures.py +1 -0
- mlsys/tasks/sys-chunked-prefill-reproduces-kv-tokens/meta.json +22 -0
- mlsys/tasks/sys-chunked-prefill-reproduces-kv-tokens/solution_ref.py +38 -0
- mlsys/tasks/sys-chunked-prefill-reproduces-kv-tokens/starter.py +10 -0
- mlsys/tasks/sys-chunked-prefill-reproduces-kv-tokens/task.md +56 -0
- mlsys/tasks/sys-classify-fusable-op-pairs/check.py +63 -0
- mlsys/tasks/sys-classify-fusable-op-pairs/gen_fixtures.py +2 -0
- mlsys/tasks/sys-classify-fusable-op-pairs/meta.json +22 -0
- mlsys/tasks/sys-classify-fusable-op-pairs/solution_ref.py +41 -0
- mlsys/tasks/sys-classify-fusable-op-pairs/starter.py +9 -0
- mlsys/tasks/sys-classify-fusable-op-pairs/task.md +81 -0
- mlsys/tasks/sys-classify-graph-breaks/check.py +45 -0
- mlsys/tasks/sys-classify-graph-breaks/gen_fixtures.py +1 -0
- mlsys/tasks/sys-classify-graph-breaks/meta.json +22 -0
- mlsys/tasks/sys-classify-graph-breaks/solution_ref.py +34 -0
- mlsys/tasks/sys-classify-graph-breaks/starter.py +4 -0
- mlsys/tasks/sys-classify-graph-breaks/task.md +34 -0
- mlsys/tasks/sys-classify-overlappable-ops-from-dag/check.py +68 -0
- mlsys/tasks/sys-classify-overlappable-ops-from-dag/gen_fixtures.py +1 -0
- mlsys/tasks/sys-classify-overlappable-ops-from-dag/meta.json +22 -0
- mlsys/tasks/sys-classify-overlappable-ops-from-dag/solution_ref.py +32 -0
- mlsys/tasks/sys-classify-overlappable-ops-from-dag/starter.py +7 -0
- mlsys/tasks/sys-classify-overlappable-ops-from-dag/task.md +70 -0
- mlsys/tasks/sys-classify-roofline-region-of-a-phase/check.py +60 -0
- mlsys/tasks/sys-classify-roofline-region-of-a-phase/gen_fixtures.py +1 -0
- mlsys/tasks/sys-classify-roofline-region-of-a-phase/meta.json +22 -0
- mlsys/tasks/sys-classify-roofline-region-of-a-phase/solution_ref.py +17 -0
- mlsys/tasks/sys-classify-roofline-region-of-a-phase/starter.py +2 -0
- mlsys/tasks/sys-classify-roofline-region-of-a-phase/task.md +94 -0
- mlsys/tasks/sys-column-row-parallel-mlp-equivalence/check.py +52 -0
- mlsys/tasks/sys-column-row-parallel-mlp-equivalence/gen_fixtures.py +1 -0
- mlsys/tasks/sys-column-row-parallel-mlp-equivalence/meta.json +22 -0
- mlsys/tasks/sys-column-row-parallel-mlp-equivalence/solution_ref.py +20 -0
- mlsys/tasks/sys-column-row-parallel-mlp-equivalence/starter.py +14 -0
- mlsys/tasks/sys-column-row-parallel-mlp-equivalence/task.md +85 -0
- mlsys/tasks/sys-compensated-kahan-summation-in-low-precision/check.py +31 -0
- mlsys/tasks/sys-compensated-kahan-summation-in-low-precision/gen_fixtures.py +1 -0
- mlsys/tasks/sys-compensated-kahan-summation-in-low-precision/meta.json +22 -0
- mlsys/tasks/sys-compensated-kahan-summation-in-low-precision/solution_ref.py +10 -0
- mlsys/tasks/sys-compensated-kahan-summation-in-low-precision/starter.py +7 -0
- mlsys/tasks/sys-compensated-kahan-summation-in-low-precision/task.md +70 -0
- mlsys/tasks/sys-compute-bound-vs-memory-bound-classification/check.py +28 -0
- mlsys/tasks/sys-compute-bound-vs-memory-bound-classification/gen_fixtures.py +1 -0
- mlsys/tasks/sys-compute-bound-vs-memory-bound-classification/meta.json +22 -0
- mlsys/tasks/sys-compute-bound-vs-memory-bound-classification/solution_ref.py +5 -0
- mlsys/tasks/sys-compute-bound-vs-memory-bound-classification/starter.py +4 -0
- mlsys/tasks/sys-compute-bound-vs-memory-bound-classification/task.md +51 -0
- mlsys/tasks/sys-constant-fold-a-traced-graph/check.py +150 -0
- mlsys/tasks/sys-constant-fold-a-traced-graph/gen_fixtures.py +1 -0
- mlsys/tasks/sys-constant-fold-a-traced-graph/meta.json +22 -0
- mlsys/tasks/sys-constant-fold-a-traced-graph/solution_ref.py +53 -0
- mlsys/tasks/sys-constant-fold-a-traced-graph/starter.py +8 -0
- mlsys/tasks/sys-constant-fold-a-traced-graph/task.md +88 -0
- mlsys/tasks/sys-contiguous-vs-strided-decode-access-count/check.py +53 -0
- mlsys/tasks/sys-contiguous-vs-strided-decode-access-count/gen_fixtures.py +1 -0
- mlsys/tasks/sys-contiguous-vs-strided-decode-access-count/meta.json +22 -0
- mlsys/tasks/sys-contiguous-vs-strided-decode-access-count/solution_ref.py +24 -0
- mlsys/tasks/sys-contiguous-vs-strided-decode-access-count/starter.py +4 -0
- mlsys/tasks/sys-contiguous-vs-strided-decode-access-count/task.md +68 -0
- mlsys/tasks/sys-copy-on-write-prefix-sharing/check.py +105 -0
- mlsys/tasks/sys-copy-on-write-prefix-sharing/gen_fixtures.py +1 -0
- mlsys/tasks/sys-copy-on-write-prefix-sharing/meta.json +27 -0
- mlsys/tasks/sys-copy-on-write-prefix-sharing/solution_ref.py +79 -0
- mlsys/tasks/sys-copy-on-write-prefix-sharing/starter.py +27 -0
- mlsys/tasks/sys-copy-on-write-prefix-sharing/task.md +99 -0
- mlsys/tasks/sys-cost-model-schedule-ranking/check.py +65 -0
- mlsys/tasks/sys-cost-model-schedule-ranking/gen_fixtures.py +1 -0
- mlsys/tasks/sys-cost-model-schedule-ranking/meta.json +22 -0
- mlsys/tasks/sys-cost-model-schedule-ranking/solution_ref.py +22 -0
- mlsys/tasks/sys-cost-model-schedule-ranking/starter.py +2 -0
- mlsys/tasks/sys-cost-model-schedule-ranking/task.md +66 -0
- mlsys/tasks/sys-count-hbm-round-trips-of-matmul-bias-act/check.py +45 -0
- mlsys/tasks/sys-count-hbm-round-trips-of-matmul-bias-act/gen_fixtures.py +1 -0
- mlsys/tasks/sys-count-hbm-round-trips-of-matmul-bias-act/meta.json +22 -0
- mlsys/tasks/sys-count-hbm-round-trips-of-matmul-bias-act/solution_ref.py +24 -0
- mlsys/tasks/sys-count-hbm-round-trips-of-matmul-bias-act/starter.py +3 -0
- mlsys/tasks/sys-count-hbm-round-trips-of-matmul-bias-act/task.md +64 -0
- mlsys/tasks/sys-data-parallel-grad-averaging-equals-big-batch/check.py +30 -0
- mlsys/tasks/sys-data-parallel-grad-averaging-equals-big-batch/gen_fixtures.py +1 -0
- mlsys/tasks/sys-data-parallel-grad-averaging-equals-big-batch/meta.json +22 -0
- mlsys/tasks/sys-data-parallel-grad-averaging-equals-big-batch/solution_ref.py +16 -0
- mlsys/tasks/sys-data-parallel-grad-averaging-equals-big-batch/starter.py +4 -0
- mlsys/tasks/sys-data-parallel-grad-averaging-equals-big-batch/task.md +65 -0
- mlsys/tasks/sys-dead-code-elimination-on-fx-like-graph/check.py +74 -0
- mlsys/tasks/sys-dead-code-elimination-on-fx-like-graph/gen_fixtures.py +1 -0
- mlsys/tasks/sys-dead-code-elimination-on-fx-like-graph/meta.json +22 -0
- mlsys/tasks/sys-dead-code-elimination-on-fx-like-graph/solution_ref.py +17 -0
- mlsys/tasks/sys-dead-code-elimination-on-fx-like-graph/starter.py +2 -0
- mlsys/tasks/sys-dead-code-elimination-on-fx-like-graph/task.md +64 -0
- mlsys/tasks/sys-derive-and-evaluate-the-m-l-o-merge-operator/check.py +54 -0
- mlsys/tasks/sys-derive-and-evaluate-the-m-l-o-merge-operator/gen_fixtures.py +1 -0
- mlsys/tasks/sys-derive-and-evaluate-the-m-l-o-merge-operator/meta.json +22 -0
- mlsys/tasks/sys-derive-and-evaluate-the-m-l-o-merge-operator/solution_ref.py +15 -0
- mlsys/tasks/sys-derive-and-evaluate-the-m-l-o-merge-operator/starter.py +4 -0
- mlsys/tasks/sys-derive-and-evaluate-the-m-l-o-merge-operator/task.md +90 -0
- mlsys/tasks/sys-derive-decode-arithmetic-intensity-vs-group-factor/check.py +31 -0
- mlsys/tasks/sys-derive-decode-arithmetic-intensity-vs-group-factor/gen_fixtures.py +1 -0
- mlsys/tasks/sys-derive-decode-arithmetic-intensity-vs-group-factor/meta.json +22 -0
- mlsys/tasks/sys-derive-decode-arithmetic-intensity-vs-group-factor/solution_ref.py +6 -0
- mlsys/tasks/sys-derive-decode-arithmetic-intensity-vs-group-factor/starter.py +2 -0
- mlsys/tasks/sys-derive-decode-arithmetic-intensity-vs-group-factor/task.md +58 -0
- mlsys/tasks/sys-derive-ds-p-dp-d-i/check.py +38 -0
- mlsys/tasks/sys-derive-ds-p-dp-d-i/gen_fixtures.py +1 -0
- mlsys/tasks/sys-derive-ds-p-dp-d-i/meta.json +22 -0
- mlsys/tasks/sys-derive-ds-p-dp-d-i/solution_ref.py +8 -0
- mlsys/tasks/sys-derive-ds-p-dp-d-i/starter.py +4 -0
- mlsys/tasks/sys-derive-ds-p-dp-d-i/task.md +88 -0
- mlsys/tasks/sys-disaggregated-prefill-decode-kv-handoff/check.py +65 -0
- mlsys/tasks/sys-disaggregated-prefill-decode-kv-handoff/gen_fixtures.py +1 -0
- mlsys/tasks/sys-disaggregated-prefill-decode-kv-handoff/meta.json +20 -0
- mlsys/tasks/sys-disaggregated-prefill-decode-kv-handoff/solution_ref.py +13 -0
- mlsys/tasks/sys-disaggregated-prefill-decode-kv-handoff/starter.py +4 -0
- mlsys/tasks/sys-disaggregated-prefill-decode-kv-handoff/task.md +92 -0
- mlsys/tasks/sys-dispatch-combine-round-trip/check.py +45 -0
- mlsys/tasks/sys-dispatch-combine-round-trip/gen_fixtures.py +2 -0
- mlsys/tasks/sys-dispatch-combine-round-trip/meta.json +22 -0
- mlsys/tasks/sys-dispatch-combine-round-trip/solution_ref.py +37 -0
- mlsys/tasks/sys-dispatch-combine-round-trip/starter.py +17 -0
- mlsys/tasks/sys-dispatch-combine-round-trip/task.md +81 -0
- mlsys/tasks/sys-emit-and-verify-logsumexp-for-backward/check.py +37 -0
- mlsys/tasks/sys-emit-and-verify-logsumexp-for-backward/gen_fixtures.py +1 -0
- mlsys/tasks/sys-emit-and-verify-logsumexp-for-backward/meta.json +22 -0
- mlsys/tasks/sys-emit-and-verify-logsumexp-for-backward/solution_ref.py +7 -0
- mlsys/tasks/sys-emit-and-verify-logsumexp-for-backward/starter.py +4 -0
- mlsys/tasks/sys-emit-and-verify-logsumexp-for-backward/task.md +63 -0
- mlsys/tasks/sys-emulated-triton-softmax-kernel/check.py +37 -0
- mlsys/tasks/sys-emulated-triton-softmax-kernel/gen_fixtures.py +1 -0
- mlsys/tasks/sys-emulated-triton-softmax-kernel/meta.json +22 -0
- mlsys/tasks/sys-emulated-triton-softmax-kernel/solution_ref.py +8 -0
- mlsys/tasks/sys-emulated-triton-softmax-kernel/starter.py +4 -0
- mlsys/tasks/sys-emulated-triton-softmax-kernel/task.md +71 -0
- mlsys/tasks/sys-emulated-triton-tiled-matmul/check.py +30 -0
- mlsys/tasks/sys-emulated-triton-tiled-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/sys-emulated-triton-tiled-matmul/meta.json +22 -0
- mlsys/tasks/sys-emulated-triton-tiled-matmul/solution_ref.py +29 -0
- mlsys/tasks/sys-emulated-triton-tiled-matmul/starter.py +4 -0
- mlsys/tasks/sys-emulated-triton-tiled-matmul/task.md +67 -0
- mlsys/tasks/sys-emulated-triton-vector-add-with-masking/check.py +52 -0
- mlsys/tasks/sys-emulated-triton-vector-add-with-masking/gen_fixtures.py +1 -0
- mlsys/tasks/sys-emulated-triton-vector-add-with-masking/meta.json +22 -0
- mlsys/tasks/sys-emulated-triton-vector-add-with-masking/solution_ref.py +34 -0
- mlsys/tasks/sys-emulated-triton-vector-add-with-masking/starter.py +7 -0
- mlsys/tasks/sys-emulated-triton-vector-add-with-masking/task.md +78 -0
- mlsys/tasks/sys-expected-accepted-length-vs-tree-size/check.py +44 -0
- mlsys/tasks/sys-expected-accepted-length-vs-tree-size/gen_fixtures.py +1 -0
- mlsys/tasks/sys-expected-accepted-length-vs-tree-size/meta.json +22 -0
- mlsys/tasks/sys-expected-accepted-length-vs-tree-size/solution_ref.py +10 -0
- mlsys/tasks/sys-expected-accepted-length-vs-tree-size/starter.py +2 -0
- mlsys/tasks/sys-expected-accepted-length-vs-tree-size/task.md +64 -0
- mlsys/tasks/sys-expected-tokens-per-step/check.py +46 -0
- mlsys/tasks/sys-expected-tokens-per-step/gen_fixtures.py +1 -0
- mlsys/tasks/sys-expected-tokens-per-step/meta.json +22 -0
- mlsys/tasks/sys-expected-tokens-per-step/solution_ref.py +8 -0
- mlsys/tasks/sys-expected-tokens-per-step/starter.py +13 -0
- mlsys/tasks/sys-expected-tokens-per-step/task.md +74 -0
- mlsys/tasks/sys-expert-choice-vs-token-choice-routing/check.py +81 -0
- mlsys/tasks/sys-expert-choice-vs-token-choice-routing/gen_fixtures.py +1 -0
- mlsys/tasks/sys-expert-choice-vs-token-choice-routing/meta.json +22 -0
- mlsys/tasks/sys-expert-choice-vs-token-choice-routing/solution_ref.py +27 -0
- mlsys/tasks/sys-expert-choice-vs-token-choice-routing/starter.py +4 -0
- mlsys/tasks/sys-expert-choice-vs-token-choice-routing/task.md +86 -0
- mlsys/tasks/sys-expert-parallel-all-to-all-dispatch/check.py +61 -0
- mlsys/tasks/sys-expert-parallel-all-to-all-dispatch/gen_fixtures.py +1 -0
- mlsys/tasks/sys-expert-parallel-all-to-all-dispatch/meta.json +27 -0
- mlsys/tasks/sys-expert-parallel-all-to-all-dispatch/solution_ref.py +44 -0
- mlsys/tasks/sys-expert-parallel-all-to-all-dispatch/starter.py +11 -0
- mlsys/tasks/sys-expert-parallel-all-to-all-dispatch/task.md +102 -0
- mlsys/tasks/sys-feasible-batch-sizes-under-ttft-itl-sla/check.py +31 -0
- mlsys/tasks/sys-feasible-batch-sizes-under-ttft-itl-sla/gen_fixtures.py +1 -0
- mlsys/tasks/sys-feasible-batch-sizes-under-ttft-itl-sla/meta.json +22 -0
- mlsys/tasks/sys-feasible-batch-sizes-under-ttft-itl-sla/solution_ref.py +13 -0
- mlsys/tasks/sys-feasible-batch-sizes-under-ttft-itl-sla/starter.py +2 -0
- mlsys/tasks/sys-feasible-batch-sizes-under-ttft-itl-sla/task.md +81 -0
- mlsys/tasks/sys-find-the-batch-size-knee/check.py +34 -0
- mlsys/tasks/sys-find-the-batch-size-knee/gen_fixtures.py +1 -0
- mlsys/tasks/sys-find-the-batch-size-knee/meta.json +22 -0
- mlsys/tasks/sys-find-the-batch-size-knee/solution_ref.py +14 -0
- mlsys/tasks/sys-find-the-batch-size-knee/starter.py +4 -0
- mlsys/tasks/sys-find-the-batch-size-knee/task.md +49 -0
- mlsys/tasks/sys-find-the-dropped-d-i-correction/check.py +83 -0
- mlsys/tasks/sys-find-the-dropped-d-i-correction/gen_fixtures.py +2 -0
- mlsys/tasks/sys-find-the-dropped-d-i-correction/meta.json +22 -0
- mlsys/tasks/sys-find-the-dropped-d-i-correction/solution_ref.py +30 -0
- mlsys/tasks/sys-find-the-dropped-d-i-correction/starter.py +32 -0
- mlsys/tasks/sys-find-the-dropped-d-i-correction/task.md +87 -0
- mlsys/tasks/sys-fix-an-over-loose-guard/check.py +100 -0
- mlsys/tasks/sys-fix-an-over-loose-guard/gen_fixtures.py +2 -0
- mlsys/tasks/sys-fix-an-over-loose-guard/meta.json +22 -0
- mlsys/tasks/sys-fix-an-over-loose-guard/solution_ref.py +14 -0
- mlsys/tasks/sys-fix-an-over-loose-guard/starter.py +26 -0
- mlsys/tasks/sys-fix-an-over-loose-guard/task.md +90 -0
- mlsys/tasks/sys-fix-catastrophic-fp16-accumulation/check.py +41 -0
- mlsys/tasks/sys-fix-catastrophic-fp16-accumulation/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-catastrophic-fp16-accumulation/meta.json +22 -0
- mlsys/tasks/sys-fix-catastrophic-fp16-accumulation/solution_ref.py +5 -0
- mlsys/tasks/sys-fix-catastrophic-fp16-accumulation/starter.py +6 -0
- mlsys/tasks/sys-fix-catastrophic-fp16-accumulation/task.md +70 -0
- mlsys/tasks/sys-fix-cross-branch-leakage-in-tree-mask/check.py +41 -0
- mlsys/tasks/sys-fix-cross-branch-leakage-in-tree-mask/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-cross-branch-leakage-in-tree-mask/meta.json +22 -0
- mlsys/tasks/sys-fix-cross-branch-leakage-in-tree-mask/solution_ref.py +14 -0
- mlsys/tasks/sys-fix-cross-branch-leakage-in-tree-mask/starter.py +13 -0
- mlsys/tasks/sys-fix-cross-branch-leakage-in-tree-mask/task.md +50 -0
- mlsys/tasks/sys-fix-double-applied-rope-on-cache-reuse/check.py +63 -0
- mlsys/tasks/sys-fix-double-applied-rope-on-cache-reuse/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-double-applied-rope-on-cache-reuse/meta.json +22 -0
- mlsys/tasks/sys-fix-double-applied-rope-on-cache-reuse/solution_ref.py +39 -0
- mlsys/tasks/sys-fix-double-applied-rope-on-cache-reuse/starter.py +55 -0
- mlsys/tasks/sys-fix-double-applied-rope-on-cache-reuse/task.md +93 -0
- mlsys/tasks/sys-fix-dropped-rng-state-in-checkpoint-region/check.py +74 -0
- mlsys/tasks/sys-fix-dropped-rng-state-in-checkpoint-region/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-dropped-rng-state-in-checkpoint-region/meta.json +22 -0
- mlsys/tasks/sys-fix-dropped-rng-state-in-checkpoint-region/solution_ref.py +40 -0
- mlsys/tasks/sys-fix-dropped-rng-state-in-checkpoint-region/starter.py +37 -0
- mlsys/tasks/sys-fix-dropped-rng-state-in-checkpoint-region/task.md +95 -0
- mlsys/tasks/sys-fix-fused-kernel-broadcasting-bug/check.py +42 -0
- mlsys/tasks/sys-fix-fused-kernel-broadcasting-bug/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-fused-kernel-broadcasting-bug/meta.json +22 -0
- mlsys/tasks/sys-fix-fused-kernel-broadcasting-bug/solution_ref.py +8 -0
- mlsys/tasks/sys-fix-fused-kernel-broadcasting-bug/starter.py +15 -0
- mlsys/tasks/sys-fix-fused-kernel-broadcasting-bug/task.md +64 -0
- mlsys/tasks/sys-fix-fusion-that-changes-reduction-order/check.py +52 -0
- mlsys/tasks/sys-fix-fusion-that-changes-reduction-order/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-fusion-that-changes-reduction-order/meta.json +22 -0
- mlsys/tasks/sys-fix-fusion-that-changes-reduction-order/solution_ref.py +47 -0
- mlsys/tasks/sys-fix-fusion-that-changes-reduction-order/starter.py +32 -0
- mlsys/tasks/sys-fix-fusion-that-changes-reduction-order/task.md +95 -0
- mlsys/tasks/sys-fix-missing-boundary-mask/check.py +38 -0
- mlsys/tasks/sys-fix-missing-boundary-mask/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-missing-boundary-mask/meta.json +22 -0
- mlsys/tasks/sys-fix-missing-boundary-mask/solution_ref.py +15 -0
- mlsys/tasks/sys-fix-missing-boundary-mask/starter.py +24 -0
- mlsys/tasks/sys-fix-missing-boundary-mask/task.md +74 -0
- mlsys/tasks/sys-fix-missing-combine-weights/check.py +56 -0
- mlsys/tasks/sys-fix-missing-combine-weights/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-missing-combine-weights/meta.json +22 -0
- mlsys/tasks/sys-fix-missing-combine-weights/solution_ref.py +15 -0
- mlsys/tasks/sys-fix-missing-combine-weights/starter.py +16 -0
- mlsys/tasks/sys-fix-missing-combine-weights/task.md +70 -0
- mlsys/tasks/sys-fix-missing-cross-rank-rescale-in-ring-merge/check.py +61 -0
- mlsys/tasks/sys-fix-missing-cross-rank-rescale-in-ring-merge/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-missing-cross-rank-rescale-in-ring-merge/meta.json +22 -0
- mlsys/tasks/sys-fix-missing-cross-rank-rescale-in-ring-merge/solution_ref.py +18 -0
- mlsys/tasks/sys-fix-missing-cross-rank-rescale-in-ring-merge/starter.py +17 -0
- mlsys/tasks/sys-fix-missing-cross-rank-rescale-in-ring-merge/task.md +90 -0
- mlsys/tasks/sys-fix-missing-divide-by-n-in-all-reduce/check.py +22 -0
- mlsys/tasks/sys-fix-missing-divide-by-n-in-all-reduce/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-missing-divide-by-n-in-all-reduce/meta.json +22 -0
- mlsys/tasks/sys-fix-missing-divide-by-n-in-all-reduce/solution_ref.py +13 -0
- mlsys/tasks/sys-fix-missing-divide-by-n-in-all-reduce/starter.py +13 -0
- mlsys/tasks/sys-fix-missing-divide-by-n-in-all-reduce/task.md +52 -0
- mlsys/tasks/sys-fix-overlap-that-violates-a-dependency/check.py +74 -0
- mlsys/tasks/sys-fix-overlap-that-violates-a-dependency/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-overlap-that-violates-a-dependency/meta.json +22 -0
- mlsys/tasks/sys-fix-overlap-that-violates-a-dependency/solution_ref.py +16 -0
- mlsys/tasks/sys-fix-overlap-that-violates-a-dependency/starter.py +14 -0
- mlsys/tasks/sys-fix-overlap-that-violates-a-dependency/task.md +55 -0
- mlsys/tasks/sys-fix-pipeline-schedule-deadlock-ordering/check.py +56 -0
- mlsys/tasks/sys-fix-pipeline-schedule-deadlock-ordering/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-pipeline-schedule-deadlock-ordering/meta.json +22 -0
- mlsys/tasks/sys-fix-pipeline-schedule-deadlock-ordering/solution_ref.py +33 -0
- mlsys/tasks/sys-fix-pipeline-schedule-deadlock-ordering/starter.py +38 -0
- mlsys/tasks/sys-fix-pipeline-schedule-deadlock-ordering/task.md +68 -0
- mlsys/tasks/sys-fix-post-softmax-masking-ordering-bug/check.py +30 -0
- mlsys/tasks/sys-fix-post-softmax-masking-ordering-bug/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-post-softmax-masking-ordering-bug/meta.json +22 -0
- mlsys/tasks/sys-fix-post-softmax-masking-ordering-bug/solution_ref.py +12 -0
- mlsys/tasks/sys-fix-post-softmax-masking-ordering-bug/starter.py +14 -0
- mlsys/tasks/sys-fix-post-softmax-masking-ordering-bug/task.md +39 -0
- mlsys/tasks/sys-fix-reduce-scatter-chunk-offset-off-by-one/check.py +57 -0
- mlsys/tasks/sys-fix-reduce-scatter-chunk-offset-off-by-one/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-reduce-scatter-chunk-offset-off-by-one/meta.json +22 -0
- mlsys/tasks/sys-fix-reduce-scatter-chunk-offset-off-by-one/solution_ref.py +15 -0
- mlsys/tasks/sys-fix-reduce-scatter-chunk-offset-off-by-one/starter.py +16 -0
- mlsys/tasks/sys-fix-reduce-scatter-chunk-offset-off-by-one/task.md +68 -0
- mlsys/tasks/sys-fix-ref-count-use-after-free-on-shared-prefix/check.py +100 -0
- mlsys/tasks/sys-fix-ref-count-use-after-free-on-shared-prefix/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-ref-count-use-after-free-on-shared-prefix/meta.json +24 -0
- mlsys/tasks/sys-fix-ref-count-use-after-free-on-shared-prefix/solution_ref.py +65 -0
- mlsys/tasks/sys-fix-ref-count-use-after-free-on-shared-prefix/starter.py +46 -0
- mlsys/tasks/sys-fix-ref-count-use-after-free-on-shared-prefix/task.md +48 -0
- mlsys/tasks/sys-fix-row-parallel-missing-all-reduce/check.py +52 -0
- mlsys/tasks/sys-fix-row-parallel-missing-all-reduce/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-row-parallel-missing-all-reduce/meta.json +22 -0
- mlsys/tasks/sys-fix-row-parallel-missing-all-reduce/solution_ref.py +10 -0
- mlsys/tasks/sys-fix-row-parallel-missing-all-reduce/starter.py +9 -0
- mlsys/tasks/sys-fix-row-parallel-missing-all-reduce/task.md +99 -0
- mlsys/tasks/sys-fix-the-missing-accumulator-rescale/check.py +22 -0
- mlsys/tasks/sys-fix-the-missing-accumulator-rescale/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-the-missing-accumulator-rescale/meta.json +22 -0
- mlsys/tasks/sys-fix-the-missing-accumulator-rescale/solution_ref.py +38 -0
- mlsys/tasks/sys-fix-the-missing-accumulator-rescale/starter.py +6 -0
- mlsys/tasks/sys-fix-the-missing-accumulator-rescale/task.md +65 -0
- mlsys/tasks/sys-fix-wrong-kv-head-interleave-repeat-vs-tile/check.py +28 -0
- mlsys/tasks/sys-fix-wrong-kv-head-interleave-repeat-vs-tile/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-wrong-kv-head-interleave-repeat-vs-tile/meta.json +22 -0
- mlsys/tasks/sys-fix-wrong-kv-head-interleave-repeat-vs-tile/solution_ref.py +6 -0
- mlsys/tasks/sys-fix-wrong-kv-head-interleave-repeat-vs-tile/starter.py +8 -0
- mlsys/tasks/sys-fix-wrong-kv-head-interleave-repeat-vs-tile/task.md +67 -0
- mlsys/tasks/sys-fix-wrong-residual-on-rejection/check.py +64 -0
- mlsys/tasks/sys-fix-wrong-residual-on-rejection/gen_fixtures.py +2 -0
- mlsys/tasks/sys-fix-wrong-residual-on-rejection/meta.json +22 -0
- mlsys/tasks/sys-fix-wrong-residual-on-rejection/solution_ref.py +12 -0
- mlsys/tasks/sys-fix-wrong-residual-on-rejection/starter.py +13 -0
- mlsys/tasks/sys-fix-wrong-residual-on-rejection/task.md +81 -0
- mlsys/tasks/sys-fix-wrong-scale-axis-in-quant-matmul/check.py +31 -0
- mlsys/tasks/sys-fix-wrong-scale-axis-in-quant-matmul/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-wrong-scale-axis-in-quant-matmul/meta.json +22 -0
- mlsys/tasks/sys-fix-wrong-scale-axis-in-quant-matmul/solution_ref.py +14 -0
- mlsys/tasks/sys-fix-wrong-scale-axis-in-quant-matmul/starter.py +14 -0
- mlsys/tasks/sys-fix-wrong-scale-axis-in-quant-matmul/task.md +54 -0
- mlsys/tasks/sys-fix-zero-2-reduce-scatter-wrong-owner/check.py +52 -0
- mlsys/tasks/sys-fix-zero-2-reduce-scatter-wrong-owner/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fix-zero-2-reduce-scatter-wrong-owner/meta.json +22 -0
- mlsys/tasks/sys-fix-zero-2-reduce-scatter-wrong-owner/solution_ref.py +10 -0
- mlsys/tasks/sys-fix-zero-2-reduce-scatter-wrong-owner/starter.py +9 -0
- mlsys/tasks/sys-fix-zero-2-reduce-scatter-wrong-owner/task.md +56 -0
- mlsys/tasks/sys-fp16-vs-bf16-overflow-underflow-classification/check.py +76 -0
- mlsys/tasks/sys-fp16-vs-bf16-overflow-underflow-classification/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fp16-vs-bf16-overflow-underflow-classification/meta.json +22 -0
- mlsys/tasks/sys-fp16-vs-bf16-overflow-underflow-classification/solution_ref.py +37 -0
- mlsys/tasks/sys-fp16-vs-bf16-overflow-underflow-classification/starter.py +12 -0
- mlsys/tasks/sys-fp16-vs-bf16-overflow-underflow-classification/task.md +68 -0
- mlsys/tasks/sys-fp32-master-weight-update-equivalence/check.py +45 -0
- mlsys/tasks/sys-fp32-master-weight-update-equivalence/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fp32-master-weight-update-equivalence/meta.json +22 -0
- mlsys/tasks/sys-fp32-master-weight-update-equivalence/solution_ref.py +8 -0
- mlsys/tasks/sys-fp32-master-weight-update-equivalence/starter.py +4 -0
- mlsys/tasks/sys-fp32-master-weight-update-equivalence/task.md +79 -0
- mlsys/tasks/sys-fp8-e4m3-e5m2-round-trip/check.py +37 -0
- mlsys/tasks/sys-fp8-e4m3-e5m2-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fp8-e4m3-e5m2-round-trip/meta.json +22 -0
- mlsys/tasks/sys-fp8-e4m3-e5m2-round-trip/solution_ref.py +10 -0
- mlsys/tasks/sys-fp8-e4m3-e5m2-round-trip/starter.py +10 -0
- mlsys/tasks/sys-fp8-e4m3-e5m2-round-trip/task.md +77 -0
- mlsys/tasks/sys-fraction-of-skippable-kv-tiles-per-mask/check.py +74 -0
- mlsys/tasks/sys-fraction-of-skippable-kv-tiles-per-mask/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fraction-of-skippable-kv-tiles-per-mask/meta.json +22 -0
- mlsys/tasks/sys-fraction-of-skippable-kv-tiles-per-mask/solution_ref.py +18 -0
- mlsys/tasks/sys-fraction-of-skippable-kv-tiles-per-mask/starter.py +13 -0
- mlsys/tasks/sys-fraction-of-skippable-kv-tiles-per-mask/task.md +85 -0
- mlsys/tasks/sys-fragmentation-waste-fraction-paged-vs-preallocated/check.py +35 -0
- mlsys/tasks/sys-fragmentation-waste-fraction-paged-vs-preallocated/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fragmentation-waste-fraction-paged-vs-preallocated/meta.json +22 -0
- mlsys/tasks/sys-fragmentation-waste-fraction-paged-vs-preallocated/solution_ref.py +13 -0
- mlsys/tasks/sys-fragmentation-waste-fraction-paged-vs-preallocated/starter.py +2 -0
- mlsys/tasks/sys-fragmentation-waste-fraction-paged-vs-preallocated/task.md +75 -0
- mlsys/tasks/sys-full-allocator-under-adversarial-mixed-batch/check.py +115 -0
- mlsys/tasks/sys-full-allocator-under-adversarial-mixed-batch/gen_fixtures.py +1 -0
- mlsys/tasks/sys-full-allocator-under-adversarial-mixed-batch/meta.json +22 -0
- mlsys/tasks/sys-full-allocator-under-adversarial-mixed-batch/solution_ref.py +54 -0
- mlsys/tasks/sys-full-allocator-under-adversarial-mixed-batch/starter.py +2 -0
- mlsys/tasks/sys-full-allocator-under-adversarial-mixed-batch/task.md +89 -0
- mlsys/tasks/sys-full-double-tiled-flashattention-forward/check.py +92 -0
- mlsys/tasks/sys-full-double-tiled-flashattention-forward/gen_fixtures.py +1 -0
- mlsys/tasks/sys-full-double-tiled-flashattention-forward/meta.json +32 -0
- mlsys/tasks/sys-full-double-tiled-flashattention-forward/solution_ref.py +43 -0
- mlsys/tasks/sys-full-double-tiled-flashattention-forward/starter.py +4 -0
- mlsys/tasks/sys-full-double-tiled-flashattention-forward/task.md +97 -0
- mlsys/tasks/sys-full-tiled-dq-dk-dv-backward/check.py +50 -0
- mlsys/tasks/sys-full-tiled-dq-dk-dv-backward/gen_fixtures.py +1 -0
- mlsys/tasks/sys-full-tiled-dq-dk-dv-backward/meta.json +22 -0
- mlsys/tasks/sys-full-tiled-dq-dk-dv-backward/solution_ref.py +41 -0
- mlsys/tasks/sys-full-tiled-dq-dk-dv-backward/starter.py +4 -0
- mlsys/tasks/sys-full-tiled-dq-dk-dv-backward/task.md +103 -0
- mlsys/tasks/sys-fuse-bias-gelu-single-pass/check.py +35 -0
- mlsys/tasks/sys-fuse-bias-gelu-single-pass/gen_fixtures.py +1 -0
- mlsys/tasks/sys-fuse-bias-gelu-single-pass/meta.json +27 -0
- mlsys/tasks/sys-fuse-bias-gelu-single-pass/solution_ref.py +6 -0
- mlsys/tasks/sys-fuse-bias-gelu-single-pass/starter.py +4 -0
- mlsys/tasks/sys-fuse-bias-gelu-single-pass/task.md +43 -0
- mlsys/tasks/sys-fuse-layernorm-via-welford-single-pass/check.py +56 -0
- mlsys/tasks/sys-fuse-layernorm-via-welford-single-pass/gen_fixtures.py +2 -0
- mlsys/tasks/sys-fuse-layernorm-via-welford-single-pass/meta.json +27 -0
- mlsys/tasks/sys-fuse-layernorm-via-welford-single-pass/solution_ref.py +33 -0
- mlsys/tasks/sys-fuse-layernorm-via-welford-single-pass/starter.py +15 -0
- mlsys/tasks/sys-fuse-layernorm-via-welford-single-pass/task.md +99 -0
- mlsys/tasks/sys-general-gqa-broadcast/check.py +57 -0
- mlsys/tasks/sys-general-gqa-broadcast/gen_fixtures.py +2 -0
- mlsys/tasks/sys-general-gqa-broadcast/meta.json +22 -0
- mlsys/tasks/sys-general-gqa-broadcast/solution_ref.py +27 -0
- mlsys/tasks/sys-general-gqa-broadcast/starter.py +13 -0
- mlsys/tasks/sys-general-gqa-broadcast/task.md +75 -0
- mlsys/tasks/sys-generate-recompile-guards/check.py +37 -0
- mlsys/tasks/sys-generate-recompile-guards/gen_fixtures.py +1 -0
- mlsys/tasks/sys-generate-recompile-guards/meta.json +22 -0
- mlsys/tasks/sys-generate-recompile-guards/solution_ref.py +19 -0
- mlsys/tasks/sys-generate-recompile-guards/starter.py +16 -0
- mlsys/tasks/sys-generate-recompile-guards/task.md +35 -0
- mlsys/tasks/sys-goodput-under-latency-slo/check.py +67 -0
- mlsys/tasks/sys-goodput-under-latency-slo/gen_fixtures.py +1 -0
- mlsys/tasks/sys-goodput-under-latency-slo/meta.json +22 -0
- mlsys/tasks/sys-goodput-under-latency-slo/solution_ref.py +14 -0
- mlsys/tasks/sys-goodput-under-latency-slo/starter.py +14 -0
- mlsys/tasks/sys-goodput-under-latency-slo/task.md +68 -0
- mlsys/tasks/sys-gpipe-bubble-fraction-formula/check.py +32 -0
- mlsys/tasks/sys-gpipe-bubble-fraction-formula/gen_fixtures.py +1 -0
- mlsys/tasks/sys-gpipe-bubble-fraction-formula/meta.json +22 -0
- mlsys/tasks/sys-gpipe-bubble-fraction-formula/solution_ref.py +10 -0
- mlsys/tasks/sys-gpipe-bubble-fraction-formula/starter.py +9 -0
- mlsys/tasks/sys-gpipe-bubble-fraction-formula/task.md +61 -0
- mlsys/tasks/sys-gpipe-vs-1f1b-peak-activation-memory/check.py +40 -0
- mlsys/tasks/sys-gpipe-vs-1f1b-peak-activation-memory/gen_fixtures.py +1 -0
- mlsys/tasks/sys-gpipe-vs-1f1b-peak-activation-memory/meta.json +22 -0
- mlsys/tasks/sys-gpipe-vs-1f1b-peak-activation-memory/solution_ref.py +7 -0
- mlsys/tasks/sys-gpipe-vs-1f1b-peak-activation-memory/starter.py +2 -0
- mlsys/tasks/sys-gpipe-vs-1f1b-peak-activation-memory/task.md +58 -0
- mlsys/tasks/sys-gradient-accumulation-equals-larger-batch/check.py +46 -0
- mlsys/tasks/sys-gradient-accumulation-equals-larger-batch/gen_fixtures.py +1 -0
- mlsys/tasks/sys-gradient-accumulation-equals-larger-batch/meta.json +22 -0
- mlsys/tasks/sys-gradient-accumulation-equals-larger-batch/solution_ref.py +16 -0
- mlsys/tasks/sys-gradient-accumulation-equals-larger-batch/starter.py +13 -0
- mlsys/tasks/sys-gradient-accumulation-equals-larger-batch/task.md +64 -0
- mlsys/tasks/sys-greedy-speculative-argmax-equivalence/check.py +42 -0
- mlsys/tasks/sys-greedy-speculative-argmax-equivalence/gen_fixtures.py +1 -0
- mlsys/tasks/sys-greedy-speculative-argmax-equivalence/meta.json +22 -0
- mlsys/tasks/sys-greedy-speculative-argmax-equivalence/solution_ref.py +11 -0
- mlsys/tasks/sys-greedy-speculative-argmax-equivalence/starter.py +4 -0
- mlsys/tasks/sys-greedy-speculative-argmax-equivalence/task.md +55 -0
- mlsys/tasks/sys-grid-block-coverage-of-n/check.py +33 -0
- mlsys/tasks/sys-grid-block-coverage-of-n/gen_fixtures.py +1 -0
- mlsys/tasks/sys-grid-block-coverage-of-n/meta.json +22 -0
- mlsys/tasks/sys-grid-block-coverage-of-n/solution_ref.py +10 -0
- mlsys/tasks/sys-grid-block-coverage-of-n/starter.py +4 -0
- mlsys/tasks/sys-grid-block-coverage-of-n/task.md +42 -0
- mlsys/tasks/sys-group-wise-quant-packing/check.py +39 -0
- mlsys/tasks/sys-group-wise-quant-packing/gen_fixtures.py +1 -0
- mlsys/tasks/sys-group-wise-quant-packing/meta.json +22 -0
- mlsys/tasks/sys-group-wise-quant-packing/solution_ref.py +18 -0
- mlsys/tasks/sys-group-wise-quant-packing/starter.py +5 -0
- mlsys/tasks/sys-group-wise-quant-packing/task.md +69 -0
- mlsys/tasks/sys-identify-all-reduce-f-g-placement/check.py +66 -0
- mlsys/tasks/sys-identify-all-reduce-f-g-placement/gen_fixtures.py +1 -0
- mlsys/tasks/sys-identify-all-reduce-f-g-placement/meta.json +22 -0
- mlsys/tasks/sys-identify-all-reduce-f-g-placement/solution_ref.py +49 -0
- mlsys/tasks/sys-identify-all-reduce-f-g-placement/starter.py +11 -0
- mlsys/tasks/sys-identify-all-reduce-f-g-placement/task.md +94 -0
- mlsys/tasks/sys-ieee-fp16-bf16-encode-decode/check.py +31 -0
- mlsys/tasks/sys-ieee-fp16-bf16-encode-decode/gen_fixtures.py +1 -0
- mlsys/tasks/sys-ieee-fp16-bf16-encode-decode/meta.json +27 -0
- mlsys/tasks/sys-ieee-fp16-bf16-encode-decode/solution_ref.py +8 -0
- mlsys/tasks/sys-ieee-fp16-bf16-encode-decode/starter.py +4 -0
- mlsys/tasks/sys-ieee-fp16-bf16-encode-decode/task.md +70 -0
- mlsys/tasks/sys-int4-pack-unpack-two-per-byte/check.py +42 -0
- mlsys/tasks/sys-int4-pack-unpack-two-per-byte/gen_fixtures.py +1 -0
- mlsys/tasks/sys-int4-pack-unpack-two-per-byte/meta.json +28 -0
- mlsys/tasks/sys-int4-pack-unpack-two-per-byte/solution_ref.py +21 -0
- mlsys/tasks/sys-int4-pack-unpack-two-per-byte/starter.py +7 -0
- mlsys/tasks/sys-int4-pack-unpack-two-per-byte/task.md +63 -0
- mlsys/tasks/sys-int8-quantized-matmul-error/check.py +41 -0
- mlsys/tasks/sys-int8-quantized-matmul-error/gen_fixtures.py +1 -0
- mlsys/tasks/sys-int8-quantized-matmul-error/meta.json +22 -0
- mlsys/tasks/sys-int8-quantized-matmul-error/solution_ref.py +15 -0
- mlsys/tasks/sys-int8-quantized-matmul-error/starter.py +6 -0
- mlsys/tasks/sys-int8-quantized-matmul-error/task.md +71 -0
- mlsys/tasks/sys-interleaved-1f1b-bubble-reduction/check.py +30 -0
- mlsys/tasks/sys-interleaved-1f1b-bubble-reduction/gen_fixtures.py +1 -0
- mlsys/tasks/sys-interleaved-1f1b-bubble-reduction/meta.json +22 -0
- mlsys/tasks/sys-interleaved-1f1b-bubble-reduction/solution_ref.py +4 -0
- mlsys/tasks/sys-interleaved-1f1b-bubble-reduction/starter.py +2 -0
- mlsys/tasks/sys-interleaved-1f1b-bubble-reduction/task.md +66 -0
- mlsys/tasks/sys-join-on-finish-continuous-batching/check.py +65 -0
- mlsys/tasks/sys-join-on-finish-continuous-batching/gen_fixtures.py +1 -0
- mlsys/tasks/sys-join-on-finish-continuous-batching/meta.json +22 -0
- mlsys/tasks/sys-join-on-finish-continuous-batching/solution_ref.py +31 -0
- mlsys/tasks/sys-join-on-finish-continuous-batching/starter.py +3 -0
- mlsys/tasks/sys-join-on-finish-continuous-batching/task.md +73 -0
- mlsys/tasks/sys-kv-budget-admission-control/check.py +75 -0
- mlsys/tasks/sys-kv-budget-admission-control/gen_fixtures.py +1 -0
- mlsys/tasks/sys-kv-budget-admission-control/meta.json +22 -0
- mlsys/tasks/sys-kv-budget-admission-control/solution_ref.py +23 -0
- mlsys/tasks/sys-kv-budget-admission-control/starter.py +2 -0
- mlsys/tasks/sys-kv-budget-admission-control/task.md +66 -0
- mlsys/tasks/sys-kv-byte-accounting-for-full-config/check.py +33 -0
- mlsys/tasks/sys-kv-byte-accounting-for-full-config/gen_fixtures.py +1 -0
- mlsys/tasks/sys-kv-byte-accounting-for-full-config/meta.json +22 -0
- mlsys/tasks/sys-kv-byte-accounting-for-full-config/solution_ref.py +35 -0
- mlsys/tasks/sys-kv-byte-accounting-for-full-config/starter.py +4 -0
- mlsys/tasks/sys-kv-byte-accounting-for-full-config/task.md +45 -0
- mlsys/tasks/sys-kv-cache-byte-size-formula/check.py +48 -0
- mlsys/tasks/sys-kv-cache-byte-size-formula/gen_fixtures.py +2 -0
- mlsys/tasks/sys-kv-cache-byte-size-formula/meta.json +27 -0
- mlsys/tasks/sys-kv-cache-byte-size-formula/solution_ref.py +10 -0
- mlsys/tasks/sys-kv-cache-byte-size-formula/starter.py +11 -0
- mlsys/tasks/sys-kv-cache-byte-size-formula/task.md +75 -0
- mlsys/tasks/sys-kv-cache-int8-quant-kl/check.py +45 -0
- mlsys/tasks/sys-kv-cache-int8-quant-kl/gen_fixtures.py +1 -0
- mlsys/tasks/sys-kv-cache-int8-quant-kl/meta.json +27 -0
- mlsys/tasks/sys-kv-cache-int8-quant-kl/solution_ref.py +61 -0
- mlsys/tasks/sys-kv-cache-int8-quant-kl/starter.py +28 -0
- mlsys/tasks/sys-kv-cache-int8-quant-kl/task.md +89 -0
- mlsys/tasks/sys-kv-cache-serialize-deserialize-round-trip/check.py +105 -0
- mlsys/tasks/sys-kv-cache-serialize-deserialize-round-trip/gen_fixtures.py +1 -0
- mlsys/tasks/sys-kv-cache-serialize-deserialize-round-trip/meta.json +23 -0
- mlsys/tasks/sys-kv-cache-serialize-deserialize-round-trip/solution_ref.py +43 -0
- mlsys/tasks/sys-kv-cache-serialize-deserialize-round-trip/starter.py +14 -0
- mlsys/tasks/sys-kv-cache-serialize-deserialize-round-trip/task.md +73 -0
- mlsys/tasks/sys-layout-assignment-access-count/check.py +64 -0
- mlsys/tasks/sys-layout-assignment-access-count/gen_fixtures.py +1 -0
- mlsys/tasks/sys-layout-assignment-access-count/meta.json +22 -0
- mlsys/tasks/sys-layout-assignment-access-count/solution_ref.py +14 -0
- mlsys/tasks/sys-layout-assignment-access-count/starter.py +3 -0
- mlsys/tasks/sys-layout-assignment-access-count/task.md +73 -0
- mlsys/tasks/sys-little-s-law-throughput-identity/check.py +19 -0
- mlsys/tasks/sys-little-s-law-throughput-identity/gen_fixtures.py +1 -0
- mlsys/tasks/sys-little-s-law-throughput-identity/meta.json +22 -0
- mlsys/tasks/sys-little-s-law-throughput-identity/solution_ref.py +18 -0
- mlsys/tasks/sys-little-s-law-throughput-identity/starter.py +4 -0
- mlsys/tasks/sys-little-s-law-throughput-identity/task.md +46 -0
- mlsys/tasks/sys-load-balancing-auxiliary-loss/check.py +45 -0
- mlsys/tasks/sys-load-balancing-auxiliary-loss/gen_fixtures.py +1 -0
- mlsys/tasks/sys-load-balancing-auxiliary-loss/meta.json +22 -0
- mlsys/tasks/sys-load-balancing-auxiliary-loss/solution_ref.py +11 -0
- mlsys/tasks/sys-load-balancing-auxiliary-loss/starter.py +4 -0
- mlsys/tasks/sys-load-balancing-auxiliary-loss/task.md +78 -0
- mlsys/tasks/sys-lookahead-n-gram-pool-update-verify/check.py +80 -0
- mlsys/tasks/sys-lookahead-n-gram-pool-update-verify/gen_fixtures.py +1 -0
- mlsys/tasks/sys-lookahead-n-gram-pool-update-verify/meta.json +22 -0
- mlsys/tasks/sys-lookahead-n-gram-pool-update-verify/solution_ref.py +49 -0
- mlsys/tasks/sys-lookahead-n-gram-pool-update-verify/starter.py +2 -0
- mlsys/tasks/sys-lookahead-n-gram-pool-update-verify/task.md +58 -0
- mlsys/tasks/sys-loop-fusion-reorder-equivalence/check.py +45 -0
- mlsys/tasks/sys-loop-fusion-reorder-equivalence/gen_fixtures.py +1 -0
- mlsys/tasks/sys-loop-fusion-reorder-equivalence/meta.json +22 -0
- mlsys/tasks/sys-loop-fusion-reorder-equivalence/solution_ref.py +22 -0
- mlsys/tasks/sys-loop-fusion-reorder-equivalence/starter.py +12 -0
- mlsys/tasks/sys-loop-fusion-reorder-equivalence/task.md +66 -0
- mlsys/tasks/sys-loop-tiling-preserves-result/check.py +33 -0
- mlsys/tasks/sys-loop-tiling-preserves-result/gen_fixtures.py +1 -0
- mlsys/tasks/sys-loop-tiling-preserves-result/meta.json +22 -0
- mlsys/tasks/sys-loop-tiling-preserves-result/solution_ref.py +22 -0
- mlsys/tasks/sys-loop-tiling-preserves-result/starter.py +6 -0
- mlsys/tasks/sys-loop-tiling-preserves-result/task.md +70 -0
- mlsys/tasks/sys-loss-scaling-inf-nan-handling/check.py +78 -0
- mlsys/tasks/sys-loss-scaling-inf-nan-handling/gen_fixtures.py +1 -0
- mlsys/tasks/sys-loss-scaling-inf-nan-handling/meta.json +22 -0
- mlsys/tasks/sys-loss-scaling-inf-nan-handling/solution_ref.py +11 -0
- mlsys/tasks/sys-loss-scaling-inf-nan-handling/starter.py +15 -0
- mlsys/tasks/sys-loss-scaling-inf-nan-handling/task.md +75 -0
- mlsys/tasks/sys-medusa-multi-head-candidate-verification/check.py +66 -0
- mlsys/tasks/sys-medusa-multi-head-candidate-verification/gen_fixtures.py +1 -0
- mlsys/tasks/sys-medusa-multi-head-candidate-verification/meta.json +22 -0
- mlsys/tasks/sys-medusa-multi-head-candidate-verification/solution_ref.py +24 -0
- mlsys/tasks/sys-medusa-multi-head-candidate-verification/starter.py +2 -0
- mlsys/tasks/sys-medusa-multi-head-candidate-verification/task.md +80 -0
- mlsys/tasks/sys-megatron-attention-head-sharding/check.py +45 -0
- mlsys/tasks/sys-megatron-attention-head-sharding/gen_fixtures.py +1 -0
- mlsys/tasks/sys-megatron-attention-head-sharding/meta.json +22 -0
- mlsys/tasks/sys-megatron-attention-head-sharding/solution_ref.py +28 -0
- mlsys/tasks/sys-megatron-attention-head-sharding/starter.py +6 -0
- mlsys/tasks/sys-megatron-attention-head-sharding/task.md +89 -0
- mlsys/tasks/sys-mha-gqa-head-pooling-conversion/check.py +62 -0
- mlsys/tasks/sys-mha-gqa-head-pooling-conversion/gen_fixtures.py +2 -0
- mlsys/tasks/sys-mha-gqa-head-pooling-conversion/meta.json +22 -0
- mlsys/tasks/sys-mha-gqa-head-pooling-conversion/solution_ref.py +24 -0
- mlsys/tasks/sys-mha-gqa-head-pooling-conversion/starter.py +17 -0
- mlsys/tasks/sys-mha-gqa-head-pooling-conversion/task.md +76 -0
- mlsys/tasks/sys-model-activation-memory-with-without-checkpointing/check.py +29 -0
- mlsys/tasks/sys-model-activation-memory-with-without-checkpointing/gen_fixtures.py +1 -0
- mlsys/tasks/sys-model-activation-memory-with-without-checkpointing/meta.json +22 -0
- mlsys/tasks/sys-model-activation-memory-with-without-checkpointing/solution_ref.py +23 -0
- mlsys/tasks/sys-model-activation-memory-with-without-checkpointing/starter.py +2 -0
- mlsys/tasks/sys-model-activation-memory-with-without-checkpointing/task.md +34 -0
- mlsys/tasks/sys-model-all-to-all-comm-volume-for-ep/check.py +33 -0
- mlsys/tasks/sys-model-all-to-all-comm-volume-for-ep/gen_fixtures.py +1 -0
- mlsys/tasks/sys-model-all-to-all-comm-volume-for-ep/meta.json +22 -0
- mlsys/tasks/sys-model-all-to-all-comm-volume-for-ep/solution_ref.py +3 -0
- mlsys/tasks/sys-model-all-to-all-comm-volume-for-ep/starter.py +2 -0
- mlsys/tasks/sys-model-all-to-all-comm-volume-for-ep/task.md +53 -0
- mlsys/tasks/sys-model-alpha-beta-cost-per-collective/check.py +79 -0
- mlsys/tasks/sys-model-alpha-beta-cost-per-collective/gen_fixtures.py +1 -0
- mlsys/tasks/sys-model-alpha-beta-cost-per-collective/meta.json +22 -0
- mlsys/tasks/sys-model-alpha-beta-cost-per-collective/solution_ref.py +38 -0
- mlsys/tasks/sys-model-alpha-beta-cost-per-collective/starter.py +9 -0
- mlsys/tasks/sys-model-alpha-beta-cost-per-collective/task.md +83 -0
- mlsys/tasks/sys-model-hbm-traffic-ratio-vs-naive/check.py +51 -0
- mlsys/tasks/sys-model-hbm-traffic-ratio-vs-naive/gen_fixtures.py +1 -0
- mlsys/tasks/sys-model-hbm-traffic-ratio-vs-naive/meta.json +27 -0
- mlsys/tasks/sys-model-hbm-traffic-ratio-vs-naive/solution_ref.py +49 -0
- mlsys/tasks/sys-model-hbm-traffic-ratio-vs-naive/starter.py +13 -0
- mlsys/tasks/sys-model-hbm-traffic-ratio-vs-naive/task.md +75 -0
- mlsys/tasks/sys-model-ring-attention-comm-volume/check.py +28 -0
- mlsys/tasks/sys-model-ring-attention-comm-volume/gen_fixtures.py +1 -0
- mlsys/tasks/sys-model-ring-attention-comm-volume/meta.json +22 -0
- mlsys/tasks/sys-model-ring-attention-comm-volume/solution_ref.py +4 -0
- mlsys/tasks/sys-model-ring-attention-comm-volume/starter.py +2 -0
- mlsys/tasks/sys-model-ring-attention-comm-volume/task.md +82 -0
- mlsys/tasks/sys-model-speedup-from-acceptance-draft-cost/check.py +37 -0
- mlsys/tasks/sys-model-speedup-from-acceptance-draft-cost/gen_fixtures.py +1 -0
- mlsys/tasks/sys-model-speedup-from-acceptance-draft-cost/meta.json +22 -0
- mlsys/tasks/sys-model-speedup-from-acceptance-draft-cost/solution_ref.py +10 -0
- mlsys/tasks/sys-model-speedup-from-acceptance-draft-cost/starter.py +17 -0
- mlsys/tasks/sys-model-speedup-from-acceptance-draft-cost/task.md +74 -0
- mlsys/tasks/sys-model-tp-comm-volume-per-layer/check.py +31 -0
- mlsys/tasks/sys-model-tp-comm-volume-per-layer/gen_fixtures.py +1 -0
- mlsys/tasks/sys-model-tp-comm-volume-per-layer/meta.json +22 -0
- mlsys/tasks/sys-model-tp-comm-volume-per-layer/solution_ref.py +2 -0
- mlsys/tasks/sys-model-tp-comm-volume-per-layer/starter.py +2 -0
- mlsys/tasks/sys-model-tp-comm-volume-per-layer/task.md +41 -0
- mlsys/tasks/sys-model-traffic-saved-by-fusion/check.py +52 -0
- mlsys/tasks/sys-model-traffic-saved-by-fusion/gen_fixtures.py +2 -0
- mlsys/tasks/sys-model-traffic-saved-by-fusion/meta.json +27 -0
- mlsys/tasks/sys-model-traffic-saved-by-fusion/solution_ref.py +8 -0
- mlsys/tasks/sys-model-traffic-saved-by-fusion/starter.py +12 -0
- mlsys/tasks/sys-model-traffic-saved-by-fusion/task.md +77 -0
- mlsys/tasks/sys-model-zero-3-comm-vs-dp/check.py +47 -0
- mlsys/tasks/sys-model-zero-3-comm-vs-dp/gen_fixtures.py +1 -0
- mlsys/tasks/sys-model-zero-3-comm-vs-dp/meta.json +22 -0
- mlsys/tasks/sys-model-zero-3-comm-vs-dp/solution_ref.py +9 -0
- mlsys/tasks/sys-model-zero-3-comm-vs-dp/starter.py +2 -0
- mlsys/tasks/sys-model-zero-3-comm-vs-dp/task.md +65 -0
- mlsys/tasks/sys-modified-rejection-sampling-matches-target/check.py +86 -0
- mlsys/tasks/sys-modified-rejection-sampling-matches-target/gen_fixtures.py +2 -0
- mlsys/tasks/sys-modified-rejection-sampling-matches-target/meta.json +22 -0
- mlsys/tasks/sys-modified-rejection-sampling-matches-target/solution_ref.py +46 -0
- mlsys/tasks/sys-modified-rejection-sampling-matches-target/starter.py +18 -0
- mlsys/tasks/sys-modified-rejection-sampling-matches-target/task.md +80 -0
- mlsys/tasks/sys-mqa-single-kv-head-attention/check.py +53 -0
- mlsys/tasks/sys-mqa-single-kv-head-attention/gen_fixtures.py +1 -0
- mlsys/tasks/sys-mqa-single-kv-head-attention/meta.json +22 -0
- mlsys/tasks/sys-mqa-single-kv-head-attention/solution_ref.py +30 -0
- mlsys/tasks/sys-mqa-single-kv-head-attention/starter.py +12 -0
- mlsys/tasks/sys-mqa-single-kv-head-attention/task.md +91 -0
- mlsys/tasks/sys-occupancy-from-resource-limits/check.py +47 -0
- mlsys/tasks/sys-occupancy-from-resource-limits/gen_fixtures.py +1 -0
- mlsys/tasks/sys-occupancy-from-resource-limits/meta.json +22 -0
- mlsys/tasks/sys-occupancy-from-resource-limits/solution_ref.py +27 -0
- mlsys/tasks/sys-occupancy-from-resource-limits/starter.py +11 -0
- mlsys/tasks/sys-occupancy-from-resource-limits/task.md +89 -0
- mlsys/tasks/sys-one-pass-online-softmax-vector/check.py +63 -0
- mlsys/tasks/sys-one-pass-online-softmax-vector/gen_fixtures.py +1 -0
- mlsys/tasks/sys-one-pass-online-softmax-vector/meta.json +27 -0
- mlsys/tasks/sys-one-pass-online-softmax-vector/solution_ref.py +33 -0
- mlsys/tasks/sys-one-pass-online-softmax-vector/starter.py +9 -0
- mlsys/tasks/sys-one-pass-online-softmax-vector/task.md +78 -0
- mlsys/tasks/sys-oom-feasibility-classification/check.py +89 -0
- mlsys/tasks/sys-oom-feasibility-classification/gen_fixtures.py +1 -0
- mlsys/tasks/sys-oom-feasibility-classification/meta.json +22 -0
- mlsys/tasks/sys-oom-feasibility-classification/solution_ref.py +20 -0
- mlsys/tasks/sys-oom-feasibility-classification/starter.py +6 -0
- mlsys/tasks/sys-oom-feasibility-classification/task.md +82 -0
- mlsys/tasks/sys-optimal-sqrt-n-checkpoint-placement/check.py +43 -0
- mlsys/tasks/sys-optimal-sqrt-n-checkpoint-placement/gen_fixtures.py +1 -0
- mlsys/tasks/sys-optimal-sqrt-n-checkpoint-placement/meta.json +22 -0
- mlsys/tasks/sys-optimal-sqrt-n-checkpoint-placement/solution_ref.py +21 -0
- mlsys/tasks/sys-optimal-sqrt-n-checkpoint-placement/starter.py +2 -0
- mlsys/tasks/sys-optimal-sqrt-n-checkpoint-placement/task.md +67 -0
- mlsys/tasks/sys-overlap-vs-serial-time-model/check.py +43 -0
- mlsys/tasks/sys-overlap-vs-serial-time-model/gen_fixtures.py +1 -0
- mlsys/tasks/sys-overlap-vs-serial-time-model/meta.json +27 -0
- mlsys/tasks/sys-overlap-vs-serial-time-model/solution_ref.py +22 -0
- mlsys/tasks/sys-overlap-vs-serial-time-model/starter.py +2 -0
- mlsys/tasks/sys-overlap-vs-serial-time-model/task.md +51 -0
- mlsys/tasks/sys-peak-intermediate-buffer-element-count/check.py +36 -0
- mlsys/tasks/sys-peak-intermediate-buffer-element-count/gen_fixtures.py +1 -0
- mlsys/tasks/sys-peak-intermediate-buffer-element-count/meta.json +22 -0
- mlsys/tasks/sys-peak-intermediate-buffer-element-count/solution_ref.py +28 -0
- mlsys/tasks/sys-peak-intermediate-buffer-element-count/starter.py +4 -0
- mlsys/tasks/sys-peak-intermediate-buffer-element-count/task.md +67 -0
- mlsys/tasks/sys-peak-memory-timeline-reconstruction/check.py +64 -0
- mlsys/tasks/sys-peak-memory-timeline-reconstruction/gen_fixtures.py +1 -0
- mlsys/tasks/sys-peak-memory-timeline-reconstruction/meta.json +22 -0
- mlsys/tasks/sys-peak-memory-timeline-reconstruction/solution_ref.py +16 -0
- mlsys/tasks/sys-peak-memory-timeline-reconstruction/starter.py +2 -0
- mlsys/tasks/sys-peak-memory-timeline-reconstruction/task.md +67 -0
- mlsys/tasks/sys-per-layer-activation-memory-formula/check.py +29 -0
- mlsys/tasks/sys-per-layer-activation-memory-formula/gen_fixtures.py +1 -0
- mlsys/tasks/sys-per-layer-activation-memory-formula/meta.json +22 -0
- mlsys/tasks/sys-per-layer-activation-memory-formula/solution_ref.py +2 -0
- mlsys/tasks/sys-per-layer-activation-memory-formula/starter.py +8 -0
- mlsys/tasks/sys-per-layer-activation-memory-formula/task.md +69 -0
- mlsys/tasks/sys-per-tensor-vs-per-channel-error/check.py +65 -0
- mlsys/tasks/sys-per-tensor-vs-per-channel-error/gen_fixtures.py +1 -0
- mlsys/tasks/sys-per-tensor-vs-per-channel-error/meta.json +32 -0
- mlsys/tasks/sys-per-tensor-vs-per-channel-error/solution_ref.py +15 -0
- mlsys/tasks/sys-per-tensor-vs-per-channel-error/starter.py +4 -0
- mlsys/tasks/sys-per-tensor-vs-per-channel-error/task.md +84 -0
- mlsys/tasks/sys-pick-optimal-collective-by-message-size/check.py +40 -0
- mlsys/tasks/sys-pick-optimal-collective-by-message-size/gen_fixtures.py +1 -0
- mlsys/tasks/sys-pick-optimal-collective-by-message-size/meta.json +22 -0
- mlsys/tasks/sys-pick-optimal-collective-by-message-size/solution_ref.py +16 -0
- mlsys/tasks/sys-pick-optimal-collective-by-message-size/starter.py +2 -0
- mlsys/tasks/sys-pick-optimal-collective-by-message-size/task.md +59 -0
- mlsys/tasks/sys-predict-admitted-preempted-vector-per-step/check.py +102 -0
- mlsys/tasks/sys-predict-admitted-preempted-vector-per-step/gen_fixtures.py +1 -0
- mlsys/tasks/sys-predict-admitted-preempted-vector-per-step/meta.json +22 -0
- mlsys/tasks/sys-predict-admitted-preempted-vector-per-step/solution_ref.py +41 -0
- mlsys/tasks/sys-predict-admitted-preempted-vector-per-step/starter.py +18 -0
- mlsys/tasks/sys-predict-admitted-preempted-vector-per-step/task.md +91 -0
- mlsys/tasks/sys-predict-block-status-grid-for-a-mask/check.py +42 -0
- mlsys/tasks/sys-predict-block-status-grid-for-a-mask/gen_fixtures.py +1 -0
- mlsys/tasks/sys-predict-block-status-grid-for-a-mask/meta.json +22 -0
- mlsys/tasks/sys-predict-block-status-grid-for-a-mask/solution_ref.py +13 -0
- mlsys/tasks/sys-predict-block-status-grid-for-a-mask/starter.py +5 -0
- mlsys/tasks/sys-predict-block-status-grid-for-a-mask/task.md +88 -0
- mlsys/tasks/sys-predict-kv-tile-sram-feasibility-map/check.py +31 -0
- mlsys/tasks/sys-predict-kv-tile-sram-feasibility-map/gen_fixtures.py +1 -0
- mlsys/tasks/sys-predict-kv-tile-sram-feasibility-map/meta.json +22 -0
- mlsys/tasks/sys-predict-kv-tile-sram-feasibility-map/solution_ref.py +7 -0
- mlsys/tasks/sys-predict-kv-tile-sram-feasibility-map/starter.py +2 -0
- mlsys/tasks/sys-predict-kv-tile-sram-feasibility-map/task.md +59 -0
- mlsys/tasks/sys-predict-max-seq-batch-fitting-a-budget/check.py +78 -0
- mlsys/tasks/sys-predict-max-seq-batch-fitting-a-budget/gen_fixtures.py +1 -0
- mlsys/tasks/sys-predict-max-seq-batch-fitting-a-budget/meta.json +22 -0
- mlsys/tasks/sys-predict-max-seq-batch-fitting-a-budget/solution_ref.py +20 -0
- mlsys/tasks/sys-predict-max-seq-batch-fitting-a-budget/starter.py +2 -0
- mlsys/tasks/sys-predict-max-seq-batch-fitting-a-budget/task.md +77 -0
- mlsys/tasks/sys-predict-occupancy-from-regs-smem/check.py +66 -0
- mlsys/tasks/sys-predict-occupancy-from-regs-smem/gen_fixtures.py +1 -0
- mlsys/tasks/sys-predict-occupancy-from-regs-smem/meta.json +22 -0
- mlsys/tasks/sys-predict-occupancy-from-regs-smem/solution_ref.py +19 -0
- mlsys/tasks/sys-predict-occupancy-from-regs-smem/starter.py +2 -0
- mlsys/tasks/sys-predict-occupancy-from-regs-smem/task.md +86 -0
- mlsys/tasks/sys-predict-overflow-pattern-of-three-softmaxes/check.py +71 -0
- mlsys/tasks/sys-predict-overflow-pattern-of-three-softmaxes/gen_fixtures.py +1 -0
- mlsys/tasks/sys-predict-overflow-pattern-of-three-softmaxes/meta.json +22 -0
- mlsys/tasks/sys-predict-overflow-pattern-of-three-softmaxes/solution_ref.py +46 -0
- mlsys/tasks/sys-predict-overflow-pattern-of-three-softmaxes/starter.py +18 -0
- mlsys/tasks/sys-predict-overflow-pattern-of-three-softmaxes/task.md +75 -0
- mlsys/tasks/sys-predict-padding-effect-on-bank-conflicts/check.py +45 -0
- mlsys/tasks/sys-predict-padding-effect-on-bank-conflicts/gen_fixtures.py +2 -0
- mlsys/tasks/sys-predict-padding-effect-on-bank-conflicts/meta.json +22 -0
- mlsys/tasks/sys-predict-padding-effect-on-bank-conflicts/solution_ref.py +6 -0
- mlsys/tasks/sys-predict-padding-effect-on-bank-conflicts/starter.py +7 -0
- mlsys/tasks/sys-predict-padding-effect-on-bank-conflicts/task.md +77 -0
- mlsys/tasks/sys-preemption-resume-correctness/check.py +50 -0
- mlsys/tasks/sys-preemption-resume-correctness/gen_fixtures.py +1 -0
- mlsys/tasks/sys-preemption-resume-correctness/meta.json +22 -0
- mlsys/tasks/sys-preemption-resume-correctness/solution_ref.py +33 -0
- mlsys/tasks/sys-preemption-resume-correctness/starter.py +2 -0
- mlsys/tasks/sys-preemption-resume-correctness/task.md +80 -0
- mlsys/tasks/sys-prefill-vs-decode-roofline-placement/check.py +72 -0
- mlsys/tasks/sys-prefill-vs-decode-roofline-placement/gen_fixtures.py +1 -0
- mlsys/tasks/sys-prefill-vs-decode-roofline-placement/meta.json +27 -0
- mlsys/tasks/sys-prefill-vs-decode-roofline-placement/solution_ref.py +72 -0
- mlsys/tasks/sys-prefill-vs-decode-roofline-placement/starter.py +40 -0
- mlsys/tasks/sys-prefill-vs-decode-roofline-placement/task.md +99 -0
- mlsys/tasks/sys-prefix-cache-resume-equality/check.py +99 -0
- mlsys/tasks/sys-prefix-cache-resume-equality/gen_fixtures.py +1 -0
- mlsys/tasks/sys-prefix-cache-resume-equality/meta.json +27 -0
- mlsys/tasks/sys-prefix-cache-resume-equality/solution_ref.py +57 -0
- mlsys/tasks/sys-prefix-cache-resume-equality/starter.py +15 -0
- mlsys/tasks/sys-prefix-cache-resume-equality/task.md +77 -0
- mlsys/tasks/sys-prove-block-merge-associativity-across-bracketings/check.py +64 -0
- mlsys/tasks/sys-prove-block-merge-associativity-across-bracketings/gen_fixtures.py +1 -0
- mlsys/tasks/sys-prove-block-merge-associativity-across-bracketings/meta.json +22 -0
- mlsys/tasks/sys-prove-block-merge-associativity-across-bracketings/solution_ref.py +50 -0
- mlsys/tasks/sys-prove-block-merge-associativity-across-bracketings/starter.py +4 -0
- mlsys/tasks/sys-prove-block-merge-associativity-across-bracketings/task.md +71 -0
- mlsys/tasks/sys-quantized-logit-argmax-preservation/check.py +69 -0
- mlsys/tasks/sys-quantized-logit-argmax-preservation/gen_fixtures.py +1 -0
- mlsys/tasks/sys-quantized-logit-argmax-preservation/meta.json +27 -0
- mlsys/tasks/sys-quantized-logit-argmax-preservation/solution_ref.py +18 -0
- mlsys/tasks/sys-quantized-logit-argmax-preservation/starter.py +15 -0
- mlsys/tasks/sys-quantized-logit-argmax-preservation/task.md +75 -0
- mlsys/tasks/sys-rank-memory-spaces-by-latency/check.py +24 -0
- mlsys/tasks/sys-rank-memory-spaces-by-latency/gen_fixtures.py +1 -0
- mlsys/tasks/sys-rank-memory-spaces-by-latency/meta.json +22 -0
- mlsys/tasks/sys-rank-memory-spaces-by-latency/solution_ref.py +15 -0
- mlsys/tasks/sys-rank-memory-spaces-by-latency/starter.py +5 -0
- mlsys/tasks/sys-rank-memory-spaces-by-latency/task.md +27 -0
- mlsys/tasks/sys-rank-ops-by-roofline-limited-throughput/check.py +65 -0
- mlsys/tasks/sys-rank-ops-by-roofline-limited-throughput/gen_fixtures.py +2 -0
- mlsys/tasks/sys-rank-ops-by-roofline-limited-throughput/meta.json +22 -0
- mlsys/tasks/sys-rank-ops-by-roofline-limited-throughput/solution_ref.py +17 -0
- mlsys/tasks/sys-rank-ops-by-roofline-limited-throughput/starter.py +11 -0
- mlsys/tasks/sys-rank-ops-by-roofline-limited-throughput/task.md +68 -0
- mlsys/tasks/sys-recompute-in-backward-mlp-block/check.py +42 -0
- mlsys/tasks/sys-recompute-in-backward-mlp-block/gen_fixtures.py +1 -0
- mlsys/tasks/sys-recompute-in-backward-mlp-block/meta.json +28 -0
- mlsys/tasks/sys-recompute-in-backward-mlp-block/solution_ref.py +18 -0
- mlsys/tasks/sys-recompute-in-backward-mlp-block/starter.py +7 -0
- mlsys/tasks/sys-recompute-in-backward-mlp-block/task.md +66 -0
- mlsys/tasks/sys-recompute-s-from-stored-logsumexp/check.py +51 -0
- mlsys/tasks/sys-recompute-s-from-stored-logsumexp/gen_fixtures.py +1 -0
- mlsys/tasks/sys-recompute-s-from-stored-logsumexp/meta.json +22 -0
- mlsys/tasks/sys-recompute-s-from-stored-logsumexp/solution_ref.py +15 -0
- mlsys/tasks/sys-recompute-s-from-stored-logsumexp/starter.py +10 -0
- mlsys/tasks/sys-recompute-s-from-stored-logsumexp/task.md +67 -0
- mlsys/tasks/sys-recompute-vs-swap-preemption-cost/check.py +76 -0
- mlsys/tasks/sys-recompute-vs-swap-preemption-cost/gen_fixtures.py +1 -0
- mlsys/tasks/sys-recompute-vs-swap-preemption-cost/meta.json +22 -0
- mlsys/tasks/sys-recompute-vs-swap-preemption-cost/solution_ref.py +25 -0
- mlsys/tasks/sys-recompute-vs-swap-preemption-cost/starter.py +2 -0
- mlsys/tasks/sys-recompute-vs-swap-preemption-cost/task.md +69 -0
- mlsys/tasks/sys-reconstruct-logical-kv-from-block-table/check.py +40 -0
- mlsys/tasks/sys-reconstruct-logical-kv-from-block-table/gen_fixtures.py +1 -0
- mlsys/tasks/sys-reconstruct-logical-kv-from-block-table/meta.json +22 -0
- mlsys/tasks/sys-reconstruct-logical-kv-from-block-table/solution_ref.py +10 -0
- mlsys/tasks/sys-reconstruct-logical-kv-from-block-table/starter.py +5 -0
- mlsys/tasks/sys-reconstruct-logical-kv-from-block-table/task.md +83 -0
- mlsys/tasks/sys-reconstruct-output-from-per-block-m-l-o-logs/check.py +75 -0
- mlsys/tasks/sys-reconstruct-output-from-per-block-m-l-o-logs/gen_fixtures.py +1 -0
- mlsys/tasks/sys-reconstruct-output-from-per-block-m-l-o-logs/meta.json +22 -0
- mlsys/tasks/sys-reconstruct-output-from-per-block-m-l-o-logs/solution_ref.py +44 -0
- mlsys/tasks/sys-reconstruct-output-from-per-block-m-l-o-logs/starter.py +19 -0
- mlsys/tasks/sys-reconstruct-output-from-per-block-m-l-o-logs/task.md +88 -0
- mlsys/tasks/sys-reconstruct-output-from-per-rank-m-l-o/check.py +59 -0
- mlsys/tasks/sys-reconstruct-output-from-per-rank-m-l-o/gen_fixtures.py +1 -0
- mlsys/tasks/sys-reconstruct-output-from-per-rank-m-l-o/meta.json +22 -0
- mlsys/tasks/sys-reconstruct-output-from-per-rank-m-l-o/solution_ref.py +15 -0
- mlsys/tasks/sys-reconstruct-output-from-per-rank-m-l-o/starter.py +4 -0
- mlsys/tasks/sys-reconstruct-output-from-per-rank-m-l-o/task.md +91 -0
- mlsys/tasks/sys-recursive-halving-doubling-all-reduce/check.py +49 -0
- mlsys/tasks/sys-recursive-halving-doubling-all-reduce/gen_fixtures.py +1 -0
- mlsys/tasks/sys-recursive-halving-doubling-all-reduce/meta.json +22 -0
- mlsys/tasks/sys-recursive-halving-doubling-all-reduce/solution_ref.py +22 -0
- mlsys/tasks/sys-recursive-halving-doubling-all-reduce/starter.py +4 -0
- mlsys/tasks/sys-recursive-halving-doubling-all-reduce/task.md +68 -0
- mlsys/tasks/sys-reduce-scatter-correctness/check.py +73 -0
- mlsys/tasks/sys-reduce-scatter-correctness/gen_fixtures.py +1 -0
- mlsys/tasks/sys-reduce-scatter-correctness/meta.json +22 -0
- mlsys/tasks/sys-reduce-scatter-correctness/solution_ref.py +12 -0
- mlsys/tasks/sys-reduce-scatter-correctness/starter.py +4 -0
- mlsys/tasks/sys-reduce-scatter-correctness/task.md +68 -0
- mlsys/tasks/sys-repair-un-rescaled-o-accumulator-across-kv-tiles/check.py +55 -0
- mlsys/tasks/sys-repair-un-rescaled-o-accumulator-across-kv-tiles/gen_fixtures.py +1 -0
- mlsys/tasks/sys-repair-un-rescaled-o-accumulator-across-kv-tiles/meta.json +22 -0
- mlsys/tasks/sys-repair-un-rescaled-o-accumulator-across-kv-tiles/solution_ref.py +28 -0
- mlsys/tasks/sys-repair-un-rescaled-o-accumulator-across-kv-tiles/starter.py +29 -0
- mlsys/tasks/sys-repair-un-rescaled-o-accumulator-across-kv-tiles/task.md +94 -0
- mlsys/tasks/sys-ring-all-gather-correctness/check.py +32 -0
- mlsys/tasks/sys-ring-all-gather-correctness/gen_fixtures.py +1 -0
- mlsys/tasks/sys-ring-all-gather-correctness/meta.json +22 -0
- mlsys/tasks/sys-ring-all-gather-correctness/solution_ref.py +8 -0
- mlsys/tasks/sys-ring-all-gather-correctness/starter.py +4 -0
- mlsys/tasks/sys-ring-all-gather-correctness/task.md +64 -0
- mlsys/tasks/sys-ring-all-reduce-bytes-moved-model/check.py +32 -0
- mlsys/tasks/sys-ring-all-reduce-bytes-moved-model/gen_fixtures.py +1 -0
- mlsys/tasks/sys-ring-all-reduce-bytes-moved-model/meta.json +22 -0
- mlsys/tasks/sys-ring-all-reduce-bytes-moved-model/solution_ref.py +6 -0
- mlsys/tasks/sys-ring-all-reduce-bytes-moved-model/starter.py +3 -0
- mlsys/tasks/sys-ring-all-reduce-bytes-moved-model/task.md +48 -0
- mlsys/tasks/sys-ring-all-reduce-correctness/check.py +38 -0
- mlsys/tasks/sys-ring-all-reduce-correctness/gen_fixtures.py +1 -0
- mlsys/tasks/sys-ring-all-reduce-correctness/meta.json +22 -0
- mlsys/tasks/sys-ring-all-reduce-correctness/solution_ref.py +39 -0
- mlsys/tasks/sys-ring-all-reduce-correctness/starter.py +14 -0
- mlsys/tasks/sys-ring-all-reduce-correctness/task.md +63 -0
- mlsys/tasks/sys-ring-attention-equals-full-attention/check.py +42 -0
- mlsys/tasks/sys-ring-attention-equals-full-attention/gen_fixtures.py +1 -0
- mlsys/tasks/sys-ring-attention-equals-full-attention/meta.json +22 -0
- mlsys/tasks/sys-ring-attention-equals-full-attention/solution_ref.py +42 -0
- mlsys/tasks/sys-ring-attention-equals-full-attention/starter.py +4 -0
- mlsys/tasks/sys-ring-attention-equals-full-attention/task.md +94 -0
- mlsys/tasks/sys-search-tile-sizes-minimizing-cache-misses/check.py +66 -0
- mlsys/tasks/sys-search-tile-sizes-minimizing-cache-misses/gen_fixtures.py +1 -0
- mlsys/tasks/sys-search-tile-sizes-minimizing-cache-misses/meta.json +22 -0
- mlsys/tasks/sys-search-tile-sizes-minimizing-cache-misses/solution_ref.py +43 -0
- mlsys/tasks/sys-search-tile-sizes-minimizing-cache-misses/starter.py +2 -0
- mlsys/tasks/sys-search-tile-sizes-minimizing-cache-misses/task.md +66 -0
- mlsys/tasks/sys-selective-checkpointing-attention-only/check.py +78 -0
- mlsys/tasks/sys-selective-checkpointing-attention-only/gen_fixtures.py +1 -0
- mlsys/tasks/sys-selective-checkpointing-attention-only/meta.json +27 -0
- mlsys/tasks/sys-selective-checkpointing-attention-only/solution_ref.py +21 -0
- mlsys/tasks/sys-selective-checkpointing-attention-only/starter.py +4 -0
- mlsys/tasks/sys-selective-checkpointing-attention-only/task.md +91 -0
- mlsys/tasks/sys-shared-memory-bank-conflict-count/check.py +38 -0
- mlsys/tasks/sys-shared-memory-bank-conflict-count/gen_fixtures.py +1 -0
- mlsys/tasks/sys-shared-memory-bank-conflict-count/meta.json +22 -0
- mlsys/tasks/sys-shared-memory-bank-conflict-count/solution_ref.py +8 -0
- mlsys/tasks/sys-shared-memory-bank-conflict-count/starter.py +2 -0
- mlsys/tasks/sys-shared-memory-bank-conflict-count/task.md +48 -0
- mlsys/tasks/sys-simulate-fp16-round-to-nearest-even/check.py +73 -0
- mlsys/tasks/sys-simulate-fp16-round-to-nearest-even/gen_fixtures.py +1 -0
- mlsys/tasks/sys-simulate-fp16-round-to-nearest-even/meta.json +22 -0
- mlsys/tasks/sys-simulate-fp16-round-to-nearest-even/solution_ref.py +63 -0
- mlsys/tasks/sys-simulate-fp16-round-to-nearest-even/starter.py +6 -0
- mlsys/tasks/sys-simulate-fp16-round-to-nearest-even/task.md +65 -0
- mlsys/tasks/sys-simulate-gpipe-schedule-count-bubbles/check.py +61 -0
- mlsys/tasks/sys-simulate-gpipe-schedule-count-bubbles/gen_fixtures.py +1 -0
- mlsys/tasks/sys-simulate-gpipe-schedule-count-bubbles/meta.json +22 -0
- mlsys/tasks/sys-simulate-gpipe-schedule-count-bubbles/solution_ref.py +62 -0
- mlsys/tasks/sys-simulate-gpipe-schedule-count-bubbles/starter.py +17 -0
- mlsys/tasks/sys-simulate-gpipe-schedule-count-bubbles/task.md +75 -0
- mlsys/tasks/sys-single-q-tile-over-all-kv-with-online-softmax/check.py +70 -0
- mlsys/tasks/sys-single-q-tile-over-all-kv-with-online-softmax/gen_fixtures.py +2 -0
- mlsys/tasks/sys-single-q-tile-over-all-kv-with-online-softmax/meta.json +27 -0
- mlsys/tasks/sys-single-q-tile-over-all-kv-with-online-softmax/solution_ref.py +40 -0
- mlsys/tasks/sys-single-q-tile-over-all-kv-with-online-softmax/starter.py +14 -0
- mlsys/tasks/sys-single-q-tile-over-all-kv-with-online-softmax/task.md +79 -0
- mlsys/tasks/sys-sliding-window-causal-attention/check.py +70 -0
- mlsys/tasks/sys-sliding-window-causal-attention/fixtures/mask.npy +0 -0
- mlsys/tasks/sys-sliding-window-causal-attention/gen_fixtures.py +27 -0
- mlsys/tasks/sys-sliding-window-causal-attention/meta.json +24 -0
- mlsys/tasks/sys-sliding-window-causal-attention/solution_ref.py +47 -0
- mlsys/tasks/sys-sliding-window-causal-attention/starter.py +17 -0
- mlsys/tasks/sys-sliding-window-causal-attention/task.md +88 -0
- mlsys/tasks/sys-smoothquant-scale-migration-equivalence/check.py +68 -0
- mlsys/tasks/sys-smoothquant-scale-migration-equivalence/gen_fixtures.py +1 -0
- mlsys/tasks/sys-smoothquant-scale-migration-equivalence/meta.json +27 -0
- mlsys/tasks/sys-smoothquant-scale-migration-equivalence/solution_ref.py +6 -0
- mlsys/tasks/sys-smoothquant-scale-migration-equivalence/starter.py +4 -0
- mlsys/tasks/sys-smoothquant-scale-migration-equivalence/task.md +81 -0
- mlsys/tasks/sys-softmax-jacobian-identity-vectorized-explicit/check.py +74 -0
- mlsys/tasks/sys-softmax-jacobian-identity-vectorized-explicit/gen_fixtures.py +1 -0
- mlsys/tasks/sys-softmax-jacobian-identity-vectorized-explicit/meta.json +27 -0
- mlsys/tasks/sys-softmax-jacobian-identity-vectorized-explicit/solution_ref.py +8 -0
- mlsys/tasks/sys-softmax-jacobian-identity-vectorized-explicit/starter.py +4 -0
- mlsys/tasks/sys-softmax-jacobian-identity-vectorized-explicit/task.md +66 -0
- mlsys/tasks/sys-speedup-ceiling-from-fusing-two-ops/check.py +33 -0
- mlsys/tasks/sys-speedup-ceiling-from-fusing-two-ops/gen_fixtures.py +1 -0
- mlsys/tasks/sys-speedup-ceiling-from-fusing-two-ops/meta.json +22 -0
- mlsys/tasks/sys-speedup-ceiling-from-fusing-two-ops/solution_ref.py +6 -0
- mlsys/tasks/sys-speedup-ceiling-from-fusing-two-ops/starter.py +2 -0
- mlsys/tasks/sys-speedup-ceiling-from-fusing-two-ops/task.md +68 -0
- mlsys/tasks/sys-static-batch-step-count-baseline/check.py +48 -0
- mlsys/tasks/sys-static-batch-step-count-baseline/gen_fixtures.py +1 -0
- mlsys/tasks/sys-static-batch-step-count-baseline/meta.json +27 -0
- mlsys/tasks/sys-static-batch-step-count-baseline/solution_ref.py +22 -0
- mlsys/tasks/sys-static-batch-step-count-baseline/starter.py +4 -0
- mlsys/tasks/sys-static-batch-step-count-baseline/task.md +44 -0
- mlsys/tasks/sys-stochastic-rounding-unbiasedness/check.py +67 -0
- mlsys/tasks/sys-stochastic-rounding-unbiasedness/gen_fixtures.py +1 -0
- mlsys/tasks/sys-stochastic-rounding-unbiasedness/meta.json +22 -0
- mlsys/tasks/sys-stochastic-rounding-unbiasedness/solution_ref.py +28 -0
- mlsys/tasks/sys-stochastic-rounding-unbiasedness/starter.py +4 -0
- mlsys/tasks/sys-stochastic-rounding-unbiasedness/task.md +71 -0
- mlsys/tasks/sys-streaming-logsumexp-equals-full-logsumexp/check.py +77 -0
- mlsys/tasks/sys-streaming-logsumexp-equals-full-logsumexp/gen_fixtures.py +1 -0
- mlsys/tasks/sys-streaming-logsumexp-equals-full-logsumexp/meta.json +27 -0
- mlsys/tasks/sys-streaming-logsumexp-equals-full-logsumexp/solution_ref.py +17 -0
- mlsys/tasks/sys-streaming-logsumexp-equals-full-logsumexp/starter.py +12 -0
- mlsys/tasks/sys-streaming-logsumexp-equals-full-logsumexp/task.md +67 -0
- mlsys/tasks/sys-streamingllm-sink-window-retained-set/check.py +33 -0
- mlsys/tasks/sys-streamingllm-sink-window-retained-set/gen_fixtures.py +1 -0
- mlsys/tasks/sys-streamingllm-sink-window-retained-set/meta.json +22 -0
- mlsys/tasks/sys-streamingllm-sink-window-retained-set/solution_ref.py +7 -0
- mlsys/tasks/sys-streamingllm-sink-window-retained-set/starter.py +2 -0
- mlsys/tasks/sys-streamingllm-sink-window-retained-set/task.md +52 -0
- mlsys/tasks/sys-symmetric-int8-round-trip/check.py +76 -0
- mlsys/tasks/sys-symmetric-int8-round-trip/fixtures/weights.npy +0 -0
- mlsys/tasks/sys-symmetric-int8-round-trip/gen_fixtures.py +22 -0
- mlsys/tasks/sys-symmetric-int8-round-trip/meta.json +30 -0
- mlsys/tasks/sys-symmetric-int8-round-trip/solution_ref.py +32 -0
- mlsys/tasks/sys-symmetric-int8-round-trip/starter.py +27 -0
- mlsys/tasks/sys-symmetric-int8-round-trip/task.md +82 -0
- mlsys/tasks/sys-throughput-optimal-queue-ordering/check.py +93 -0
- mlsys/tasks/sys-throughput-optimal-queue-ordering/gen_fixtures.py +1 -0
- mlsys/tasks/sys-throughput-optimal-queue-ordering/meta.json +22 -0
- mlsys/tasks/sys-throughput-optimal-queue-ordering/solution_ref.py +49 -0
- mlsys/tasks/sys-throughput-optimal-queue-ordering/starter.py +2 -0
- mlsys/tasks/sys-throughput-optimal-queue-ordering/task.md +84 -0
- mlsys/tasks/sys-tiled-matmul-global-traffic-vs-tile-size/check.py +57 -0
- mlsys/tasks/sys-tiled-matmul-global-traffic-vs-tile-size/gen_fixtures.py +1 -0
- mlsys/tasks/sys-tiled-matmul-global-traffic-vs-tile-size/meta.json +22 -0
- mlsys/tasks/sys-tiled-matmul-global-traffic-vs-tile-size/solution_ref.py +17 -0
- mlsys/tasks/sys-tiled-matmul-global-traffic-vs-tile-size/starter.py +8 -0
- mlsys/tasks/sys-tiled-matmul-global-traffic-vs-tile-size/task.md +65 -0
- mlsys/tasks/sys-tiled-vs-materialized-divergence-vs-block-size/check.py +53 -0
- mlsys/tasks/sys-tiled-vs-materialized-divergence-vs-block-size/gen_fixtures.py +1 -0
- mlsys/tasks/sys-tiled-vs-materialized-divergence-vs-block-size/meta.json +22 -0
- mlsys/tasks/sys-tiled-vs-materialized-divergence-vs-block-size/solution_ref.py +47 -0
- mlsys/tasks/sys-tiled-vs-materialized-divergence-vs-block-size/starter.py +6 -0
- mlsys/tasks/sys-tiled-vs-materialized-divergence-vs-block-size/task.md +63 -0
- mlsys/tasks/sys-top-k-gating-assignment/check.py +64 -0
- mlsys/tasks/sys-top-k-gating-assignment/gen_fixtures.py +1 -0
- mlsys/tasks/sys-top-k-gating-assignment/meta.json +27 -0
- mlsys/tasks/sys-top-k-gating-assignment/solution_ref.py +34 -0
- mlsys/tasks/sys-top-k-gating-assignment/starter.py +13 -0
- mlsys/tasks/sys-top-k-gating-assignment/task.md +63 -0
- mlsys/tasks/sys-total-training-memory-accounting/check.py +38 -0
- mlsys/tasks/sys-total-training-memory-accounting/gen_fixtures.py +1 -0
- mlsys/tasks/sys-total-training-memory-accounting/meta.json +22 -0
- mlsys/tasks/sys-total-training-memory-accounting/solution_ref.py +29 -0
- mlsys/tasks/sys-total-training-memory-accounting/starter.py +2 -0
- mlsys/tasks/sys-total-training-memory-accounting/task.md +62 -0
- mlsys/tasks/sys-tree-attention-mask-construction/check.py +43 -0
- mlsys/tasks/sys-tree-attention-mask-construction/gen_fixtures.py +1 -0
- mlsys/tasks/sys-tree-attention-mask-construction/meta.json +22 -0
- mlsys/tasks/sys-tree-attention-mask-construction/solution_ref.py +14 -0
- mlsys/tasks/sys-tree-attention-mask-construction/starter.py +4 -0
- mlsys/tasks/sys-tree-attention-mask-construction/task.md +52 -0
- mlsys/tasks/sys-tree-verification-longest-valid-prefix/check.py +90 -0
- mlsys/tasks/sys-tree-verification-longest-valid-prefix/gen_fixtures.py +1 -0
- mlsys/tasks/sys-tree-verification-longest-valid-prefix/meta.json +22 -0
- mlsys/tasks/sys-tree-verification-longest-valid-prefix/solution_ref.py +24 -0
- mlsys/tasks/sys-tree-verification-longest-valid-prefix/starter.py +2 -0
- mlsys/tasks/sys-tree-verification-longest-valid-prefix/task.md +60 -0
- mlsys/tasks/sys-verify-speculative-distribution-equals-target/check.py +70 -0
- mlsys/tasks/sys-verify-speculative-distribution-equals-target/gen_fixtures.py +1 -0
- mlsys/tasks/sys-verify-speculative-distribution-equals-target/meta.json +22 -0
- mlsys/tasks/sys-verify-speculative-distribution-equals-target/solution_ref.py +30 -0
- mlsys/tasks/sys-verify-speculative-distribution-equals-target/starter.py +4 -0
- mlsys/tasks/sys-verify-speculative-distribution-equals-target/task.md +68 -0
- mlsys/tasks/sys-vocab-parallel-embedding-logit-all-reduce/check.py +64 -0
- mlsys/tasks/sys-vocab-parallel-embedding-logit-all-reduce/gen_fixtures.py +1 -0
- mlsys/tasks/sys-vocab-parallel-embedding-logit-all-reduce/meta.json +22 -0
- mlsys/tasks/sys-vocab-parallel-embedding-logit-all-reduce/solution_ref.py +26 -0
- mlsys/tasks/sys-vocab-parallel-embedding-logit-all-reduce/starter.py +4 -0
- mlsys/tasks/sys-vocab-parallel-embedding-logit-all-reduce/task.md +80 -0
- mlsys/tasks/sys-warp-divergence-branch-count/check.py +35 -0
- mlsys/tasks/sys-warp-divergence-branch-count/gen_fixtures.py +1 -0
- mlsys/tasks/sys-warp-divergence-branch-count/meta.json +22 -0
- mlsys/tasks/sys-warp-divergence-branch-count/solution_ref.py +14 -0
- mlsys/tasks/sys-warp-divergence-branch-count/starter.py +4 -0
- mlsys/tasks/sys-warp-divergence-branch-count/task.md +44 -0
- mlsys/tasks/sys-which-zero-stage-fits-the-budget/check.py +61 -0
- mlsys/tasks/sys-which-zero-stage-fits-the-budget/gen_fixtures.py +1 -0
- mlsys/tasks/sys-which-zero-stage-fits-the-budget/meta.json +22 -0
- mlsys/tasks/sys-which-zero-stage-fits-the-budget/solution_ref.py +22 -0
- mlsys/tasks/sys-which-zero-stage-fits-the-budget/starter.py +14 -0
- mlsys/tasks/sys-which-zero-stage-fits-the-budget/task.md +66 -0
- mlsys/tasks/sys-zero-1-optimizer-state-partition/check.py +44 -0
- mlsys/tasks/sys-zero-1-optimizer-state-partition/gen_fixtures.py +1 -0
- mlsys/tasks/sys-zero-1-optimizer-state-partition/meta.json +22 -0
- mlsys/tasks/sys-zero-1-optimizer-state-partition/solution_ref.py +44 -0
- mlsys/tasks/sys-zero-1-optimizer-state-partition/starter.py +5 -0
- mlsys/tasks/sys-zero-1-optimizer-state-partition/task.md +81 -0
- mlsys/tasks/sys-zero-3-param-all-gather-on-demand/check.py +63 -0
- mlsys/tasks/sys-zero-3-param-all-gather-on-demand/gen_fixtures.py +1 -0
- mlsys/tasks/sys-zero-3-param-all-gather-on-demand/meta.json +22 -0
- mlsys/tasks/sys-zero-3-param-all-gather-on-demand/solution_ref.py +15 -0
- mlsys/tasks/sys-zero-3-param-all-gather-on-demand/starter.py +4 -0
- mlsys/tasks/sys-zero-3-param-all-gather-on-demand/task.md +70 -0
- mlsys/tasks/sys-zero-3-prefetch-exposed-comm-model/check.py +41 -0
- mlsys/tasks/sys-zero-3-prefetch-exposed-comm-model/gen_fixtures.py +1 -0
- mlsys/tasks/sys-zero-3-prefetch-exposed-comm-model/meta.json +22 -0
- mlsys/tasks/sys-zero-3-prefetch-exposed-comm-model/solution_ref.py +8 -0
- mlsys/tasks/sys-zero-3-prefetch-exposed-comm-model/starter.py +2 -0
- mlsys/tasks/sys-zero-3-prefetch-exposed-comm-model/task.md +68 -0
- mlsys/tasks/sys-zero-memory-formula-stages-1-2-3/check.py +58 -0
- mlsys/tasks/sys-zero-memory-formula-stages-1-2-3/gen_fixtures.py +1 -0
- mlsys/tasks/sys-zero-memory-formula-stages-1-2-3/meta.json +22 -0
- mlsys/tasks/sys-zero-memory-formula-stages-1-2-3/solution_ref.py +36 -0
- mlsys/tasks/sys-zero-memory-formula-stages-1-2-3/starter.py +8 -0
- mlsys/tasks/sys-zero-memory-formula-stages-1-2-3/task.md +71 -0
- mlsys/tasks/sys-zig-zag-causal-load-balancing/check.py +54 -0
- mlsys/tasks/sys-zig-zag-causal-load-balancing/gen_fixtures.py +1 -0
- mlsys/tasks/sys-zig-zag-causal-load-balancing/meta.json +22 -0
- mlsys/tasks/sys-zig-zag-causal-load-balancing/solution_ref.py +28 -0
- mlsys/tasks/sys-zig-zag-causal-load-balancing/starter.py +2 -0
- mlsys/tasks/sys-zig-zag-causal-load-balancing/task.md +61 -0
- mlsys_lab-0.1.0.dist-info/METADATA +179 -0
- mlsys_lab-0.1.0.dist-info/RECORD +12365 -0
- mlsys_lab-0.1.0.dist-info/WHEEL +4 -0
- mlsys_lab-0.1.0.dist-info/entry_points.txt +2 -0
- mlsys_lab-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
## Context
|
|
2
|
+
|
|
3
|
+
**False sharing** occurs when two or more threads access different
|
|
4
|
+
variables that happen to reside on the same cache line. If at least one
|
|
5
|
+
thread is writing to that line, the CPU's cache coherence protocol keeps
|
|
6
|
+
invalidating and transferring the line between cores, severely degrading
|
|
7
|
+
performance — even though the threads never touch the same variable.
|
|
8
|
+
|
|
9
|
+
Assume a standard 64-byte cache line, and that a `ThreadState` instance is
|
|
10
|
+
allocated at an address aligned to 64 bytes (so byte offset `o` falls in
|
|
11
|
+
cache line `o / 64`):
|
|
12
|
+
|
|
13
|
+
```cpp
|
|
14
|
+
struct ThreadState {
|
|
15
|
+
int id;
|
|
16
|
+
int read_count;
|
|
17
|
+
long write_count;
|
|
18
|
+
double items[5];
|
|
19
|
+
long long padding[5];
|
|
20
|
+
double local_sum;
|
|
21
|
+
int local_flag;
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Task
|
|
26
|
+
|
|
27
|
+
Implement, in `solve.cpp`,
|
|
28
|
+
|
|
29
|
+
```cpp
|
|
30
|
+
std::pair<std::vector<bool>, long> classify_false_sharing();
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Classify these 10 fixed concurrent access patterns (Thread 1 and Thread 2
|
|
34
|
+
both touching the same `ThreadState` instance simultaneously):
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
1. T1 writes id, T2 writes read_count
|
|
38
|
+
2. T1 writes id, T2 reads write_count
|
|
39
|
+
3. T1 reads read_count, T2 reads write_count
|
|
40
|
+
4. T1 writes items[4], T2 writes padding[0]
|
|
41
|
+
5. T1 writes items[4], T2 writes padding[1]
|
|
42
|
+
6. T1 writes padding[0], T2 writes padding[1]
|
|
43
|
+
7. T1 writes local_sum, T2 writes local_flag
|
|
44
|
+
8. T1 writes items[0], T2 reads local_sum
|
|
45
|
+
9. T1 writes padding[1], T2 reads local_flag
|
|
46
|
+
10. T1 reads items[0], T2 writes items[1]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
A pattern is false sharing exactly when both accesses fall in the **same**
|
|
50
|
+
64-byte cache line **and** at least one of the two is a write. Two
|
|
51
|
+
simultaneous reads never cause false sharing; accesses landing in
|
|
52
|
+
different lines never do either, however many writes are involved.
|
|
53
|
+
|
|
54
|
+
Return `{labels, struct_size}`: `labels` is exactly 10 booleans in the
|
|
55
|
+
order above (`true` = false sharing), and `struct_size` is
|
|
56
|
+
`sizeof(ThreadState)`. Find each field's real byte offset with
|
|
57
|
+
`offsetof(ThreadState, field)` on the actual struct — do not hand-compute
|
|
58
|
+
or guess the layout.
|
|
59
|
+
|
|
60
|
+
## Example
|
|
61
|
+
|
|
62
|
+
`id` is at offset `0` and `read_count` at offset `4`; both fall in cache
|
|
63
|
+
line `0`, and pattern 1 writes both, so pattern 1 is false sharing
|
|
64
|
+
(`true`). `items[4]` sits near the end of the `items` array (offset `48`,
|
|
65
|
+
still cache line `0`), while `padding[1]` sits at offset `64` (cache line
|
|
66
|
+
`1`) — different lines, so pattern 5 is **not** false sharing (`false`)
|
|
67
|
+
even though both threads write.
|
|
68
|
+
|
|
69
|
+
## What the gate checks
|
|
70
|
+
|
|
71
|
+
The fixed driver (`main.cpp`) calls `classify_false_sharing()` and prints
|
|
72
|
+
the struct size followed by the 10 labels as `0`/`1`. The gate is an
|
|
73
|
+
exact string match (`exact_match == 1.0`) against the reference's printed
|
|
74
|
+
output — the reference computes its labels from real `offsetof` values
|
|
75
|
+
on the real compiled struct, not a hand-typed answer key, so every label
|
|
76
|
+
must match what the actual memory layout produces.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#include <cstdio>
|
|
2
|
+
#include "sol.hpp"
|
|
3
|
+
|
|
4
|
+
int main() {
|
|
5
|
+
const int N = 6;
|
|
6
|
+
const int header_size = 24; // e.g. sizeof({long, long, void*}) on LP64
|
|
7
|
+
const int total = header_size + N * (int)sizeof(double);
|
|
8
|
+
|
|
9
|
+
unsigned char* buf = new unsigned char[total];
|
|
10
|
+
for (int i = 0; i < header_size; i++) buf[i] = (unsigned char)(i + 1); // filler header bytes
|
|
11
|
+
|
|
12
|
+
double* payload = reinterpret_cast<double*>(buf + header_size);
|
|
13
|
+
for (int i = 0; i < N; i++) payload[i] = i * 1.5; // deterministic payload
|
|
14
|
+
|
|
15
|
+
double* view = view_payload(buf, header_size, N);
|
|
16
|
+
|
|
17
|
+
// 1. Reading through the view must see the current payload values.
|
|
18
|
+
printf("read:");
|
|
19
|
+
for (int i = 0; i < N; i++) printf(" %.3f", view[i]);
|
|
20
|
+
printf("\n");
|
|
21
|
+
|
|
22
|
+
// 2. Writing through the view, then re-reading directly out of `buf`,
|
|
23
|
+
// must see the write -- this is the actual zero-copy test.
|
|
24
|
+
for (int i = 0; i < N; i++) view[i] = view[i] * 2.0 + 1.0;
|
|
25
|
+
double* direct = reinterpret_cast<double*>(buf + header_size);
|
|
26
|
+
printf("direct-after-write:");
|
|
27
|
+
for (int i = 0; i < N; i++) printf(" %.3f", direct[i]);
|
|
28
|
+
printf("\n");
|
|
29
|
+
|
|
30
|
+
// 3. A real zero-copy view aliases buf's own memory exactly.
|
|
31
|
+
printf("shares_memory=%d\n", (view == direct) ? 1 : 0);
|
|
32
|
+
|
|
33
|
+
delete[] buf;
|
|
34
|
+
return 0;
|
|
35
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "cpp-fix-a-binding-that-copies-instead-of-viewing",
|
|
3
|
+
"title": "Fix a binding that copies instead of viewing (real C++)",
|
|
4
|
+
"track": "02 Deep C++",
|
|
5
|
+
"tier": "I",
|
|
6
|
+
"module": "M2",
|
|
7
|
+
"difficulty": 4,
|
|
8
|
+
"genre": "debug",
|
|
9
|
+
"platform": "cross-platform",
|
|
10
|
+
"native": "cpp",
|
|
11
|
+
"gates": [
|
|
12
|
+
{
|
|
13
|
+
"metric": "exact_match",
|
|
14
|
+
"op": "==",
|
|
15
|
+
"threshold": 1.0
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"info": []
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
// `buf` points at a single contiguous allocation: a header of exactly
|
|
4
|
+
// `header_size` bytes, followed immediately by a payload of `n` doubles.
|
|
5
|
+
//
|
|
6
|
+
// Return a ZERO-COPY VIEW into that same memory — i.e. exactly
|
|
7
|
+
// reinterpret_cast<double*>(buf + header_size) — so that:
|
|
8
|
+
// - reading through the returned pointer sees the current payload bytes
|
|
9
|
+
// - WRITING through the returned pointer is visible through `buf` too,
|
|
10
|
+
// because it is the same underlying storage, not a copy
|
|
11
|
+
//
|
|
12
|
+
// Do NOT allocate a new `double[n]` and memcpy the payload into it — that
|
|
13
|
+
// is exactly the bug this task asks you to fix, and it breaks the
|
|
14
|
+
// zero-copy contract this function exists to provide (pybind11 / NumPy
|
|
15
|
+
// `frombuffer`-style zero-copy interop).
|
|
16
|
+
double* view_payload(unsigned char* buf, int header_size, int n);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#include <cstring>
|
|
2
|
+
#include "sol.hpp"
|
|
3
|
+
|
|
4
|
+
// BUG: allocates a fresh owned buffer and memcpy's the payload into it,
|
|
5
|
+
// instead of returning a view into buf's own memory. Reads happen to look
|
|
6
|
+
// right at first, but writes through the returned pointer never reach
|
|
7
|
+
// `buf` -- this is exactly "copies instead of views".
|
|
8
|
+
double* view_payload(unsigned char* buf, int header_size, int n) {
|
|
9
|
+
double* owned = new double[n];
|
|
10
|
+
std::memcpy(owned, buf + header_size, (size_t)n * sizeof(double));
|
|
11
|
+
return owned;
|
|
12
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
## Context
|
|
2
|
+
|
|
3
|
+
When interfacing C++ data structures with Python via libraries like
|
|
4
|
+
pybind11 or the buffer protocol, creating zero-copy views around existing
|
|
5
|
+
C++ buffers is essential for performance. A common but subtle bug: a
|
|
6
|
+
binding allocates a fresh buffer and copies the payload into it "to be
|
|
7
|
+
safe". Reads through the result look correct, but the binding has silently
|
|
8
|
+
become an *owning copy* instead of a *view* — writes through it never reach
|
|
9
|
+
the original buffer, and `np.shares_memory(original, result)` is `False`
|
|
10
|
+
when it should be `True`.
|
|
11
|
+
|
|
12
|
+
Given a single contiguous allocation laid out as a header of `header_size`
|
|
13
|
+
bytes followed immediately by a payload of `n` doubles, a correct zero-copy
|
|
14
|
+
binding returns a pointer that is *literally* `buf + header_size`
|
|
15
|
+
reinterpreted as `double*` — the same memory, not a duplicate.
|
|
16
|
+
|
|
17
|
+
## Task
|
|
18
|
+
|
|
19
|
+
Fix `view_payload` in `solve.cpp`:
|
|
20
|
+
|
|
21
|
+
```cpp
|
|
22
|
+
double* view_payload(unsigned char* buf, int header_size, int n);
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
It must return `reinterpret_cast<double*>(buf + header_size)` — a pointer
|
|
26
|
+
into `buf`'s own storage. Do not allocate a new buffer or copy any bytes.
|
|
27
|
+
|
|
28
|
+
The fixed driver in `main.cpp`:
|
|
29
|
+
1. builds a `buf` with a filler header followed by `n` deterministic
|
|
30
|
+
payload doubles,
|
|
31
|
+
2. calls `view_payload` and prints what it reads back,
|
|
32
|
+
3. **writes** through the returned pointer, then reads directly out of
|
|
33
|
+
`buf` at the same offset and prints that,
|
|
34
|
+
4. prints whether the returned pointer is pointer-equal to
|
|
35
|
+
`buf + header_size` (the zero-copy check, standing in for
|
|
36
|
+
`np.shares_memory`).
|
|
37
|
+
|
|
38
|
+
## Example
|
|
39
|
+
|
|
40
|
+
```cpp
|
|
41
|
+
double* view = view_payload(buf, header_size, n);
|
|
42
|
+
view[0] = 99.0;
|
|
43
|
+
// A correct view: *(double*)(buf + header_size) is now 99.0 too.
|
|
44
|
+
// A buggy copy: *(double*)(buf + header_size) is unchanged.
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## What the gate checks
|
|
48
|
+
|
|
49
|
+
The grader compiles `main.cpp` + your `solve.cpp` with real
|
|
50
|
+
`clang++ -O2 -std=c++20`, runs it, and compares stdout byte-for-byte against
|
|
51
|
+
the reference build (`exact_match == 1.0`). The starter allocates a fresh
|
|
52
|
+
`double[n]` and `memcpy`s the payload into it: the first printed line
|
|
53
|
+
(plain reads) happens to still match, but writing through the returned
|
|
54
|
+
pointer never reaches `buf`, so the "direct-after-write" line and the
|
|
55
|
+
pointer-equality line both fail.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#include <cstdio>
|
|
2
|
+
#include <thread>
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include "sol.hpp"
|
|
5
|
+
|
|
6
|
+
// FIXED driver. T threads each call increment() ITERS times on the SAME
|
|
7
|
+
// shared counter, with no synchronization between them beyond `increment`
|
|
8
|
+
// itself. A correct atomic read-modify-write can NEVER lose an update, so
|
|
9
|
+
// the final count is EXACTLY T * ITERS on every run, no matter how the OS
|
|
10
|
+
// schedules the threads. A load()+store() race loses updates under real
|
|
11
|
+
// concurrent execution -- at this thread count and iteration count, on real
|
|
12
|
+
// multi-core hardware, it essentially always comes out wrong.
|
|
13
|
+
int main() {
|
|
14
|
+
const int T = 8;
|
|
15
|
+
const long ITERS = 200000;
|
|
16
|
+
|
|
17
|
+
SharedCounter counter;
|
|
18
|
+
std::vector<std::thread> threads;
|
|
19
|
+
threads.reserve(T);
|
|
20
|
+
for (int t = 0; t < T; t++) {
|
|
21
|
+
threads.emplace_back([&counter]() {
|
|
22
|
+
for (long i = 0; i < ITERS; i++) increment(counter);
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
for (auto& th : threads) th.join();
|
|
26
|
+
|
|
27
|
+
long final_value = counter.value.load();
|
|
28
|
+
long expected = (long)T * ITERS;
|
|
29
|
+
printf("final=%ld expected=%ld ok=%d\n",
|
|
30
|
+
final_value, expected, (final_value == expected) ? 1 : 0);
|
|
31
|
+
return 0;
|
|
32
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#include "sol.hpp"
|
|
2
|
+
|
|
3
|
+
void increment(SharedCounter& counter) {
|
|
4
|
+
// A single atomic read-modify-write instruction: no other thread's
|
|
5
|
+
// fetch_add can interleave inside it, so no increment is ever lost.
|
|
6
|
+
// (The memory_order argument affects ordering relative to OTHER memory
|
|
7
|
+
// operations, not whether THIS increment itself is atomic -- relaxed is
|
|
8
|
+
// sufficient for a plain counter with no data being published by it.)
|
|
9
|
+
counter.value.fetch_add(1, std::memory_order_relaxed);
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#include <atomic>
|
|
3
|
+
|
|
4
|
+
// A counter that must be safe to increment from many threads concurrently,
|
|
5
|
+
// with no lost updates.
|
|
6
|
+
struct SharedCounter {
|
|
7
|
+
std::atomic<long> value{0};
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
// Increment `counter` by exactly 1, safely under concurrent callers.
|
|
11
|
+
//
|
|
12
|
+
// Must perform the increment as a SINGLE ATOMIC read-modify-write (e.g.
|
|
13
|
+
// counter.value.fetch_add(1, ...)). Separately load()-ing the current value,
|
|
14
|
+
// adding 1 in a local, and store()-ing it back is a DATA RACE even though
|
|
15
|
+
// `value`'s TYPE is std::atomic<long>: two threads can both load() the same
|
|
16
|
+
// old value, both compute old+1, and both store() the same result -- one of
|
|
17
|
+
// the two increments is silently lost. Wrapping a variable in std::atomic
|
|
18
|
+
// only makes each INDIVIDUAL load/store atomic; it does not make a
|
|
19
|
+
// load-then-store sequence atomic as a whole.
|
|
20
|
+
void increment(SharedCounter& counter);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#include "sol.hpp"
|
|
2
|
+
|
|
3
|
+
// BROKEN: this LOOKS safe because `value` is std::atomic<long>, but the
|
|
4
|
+
// increment is done as two separate atomic operations -- a load(), then
|
|
5
|
+
// (after a plain, non-atomic +1 in a local) a store() -- instead of one
|
|
6
|
+
// atomic read-modify-write. Two threads can both load() the same old value
|
|
7
|
+
// before either has stored, both compute old+1, and both store() the same
|
|
8
|
+
// result: one increment vanishes. Fix it with a single RMW op such as
|
|
9
|
+
// counter.value.fetch_add(1, ...).
|
|
10
|
+
void increment(SharedCounter& counter) {
|
|
11
|
+
long v = counter.value.load(std::memory_order_relaxed);
|
|
12
|
+
v = v + 1;
|
|
13
|
+
counter.value.store(v, std::memory_order_relaxed);
|
|
14
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
## Context
|
|
2
|
+
|
|
3
|
+
A **data race** happens when two threads access the same memory location
|
|
4
|
+
concurrently, at least one access is a write, and nothing establishes an
|
|
5
|
+
ordering between them. Wrapping a variable in `std::atomic<T>` does not, by
|
|
6
|
+
itself, make *every* sequence of operations on it race-free — it only
|
|
7
|
+
guarantees that each *individual* `load()` or `store()` is indivisible.
|
|
8
|
+
|
|
9
|
+
A very common mistake:
|
|
10
|
+
|
|
11
|
+
```cpp
|
|
12
|
+
long v = counter.value.load(); // step 1: read
|
|
13
|
+
v = v + 1; // step 2: compute, in a local (not shared)
|
|
14
|
+
counter.value.store(v); // step 3: write back
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Each of steps 1 and 3 is atomic on its own, but the *sequence* is not: two
|
|
18
|
+
threads can both execute step 1 and read the same old value before either
|
|
19
|
+
one reaches step 3. Both then compute `old + 1` and both store the same
|
|
20
|
+
result back — one of the two increments is silently lost. This is exactly a
|
|
21
|
+
classic check-then-act (TOCTOU) race, just dressed up with an atomic type.
|
|
22
|
+
|
|
23
|
+
The fix is to perform the whole increment as a single **read-modify-write**
|
|
24
|
+
instruction, which the hardware executes indivisibly — no other thread's
|
|
25
|
+
RMW can interleave in the middle of it:
|
|
26
|
+
|
|
27
|
+
```cpp
|
|
28
|
+
counter.value.fetch_add(1, std::memory_order_relaxed);
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Task
|
|
32
|
+
|
|
33
|
+
Fix `increment(SharedCounter& counter)` (declared in `sol.hpp`) so it
|
|
34
|
+
increments `counter.value` by exactly 1, safely, under real concurrent
|
|
35
|
+
callers — using a single atomic read-modify-write instead of a separate
|
|
36
|
+
load and store.
|
|
37
|
+
|
|
38
|
+
## Example
|
|
39
|
+
|
|
40
|
+
The driver spawns 8 threads that each call `increment()` 200000 times on
|
|
41
|
+
the *same* `SharedCounter`, with no synchronization between calls other than
|
|
42
|
+
`increment` itself, then joins all of them and reads the final value. A
|
|
43
|
+
correct RMW increment can never lose an update — the atomicity guarantee
|
|
44
|
+
does not depend on scheduling — so the final count is **exactly**
|
|
45
|
+
`8 * 200000 = 1600000` on every single run, regardless of how the OS
|
|
46
|
+
interleaves the threads.
|
|
47
|
+
|
|
48
|
+
## What the gate checks
|
|
49
|
+
|
|
50
|
+
The driver prints `final=<n> expected=<n> ok=<0|1>`. The grader compiles
|
|
51
|
+
`solve.cpp` with `clang++ -O2 -std=c++20`, runs it (spawning 8 real
|
|
52
|
+
`std::thread`s), and requires
|
|
53
|
+
|
|
54
|
+
$$
|
|
55
|
+
\mathrm{exact\_match} = 1 \iff \text{the printed final count equals } T \times \mathrm{ITERS}
|
|
56
|
+
$$
|
|
57
|
+
|
|
58
|
+
A load-then-store "increment" loses updates under real concurrent execution
|
|
59
|
+
at this scale — not occasionally, but on essentially every run, since 1.6
|
|
60
|
+
million increments across 8 real threads give the race an enormous number of
|
|
61
|
+
chances to interleave badly. The gate is on the actual printed count from
|
|
62
|
+
actually running the threads, not a simulated or predicted one.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#include <cstdio>
|
|
2
|
+
#include "sol.hpp"
|
|
3
|
+
|
|
4
|
+
// FIXED driver: five objects, one with a negative value (triggers the error
|
|
5
|
+
// path on the 4th object). Prints the return code and every object's final
|
|
6
|
+
// ob_refcnt.
|
|
7
|
+
|
|
8
|
+
int main() {
|
|
9
|
+
long values[5] = {10, 20, 30, -5, 40};
|
|
10
|
+
MyPyObject objs[5];
|
|
11
|
+
for (int i = 0; i < 5; ++i) {
|
|
12
|
+
objs[i].ob_refcnt = 1;
|
|
13
|
+
objs[i].ob_type = nullptr;
|
|
14
|
+
objs[i].value = values[i];
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
int rc = process_items(objs, 5);
|
|
18
|
+
|
|
19
|
+
printf("rc=%d\n", rc);
|
|
20
|
+
for (int i = 0; i < 5; ++i) {
|
|
21
|
+
printf("%ld ", objs[i].ob_refcnt);
|
|
22
|
+
}
|
|
23
|
+
printf("\n");
|
|
24
|
+
return 0;
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "cpp-fix-a-py-decref-leak",
|
|
3
|
+
"title": "Fix a Py_DECREF leak (real C++)",
|
|
4
|
+
"track": "02 Deep C++",
|
|
5
|
+
"tier": "I",
|
|
6
|
+
"module": "M2",
|
|
7
|
+
"difficulty": 4,
|
|
8
|
+
"genre": "debug",
|
|
9
|
+
"platform": "cross-platform",
|
|
10
|
+
"native": "cpp",
|
|
11
|
+
"gates": [{"metric": "exact_match", "op": "==", "threshold": 1.0}],
|
|
12
|
+
"info": []
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#include "sol.hpp"
|
|
2
|
+
|
|
3
|
+
int process_items(MyPyObject* objs, int n) {
|
|
4
|
+
for (int i = 0; i < n; ++i) {
|
|
5
|
+
MyPyObject* obj = &objs[i];
|
|
6
|
+
obj_incref(obj); // acquire a new/owned reference
|
|
7
|
+
|
|
8
|
+
if (obj->value < 0) {
|
|
9
|
+
obj_decref(obj); // release it before the early return
|
|
10
|
+
return -1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
obj_decref(obj); // success path: release, keep going
|
|
14
|
+
}
|
|
15
|
+
return 0;
|
|
16
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
// ============================================================================
|
|
4
|
+
// Fixed simplified PyObject-like record and its ref-counting ops (FIXED —
|
|
5
|
+
// do not modify these three definitions; mirrors Py_INCREF/Py_DECREF).
|
|
6
|
+
// ============================================================================
|
|
7
|
+
struct MyPyObject {
|
|
8
|
+
long ob_refcnt;
|
|
9
|
+
void* ob_type;
|
|
10
|
+
long value;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
inline void obj_incref(MyPyObject* obj) { ++obj->ob_refcnt; }
|
|
14
|
+
inline void obj_decref(MyPyObject* obj) { --obj->ob_refcnt; }
|
|
15
|
+
|
|
16
|
+
// ============================================================================
|
|
17
|
+
// LEARNER implements this in solve.cpp.
|
|
18
|
+
//
|
|
19
|
+
// Simulates a C-extension loop over `objs` (`n` of them), modeled on a
|
|
20
|
+
// pattern like `PyObject_GetAttrString` (returns a NEW/owned reference) plus
|
|
21
|
+
// application logic that can fail:
|
|
22
|
+
//
|
|
23
|
+
// for each object:
|
|
24
|
+
// obj_incref(obj) // acquire a new/owned reference
|
|
25
|
+
// if obj->value < 0:
|
|
26
|
+
// // error path — release the reference you just acquired, THEN
|
|
27
|
+
// // return -1 immediately. Do not touch any later object.
|
|
28
|
+
// ...
|
|
29
|
+
// // success path — release the reference, continue to the next object.
|
|
30
|
+
//
|
|
31
|
+
// Return -1 the first time an object with value < 0 is seen, otherwise 0
|
|
32
|
+
// after processing every object. Every object's ob_refcnt must end up
|
|
33
|
+
// EXACTLY where it started (no net change) — the reference acquired on the
|
|
34
|
+
// error path must not leak.
|
|
35
|
+
// ============================================================================
|
|
36
|
+
int process_items(MyPyObject* objs, int n);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#include "sol.hpp"
|
|
2
|
+
|
|
3
|
+
// BROKEN: acquires a new reference every iteration but forgets to release
|
|
4
|
+
// it on the error path — a classic Py_DECREF leak on early return.
|
|
5
|
+
int process_items(MyPyObject* objs, int n) {
|
|
6
|
+
for (int i = 0; i < n; ++i) {
|
|
7
|
+
MyPyObject* obj = &objs[i];
|
|
8
|
+
obj_incref(obj); // acquire a new/owned reference
|
|
9
|
+
|
|
10
|
+
if (obj->value < 0) {
|
|
11
|
+
// BUG: missing obj_decref(obj) before returning — the acquired
|
|
12
|
+
// reference leaks.
|
|
13
|
+
return -1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
obj_decref(obj); // success path: release, keep going
|
|
17
|
+
}
|
|
18
|
+
return 0;
|
|
19
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
## Context
|
|
2
|
+
|
|
3
|
+
When writing Python C extensions, managing `PyObject` reference counts is
|
|
4
|
+
critical. C-API calls fall into two categories: **borrowed** references
|
|
5
|
+
(e.g. `PyTuple_GetItem` — you don't own it, don't decref it) and **new**
|
|
6
|
+
references (e.g. `PyObject_GetAttrString` — you own it and **must**
|
|
7
|
+
`Py_DECREF` it when done). A classic bug: acquiring a new reference, then
|
|
8
|
+
returning early on an error path without releasing it first — a leak.
|
|
9
|
+
|
|
10
|
+
The fixed contract (`sol.hpp`) models this with a simplified record and its
|
|
11
|
+
ref-counting ops:
|
|
12
|
+
|
|
13
|
+
```cpp
|
|
14
|
+
struct MyPyObject { long ob_refcnt; void* ob_type; long value; };
|
|
15
|
+
void obj_incref(MyPyObject* obj); // like Py_INCREF
|
|
16
|
+
void obj_decref(MyPyObject* obj); // like Py_DECREF
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Task
|
|
20
|
+
|
|
21
|
+
Fix `process_items(MyPyObject* objs, int n)` in `solve.cpp`. For each
|
|
22
|
+
object, in order: acquire a new/owned reference (`obj_incref`, as if calling
|
|
23
|
+
`PyObject_GetAttrString`), then check `value`:
|
|
24
|
+
|
|
25
|
+
- If `value < 0` — an error — release the reference you just acquired
|
|
26
|
+
(`obj_decref`) **before** returning `-1`. Do not touch any later object.
|
|
27
|
+
- Otherwise release the reference (`obj_decref`) and continue to the next
|
|
28
|
+
object.
|
|
29
|
+
|
|
30
|
+
Return `0` after every object has been processed without error.
|
|
31
|
+
|
|
32
|
+
The invariant: after the call, every object's `ob_refcnt` must be back to
|
|
33
|
+
exactly what it was before the call — no net change, on either the success
|
|
34
|
+
path or the error path.
|
|
35
|
+
|
|
36
|
+
## Example
|
|
37
|
+
|
|
38
|
+
The fixed driver builds 5 objects (`ob_refcnt = 1` each) with values
|
|
39
|
+
`10, 20, 30, -5, 40`. Processing stops at the 4th object (`value = -5`). The
|
|
40
|
+
correct run prints:
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
rc=-1
|
|
44
|
+
1 1 1 1 1
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
The shipped starter acquires the reference on that 4th object but never
|
|
48
|
+
releases it before returning, so it still reports `rc=-1` but leaves that
|
|
49
|
+
object's `ob_refcnt` at `2`:
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
rc=-1
|
|
53
|
+
1 1 1 2 1
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## What the gate checks
|
|
57
|
+
|
|
58
|
+
The grader compiles `main.cpp` + `solve.cpp` with `clang++ -O2 -std=c++20`,
|
|
59
|
+
runs it, and requires an **exact match** of the printed return code and all
|
|
60
|
+
five final `ob_refcnt` values against the same driver linked with `ref.cpp`.
|
|
61
|
+
Any missing `obj_decref` on the error path — or an extra one that
|
|
62
|
+
under-releases a later object — changes a refcount and fails the gate.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// FIXED driver. Trivial on purpose: the `process` template overloads and
|
|
2
|
+
// the classification test that exercises them both have to live in
|
|
3
|
+
// whichever .cpp defines them (function templates need their definition
|
|
4
|
+
// visible in every translation unit that instantiates them), so all the
|
|
5
|
+
// real work happens in ref.cpp / solve.cpp's run_overload_tests().
|
|
6
|
+
#include "sol.hpp"
|
|
7
|
+
|
|
8
|
+
int main() {
|
|
9
|
+
run_overload_tests();
|
|
10
|
+
return 0;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "cpp-fix-an-ambiguous-overload-broken-sfinae",
|
|
3
|
+
"title": "Fix an Ambiguous Overload (Broken SFINAE)",
|
|
4
|
+
"track": "02 Deep C++",
|
|
5
|
+
"tier": "I",
|
|
6
|
+
"module": "M2",
|
|
7
|
+
"difficulty": 4,
|
|
8
|
+
"genre": "debug",
|
|
9
|
+
"platform": "cross-platform",
|
|
10
|
+
"native": "cpp",
|
|
11
|
+
"gates": [
|
|
12
|
+
{"metric": "exact_match", "op": "==", "threshold": 1.0}
|
|
13
|
+
],
|
|
14
|
+
"info": []
|
|
15
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
#include "sol.hpp"
|
|
2
|
+
|
|
3
|
+
#include <cstdio>
|
|
4
|
+
#include <type_traits>
|
|
5
|
+
#include <utility>
|
|
6
|
+
|
|
7
|
+
static int g_tag = 0;
|
|
8
|
+
|
|
9
|
+
// Reference: mutually exclusive constraints.
|
|
10
|
+
// Overload 1 (tag 1): integral types with sizeof(T) > 4
|
|
11
|
+
// Overload 2 (tag 2): ANY type with sizeof(T) <= 4
|
|
12
|
+
// Overload 3 (tag 3): floating-point types with sizeof(T) > 4
|
|
13
|
+
// Every scalar type satisfies at most one of these, so overload resolution
|
|
14
|
+
// is never ambiguous.
|
|
15
|
+
template <typename T, std::enable_if_t<std::is_integral_v<T> && (sizeof(T) > 4), int> = 0>
|
|
16
|
+
void process(T) { g_tag = 1; }
|
|
17
|
+
|
|
18
|
+
template <typename T, std::enable_if_t<(sizeof(T) <= 4), int> = 0>
|
|
19
|
+
void process(T) { g_tag = 2; }
|
|
20
|
+
|
|
21
|
+
template <typename T, std::enable_if_t<std::is_floating_point_v<T> && (sizeof(T) > 4), int> = 0>
|
|
22
|
+
void process(T) { g_tag = 3; }
|
|
23
|
+
|
|
24
|
+
// Harness-side detection idiom: does `process(T{})` compile at all for this
|
|
25
|
+
// T? A genuinely ambiguous or genuinely no-viable-candidate call is invalid
|
|
26
|
+
// in the immediate context of this decltype, so this safely evaluates to
|
|
27
|
+
// false in either case instead of taking the whole program down with it.
|
|
28
|
+
template <typename T, typename = void>
|
|
29
|
+
struct can_process : std::false_type {};
|
|
30
|
+
template <typename T>
|
|
31
|
+
struct can_process<T, std::void_t<decltype(process(std::declval<T>()))>> : std::true_type {};
|
|
32
|
+
|
|
33
|
+
template <typename T>
|
|
34
|
+
static void test_type(const char* name) {
|
|
35
|
+
if constexpr (can_process<T>::value) {
|
|
36
|
+
g_tag = 0;
|
|
37
|
+
process(T{});
|
|
38
|
+
printf("%s %d\n", name, g_tag);
|
|
39
|
+
} else {
|
|
40
|
+
printf("%s NoMatch\n", name);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
void run_overload_tests() {
|
|
45
|
+
test_type<bool>("bool");
|
|
46
|
+
test_type<char>("char");
|
|
47
|
+
test_type<short>("short");
|
|
48
|
+
test_type<int>("int");
|
|
49
|
+
test_type<long>("long");
|
|
50
|
+
test_type<long long>("long long");
|
|
51
|
+
test_type<float>("float");
|
|
52
|
+
test_type<double>("double");
|
|
53
|
+
test_type<int*>("pointer");
|
|
54
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
// Runs the SFINAE-overload classification test for 9 scalar types (bool,
|
|
3
|
+
// char, short, int, long, long long, float, double, and a pointer) and
|
|
4
|
+
// prints one line per type: `<name> <tag>` where `<tag>` is 1, 2, or 3 for
|
|
5
|
+
// whichever `process` overload uniquely matched, or `<name> NoMatch` if
|
|
6
|
+
// none did.
|
|
7
|
+
//
|
|
8
|
+
// Implement this entirely in your .cpp: it needs your `process` template
|
|
9
|
+
// overloads' definitions in the same translation unit that instantiates
|
|
10
|
+
// them, which is true of function templates in general (unlike ordinary
|
|
11
|
+
// functions, you can't declare a template here and define it elsewhere).
|
|
12
|
+
void run_overload_tests();
|