Skip to content

Commit

Permalink
Fix import for newer PyTorch
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Mar 3, 2024
1 parent 7464326 commit 4293f2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,15 @@ line-length = 100
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

# Assume Python 3.10.
target-version = "py310"
target-version = "py311"
fix = false
# Group violations by containing file.
format = "github"
ignore-init-module-imports = true

[format]
docstring-code-format = true

[mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ channels:
- conda-forge
- defaults
dependencies:
- cudatoolkit=12.1
- pytorch-cuda=12.1
- numcodecs
- pandas
- pip
Expand Down

0 comments on commit 4293f2d

Please sign in to comment.