- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 420 for kAsync (0.11 sec)
-
tensorflow/compiler/jit/device_compilation_profiler_test.cc
EXPECT_TRUE( profiler->ShouldCompileCluster(function, DeviceCompileMode::kAsync, 0)); // Should not allow compilation since this is not the first execution and // we've already reached the maximum number of ongoing compilations allowed. profiler->RegisterExecution(function); EXPECT_FALSE( profiler->ShouldCompileCluster(function, DeviceCompileMode::kAsync, 0)); profiler->DecrementOngoingAsyncCompilations();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Dec 22 21:06:33 UTC 2022 - 8.7K bytes - Viewed (0) -
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) -
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) -
tensorflow/compiler/jit/device_compiler_disable_test.cc
EXPECT_FALSE(status.ok()); EXPECT_TRUE(absl::StrContains(status.message(), "XLA compilation disabled")); // Check that async compilation is disallowed. status = xla_device_compiler->CompileIfNeeded( XlaCompiler::Options{}, fn, args, XlaCompiler::CompileOptions{}, DeviceCompileMode::kAsync, profiler, &compilation_result, &executable); EXPECT_FALSE(status.ok());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 3.6K bytes - Viewed (0) -
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) -
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) -
docs/em/docs/advanced/async-tests.md
β πͺ βοΈ π π’ π π― πͺ β , πΌ, πβ π π¬ π π½ π. π π π π― π¨ π¨ π FastAPI πΈ & β€΄οΈ β π π π©βπ» βͺ β β π½ π½, βͺ βοΈ π π½ π. β‘οΈ π β π₯ πͺ β π π·. ## pytest.mark.anyio π₯ π₯ π π€ π π’ π π―, π π― π’ βοΈ π. AnyIO π π π π, π β π₯ β π π― π’ π€ π. ## πΈπ² π₯ π **FastAPI** πΈ βοΈ π `def` π’ β©οΈ `async def`, β«οΈ `async` πΈ π.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Apr 01 09:26:04 UTC 2023 - 3K bytes - Viewed (0) -
internal/dsync/dsync-server_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package dsync import ( "fmt" "io" "net/http" "net/http/httptest" "sync" "sync/atomic" "time" "github.com/minio/mux" ) const numberOfNodes = 5 var ( ds *Dsync nodes = make([]*httptest.Server, numberOfNodes) // list of node IP addrs or hostname with ports.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jan 23 16:46:37 UTC 2023 - 8.3K bytes - Viewed (0) -
src/internal/pkgbits/sync.go
// SyncMarker is an enum type that represents markers that may be // written to export data to ensure the reader and writer stay // synchronized. type SyncMarker int //go:generate stringer -type=SyncMarker -trimprefix=Sync const ( _ SyncMarker = iota // Public markers (known to go/types importers). // Low-level coding markers. SyncEOF SyncBool SyncInt64 SyncUint64 SyncString SyncValue SyncVal
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 04 17:12:28 UTC 2022 - 2.4K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/sync.go
// go work sync package workcmd import ( "cmd/go/internal/base" "cmd/go/internal/gover" "cmd/go/internal/imports" "cmd/go/internal/modload" "cmd/go/internal/toolchain" "context" "golang.org/x/mod/module" ) var cmdSync = &base.Command{ UsageLine: "go work sync", Short: "sync workspace build list to modules", Long: `Sync syncs the workspace's build list back to the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 4.6K bytes - Viewed (0)