Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for kAsync (0.12 sec)

  1. tensorflow/compiler/jit/device_compilation_profiler.cc

      std::optional<int64_t> compile_threshold;
      if (compile_mode == DeviceCompileMode::kLazy) {
        compile_threshold = kDefaultCompilationThreshold;
      } else if (compile_mode == DeviceCompileMode::kAsync) {
        compile_threshold = 0;  // for now, always compile right away.
      }
    
      if (compile_mode == DeviceCompileMode::kStrict) {
        // Lazy compilation is disabled.
        return true;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_compile_util.h

    namespace tensorflow {
    // The number of compiler threads to use for asynchronous device compilation.
    inline constexpr int64_t kNumAsyncDeviceCompilerThreads = 10;
    
    enum class DeviceCompileMode {
      kLazy,
      kStrict,
      kAsync,
    };
    
    enum class DeviceCompileState {
      kUncompiled,
      kCompiling,
      kCompiled,
    };
    
    // Creates a single-node graph using the specified `node_def` as the only op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/async-tests.md

    Let's look at how we can make that work.
    
    ## pytest.mark.anyio
    
    If we want to call asynchronous functions in our tests, our test functions have to be asynchronous. AnyIO provides a neat plugin for this, that allows us to specify that some test functions are to be called asynchronously.
    
    ## HTTPX
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 12:07:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/async-tests.md

    ## HTTPX
    
    Auch wenn Ihre **FastAPI**-Anwendung normale `def`-Funktionen anstelle von `async def` verwendet, handelt es sich darunter immer noch um eine `async`hrone Anwendung.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:25:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_ppc64x.s

    TEXT ·Load(SB),NOSPLIT|NOFRAME,$-8-12
    	MOVD	ptr+0(FP), R3
    	SYNC
    	MOVWZ	0(R3), R3
    	CMPW	R3, R3, CR7
    	BC	4, 30, 1(PC) // bne- cr7,0x4
    	ISYNC
    	MOVW	R3, ret+8(FP)
    	RET
    
    // uint8 ·Load8(uint8 volatile* ptr)
    TEXT ·Load8(SB),NOSPLIT|NOFRAME,$-8-9
    	MOVD	ptr+0(FP), R3
    	SYNC
    	MOVBZ	0(R3), R3
    	CMP	R3, R3, CR7
    	BC	4, 30, 1(PC) // bne- cr7,0x4
    	ISYNC
    	MOVB	R3, ret+8(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. pkg/kube/krt/sync.go

    John Howard <******@****.***> 1712154307 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 14:25:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/async-sql-encode-databases.md

    # ~~Async SQL (Relational) Databases with Encode/Databases~~ (deprecated)
    
    !!! info
        These docs are about to be updated. 🎉
    
        The current version assumes Pydantic v1.
    
        The new docs will include Pydantic v2 and will use <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel</a> once it is updated to use Pydantic v2 as well.
    
    !!! warning "Deprecated"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. cmd/site-replication-utils.go

    const (
    	siteResyncPrefix = bucketMetaPrefix + "/site-replication/resync"
    )
    
    type resyncState struct {
    	resyncID  string
    	LastSaved time.Time
    }
    
    //msgp:ignore siteResyncMetrics
    type siteResyncMetrics struct {
    	sync.RWMutex
    	// resyncStatus maps resync ID to resync status for peer
    	resyncStatus map[string]SiteResyncStatus
    	// map peer deployment ID to resync ID
    	peerResyncMap map[string]resyncState
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  9. fastapi/datastructures.py

    
        @app.post("/files/")
        async def create_file(file: Annotated[bytes, File()]):
            return {"file_size": len(file)}
    
    
        @app.post("/uploadfile/")
        async def create_upload_file(file: UploadFile):
            return {"filename": file.filename}
        ```
        """
    
        file: Annotated[
            BinaryIO,
            Doc("The standard Python file object (non-async)."),
        ]
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/internal/poll/fd_fsync_darwin.go

    package poll
    
    import (
    	"errors"
    	"internal/syscall/unix"
    	"syscall"
    )
    
    // Fsync invokes SYS_FCNTL with SYS_FULLFSYNC because
    // on OS X, SYS_FSYNC doesn't fully flush contents to disk.
    // See Issue #26650 as well as the man page for fsync on OS X.
    func (fd *FD) Fsync() error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return ignoringEINTR(func() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:20:48 UTC 2024
    - 850 bytes
    - Viewed (0)
Back to top