-
Per https://jestjs.io/docs/api#1-testeachtablename-fn-timeout
---
```ts
import { expect, test } from "bun:test";
test.each([
{ a: 1, b: 1, expected: 2 },
{ a: 1, b: 2, expected: 3 …
-
### 🐛 Describe the bug
I tried to implement the `causal_lower_right` masking in flex attention. This requires the masking function to know the difference in lengths of keys and queries:
```python
…
-
Code link: https://scastie.scala-lang.org/B7FzCaUGSVyfH3T7oueNuw
```scala
import io.circe.syntax.*
import io.circe.derivation.{Configuration, ConfiguredCodec}
object Test {
given Configurat…
-
A suggestion: why not replacing `flake8` and others pre-commit hooks (like `isort`, `pyupgrade`) with Ruff, which can do almost everything? Including a slightly better formatting than Black.
Resour…
-
A minimal example:
The wrap function returns nil if the error passed to it is nil.
The test function will only call wrap and pass err if err is not nil.
```go
func wrap(msg string, err error)…
-
I encounter a limit Iam curious why it is there.
Assuming the following code:
```python
from dataclasses import dataclass, field
from xsdata.formats.dataclass.parsers import DictDecoder
test_di…
-
I know PHP 8.4 is not fully supported/tested yet, so I changed PHP version from 8.4 to 8.3 in my Dockerfile, and there's no warnings anymore. Anyway, this issue is just to raise some concerns for the …
-
### Summary
The following code crashes when trying to convert the output of `transpose` to a `torch` tensor:
```python
import pytest
import ttnn
import torch
def test_untilize_hc_transpo…
-
### What version of Bun is running?
1.1.34-canary.40+693320879
### What platform is your computer?
Linux 5.15.0-43-generic x86_64 x86_64
### What steps can reproduce the bug?
```
bun install @swc…
-
### Bug Report
| Q | A
|-------------------------------------------- | ------
| Version | 4.0.0
#### Summary
…