Skip to content

Commit

Permalink
Deprecate xformers/factory (#850)
Browse files Browse the repository at this point in the history
* Add deprecation warning to factory

* Remove tests for deprecated functions

* Remove bad copy-paste

* Remove benchmarks

* Bugfix

* More docs removed
  • Loading branch information
fmassa authored Sep 6, 2023
1 parent 0e520d2 commit 4e096c4
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 2,131 deletions.
18 changes: 0 additions & 18 deletions .circleci/continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,22 +142,6 @@ run_unittests: &run_unittests
source $BASH_ENV
$CONDA_PYTHON -m pytest --junitxml=test-results/junit.xml --verbose --maxfail=20 tests
run_benchmarks: &run_benchmarks
- run:
name: Run Benchmarks
when: always
command: |
source $BASH_ENV
$CONDA_PYTHON xformers/benchmarks/benchmark_encoder.py --activations gelu --plot -emb 128 -bs 16 -heads 4
run_pytorch_benchmark: &run_pytorch_benchmark
- run:
name: Run Pytorch benchmark
when: always
command: |
source $BASH_ENV
$CONDA_PYTHON xformers/benchmarks/benchmark_pytorch_transformer.py
run_doc_build: &run_doc_build
- run:
name: Testing doc build
Expand Down Expand Up @@ -242,8 +226,6 @@ commands:

- <<: *install_repo
- <<: *run_coverage
- <<: *run_benchmarks
- <<: *run_pytorch_benchmark

- store_test_results:
path: test-results
Expand Down
7 changes: 0 additions & 7 deletions docs/source/factory/block.rst

This file was deleted.

10 changes: 0 additions & 10 deletions docs/source/factory/index.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/factory/model.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ to create some state of the art models.
|
|
.. toctree::
:maxdepth: 2
:caption: Build models and blocks programatically

factory/index

|
|
.. toctree::
:maxdepth: 2
:caption: Tutorials and examples
Expand Down
59 changes: 0 additions & 59 deletions docs/source/tutorials/hierarchical.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/source/tutorials/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ Tutorials
blocksparse
extend_attentions
use_attention
pytorch_encoder
reversible
triton
hierarchical
Loading

0 comments on commit 4e096c4

Please sign in to comment.