Skip to content

mamba-ssm v2.2.6.post3 + pytorch 2.8 rebuild#6

Merged
weiji14 merged 6 commits intoconda-forge:mainfrom
regro-cf-autotick-bot:2.2.6.post3_hdad657
Nov 3, 2025
Merged

mamba-ssm v2.2.6.post3 + pytorch 2.8 rebuild#6
weiji14 merged 6 commits intoconda-forge:mainfrom
regro-cf-autotick-bot:2.2.6.post3_hdad657

Conversation

@regro-cf-autotick-bot
Copy link
Contributor

@regro-cf-autotick-bot regro-cf-autotick-bot commented Oct 10, 2025

It is very likely that the current package version for this feedstock is out of date.

Checklist before merging this PR:

  • Dependencies have been updated if changed: see upstream
  • Tests have passed
  • Updated license if changed and license_file is packaged

Information about this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version.
  3. The bot will stop issuing PRs if more than 3 version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.
  4. If you want these PRs to be merged automatically, make an issue with @conda-forge-admin,please add bot automerge in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.
  5. If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase @conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

Closes: #4
Closes: #5
Closes: #7

Pending Dependency Version Updates

Here is a list of all the pending dependency version updates for this repo. Please double check all dependencies before merging.

Name Upstream Version Current Version
pytorch-cpu 1759996180 Anaconda-Server Badge

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/18397144512 - please use this URL for debugging.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/recipe.yaml) and found it was in an excellent condition.

@weiji14
Copy link
Member

weiji14 commented Oct 12, 2025

As per #4 (comment), still need to wait for upstream rebuild at conda-forge/causal-conv1d-feedstock#18.

@jeongseok-meta
Copy link

As per #4 (comment), still need to wait for upstream rebuild at conda-forge/causal-conv1d-feedstock#18.

Done!

@weiji14 weiji14 changed the title mamba-ssm v2.2.6.post3 mamba-ssm v2.2.6.post3 + pytorch 2.8 rebuild Nov 2, 2025
@weiji14
Copy link
Member

weiji14 commented Nov 3, 2025

Thanks @jeongseok-meta!

Now getting this error on the aarch64 builds, e.g. at https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=1382507&view=logs&j=010ccbe2-65a2-511e-4dd5-d2897d667254&t=3d41061b-a8e0-55f5-d2d5-8db24526eb86&l=1241:

Details
  writing manifest file 'mamba_ssm.egg-info/SOURCES.txt'
  running build_ext
  W1102 22:47:43.313000 849 $BUILD_PREFIX/lib/python3.13/site-packages/torch/utils/cpp_extension.py:517] There are no $BUILD_PREFIX/bin/aarch64-conda-linux-gnu-c++ version bounds defined for CUDA version 12.9
  building 'selective_scan_cuda' extension
  creating $SRC_DIR/build/temp.linux-aarch64-cpython-313/csrc/selective_scan
  [1/10] $BUILD_PREFIX/bin/aarch64-conda-linux-gnu-c++ -MMD -MF $SRC_DIR/build/temp.linux-aarch64-cpython-313/csrc/selective_scan/selective_scan.o.d -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/mamba-ssm-2.2.6.post3 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -I$PREFIX/targets/sbsa-linux/include -I$BUILD_PREFIX/targets/sbsa-linux/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem $PREFIX/include -I$PREFIX/targets/sbsa-linux/include -I$BUILD_PREFIX/targets/sbsa-linux/include -fPIC -I$SRC_DIR/csrc/selective_scan -I$PREFIX/include -I$BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include -I$PREFIX/include/torch/csrc/api/include -I$BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include -I$BUILD_PREFIX/include -I$PREFIX/include/python3.13 -c -c $SRC_DIR/csrc/selective_scan/selective_scan.cpp -o $SRC_DIR/build/temp.linux-aarch64-cpython-313/csrc/selective_scan/selective_scan.o -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1019"' -DTORCH_EXTENSION_NAME=selective_scan_cuda
  FAILED: [code=1] $SRC_DIR/build/temp.linux-aarch64-cpython-313/csrc/selective_scan/selective_scan.o
  $BUILD_PREFIX/bin/aarch64-conda-linux-gnu-c++ -MMD -MF $SRC_DIR/build/temp.linux-aarch64-cpython-313/csrc/selective_scan/selective_scan.o.d -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/mamba-ssm-2.2.6.post3 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -I$PREFIX/targets/sbsa-linux/include -I$BUILD_PREFIX/targets/sbsa-linux/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem $PREFIX/include -I$PREFIX/targets/sbsa-linux/include -I$BUILD_PREFIX/targets/sbsa-linux/include -fPIC -I$SRC_DIR/csrc/selective_scan -I$PREFIX/include -I$BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include -I$PREFIX/include/torch/csrc/api/include -I$BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include -I$BUILD_PREFIX/include -I$PREFIX/include/python3.13 -c -c $SRC_DIR/csrc/selective_scan/selective_scan.cpp -o $SRC_DIR/build/temp.linux-aarch64-cpython-313/csrc/selective_scan/selective_scan.o -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1019"' -DTORCH_EXTENSION_NAME=selective_scan_cuda
  In file included from $PREFIX/include/torch/csrc/api/include/torch/nn/module.h:6,
                   from $PREFIX/include/torch/csrc/api/include/torch/python.h:4,
                   from $SRC_DIR/csrc/selective_scan/selective_scan.cpp:7:
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:13:7: error: redefinition of 'class torch::OrderedDict<Key, Value>'
     13 | class OrderedDict {
        |       ^~~~~~~~~~~
  In file included from $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/jit/api/module.h:12,
                   from $PREFIX/include/torch/csrc/api/include/torch/serialize/input-archive.h:5,
                   from $PREFIX/include/torch/csrc/api/include/torch/serialize/archive.h:3,
                   from $PREFIX/include/torch/csrc/api/include/torch/nn/pimpl.h:5,
                   from $PREFIX/include/torch/csrc/api/include/torch/nn/module.h:5:
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:13:7: note: previous definition of 'class torch::OrderedDict<Key, Value>'
     13 | class OrderedDict {
        |       ^~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:194:32: error: redefinition of 'class torch::OrderedDict<Key, Value>::Item'
    194 | class OrderedDict<Key, Value>::Item {
        |                                ^~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:194:32: note: previous definition of 'class torch::OrderedDict<Key, Value>::Item'
    194 | class OrderedDict<Key, Value>::Item {
        |                                ^~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:248:1: error: redefinition of 'torch::OrderedDict<Key, Value>::OrderedDict(std::string)'
    248 | OrderedDict<Key, Value>::OrderedDict(std::string key_description)
        | ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:248:1: note: 'torch::OrderedDict<Key, Value>::OrderedDict(std::string)' previously declared here
    248 | OrderedDict<Key, Value>::OrderedDict(std::string key_description)
        | ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:252:1: error: redefinition of 'torch::OrderedDict<Key, Value>::OrderedDict(const torch::OrderedDict<Key, Value>&)'
    252 | OrderedDict<Key, Value>::OrderedDict(const OrderedDict& other)
        | ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:252:1: note: 'torch::OrderedDict<Key, Value>::OrderedDict(const torch::OrderedDict<Key, Value>&)' previously declared here
    252 | OrderedDict<Key, Value>::OrderedDict(const OrderedDict& other)
        | ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:262:26: error: redefinition of 'torch::OrderedDict<Key, Value>& torch::OrderedDict<Key, Value>::operator=(const torch::OrderedDict<Key, Value>&)'
    262 | OrderedDict<Key, Value>& OrderedDict<Key, Value>::operator=(
        |                          ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:262:26: note: 'torch::OrderedDict<Key, Value>& torch::OrderedDict<Key, Value>::operator=(const torch::OrderedDict<Key, Value>&)' previously declared here
    262 | OrderedDict<Key, Value>& OrderedDict<Key, Value>::operator=(
        |                          ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:274:1: error: redefinition of 'torch::OrderedDict<Key, Value>::OrderedDict(std::initializer_list<Item>)'
    274 | OrderedDict<Key, Value>::OrderedDict(
        | ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:274:1: note: 'torch::OrderedDict<Key, Value>::OrderedDict(std::initializer_list<Item>)' previously declared here
    274 | OrderedDict<Key, Value>::OrderedDict(
        | ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:286:44: error: redefinition of 'torch::OrderedDict<Key, Value>::Iterator torch::OrderedDict<Key, Value>::begin()'
    286 | typename OrderedDict<Key, Value>::Iterator OrderedDict<Key, Value>::begin() {
        |                                            ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:286:44: note: 'torch::OrderedDict<Key, Value>::Iterator torch::OrderedDict<Key, Value>::begin()' previously declared here
    286 | typename OrderedDict<Key, Value>::Iterator OrderedDict<Key, Value>::begin() {
        |                                            ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:291:49: error: redefinition of 'torch::OrderedDict<Key, Value>::ConstIterator torch::OrderedDict<Key, Value>::begin() const'
    291 | typename OrderedDict<Key, Value>::ConstIterator OrderedDict<Key, Value>::begin()
        |                                                 ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:291:49: note: 'torch::OrderedDict<Key, Value>::ConstIterator torch::OrderedDict<Key, Value>::begin() const' previously declared here
    291 | typename OrderedDict<Key, Value>::ConstIterator OrderedDict<Key, Value>::begin()
        |                                                 ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:297:44: error: redefinition of 'torch::OrderedDict<Key, Value>::Iterator torch::OrderedDict<Key, Value>::end()'
    297 | typename OrderedDict<Key, Value>::Iterator OrderedDict<Key, Value>::end() {
        |                                            ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:297:44: note: 'torch::OrderedDict<Key, Value>::Iterator torch::OrderedDict<Key, Value>::end()' previously declared here
    297 | typename OrderedDict<Key, Value>::Iterator OrderedDict<Key, Value>::end() {
        |                                            ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:302:49: error: redefinition of 'torch::OrderedDict<Key, Value>::ConstIterator torch::OrderedDict<Key, Value>::end() const'
    302 | typename OrderedDict<Key, Value>::ConstIterator OrderedDict<Key, Value>::end()
        |                                                 ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:302:49: note: 'torch::OrderedDict<Key, Value>::ConstIterator torch::OrderedDict<Key, Value>::end() const' previously declared here
    302 | typename OrderedDict<Key, Value>::ConstIterator OrderedDict<Key, Value>::end()
        |                                                 ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:308:41: error: redefinition of 'torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::front()'
    308 | typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::front() {
        |                                         ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:308:41: note: 'torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::front()' previously declared here
    308 | typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::front() {
        |                                         ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:314:47: error: redefinition of 'const torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::front() const'
    314 | const typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::front()
        |                                               ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:314:47: note: 'const torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::front() const' previously declared here
    314 | const typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::front()
        |                                               ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:321:41: error: redefinition of 'torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::back()'
    321 | typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::back() {
        |                                         ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:321:41: note: 'torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::back()' previously declared here
    321 | typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::back() {
        |                                         ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:327:47: error: redefinition of 'const torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::back() const'
    327 | const typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::back()
        |                                               ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:327:47: note: 'const torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::back() const' previously declared here
    327 | const typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::back()
        |                                               ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:334:41: error: redefinition of 'torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::operator[](size_t)'
    334 | typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::operator[](
        |                                         ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:334:41: note: 'torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::operator[](size_t)' previously declared here
    334 | typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::operator[](
        |                                         ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:341:47: error: redefinition of 'const torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::operator[](size_t) const'
    341 | const typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::
        |                                               ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:341:47: note: 'const torch::OrderedDict<Key, Value>::Item& torch::OrderedDict<Key, Value>::operator[](size_t) const' previously declared here
    341 | const typename OrderedDict<Key, Value>::Item& OrderedDict<Key, Value>::
        |                                               ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:348:8: error: redefinition of 'Value& torch::OrderedDict<Key, Value>::operator[](const Key&)'
    348 | Value& OrderedDict<Key, Value>::operator[](const Key& key) {
        |        ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:348:8: note: 'Value& torch::OrderedDict<Key, Value>::operator[](const Key&)' previously declared here
    348 | Value& OrderedDict<Key, Value>::operator[](const Key& key) {
        |        ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:356:14: error: redefinition of 'const Value& torch::OrderedDict<Key, Value>::operator[](const Key&) const'
    356 | const Value& OrderedDict<Key, Value>::operator[](const Key& key) const {
        |              ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:356:14: note: 'const Value& torch::OrderedDict<Key, Value>::operator[](const Key&) const' previously declared here
    356 | const Value& OrderedDict<Key, Value>::operator[](const Key& key) const {
        |              ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:365:8: error: redefinition of 'Value& torch::OrderedDict<Key, Value>::insert(K&&, V&&)'
    365 | Value& OrderedDict<Key, Value>::insert(K&& key, V&& value) {
        |        ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:365:8: note: 'Value& torch::OrderedDict<Key, Value>::insert(K&&, V&&)' previously declared here
    365 | Value& OrderedDict<Key, Value>::insert(K&& key, V&& value) {
        |        ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:375:8: error: redefinition of 'Value& torch::OrderedDict<Key, Value>::insert(Key, Value&&)'
    375 | Value& OrderedDict<Key, Value>::insert(Key key, Value&& value) {
        |        ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:375:8: note: 'Value& torch::OrderedDict<Key, Value>::insert(Key, Value&&)' previously declared here
    375 | Value& OrderedDict<Key, Value>::insert(Key key, Value&& value) {
        |        ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:380:6: error: redefinition of 'void torch::OrderedDict<Key, Value>::update(torch::OrderedDict<Key, Value>&&)'
    380 | void OrderedDict<Key, Value>::update(OrderedDict&& other) {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:380:6: note: 'void torch::OrderedDict<Key, Value>::update(torch::OrderedDict<Key, Value>&&)' previously declared here
    380 | void OrderedDict<Key, Value>::update(OrderedDict&& other) {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:389:6: error: redefinition of 'void torch::OrderedDict<Key, Value>::update(const torch::OrderedDict<Key, Value>&)'
    389 | void OrderedDict<Key, Value>::update(const OrderedDict& other) {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:389:6: note: 'void torch::OrderedDict<Key, Value>::update(const torch::OrderedDict<Key, Value>&)' previously declared here
    389 | void OrderedDict<Key, Value>::update(const OrderedDict& other) {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:398:8: error: redefinition of 'Value* torch::OrderedDict<Key, Value>::find(const Key&)'
    398 | Value* OrderedDict<Key, Value>::find(const Key& key) noexcept {
        |        ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:398:8: note: 'Value* torch::OrderedDict<Key, Value>::find(const Key&)' previously declared here
    398 | Value* OrderedDict<Key, Value>::find(const Key& key) noexcept {
        |        ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:407:14: error: redefinition of 'const Value* torch::OrderedDict<Key, Value>::find(const Key&) const'
    407 | const Value* OrderedDict<Key, Value>::find(const Key& key) const noexcept {
        |              ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:407:14: note: 'const Value* torch::OrderedDict<Key, Value>::find(const Key&) const' previously declared here
    407 | const Value* OrderedDict<Key, Value>::find(const Key& key) const noexcept {
        |              ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:416:6: error: redefinition of 'void torch::OrderedDict<Key, Value>::erase(const Key&)'
    416 | void OrderedDict<Key, Value>::erase(const Key& key) {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:416:6: note: 'void torch::OrderedDict<Key, Value>::erase(const Key&)' previously declared here
    416 | void OrderedDict<Key, Value>::erase(const Key& key) {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:430:6: error: redefinition of 'bool torch::OrderedDict<Key, Value>::contains(const Key&) const'
    430 | bool OrderedDict<Key, Value>::contains(const Key& key) const noexcept {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:430:6: note: 'bool torch::OrderedDict<Key, Value>::contains(const Key&) const' previously declared here
    430 | bool OrderedDict<Key, Value>::contains(const Key& key) const noexcept {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:435:6: error: redefinition of 'void torch::OrderedDict<Key, Value>::clear()'
    435 | void OrderedDict<Key, Value>::clear() {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:435:6: note: 'void torch::OrderedDict<Key, Value>::clear()' previously declared here
    435 | void OrderedDict<Key, Value>::clear() {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:441:8: error: redefinition of 'size_t torch::OrderedDict<Key, Value>::size() const'
    441 | size_t OrderedDict<Key, Value>::size() const noexcept {
        |        ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:441:8: note: 'size_t torch::OrderedDict<Key, Value>::size() const' previously declared here
    441 | size_t OrderedDict<Key, Value>::size() const noexcept {
        |        ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:446:6: error: redefinition of 'bool torch::OrderedDict<Key, Value>::is_empty() const'
    446 | bool OrderedDict<Key, Value>::is_empty() const noexcept {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:446:6: note: 'bool torch::OrderedDict<Key, Value>::is_empty() const' previously declared here
    446 | bool OrderedDict<Key, Value>::is_empty() const noexcept {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:451:20: error: redefinition of 'const std::string& torch::OrderedDict<Key, Value>::key_description() const'
    451 | const std::string& OrderedDict<Key, Value>::key_description() const noexcept {
        |                    ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:451:20: note: 'const std::string& torch::OrderedDict<Key, Value>::key_description() const' previously declared here
    451 | const std::string& OrderedDict<Key, Value>::key_description() const noexcept {
        |                    ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:456:60: error: redefinition of 'const std::vector<torch::OrderedDict<Key, Value>::Item>& torch::OrderedDict<Key, Value>::items() const'
    456 | const std::vector<typename OrderedDict<Key, Value>::Item>& OrderedDict<
        |                                                            ^~~~~~~~~~~~
    457 |     Key,
        |     ~~~~
    458 |     Value>::items() const noexcept {
        |     ~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:456:60: note: 'const std::vector<torch::OrderedDict<Key, Value>::Item>& torch::OrderedDict<Key, Value>::items() const' previously declared here
    456 | const std::vector<typename OrderedDict<Key, Value>::Item>& OrderedDict<
        |                                                            ^~~~~~~~~~~~
    457 |     Key,
        |     ~~~~
    458 |     Value>::items() const noexcept {
        |     ~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:463:20: error: redefinition of 'std::vector<SrcType> torch::OrderedDict<Key, Value>::keys() const'
    463 | ::std::vector<Key> OrderedDict<Key, Value>::keys() const {
        |                    ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:463:20: note: 'std::vector<SrcType> torch::OrderedDict<Key, Value>::keys() const' previously declared here
    463 | ::std::vector<Key> OrderedDict<Key, Value>::keys() const {
        |                    ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:473:22: error: redefinition of 'std::vector<T> torch::OrderedDict<Key, Value>::values() const'
    473 | ::std::vector<Value> OrderedDict<Key, Value>::values() const {
        |                      ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:473:22: note: 'std::vector<T> torch::OrderedDict<Key, Value>::values() const' previously declared here
    473 | ::std::vector<Value> OrderedDict<Key, Value>::values() const {
        |                      ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:483:38: error: redefinition of 'std::vector<std::pair<_T1, _T2> > torch::OrderedDict<Key, Value>::pairs() const'
    483 | ::std::vector<std::pair<Key, Value>> OrderedDict<Key, Value>::pairs() const {
        |                                      ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:483:38: note: 'std::vector<std::pair<_T1, _T2> > torch::OrderedDict<Key, Value>::pairs() const' previously declared here
    483 | ::std::vector<std::pair<Key, Value>> OrderedDict<Key, Value>::pairs() const {
        |                                      ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:493:6: error: redefinition of 'void torch::OrderedDict<Key, Value>::reserve(size_t)'
    493 | void OrderedDict<Key, Value>::reserve(size_t requested_capacity) {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:493:6: note: 'void torch::OrderedDict<Key, Value>::reserve(size_t)' previously declared here
    493 | void OrderedDict<Key, Value>::reserve(size_t requested_capacity) {
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  $PREFIX/include/torch/csrc/api/include/torch/ordered_dict.h:499:6: error: redefinition of 'template<class K, class V> bool torch::operator==(const OrderedDict<Key, Value>&, const OrderedDict<Key, Value>&)'
    499 | bool operator==(
        |      ^~~~~~~~
  $BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h:499:6: note: 'template<class K, class V> bool torch::operator==(const OrderedDict<Key, Value>&, const OrderedDict<Key, Value>&)' previously declared here
    499 | bool operator==(
        |      ^~~~~~~~
  [2/10] $BUILD_PREFIX/bin/nvcc --generate-dependencies-with-compile --dependency-output $SRC_DIR/build/temp.linux-aarch64-cpython-313/csrc/selective_scan/selective_scan_bwd_bf16_real.o.d -I$SRC_DIR/csrc/selective_scan -I$PREFIX/include -I$BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include -I$PREFIX/include/torch/csrc/api/include -I$BUILD_PREFIX/venv/lib/python3.13/site-packages/torch/include/torch/csrc/api/include -I$BUILD_PREFIX/include -I$PREFIX/include/python3.13 -c -c $SRC_DIR/csrc/selective_scan/selective_scan_bwd_bf16_real.cu -o $SRC_DIR/build/temp.linux-aarch64-cpython-313/csrc/selective_scan/selective_scan_bwd_bf16_real.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math --ptxas-options=-v -lineinfo -gencode arch=compute_53,code=sm_53 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_72,code=sm_72 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1019"' -DTORCH_EXTENSION_NAME=selective_scan_cuda -ccbin $BUILD_PREFIX/bin/aarch64-conda-linux-gnu-cc
  nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
  nvcc warning : Support for offline compilation for architectures prior to '<compute/sm/lto>_75' will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

That error: redefinition of 'class torch::OrderedDict<Key, Value>' seems to be a known issue reported in conda-forge/torchvision-feedstock#125 (comment). Gonna try the workaround in that PR...

@weiji14 weiji14 merged commit dc7c93e into conda-forge:main Nov 3, 2025
11 checks passed
@regro-cf-autotick-bot regro-cf-autotick-bot deleted the 2.2.6.post3_hdad657 branch November 3, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants