Giulia Baldini
Giulia Baldini
@wasserth how did you test it? I did something like this ``` presnapshot = tracemalloc.take_snapshot() for _ in range(15): totalsegmentator( input="/data/s1212.nii.gz", output="/data/totalseg", preview=True, ) postsnapshot = tracemalloc.take_snapshot() ``` And do...
Have you also tried with a bigger image?
Hey, thank you very much for the package! We have been using it for a project and this is definitely a problem, also because it makes the results not deterministic...
Check if this works https://github.com/ionrock/cachecontrol
Too complicated? Too many cases?
Any updates on this? Also having the same problem. Would it be possible to put it as a warning to be able to ignore it?
Hi there, thank you for the quick answer! This is the output: ``` - `transformers` version: 4.44.0 - Platform: macOS-14.5-arm64-arm-64bit - Python version: 3.11.0 - Huggingface_hub version: 0.24.5 - Safetensors...
About the error, what if you change it to this? ```python model = AutoModelForCausalLM.from_pretrained( model_name, trust_remote_code=True, device_map="mps", torch_dtype=torch.float16, ) ```
@Datta0, yeah, I definitely agree. However I am not incredibly familiar with patching functions this way, wouldn't the function have to be part of all the patched code, meaning that...
Hi @Peter-Fy, did you try to install unsloth from this PR branch? Do you still get the error?