IntelLabs / IntelLabs/open-omics-alphafold

TypeError: Got unsupported ScalarType BFloat16 how to solve it ?

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
28
Forks
7
PR merge metrics
No merged PRs in 30d

Description

```
File "xx/open-omics-alphafold/alphafold_pytorch_jit/utils.py", line 93, in detached
return x.detach().cpu().numpy()
^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Got unsupported ScalarType BFloat16
```

When I run with the parameter output AF2_BF16=1, an error is reported. How to run with the BF16 data type?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at alphafold_pytorch_jit/utils.py line 93 and reproduce the failure with output AF2_BF16=1. Trace how the BFloat16 value reaches detached and verify a BF16 run completes without the unsupported ScalarType error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.