Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Problem Installing After rubix/ml upgrade to 1.3 #13

@kornatzky

Description

@kornatzky

Here is what you see when you do:

composer require rubix/extras

or

composer require rubix/extras --with-all-dependencies

Using version ^1.0 for rubix/extras
./composer.json has been updated
Running composer update rubix/extras --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package scienide/tensor is abandoned, you should avoid using it. Use rubix/tensor instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating optimized autoload files
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorAddOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorAddOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorAddOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorAddScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorAddScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorAddScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorCholeskyOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorCholeskyOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorCholeskyOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorConvolve1dOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorConvolve1dOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorConvolve1dOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorConvolve2dOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorConvolve2dOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorConvolve2dOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorDivideOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorDivideOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorDivideOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorDivideScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorDivideScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorDivideScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorDotOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorDotOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorDotOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorEigOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorEigOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorEigOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorEigSymmetricOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorEigSymmetricOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorEigSymmetricOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorEqualOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorEqualOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorEqualOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorEqualScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorEqualScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorEqualScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorGetNumThreadsOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorGetNumThreadsOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorGetNumThreadsOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorGreaterEqualOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorGreaterEqualOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorGreaterEqualOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorGreaterEqualScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorGreaterEqualScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorGreaterEqualScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorGreaterOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorGreaterOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorGreaterOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorGreaterScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorGreaterScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorGreaterScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorInverseOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorInverseOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorInverseOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorLessEqualOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorLessEqualOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorLessEqualOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorLessEqualScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorLessEqualScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorLessEqualScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorLessOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorLessOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorLessOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorLessScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorLessScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorLessScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorLuOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorLuOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorLuOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorMatmulOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorMatmulOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorMatmulOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorModOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorModOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorModOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorModScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorModScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorModScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorMultiplyOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorMultiplyOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorMultiplyOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorMultiplyScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorMultiplyScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorMultiplyScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorNotEqualOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorNotEqualOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorNotEqualOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorNotEqualScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorNotEqualScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorNotEqualScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorPowOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorPowOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorPowOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorPowScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorPowScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorPowScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorPseudoinverseOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorPseudoinverseOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorPseudoinverseOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorRefOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorRefOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorRefOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorSetNumThreadsOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorSetNumThreadsOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorSetNumThreadsOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorSubtractOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorSubtractOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorSubtractOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorSubtractScalarOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorSubtractScalarOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorSubtractScalarOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Zephir\Optimizers\FunctionCall\TensorSvdOptimizer" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/optimizers/TensorSvdOptimizer.php" and "/home/vagrant/code/vendor/scienide/tensor/optimizers/TensorSvdOptimizer.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Algebraic" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Algebraic.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Algebraic.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Arithmetic" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Arithmetic.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Arithmetic.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\ArrayLike" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/ArrayLike.php" and "/home/vagrant/code/vendor/scienide/tensor/src/ArrayLike.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\ColumnVector" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/ColumnVector.php" and "/home/vagrant/code/vendor/scienide/tensor/src/ColumnVector.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Comparable" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Comparable.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Comparable.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Decompositions\Cholesky" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Decompositions/Cholesky.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Decompositions/Cholesky.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Decompositions\Eigen" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Decompositions/Eigen.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Decompositions/Eigen.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Decompositions\LU" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Decompositions/LU.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Decompositions/LU.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Decompositions\SVD" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Decompositions/SVD.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Decompositions/SVD.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Exceptions\DimensionalityMismatch" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Exceptions/DimensionalityMismatch.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Exceptions/DimensionalityMismatch.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Exceptions\InvalidArgumentException" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Exceptions/InvalidArgumentException.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Exceptions/InvalidArgumentException.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Exceptions\NotImplemented" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Exceptions/NotImplemented.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Exceptions/NotImplemented.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Exceptions\RuntimeException" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Exceptions/RuntimeException.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Exceptions/RuntimeException.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Exceptions\TensorException" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Exceptions/TensorException.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Exceptions/TensorException.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Matrix" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Matrix.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Matrix.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Reductions\REF" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Reductions/REF.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Reductions/REF.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Reductions\RREF" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Reductions/RREF.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Reductions/RREF.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Special" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Special.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Special.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Statistical" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Statistical.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Statistical.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Tensor" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Tensor.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Tensor.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Trigonometric" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Trigonometric.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Trigonometric.php", the first will be used.
Warning: Ambiguous class resolution, "Tensor\Vector" was found 2x: in "/home/vagrant/code/vendor/rubix/tensor/src/Vector.php" and "/home/vagrant/code/vendor/scienide/tensor/src/Vector.php", the first will be used.
Warning: Ambiguous class resolution, "Rubix\ML\Extractors\Deduplicator" was found 2x: in "/home/vagrant/code/vendor/rubix/extras/src/Extractors/Deduplicator.php" and "/home/vagrant/code/vendor/rubix/ml/src/Extractors/Deduplicator.php", the first will be used.
Warning: Ambiguous class resolution, "Rubix\ML\NeuralNet\ActivationFunctions\SiLU" was found 2x: in "/home/vagrant/code/vendor/rubix/extras/src/NeuralNet/ActivationFunctions/SiLU.php" and "/home/vagrant/code/vendor/rubix/ml/src/NeuralNet/ActivationFunctions/SiLU.php", the first will be used.

Illuminate\Foundation\ComposerScripts::postAutoloadDump
Script Illuminate\Foundation\ComposerScripts::postAutoloadDump handling the post-autoload-dump event terminated with an exception

[ErrorException]
Constant tensor\EPSILON already defined

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions