oneflow
oneflow copied to clipboard
OneFlow is a deep learning framework designed to be user-friendly, scalable and efficient.
fused kernels in alphafold
This reverts commit 1ba7158d47b5fbb4474a2f3e3ccb9427ccd7e2b5.
重构ONEFLOW_VM_COMPUTE_ON_WORKER_THREAD,使其默认值为false,同时只对默认的worker thread 0生效。
## Summary ```python import torch import oneflow def dummy_sample_deter(mod): num_elems = 20 sample = mod.arange(num_elems) sample = sample / num_elems print(mod.__name__, sample.dtype) dummy_sample_deter(oneflow) dummy_sample_deter(torch) ``` ```bash loaded library: /lib/x86_64-linux-gnu/libibverbs.so.1 oneflow...
## Summary When importing oneflow as torch, function `allclose` not avaliable. ## Code to reproduce bug Please post a minimal example to repro the bug. GitHub Gist or repo is...
What is your OneFlow installation (pip, source, dockerhub): pip OS:Linux version 5.8.0-63-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) OneFlow version (run python3 -m oneflow...
## Summary fp16除法操作返回结果类型和torch不一致 ## Code to reproduce bug ```python >>>import oneflow as flow >>>a = flow.randn(3, 3, dtype=flow.float16).cuda() >>>b = flow.randn(3, 3, dtype=flow.float16).cuda() >>>a/b tensor([[-2.1495e-03, 1.5983e+00, -5.2973e-01], [-1.7968e-01, -4.0361e+00, 5.4459e-01],...
Add a switch for the memory share strategy. It would be off by default. It solves this issue https://github.com/Oneflow-Inc/oneflow/issues/9508