Skip to content

When attempting to generate a token: TypeError: Choice 'None' is not supported #9

@TRONBFFL

Description

@TRONBFFL

getting this error when trying to generate a token. Please advise. Many thanks

python3 smash.py
Traceback (most recent call last):
File "/mnt/d/ComfyUI/smash.py", line 2, in
from pruna import smash, SmashConfig
File "pruna/init.py", line 3, in init pruna
File "pruna/smash.py", line 6, in init pruna.smash
smash_config = SmashConfig() # any SmashConfig, even an empty one, will do
File "pruna/algorithms/compilation/compile.py", line 19, in init pruna.algorithms.compilation.compile
File "pruna/algorithms/compilation/torch_compile.py", line 29, in pruna.algorithms.compilation.torch_compile.TorchCompileCompiler.init
File "pruna/algorithms/compilation/PrunaCompiler.py", line 13, in pruna.algorithms.compilation.PrunaCompiler.PrunaCompiler.init
File "pruna/algorithms/PrunaBase.py", line 11, in pruna.algorithms.PrunaBase.PrunaSmasherBase.init
File "pruna/algorithms/compilation/torch_compile.py", line 52, in pruna.algorithms.compilation.torch_compile.TorchCompileCompiler.get_hyperparameters
File "ConfigSpace/hyperparameters/categorical.pyx", line 81, in ConfigSpace.hyperparameters.categorical.CategoricalHyperparameter.init
TypeError: Choice 'None' is not supported

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