This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rm torch/_C/__init__.pyi | |
| rm torch/_C/_VariableFunctions.pyi | |
| rm torch/_C/_nn.pyi | |
| rm torch/_VF.pyi | |
| rm torch/return_types.pyi | |
| rm torch/nn/functional.pyi | |
| rm torch/utils/data/datapipes/datapipe.pyi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >>> Lint for torch/sparse/semi_structured.py: | |
| Advice (PYREFLY) no-matching-overload | |
| No matching overload found for function `torch._C.TensorBase.__init__` | |
| Possible overloads: | |
| (*args: Any, *, device: device | int | str | None = None) -> None | |
| [closest match] | |
| (storage: Storage) -> None | |
| (other: Tensor) -> None | |
| (size: Size | list[int] | tuple[int, ...], *, device: device | int | str |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WARN `_register_pytree_node` is deprecated [deprecated] | |
| --> torch/_export/utils.py:39:5 | |
| | | |
| 39 | _register_pytree_node, | |
| | --------------------- | |
| | | |
| ERROR Argument `str | Unknown` is not assignable to parameter `padding_mode` with type `Literal['circular', 'reflect', 'replicate', 'zeros']` in function `torch.ao.nn.qat.modules.conv.Conv1d.__init__` [bad-argument-type] | |
| --> torch/ao/nn/intrinsic/qat/modules/conv_fused.py:623:26 | |
| | | |
| 623 | padding_mode=padding_mode, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ERROR `Iterable[Mapping[str, Unknown] | Node | OpOverload[Ellipsis, Any] | Sequence[Unknown] | SymBool | SymFloat | SymInt | Tensor | bool | complex | device | dtype | float | int | layout | memory_format | range | slice[Any, Any, Any] | str | tuple[Unknown, ...] | None] | list[Unknown]` is not assignable to `list[Unknown]` (caused by inconsistent types when breaking cycles) [bad-assignment] | |
| --> torch/_export/converter.py:1100:17 | |
| | | |
| 1100 | / for i, outp in enumerate(node.outputs()): | |
| 1101 | | output_name = outp.debugName() | |
| 1102 | | self.name_to_node[output_name] = self.fx_graph.call_function( | |
| 1103 | | operator.getitem, | |
| 1104 | | ( | |
| 1105 | | loop_node, | |
| | |_______________________________________^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ERROR Argument `((ParamSpec(_InputT)) -> _RetT) | None` is not assignable to parameter `fn` with type `(...) -> Any` in function `torch._dynamo.eval_frame._NullDecorator.__call__` [bad-argument-type] | |
| --> torch/__init__.py:2656:19 | |
| | | |
| 2656 | )(model)(*args, **kwargs) | |
| | ^^^^^ | |
| | | |
| ERROR Class member `AOTAutogradCachePickler.dispatch_table` overrides parent class `FxGraphCachePickler` in an inconsistent manner [bad-override] | |
| --> torch/_functorch/_aot_autograd/autograd_cache.py:387:14 | |
| | | |
| 387 | self.dispatch_table: dict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ERROR Could not find name `RedOpType` [unknown-name] | |
| --> torch/_C/_distributed_c10d.pyi:115:28 | |
| | | |
| 115 | def __init__(self, op: RedOpType) -> None: ... | |
| | ^^^^^^^^^ | |
| | | |
| ERROR Could not find name `RedOpType` [unknown-name] | |
| --> torch/_C/_distributed_c10d.pyi:117:10 | |
| | | |
| 117 | SUM: RedOpType = ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ERROR Object of class `TestBundledInputs` has no attribute `assertLess` [missing-attribute] | |
| --> test/test_bundled_inputs.py:61:9 | |
| | | |
| 61 | self.assertLess(augmented_size, original_size + (1 << 12)) | |
| | ^^^^^^^^^^^^^^^ | |
| | | |
| ERROR Object of class `TestBundledInputs` has no attribute `assertTrue` [missing-attribute] | |
| --> test/test_bundled_inputs.py:67:9 | |
| | | |
| 67 | self.assertTrue(loaded(*inflated[0]) is inflated[0][0]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from Bio.Seq import Seq | |
| from Bio import Entrez | |
| from Bio import pairwise2 | |
| from Bio.Align import substitution_matrices | |
| from Bio.pairwise2 import format_alignment | |
| Entrez.email = "<hidden @ mail>" | |
| blosum62 = substitution_matrices.load("BLOSUM62") | |
| def get_protein_sequence(id: str) -> str: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h1> Copy and paste your html code here </h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # tonight we went over how to solve fizzbuzz | |
| # see if you can try to improve our solution. | |
| numbers = (1..100) # [1, 2, 3, 4, 5, 6 .. 100] | |
| numbers.each do |number| | |
| if number % 5 == 0 && number % 3 == 0 | |
| puts "FizzBuzz" | |
| elsif number % 5 == 0 | |
| puts "Buzz" | |
| elsif number % 3 == 0 |
NewerOlder